Universal API Implementation Guide
1.1.19 - ci-build

Universal API Implementation Guide - Local Development build (v1.1.19). See the Directory of published versions

: External - UAPI Response to Copay Enrollment - rejected - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "uapi-copay-response-rejected-1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-bundle-query-response";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-bundle-query-response>     ]
  ];
  fhir:Bundle.identifier [
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.system [ fhir:value "http://connectiverx.com/requestId" ];
     fhir:Identifier.value [ fhir:value "86a42a99-663b-48b8-8fd9-c1afdbca5b98" ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.timestamp [ fhir:value "2023-01-11T08:10:17-05:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:410f399f-e309-4bc9-be19-8ab330e40397" ];
     fhir:Bundle.entry.resource <urn:uuid:410f399f-e309-4bc9-be19-8ab330e40397>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:09cdac62-7c6b-48e6-8738-00f270280ba1" ];
     fhir:Bundle.entry.resource <urn:uuid:09cdac62-7c6b-48e6-8738-00f270280ba1>
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:2c5aa62c-b6cd-49d2-ad9f-3128a69a32a9" ];
     fhir:Bundle.entry.resource <urn:uuid:2c5aa62c-b6cd-49d2-ad9f-3128a69a32a9>
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:b1fc009a-3710-49d8-81ad-cfa8e4a979fb" ];
     fhir:Bundle.entry.resource <urn:uuid:b1fc009a-3710-49d8-81ad-cfa8e4a979fb>
  ].

<urn:uuid:410f399f-e309-4bc9-be19-8ab330e40397> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "410f399f-e309-4bc9-be19-8ab330e40397"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MessageHeader</b><a name=\"410f399f-e309-4bc9-be19-8ab330e40397\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource MessageHeader \"410f399f-e309-4bc9-be19-8ab330e40397\" </p></div><p><b>event</b>: Enrollment Response (Details: http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-event-type code enrollment-response = 'enrollment-response', stated as 'Enrollment Response')</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td>*</td><td>Genentech-FHIR-DEV</td><td><a href=\"https://fhir.developer.gene.com/$process-message\">https://fhir.developer.gene.com/$process-message</a></td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td>-</td><td><b>Identifier</b></td><td><b>Code</b></td></tr><tr><td>*</td><td>1-63c61a26-4965b3a156f488da6e0800ed</td><td>ok</td></tr></table><p><b>focus</b>: <a href=\"#Parameters_09cdac62-7c6b-48e6-8738-00f270280ba1\">See above (urn:uuid:09cdac62-7c6b-48e6-8738-00f270280ba1)</a></p></div>"
  ];
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-event-type" ];
     fhir:Coding.code [ fhir:value "enrollment-response" ];
     fhir:Coding.display [ fhir:value "Enrollment Response" ]
  ];
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "Genentech-FHIR-DEV" ];
     fhir:MessageHeader.source.endpoint [ fhir:value "https://fhir.developer.gene.com/$process-message" ]
  ];
  fhir:MessageHeader.response [
     fhir:MessageHeader.response.identifier [ fhir:value "1-63c61a26-4965b3a156f488da6e0800ed" ];
     fhir:MessageHeader.response.code [ fhir:value "ok" ]
  ];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:uuid:09cdac62-7c6b-48e6-8738-00f270280ba1" ]
  ].

<urn:uuid:09cdac62-7c6b-48e6-8738-00f270280ba1> a fhir:Parameters;
  fhir:Resource.id [ fhir:value "09cdac62-7c6b-48e6-8738-00f270280ba1"];
  fhir:Parameters.parameter [
     fhir:index 0;
     fhir:Parameters.parameter.name [ fhir:value "responder-patient" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "urn:uuid:b3d46ea3-62e6-4171-b818-d64712edfe55" ]     ]
  ], [
     fhir:index 1;
     fhir:Parameters.parameter.name [ fhir:value "search-result" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164" ]     ]
  ].

<urn:uuid:2c5aa62c-b6cd-49d2-ad9f-3128a69a32a9> a fhir:Patient;
  fhir:Resource.id [ fhir:value "2c5aa62c-b6cd-49d2-ad9f-3128a69a32a9"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-patient";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-patient>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Patient</b><a name=\"2c5aa62c-b6cd-49d2-ad9f-3128a69a32a9\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Patient \"2c5aa62c-b6cd-49d2-ad9f-3128a69a32a9\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-patient.html\">UAPI Patient</a></p></div><p><b>identifier</b>: Patient internal identifier: ca3c6274-e70b-45cf-a65a-30e8386d50bb(use: USUAL), Patient internal identifier: 8132413049(use: USUAL)</p><p><b>name</b>: Ryan Michaelson (OFFICIAL)</p><p><b>telecom</b>: ph: 1231231234(HOME), ph: 1234561234(MOBILE), <a href=\"mailto:bobster83@example.com\">bobster83@example.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1972-10-29</p><p><b>address</b>: 1234 Main St San Francisco CA 94105 US </p><h3>Communications</h3><table class=\"grid\"><tr><td>-</td><td><b>Language</b></td><td><b>Preferred</b></td></tr><tr><td>*</td><td>English <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-ietf3066.html\">Tags for the Identification of Languages</a>#en)</span></td><td>true</td></tr></table><p><b>managingOrganization</b>: <a href=\"Bundle-caf568e0-21b6-40e4-b0b8-1fdddef30fd2.html#urn-uuid-01c31a2f-321d-4c6e-8349-206af8a88088\">urn:uuid:01c31a2f-321d-4c6e-8349-206af8a88088</a></p></div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
         fhir:Coding.code [ fhir:value "PI" ];
         fhir:Coding.display [ fhir:value "Patient internal identifier" ]       ]     ];
     fhir:Identifier.system [ fhir:value "http://gene.com/patientmaster" ];
     fhir:Identifier.value [ fhir:value "ca3c6274-e70b-45cf-a65a-30e8386d50bb" ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Genentech Patient Master" ]     ]
  ], [
     fhir:index 1;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
         fhir:Coding.code [ fhir:value "PI" ];
         fhir:Coding.display [ fhir:value "Patient internal identifier" ]       ]     ];
     fhir:Identifier.system [ fhir:value "http://connectiverx.com/confirmationId" ];
     fhir:Identifier.value [ fhir:value "8132413049" ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "CRX" ]     ]
  ];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.use [ fhir:value "official" ];
     fhir:HumanName.family [ fhir:value "Michaelson" ];
     fhir:HumanName.given [
       fhir:value "Ryan";
       fhir:index 0     ]
  ];
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "1231231234" ];
     fhir:ContactPoint.use [ fhir:value "home" ];
     fhir:ContactPoint.rank [ fhir:value "1"^^xsd:positiveInteger ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "1234561234" ];
     fhir:ContactPoint.use [ fhir:value "mobile" ];
     fhir:ContactPoint.rank [ fhir:value "2"^^xsd:positiveInteger ]
  ], [
     fhir:index 2;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "bobster83@example.com" ];
     fhir:ContactPoint.use [ fhir:value "home" ];
     fhir:ContactPoint.rank [ fhir:value "3"^^xsd:positiveInteger ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.birthDate [ fhir:value "1972-10-29"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "1234 Main St";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "San Francisco" ];
     fhir:Address.state [ fhir:value "CA" ];
     fhir:Address.postalCode [ fhir:value "94105" ];
     fhir:Address.country [ fhir:value "US" ]
  ];
  fhir:Patient.communication [
     fhir:index 0;
     fhir:Patient.communication.language [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "urn:ietf:bcp:47" ];
         fhir:Coding.code [ fhir:value "en" ];
         fhir:Coding.display [ fhir:value "English" ]       ]     ];
     fhir:Patient.communication.preferred [ fhir:value "true"^^xsd:boolean ]
  ];
  fhir:Patient.managingOrganization [
     fhir:Reference.reference [ fhir:value "urn:uuid:01c31a2f-321d-4c6e-8349-206af8a88088" ]
  ].

<urn:uuid:b1fc009a-3710-49d8-81ad-cfa8e4a979fb> a fhir:Bundle;
  fhir:Resource.id [ fhir:value "b1fc009a-3710-49d8-81ad-cfa8e4a979fb"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-bundle-search-result";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-bundle-search-result>     ]
  ];
  fhir:Bundle.type [ fhir:value "searchset"];
  fhir:Bundle.total [ fhir:value "1"^^xsd:nonNegativeInteger];
  fhir:Bundle.link [
     fhir:index 0;
     fhir:Bundle.link.relation [ fhir:value "self" ];
     fhir:Bundle.link.url [ fhir:value "ExplanationOfBenefit?patient=xyz&_include=ExplanationOfBenefit:coverage" ]
  ];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:e344813d-eb60-466e-806b-ebd35c988293" ];
     fhir:Bundle.entry.resource <urn:uuid:e344813d-eb60-466e-806b-ebd35c988293>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:e6e8d8c6-a074-4ea5-be1a-a67cb8628a85" ];
     fhir:Bundle.entry.resource <urn:uuid:e6e8d8c6-a074-4ea5-be1a-a67cb8628a85>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ].

<urn:uuid:e344813d-eb60-466e-806b-ebd35c988293> a fhir:ExplanationOfBenefit;
  fhir:Resource.id [ fhir:value "e344813d-eb60-466e-806b-ebd35c988293"];
  fhir:DomainResource.contained [
     a fhir:OperationOutcome;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "5ce061a8-302e-4135-a300-f68c73f31100" ];
     fhir:OperationOutcome.issue [
       fhir:index 0;
       fhir:OperationOutcome.issue.severity [ fhir:value "error" ];
       fhir:OperationOutcome.issue.code [ fhir:value "processing" ];
       fhir:OperationOutcome.issue.details [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "https://fhir.developer.gene.com/CodeSystem/uapi-copay-enrollment-error" ];
           fhir:Coding.code [ fhir:value "identification-check" ];
           fhir:Coding.display [ fhir:value "Identification Check" ]         ];
         fhir:CodeableConcept.text [ fhir:value "Provided patient information does not meet minimum criteria for verification." ]       ]     ]
  ];
  fhir:ExplanationOfBenefit.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.system [ fhir:value "http://connectiverx.com/enrollmentId" ];
     fhir:Identifier.value [ fhir:value "ad44f19a-42b6-ed11-827c-9e11af077484" ]
  ];
  fhir:ExplanationOfBenefit.status [ fhir:value "cancelled"];
  fhir:ExplanationOfBenefit.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "institutional" ]     ]
  ];
  fhir:ExplanationOfBenefit.use [ fhir:value "predetermination"];
  fhir:ExplanationOfBenefit.patient [
     fhir:Reference.reference [ fhir:value "urn:uuid:2c5aa62c-b6cd-49d2-ad9f-3128a69a32a9" ]
  ];
  fhir:ExplanationOfBenefit.created [ fhir:value "2023-04-11T21:01:11.230Z"^^xsd:dateTime];
  fhir:ExplanationOfBenefit.insurer [
     fhir:Reference.reference [ fhir:value "urn:uuid:d02db104-a75c-433f-8764-9778c2e20626" ]
  ];
  fhir:ExplanationOfBenefit.provider [
     fhir:Reference.reference [ fhir:value "urn:uuid:695d0991-5e03-46df-934a-85a28acd95c1" ]
  ];
  fhir:ExplanationOfBenefit.outcome [ fhir:value "error"];
  fhir:ExplanationOfBenefit.insurance [
     fhir:index 0;
     fhir:ExplanationOfBenefit.insurance.focal [ fhir:value "false"^^xsd:boolean ];
     fhir:ExplanationOfBenefit.insurance.coverage [
       fhir:Reference.reference [ fhir:value "urn:uuid:e6e8d8c6-a074-4ea5-be1a-a67cb8628a85" ]     ]
  ].

<urn:uuid:e6e8d8c6-a074-4ea5-be1a-a67cb8628a85> a fhir:Coverage;
  fhir:Resource.id [ fhir:value "e6e8d8c6-a074-4ea5-be1a-a67cb8628a85"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-coverage";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-coverage>     ]
  ];
  fhir:Coverage.status [ fhir:value "cancelled"];
  fhir:Coverage.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
       fhir:Coding.code [ fhir:value "pay" ];
       fhir:Coding.display [ fhir:value "Pay" ]     ]
  ];
  fhir:Coverage.subscriber [
     fhir:Reference.reference [ fhir:value "urn:uuid:2c5aa62c-b6cd-49d2-ad9f-3128a69a32a9" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ];
  fhir:Coverage.beneficiary [
     fhir:Reference.reference [ fhir:value "urn:uuid:2c5aa62c-b6cd-49d2-ad9f-3128a69a32a9" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ];
  fhir:Coverage.payor [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:uuid:d02db104-a75c-433f-8764-9778c2e20626" ];
     fhir:Reference.type [ fhir:value "Organization" ]
  ];
  fhir:Coverage.class [
     fhir:index 0;
     fhir:Coverage.class.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/coverage-class" ];
         fhir:Coding.code [ fhir:value "plan" ];
         fhir:Coding.display [ fhir:value "Plan" ]       ]     ];
     fhir:Coverage.class.value [ fhir:value "Vabysmo-Drug" ];
     fhir:Coverage.class.name [ fhir:value "Ophthalmology Co Pay program" ]
  ];
  fhir:Coverage.order [ fhir:value "1"^^xsd:positiveInteger];
  fhir:Coverage.network [ fhir:value "Genentech"].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.