Universal API Implementation Guide
1.1.0 - ci-build

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

: External - UAPI Copay Enrollment Bundle with Pharmacy Insurance - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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 "52b4e271-b63c-41bf-a6ab-7bca6cbda4c6"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-copay-enrollment-bundle";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-copay-enrollment-bundle>     ]
  ];
  fhir:Bundle.identifier [
     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 "RI" ];
         fhir:Coding.display [ fhir:value "Resource identifier" ]       ]     ];
     fhir:Identifier.system [ fhir:value "http://vendor.com/ab" ];
     fhir:Identifier.value [ fhir:value "52b4e271-b63c-41bf-a6ab-7bca6cbda4c6" ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Alpha Beta" ]     ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.timestamp [ fhir:value "2020-03-11T08:10:13-05:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:eb5eb40b-78e8-4a52-903a-0348c1eac387" ];
     fhir:Bundle.entry.resource <urn:uuid:eb5eb40b-78e8-4a52-903a-0348c1eac387>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:681d6d3e-7e29-44f5-81c2-b5c00f232b19" ];
     fhir:Bundle.entry.resource <urn:uuid:681d6d3e-7e29-44f5-81c2-b5c00f232b19>
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
     fhir:Bundle.entry.resource <urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c>
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:01c31a2f-321d-4c6e-8349-206af8a88088" ];
     fhir:Bundle.entry.resource <urn:uuid:01c31a2f-321d-4c6e-8349-206af8a88088>
  ], [
     fhir:index 4;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:695d0991-5e03-46df-934a-85a28acd95c1" ];
     fhir:Bundle.entry.resource <urn:uuid:695d0991-5e03-46df-934a-85a28acd95c1>
  ], [
     fhir:index 5;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:42b41bdb-1781-49aa-a091-78cdd92129df" ];
     fhir:Bundle.entry.resource <urn:uuid:42b41bdb-1781-49aa-a091-78cdd92129df>
  ], [
     fhir:index 6;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:4db51d32-65c3-4f8c-959e-0155c6d14545" ];
     fhir:Bundle.entry.resource <urn:uuid:4db51d32-65c3-4f8c-959e-0155c6d14545>
  ], [
     fhir:index 7;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:5342779a-184f-42ba-ab44-3a8e023979f7" ];
     fhir:Bundle.entry.resource <urn:uuid:5342779a-184f-42ba-ab44-3a8e023979f7>
  ], [
     fhir:index 8;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:bc20c5ea-f639-4221-ab61-ce75c5e64aba" ];
     fhir:Bundle.entry.resource <urn:uuid:bc20c5ea-f639-4221-ab61-ce75c5e64aba>
  ], [
     fhir:index 9;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:5cc5785f-002e-48f3-b9b7-893c3321f4b9" ];
     fhir:Bundle.entry.resource <urn:uuid:5cc5785f-002e-48f3-b9b7-893c3321f4b9>
  ], [
     fhir:index 10;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:d3637025-883d-4678-9e0a-1d243a338f9f" ];
     fhir:Bundle.entry.resource <urn:uuid:d3637025-883d-4678-9e0a-1d243a338f9f>
  ], [
     fhir:index 11;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:f71a66c4-f747-4b46-8adc-875a45f8ee7e" ];
     fhir:Bundle.entry.resource <urn:uuid:f71a66c4-f747-4b46-8adc-875a45f8ee7e>
  ], [
     fhir:index 12;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:df610b38-2561-423c-b17a-36364f5a82c1" ];
     fhir:Bundle.entry.resource <urn:uuid:df610b38-2561-423c-b17a-36364f5a82c1>
  ], [
     fhir:index 13;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:98f1c980-79a9-4f0b-9c14-59bd55aa2c19" ];
     fhir:Bundle.entry.resource <urn:uuid:98f1c980-79a9-4f0b-9c14-59bd55aa2c19>
  ], [
     fhir:index 14;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:982e97af-668d-41ef-b9f9-2bbc4a059330" ];
     fhir:Bundle.entry.resource <urn:uuid:982e97af-668d-41ef-b9f9-2bbc4a059330>
  ], [
     fhir:index 15;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:d212ac11-903c-4040-a3d7-6b3e1874a311" ];
     fhir:Bundle.entry.resource <urn:uuid:d212ac11-903c-4040-a3d7-6b3e1874a311>
  ].

<urn:uuid:eb5eb40b-78e8-4a52-903a-0348c1eac387> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "eb5eb40b-78e8-4a52-903a-0348c1eac387"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-messageheader";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-messageheader>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MessageHeader</b><a name=\"eb5eb40b-78e8-4a52-903a-0348c1eac387\"> </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 \"eb5eb40b-78e8-4a52-903a-0348c1eac387\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-messageheader.html\">UAPI MessageHeader</a></p></div><p><b>UAPI MessageHeader Timestamp</b>: 2020-03-11 08:10:13-0500</p><p><b>event</b>: enrollment-with-consent (Details: http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-event-type code enrollment-with-consent = 'enrollment-with-consent', stated as 'null')</p><h3>Destinations</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td>*</td><td>UAPI-ENR-V2.0</td><td><a href=\"https://test-us-e1.apis.roche.com/pharma-cmg-ehr-fhir-exp-test/v2/enrollment\">https://test-us-e1.apis.roche.com/pharma-cmg-ehr-fhir-exp-test/v2/enrollment</a></td></tr></table><p><b>sender</b>: <a href=\"#Organization_01c31a2f-321d-4c6e-8349-206af8a88088\">See above (urn:uuid:01c31a2f-321d-4c6e-8349-206af8a88088)</a></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>Vendor_AB</td><td><a href=\"http://vendor.com/fhir/enrollmentID/ENR-00001\">http://vendor.com/fhir/enrollmentID/ENR-00001</a></td></tr></table><p><b>focus</b>: <a href=\"#List_681d6d3e-7e29-44f5-81c2-b5c00f232b19\">See above (urn:uuid:681d6d3e-7e29-44f5-81c2-b5c00f232b19)</a></p></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "https://fhir.developer.gene.com/StructureDefinition/message-timestamp" ];
     fhir:Extension.valueDateTime [ fhir:value "2020-03-11T08:10:13-05:00"^^xsd:dateTime ]
  ];
  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-with-consent" ]
  ];
  fhir:MessageHeader.destination [
     fhir:index 0;
     fhir:MessageHeader.destination.name [ fhir:value "UAPI-ENR-V2.0" ];
     fhir:MessageHeader.destination.endpoint [ fhir:value "https://test-us-e1.apis.roche.com/pharma-cmg-ehr-fhir-exp-test/v2/enrollment" ]
  ];
  fhir:MessageHeader.sender [
     fhir:Reference.reference [ fhir:value "urn:uuid:01c31a2f-321d-4c6e-8349-206af8a88088" ];
     fhir:Reference.type [ fhir:value "Organization" ]
  ];
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "Vendor_AB" ];
     fhir:MessageHeader.source.endpoint [ fhir:value "http://vendor.com/fhir/enrollmentID/ENR-00001" ]
  ];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:uuid:681d6d3e-7e29-44f5-81c2-b5c00f232b19" ];
     fhir:Reference.type [ fhir:value "List" ]
  ].

<urn:uuid:681d6d3e-7e29-44f5-81c2-b5c00f232b19> a fhir:List;
  fhir:Resource.id [ fhir:value "681d6d3e-7e29-44f5-81c2-b5c00f232b19"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: List</b><a name=\"681d6d3e-7e29-44f5-81c2-b5c00f232b19\"> </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 List \"681d6d3e-7e29-44f5-81c2-b5c00f232b19\" </p></div><p><b>status</b>: current</p><p><b>mode</b>: changes</p><p><b>title</b>: messageContext</p><blockquote><p><b>entry</b></p><p><b>item</b>: <a href=\"#Patient_fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">See above (urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c)</a></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: <a href=\"#Organization_01c31a2f-321d-4c6e-8349-206af8a88088\">See above (urn:uuid:01c31a2f-321d-4c6e-8349-206af8a88088)</a></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: <a href=\"#Practitioner_695d0991-5e03-46df-934a-85a28acd95c1\">See above (urn:uuid:695d0991-5e03-46df-934a-85a28acd95c1)</a></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: <a href=\"#MedicationRequest_df610b38-2561-423c-b17a-36364f5a82c1\">See above (urn:uuid:df610b38-2561-423c-b17a-36364f5a82c1)</a></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: <a href=\"#QuestionnaireResponse_5342779a-184f-42ba-ab44-3a8e023979f7\">See above (urn:uuid:5342779a-184f-42ba-ab44-3a8e023979f7)</a></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: <a href=\"#Condition_bc20c5ea-f639-4221-ab61-ce75c5e64aba\">See above (urn:uuid:bc20c5ea-f639-4221-ab61-ce75c5e64aba)</a></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: <a href=\"#Organization_d3637025-883d-4678-9e0a-1d243a338f9f\">See above (urn:uuid:d3637025-883d-4678-9e0a-1d243a338f9f)</a></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: <a href=\"#Coverage_42b41bdb-1781-49aa-a091-78cdd92129df\">See above (urn:uuid:42b41bdb-1781-49aa-a091-78cdd92129df)</a></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: <a href=\"#Consent_5cc5785f-002e-48f3-b9b7-893c3321f4b9\">See above (urn:uuid:5cc5785f-002e-48f3-b9b7-893c3321f4b9)</a></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: <a href=\"#Account_98f1c980-79a9-4f0b-9c14-59bd55aa2c19\">See above (urn:uuid:98f1c980-79a9-4f0b-9c14-59bd55aa2c19)</a></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: <a href=\"#ServiceRequest_f71a66c4-f747-4b46-8adc-875a45f8ee7e\">See above (urn:uuid:f71a66c4-f747-4b46-8adc-875a45f8ee7e)</a></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: <a href=\"#RelatedPerson_4db51d32-65c3-4f8c-959e-0155c6d14545\">See above (urn:uuid:4db51d32-65c3-4f8c-959e-0155c6d14545)</a></p></blockquote></div>"
  ];
  fhir:List.status [ fhir:value "current"];
  fhir:List.mode [ fhir:value "changes"];
  fhir:List.title [ fhir:value "messageContext"];
  fhir:List.entry [
     fhir:index 0;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
       fhir:Reference.type [ fhir:value "Patient" ]     ]
  ], [
     fhir:index 1;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:01c31a2f-321d-4c6e-8349-206af8a88088" ];
       fhir:Reference.type [ fhir:value "Organization" ]     ]
  ], [
     fhir:index 2;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:695d0991-5e03-46df-934a-85a28acd95c1" ];
       fhir:Reference.type [ fhir:value "Practitioner" ]     ]
  ], [
     fhir:index 3;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:df610b38-2561-423c-b17a-36364f5a82c1" ];
       fhir:Reference.type [ fhir:value "MedicationRequest" ]     ]
  ], [
     fhir:index 4;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:5342779a-184f-42ba-ab44-3a8e023979f7" ];
       fhir:Reference.type [ fhir:value "QuestionnaireResponse" ]     ]
  ], [
     fhir:index 5;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:bc20c5ea-f639-4221-ab61-ce75c5e64aba" ];
       fhir:Reference.type [ fhir:value "Condition" ]     ]
  ], [
     fhir:index 6;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:d3637025-883d-4678-9e0a-1d243a338f9f" ];
       fhir:Reference.type [ fhir:value "Organization" ]     ]
  ], [
     fhir:index 7;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:42b41bdb-1781-49aa-a091-78cdd92129df" ];
       fhir:Reference.type [ fhir:value "Coverage" ]     ]
  ], [
     fhir:index 8;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:5cc5785f-002e-48f3-b9b7-893c3321f4b9" ];
       fhir:Reference.type [ fhir:value "Consent" ]     ]
  ], [
     fhir:index 9;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:98f1c980-79a9-4f0b-9c14-59bd55aa2c19" ];
       fhir:Reference.type [ fhir:value "Account" ]     ]
  ], [
     fhir:index 10;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:f71a66c4-f747-4b46-8adc-875a45f8ee7e" ];
       fhir:Reference.type [ fhir:value "ServiceRequest" ]     ]
  ], [
     fhir:index 11;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:4db51d32-65c3-4f8c-959e-0155c6d14545" ];
       fhir:Reference.type [ fhir:value "RelatedPerson" ]     ]
  ].

<urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c> a fhir:Patient;
  fhir:Resource.id [ fhir:value "fc2e5a72-c363-4616-ae00-4ad25cbcb45c"];
  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=\"fc2e5a72-c363-4616-ae00-4ad25cbcb45c\"> </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 \"fc2e5a72-c363-4616-ae00-4ad25cbcb45c\" </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: 6bcd8467-0473-4836-9128-2e7972f23177(use: OFFICIAL)</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/4.0.0/CodeSystem-v3-ietf3066.html\">Tags for the Identification of Languages</a>#en)</span></td><td>true</td></tr></table><p><b>generalPractitioner</b>: <a href=\"#Practitioner_695d0991-5e03-46df-934a-85a28acd95c1\">See above (urn:uuid:695d0991-5e03-46df-934a-85a28acd95c1)</a></p><p><b>managingOrganization</b>: <a href=\"#Organization_01c31a2f-321d-4c6e-8349-206af8a88088\">See above (urn:uuid:01c31a2f-321d-4c6e-8349-206af8a88088)</a></p></div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     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://vendor.com/ab" ];
     fhir:Identifier.value [ fhir:value "6bcd8467-0473-4836-9128-2e7972f23177" ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "AB Vendor" ]     ]
  ];
  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.generalPractitioner [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:uuid:695d0991-5e03-46df-934a-85a28acd95c1" ]
  ];
  fhir:Patient.managingOrganization [
     fhir:Reference.reference [ fhir:value "urn:uuid:01c31a2f-321d-4c6e-8349-206af8a88088" ]
  ].

<urn:uuid:01c31a2f-321d-4c6e-8349-206af8a88088> a fhir:Organization;
  fhir:Resource.id [ fhir:value "01c31a2f-321d-4c6e-8349-206af8a88088"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-organization";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-organization>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Organization</b><a name=\"01c31a2f-321d-4c6e-8349-206af8a88088\"> </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 Organization \"01c31a2f-321d-4c6e-8349-206af8a88088\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-organization.html\">UAPI Organization</a></p></div><p><b>identifier</b>: id: HOSP-12345(use: USUAL)</p><p><b>type</b>: Healthcare Provider <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4B/codesystem-organization-type.html\">OrganizationType</a>#prov)</span></p><p><b>name</b>: Mid Atlantic Retina</p><p><b>telecom</b>: ph: -unknown-</p><p><b>address</b>: 8 Ranoldo Terrace Cherry Hill NJ 08034 US </p><blockquote><p><b>contact</b></p><p><b>name</b>: Venus Yardav (OFFICIAL)</p><p><b>telecom</b>: ph: -unknown-</p></blockquote><blockquote><p><b>contact</b></p><p><b>telecom</b>: ph: 8882704882(WORK), fax: 8179974042(WORK)</p></blockquote></div>"
  ];
  fhir:Organization.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.system [ fhir:value "http://vendor.com/ab" ];
     fhir:Identifier.value [ fhir:value "HOSP-12345" ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "AB Vendor" ]     ]
  ];
  fhir:Organization.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/organization-type" ];
       fhir:Coding.code [ fhir:value "prov" ];
       fhir:Coding.display [ fhir:value "Healthcare Provider" ]     ]
  ];
  fhir:Organization.name [ fhir:value "Mid Atlantic Retina"];
  fhir:Organization.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ]
  ];
  fhir:Organization.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "8 Ranoldo Terrace";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Cherry Hill" ];
     fhir:Address.state [ fhir:value "NJ" ];
     fhir:Address.postalCode [ fhir:value "08034" ];
     fhir:Address.country [ fhir:value "US" ]
  ];
  fhir:Organization.contact [
     fhir:index 0;
     fhir:Organization.contact.name [
       fhir:HumanName.use [ fhir:value "official" ];
       fhir:HumanName.family [ fhir:value "Yardav" ];
       fhir:HumanName.given [
         fhir:value "Venus";
         fhir:index 0       ]     ];
     fhir:Organization.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "phone" ]     ]
  ], [
     fhir:index 1;
     fhir:Organization.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "phone" ];
       fhir:ContactPoint.value [ fhir:value "8882704882" ];
       fhir:ContactPoint.use [ fhir:value "work" ];
       fhir:ContactPoint.rank [ fhir:value "1"^^xsd:positiveInteger ]     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "fax" ];
       fhir:ContactPoint.value [ fhir:value "8179974042" ];
       fhir:ContactPoint.use [ fhir:value "work" ];
       fhir:ContactPoint.rank [ fhir:value "2"^^xsd:positiveInteger ]     ]
  ].

<urn:uuid:695d0991-5e03-46df-934a-85a28acd95c1> a fhir:Practitioner;
  fhir:Resource.id [ fhir:value "695d0991-5e03-46df-934a-85a28acd95c1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-practitioner";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-practitioner>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Practitioner</b><a name=\"695d0991-5e03-46df-934a-85a28acd95c1\"> </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 Practitioner \"695d0991-5e03-46df-934a-85a28acd95c1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-practitioner.html\">UAPI Practitioner</a></p></div><p><b>identifier</b>: Provider identifier: 1922071448(use: OFFICIAL), Tax ID number: 00000000(use: OFFICIAL), National provider identifier: 1639285034(use: OFFICIAL)</p><p><b>name</b>: MARISSA CRUZ (OFFICIAL)</p></div>"
  ];
  fhir:Practitioner.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     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 "PRN" ];
         fhir:Coding.display [ fhir:value "Provider identifier" ]       ]     ];
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ];
     fhir:Identifier.value [ fhir:value "1922071448" ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Centers for Medicare & Medicaid Services" ]     ]
  ], [
     fhir:index 1;
     fhir:Identifier.use [ fhir:value "official" ];
     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 "TAX" ];
         fhir:Coding.display [ fhir:value "Tax ID number" ]       ]     ];
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ];
     fhir:Identifier.value [ fhir:value "00000000" ]
  ], [
     fhir:index 2;
     fhir:Identifier.use [ fhir:value "official" ];
     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 "NPI" ];
         fhir:Coding.display [ fhir:value "National provider identifier" ]       ]     ];
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ];
     fhir:Identifier.value [ fhir:value "1639285034" ]
  ];
  fhir:Practitioner.name [
     fhir:index 0;
     fhir:HumanName.use [ fhir:value "official" ];
     fhir:HumanName.family [ fhir:value "CRUZ" ];
     fhir:HumanName.given [
       fhir:value "MARISSA";
       fhir:index 0     ]
  ].

<urn:uuid:42b41bdb-1781-49aa-a091-78cdd92129df> a fhir:Coverage;
  fhir:Resource.id [ fhir:value "42b41bdb-1781-49aa-a091-78cdd92129df"];
  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:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Coverage</b><a name=\"42b41bdb-1781-49aa-a091-78cdd92129df\"> </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 Coverage \"42b41bdb-1781-49aa-a091-78cdd92129df\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-coverage.html\">UAPI Coverage</a></p></div><p><b>status</b>: active</p><p><b>type</b>: health insurance plan policy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-ActCode.html\">ActCode</a>#HIP)</span></p><p><b>subscriber</b>: <a href=\"#RelatedPerson_4db51d32-65c3-4f8c-959e-0155c6d14545\">See above (urn:uuid:4db51d32-65c3-4f8c-959e-0155c6d14545)</a></p><p><b>subscriberId</b>: 4353</p><p><b>beneficiary</b>: <a href=\"#Patient_fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">See above (urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c)</a></p><p><b>payor</b>: <a href=\"#Organization_d3637025-883d-4678-9e0a-1d243a338f9f\">See above (urn:uuid:d3637025-883d-4678-9e0a-1d243a338f9f)</a></p><h3>Classes</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Value</b></td><td><b>Name</b></td></tr><tr><td>*</td><td>Group <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4B/codesystem-coverage-class.html\">Coverage Class Codes</a>#group)</span></td><td>12344frgr</td><td>Group Number</td></tr></table><p><b>order</b>: 1</p><p><b>network</b>: Dakotacare</p></div>"
  ];
  fhir:Coverage.status [ fhir:value "active"];
  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 "HIP" ];
       fhir:Coding.display [ fhir:value "health insurance plan policy" ]     ]
  ];
  fhir:Coverage.subscriber [
     fhir:Reference.reference [ fhir:value "urn:uuid:4db51d32-65c3-4f8c-959e-0155c6d14545" ];
     fhir:Reference.type [ fhir:value "RelatedPerson" ]
  ];
  fhir:Coverage.subscriberId [ fhir:value "4353"];
  fhir:Coverage.beneficiary [
     fhir:Reference.reference [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ];
  fhir:Coverage.payor [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:uuid:d3637025-883d-4678-9e0a-1d243a338f9f" ];
     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 "group" ];
         fhir:Coding.display [ fhir:value "Group" ]       ]     ];
     fhir:Coverage.class.value [ fhir:value "12344frgr" ];
     fhir:Coverage.class.name [ fhir:value "Group Number" ]
  ];
  fhir:Coverage.order [ fhir:value "1"^^xsd:positiveInteger];
  fhir:Coverage.network [ fhir:value "Dakotacare"].

<urn:uuid:4db51d32-65c3-4f8c-959e-0155c6d14545> a fhir:RelatedPerson;
  fhir:Resource.id [ fhir:value "4db51d32-65c3-4f8c-959e-0155c6d14545"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-relatedPerson";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-relatedPerson>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: RelatedPerson</b><a name=\"4db51d32-65c3-4f8c-959e-0155c6d14545\"> </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 RelatedPerson \"4db51d32-65c3-4f8c-959e-0155c6d14545\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-relatedPerson.html\">UAPI RelatedPerson</a></p></div><p><b>patient</b>: <a href=\"#Patient_fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">See above (urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c)</a></p><p><b>relationship</b>: significant other <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-RoleCode.html\">RoleCode</a>#SIGOTHR)</span></p><p><b>name</b>: Bob Paul Smith (OFFICIAL)</p><p><b>telecom</b>: <a href=\"tel:+33(237)998327\">+33 (237) 998327</a></p><p><b>birthDate</b>: 1972-10-29</p></div>"
  ];
  fhir:RelatedPerson.patient [
     fhir:Reference.reference [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ];
  fhir:RelatedPerson.relationship [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
       fhir:Coding.code [ fhir:value "SIGOTHR" ];
       fhir:Coding.display [ fhir:value "significant other" ]     ]
  ];
  fhir:RelatedPerson.name [
     fhir:index 0;
     fhir:HumanName.use [ fhir:value "official" ];
     fhir:HumanName.family [ fhir:value "Smith" ];
     fhir:HumanName.given [
       fhir:value "Bob Paul";
       fhir:index 0     ]
  ];
  fhir:RelatedPerson.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "+33 (237) 998327" ];
     fhir:ContactPoint.use [ fhir:value "mobile" ]
  ];
  fhir:RelatedPerson.birthDate [ fhir:value "1972-10-29"^^xsd:date].

<urn:uuid:5342779a-184f-42ba-ab44-3a8e023979f7> a fhir:QuestionnaireResponse;
  fhir:Resource.id [ fhir:value "5342779a-184f-42ba-ab44-3a8e023979f7"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: QuestionnaireResponse</b><a name=\"5342779a-184f-42ba-ab44-3a8e023979f7\"> </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 QuestionnaireResponse \"5342779a-184f-42ba-ab44-3a8e023979f7\" </p></div><p><b>questionnaire</b>: <a href=\"https://dev.gene.com/fhir/uapi/fhirapi/Questionnaire/1234\">https://dev.gene.com/fhir/uapi/fhirapi/Questionnaire/1234</a></p><p><b>status</b>: completed</p><p><b>subject</b>: <a href=\"#Patient_fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">See above (urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c)</a></p><blockquote><p><b>item</b></p><p><b>linkId</b>: do-not-contact-patient</p><p><b>text</b>: Do not contact patient</p><h3>Answers</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Yes</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: has-patient-started-therapy</p><p><b>text</b>: Has Patient Started Therapy</p><h3>Answers</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Yes</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: ok-to-send-text-message</p><p><b>text</b>: Ok to send text messag</p><h3>Answers</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Yes</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: anticipated-date-of-treatment</p><p><b>text</b>: Anticipated Date of Treatment</p><h3>Answers</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>2021-01-03</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: ok-to-leave-detailed-message</p><p><b>text</b>: Ok to leave detailed message</p><h3>Answers</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Yes</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: pa-in-place</p><p><b>text</b>: Is prior authorization in place?</p><h3>Answers</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>No</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: re-verify-benefits-at-pa-expiration</p><p><b>text</b>: Re-verify benefits at PA expiration</p><h3>Answers</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>No</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: specialty-pharmacy</p><p><b>text</b>: Specialty Pharmacy?</p><h3>Answers</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>No</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: onsite-pharmacy</p><p><b>text</b>: Onsite Pharmacy?</p><h3>Answers</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>No</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: authorization</p><p><b>text</b>: Authorization #</p><h3>Answers</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>#3456789</td></tr></table></blockquote></div>"
  ];
  fhir:QuestionnaireResponse.questionnaire [
     fhir:value "https://dev.gene.com/fhir/uapi/fhirapi/Questionnaire/1234";
     fhir:link <https://dev.gene.com/fhir/uapi/fhirapi/Questionnaire/1234>
  ];
  fhir:QuestionnaireResponse.status [ fhir:value "completed"];
  fhir:QuestionnaireResponse.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ];
  fhir:QuestionnaireResponse.item [
     fhir:index 0;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "do-not-contact-patient" ];
     fhir:QuestionnaireResponse.item.text [ fhir:value "Do not contact patient" ];
     fhir:QuestionnaireResponse.item.answer [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "Yes" ]     ]
  ], [
     fhir:index 1;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "has-patient-started-therapy" ];
     fhir:QuestionnaireResponse.item.text [ fhir:value "Has Patient Started Therapy" ];
     fhir:QuestionnaireResponse.item.answer [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "Yes" ]     ]
  ], [
     fhir:index 2;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "ok-to-send-text-message" ];
     fhir:QuestionnaireResponse.item.text [ fhir:value "Ok to send text messag" ];
     fhir:QuestionnaireResponse.item.answer [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "Yes" ]     ]
  ], [
     fhir:index 3;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "anticipated-date-of-treatment" ];
     fhir:QuestionnaireResponse.item.text [ fhir:value "Anticipated Date of Treatment" ];
     fhir:QuestionnaireResponse.item.answer [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.answer.valueDate [ fhir:value "2021-01-03"^^xsd:date ]     ]
  ], [
     fhir:index 4;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "ok-to-leave-detailed-message" ];
     fhir:QuestionnaireResponse.item.text [ fhir:value "Ok to leave detailed message" ];
     fhir:QuestionnaireResponse.item.answer [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "Yes" ]     ]
  ], [
     fhir:index 5;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "pa-in-place" ];
     fhir:QuestionnaireResponse.item.text [ fhir:value "Is prior authorization in place?" ];
     fhir:QuestionnaireResponse.item.answer [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "No" ]     ]
  ], [
     fhir:index 6;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "re-verify-benefits-at-pa-expiration" ];
     fhir:QuestionnaireResponse.item.text [ fhir:value "Re-verify benefits at PA expiration" ];
     fhir:QuestionnaireResponse.item.answer [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "No" ]     ]
  ], [
     fhir:index 7;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "specialty-pharmacy" ];
     fhir:QuestionnaireResponse.item.text [ fhir:value "Specialty Pharmacy?" ];
     fhir:QuestionnaireResponse.item.answer [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "No" ]     ]
  ], [
     fhir:index 8;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "onsite-pharmacy" ];
     fhir:QuestionnaireResponse.item.text [ fhir:value "Onsite Pharmacy?" ];
     fhir:QuestionnaireResponse.item.answer [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "No" ]     ]
  ], [
     fhir:index 9;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "authorization" ];
     fhir:QuestionnaireResponse.item.text [ fhir:value "Authorization #" ];
     fhir:QuestionnaireResponse.item.answer [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.answer.valueString [ fhir:value "#3456789" ]     ]
  ].

<urn:uuid:bc20c5ea-f639-4221-ab61-ce75c5e64aba> a fhir:Condition;
  fhir:Resource.id [ fhir:value "bc20c5ea-f639-4221-ab61-ce75c5e64aba"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Condition</b><a name=\"bc20c5ea-f639-4221-ab61-ce75c5e64aba\"> </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 Condition \"bc20c5ea-f639-4221-ab61-ce75c5e64aba\" </p></div><p><b>code</b>: Type 1 diab with mild nonp rtnop with macular edema, r eye <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-icd10CM.html\">International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)</a>#E10.3211)</span></p><p><b>subject</b>: <a href=\"#Patient_fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">See above (urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c)</a></p></div>"
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ];
       fhir:Coding.code [ fhir:value "E10.3211" ]     ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ].

<urn:uuid:5cc5785f-002e-48f3-b9b7-893c3321f4b9> a fhir:Consent;
  fhir:Resource.id [ fhir:value "5cc5785f-002e-48f3-b9b7-893c3321f4b9"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-consent";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-consent>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Consent</b><a name=\"5cc5785f-002e-48f3-b9b7-893c3321f4b9\"> </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 Consent \"5cc5785f-002e-48f3-b9b7-893c3321f4b9\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-consent.html\">UAPI Consent</a></p></div><p><b>status</b>: active</p><p><b>scope</b>: Privacy Consent <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4B/codesystem-consent-scope.html\">Consent Scope Codes</a>#patient-privacy)</span></p><p><b>category</b>: Patient Authorization Signature <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#59284-0)</span></p><p><b>patient</b>: <a href=\"#Patient_fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">See above (urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c)</a></p><p><b>dateTime</b>: 2021-05-01</p><p><b>policyRule</b>: HIPAA Authorization <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4B/codesystem-consent-policy.html\">Policy Codes</a>#hipaa-auth)</span></p></div>"
  ];
  fhir:Consent.status [ fhir:value "active"];
  fhir:Consent.scope [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentscope" ];
       fhir:Coding.code [ fhir:value "patient-privacy" ];
       fhir:Coding.display [ fhir:value "Privacy Consent" ]     ]
  ];
  fhir:Consent.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:59284-0;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "59284-0" ];
       fhir:Coding.display [ fhir:value "Patient Authorization Signature" ]     ]
  ];
  fhir:Consent.patient [
     fhir:Reference.reference [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ];
  fhir:Consent.dateTime [ fhir:value "2021-05-01"^^xsd:date];
  fhir:Consent.policyRule [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentpolicycodes" ];
       fhir:Coding.code [ fhir:value "hipaa-auth" ];
       fhir:Coding.display [ fhir:value "HIPAA Authorization" ]     ]
  ].

<urn:uuid:d3637025-883d-4678-9e0a-1d243a338f9f> a fhir:Organization;
  fhir:Resource.id [ fhir:value "d3637025-883d-4678-9e0a-1d243a338f9f"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-organization";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-organization>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Organization</b><a name=\"d3637025-883d-4678-9e0a-1d243a338f9f\"> </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 Organization \"d3637025-883d-4678-9e0a-1d243a338f9f\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-organization.html\">UAPI Organization</a></p></div><p><b>identifier</b>: id: PAY-111(use: USUAL)</p><p><b>type</b>: Insurance Company <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4B/codesystem-organization-type.html\">OrganizationType</a>#ins)</span></p><p><b>name</b>: Dakotacare</p><p><b>telecom</b>: ph: 8778472862(WORK)</p></div>"
  ];
  fhir:Organization.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.system [ fhir:value "http://vendor.com/ab" ];
     fhir:Identifier.value [ fhir:value "PAY-111" ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "AB Vendor" ]     ]
  ];
  fhir:Organization.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/organization-type" ];
       fhir:Coding.code [ fhir:value "ins" ]     ]
  ];
  fhir:Organization.name [ fhir:value "Dakotacare"];
  fhir:Organization.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "8778472862" ];
     fhir:ContactPoint.use [ fhir:value "work" ];
     fhir:ContactPoint.rank [ fhir:value "1"^^xsd:positiveInteger ]
  ].

<urn:uuid:f71a66c4-f747-4b46-8adc-875a45f8ee7e> a fhir:ServiceRequest;
  fhir:Resource.id [ fhir:value "f71a66c4-f747-4b46-8adc-875a45f8ee7e"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-servicerequest";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-servicerequest>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"f71a66c4-f747-4b46-8adc-875a45f8ee7e\"> </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 ServiceRequest \"f71a66c4-f747-4b46-8adc-875a45f8ee7e\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-servicerequest.html\">UAPI ServiceRequest</a></p></div><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>code</b>: Copay <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-uapi-sr-type.html\">UAPI Code System - Service Request Type</a>#copay)</span></p><p><b>subject</b>: <a href=\"#Patient_fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">See above (urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c)</a></p></div>"
  ];
  fhir:ServiceRequest.status [ fhir:value "active"];
  fhir:ServiceRequest.intent [ fhir:value "order"];
  fhir:ServiceRequest.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "https://fhir.developer.gene.com/CodeSystem/uapi-sr-type" ];
       fhir:Coding.code [ fhir:value "copay" ]     ]
  ];
  fhir:ServiceRequest.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ].

<urn:uuid:df610b38-2561-423c-b17a-36364f5a82c1> a fhir:MedicationRequest;
  fhir:Resource.id [ fhir:value "df610b38-2561-423c-b17a-36364f5a82c1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-medicationrequest";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-medicationrequest>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicationRequest</b><a name=\"df610b38-2561-423c-b17a-36364f5a82c1\"> </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 MedicationRequest \"df610b38-2561-423c-b17a-36364f5a82c1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-medicationrequest.html\">UAPI MedicationRequest</a></p></div><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: Alecensa <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-uapi-product-name.html\">UAPI Code System - Product Names</a>#alecensa)</span></p><p><b>subject</b>: <a href=\"#Patient_fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">See above (urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c)</a></p><p><b>requester</b>: <a href=\"#Practitioner_695d0991-5e03-46df-934a-85a28acd95c1\">See above (urn:uuid:695d0991-5e03-46df-934a-85a28acd95c1)</a></p><p><b>insurance</b>: <a href=\"#Coverage_42b41bdb-1781-49aa-a091-78cdd92129df\">See above (urn:uuid:42b41bdb-1781-49aa-a091-78cdd92129df)</a></p><p><b>note</b>: 600 mg twice a day</p><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: Do 2 per 1 days</p></blockquote><blockquote><p><b>dispenseRequest</b></p><p><b>numberOfRepeatsAllowed</b>: 3</p><h3>ExpectedSupplyDurations</h3><table class=\"grid\"><tr><td>-</td><td><b>Value</b></td><td><b>Unit</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td>*</td><td>1</td><td>mo</td><td><a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-ucum.html\">Unified Code for Units of Measure (UCUM)</a></td><td>mo</td></tr></table></blockquote></div>"
  ];
  fhir:MedicationRequest.status [ fhir:value "active"];
  fhir:MedicationRequest.intent [ fhir:value "order"];
  fhir:MedicationRequest.medicationCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "https://fhir.developer.gene.com/CodeSystem/uapi-product-name" ];
       fhir:Coding.code [ fhir:value "alecensa" ];
       fhir:Coding.display [ fhir:value "Alecensa" ]     ]
  ];
  fhir:MedicationRequest.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ];
  fhir:MedicationRequest.requester [
     fhir:Reference.reference [ fhir:value "urn:uuid:695d0991-5e03-46df-934a-85a28acd95c1" ];
     fhir:Reference.type [ fhir:value "Practitioner" ]
  ];
  fhir:MedicationRequest.insurance [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:uuid:42b41bdb-1781-49aa-a091-78cdd92129df" ];
     fhir:Reference.type [ fhir:value "Coverage" ]
  ];
  fhir:MedicationRequest.note [
     fhir:index 0;
     fhir:Annotation.text [ fhir:value "600 mg twice a day" ]
  ];
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "2"^^xsd:positiveInteger ];
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]       ]     ];
     fhir:Dosage.doseAndRate [
       fhir:index 0;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "600"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "mg" ]       ]     ]
  ];
  fhir:MedicationRequest.dispenseRequest [
     fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "3"^^xsd:nonNegativeInteger ];
     fhir:MedicationRequest.dispenseRequest.expectedSupplyDuration [
       fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mo" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mo" ]     ]
  ].

<urn:uuid:98f1c980-79a9-4f0b-9c14-59bd55aa2c19> a fhir:Account;
  fhir:Resource.id [ fhir:value "98f1c980-79a9-4f0b-9c14-59bd55aa2c19"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-account";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-account>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Account</b><a name=\"98f1c980-79a9-4f0b-9c14-59bd55aa2c19\"> </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 Account \"98f1c980-79a9-4f0b-9c14-59bd55aa2c19\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-account.html\">UAPI Account</a></p></div><p><b>UAPI Account Enrolled By Id</b>: 2</p><p><b>identifier</b>: brandId: bbbbbbbb(use: OFFICIAL), programId: ppppppp(use: SECONDARY)</p><p><b>status</b>: unknown</p><p><b>name</b>: COPAY Application</p><p><b>subject</b>: <a href=\"#Patient_fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">See above (urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c)</a></p><p><b>servicePeriod</b>: 2021-01-01 --&gt; 2022-01-01</p><h3>Coverages</h3><table class=\"grid\"><tr><td>-</td><td><b>Coverage</b></td></tr><tr><td>*</td><td><a href=\"#Coverage_42b41bdb-1781-49aa-a091-78cdd92129df\">See above (urn:uuid:42b41bdb-1781-49aa-a091-78cdd92129df)</a></td></tr></table></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "https://fhir.developer.gene.com/StructureDefinition/enroll-by-id" ];
     fhir:Extension.valueString [ fhir:value "2" ]
  ];
  fhir:Account.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-acct-id-type" ];
         fhir:Coding.code [ fhir:value "brandId" ]       ]     ];
     fhir:Identifier.system [ fhir:value "https://fhir.developer.gene.com" ];
     fhir:Identifier.value [ fhir:value "bbbbbbbb" ]
  ], [
     fhir:index 1;
     fhir:Identifier.use [ fhir:value "secondary" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-acct-id-type" ];
         fhir:Coding.code [ fhir:value "programId" ]       ]     ];
     fhir:Identifier.system [ fhir:value "https://fhir.developer.gene.com" ];
     fhir:Identifier.value [ fhir:value "ppppppp" ]
  ];
  fhir:Account.status [ fhir:value "unknown"];
  fhir:Account.name [ fhir:value "COPAY Application"];
  fhir:Account.subject [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ];
  fhir:Account.servicePeriod [
     fhir:Period.start [ fhir:value "2021-01-01"^^xsd:date ];
     fhir:Period.end [ fhir:value "2022-01-01"^^xsd:date ]
  ];
  fhir:Account.coverage [
     fhir:index 0;
     fhir:Account.coverage.coverage [
       fhir:Reference.reference [ fhir:value "urn:uuid:42b41bdb-1781-49aa-a091-78cdd92129df" ];
       fhir:Reference.type [ fhir:value "Coverage" ]     ]
  ].

<urn:uuid:982e97af-668d-41ef-b9f9-2bbc4a059330> a fhir:Organization;
  fhir:Resource.id [ fhir:value "982e97af-668d-41ef-b9f9-2bbc4a059330"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-organization";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-organization>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Organization</b><a name=\"982e97af-668d-41ef-b9f9-2bbc4a059330\"> </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 Organization \"982e97af-668d-41ef-b9f9-2bbc4a059330\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-organization.html\">UAPI Organization</a></p></div><p><b>identifier</b>: id: PAY-145(use: USUAL)</p><p><b>type</b>: Insurance Company <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4B/codesystem-organization-type.html\">OrganizationType</a>#ins)</span></p><p><b>name</b>: Pharmacare</p><p><b>telecom</b>: ph: -unknown-</p><h3>Contacts</h3><table class=\"grid\"><tr><td>-</td><td><b>Telecom</b></td></tr><tr><td>*</td><td>ph: 8778472862(WORK)</td></tr></table></div>"
  ];
  fhir:Organization.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.system [ fhir:value "http://vendor.com/ab" ];
     fhir:Identifier.value [ fhir:value "PAY-145" ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Ph Vendor" ]     ]
  ];
  fhir:Organization.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/organization-type" ];
       fhir:Coding.code [ fhir:value "ins" ]     ]
  ];
  fhir:Organization.name [ fhir:value "Pharmacare"];
  fhir:Organization.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ]
  ];
  fhir:Organization.contact [
     fhir:index 0;
     fhir:Organization.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "phone" ];
       fhir:ContactPoint.value [ fhir:value "8778472862" ];
       fhir:ContactPoint.use [ fhir:value "work" ];
       fhir:ContactPoint.rank [ fhir:value "1"^^xsd:positiveInteger ]     ]
  ].

<urn:uuid:d212ac11-903c-4040-a3d7-6b3e1874a311> a fhir:Coverage;
  fhir:Resource.id [ fhir:value "d212ac11-903c-4040-a3d7-6b3e1874a311"];
  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:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Coverage</b><a name=\"d212ac11-903c-4040-a3d7-6b3e1874a311\"> </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 Coverage \"d212ac11-903c-4040-a3d7-6b3e1874a311\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-coverage.html\">UAPI Coverage</a></p></div><p><b>status</b>: active</p><p><b>type</b>: Pharmacy insurance plan policy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-ActCode.html\">ActCode</a>#DRUGPOL)</span></p><p><b>subscriber</b>: <a href=\"#RelatedPerson_4db51d32-65c3-4f8c-959e-0155c6d14545\">See above (urn:uuid:4db51d32-65c3-4f8c-959e-0155c6d14545)</a></p><p><b>subscriberId</b>: 2578</p><p><b>beneficiary</b>: <a href=\"Bundle-uapi-query-response-1.html#urn-uuid-b3d46ea3-62e6-4171-b818-d64712edfe55\">urn:uuid:b3d46ea3-62e6-4171-b818-d64712edfe55</a></p><p><b>payor</b>: <a href=\"#Organization_982e97af-668d-41ef-b9f9-2bbc4a059330\">See above (urn:uuid:982e97af-668d-41ef-b9f9-2bbc4a059330)</a></p><blockquote><p><b>class</b></p><p><b>type</b>: Group <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4B/codesystem-coverage-class.html\">Coverage Class Codes</a>#group)</span></p><p><b>value</b>: 1255phtr</p><p><b>name</b>: Group Number</p></blockquote><blockquote><p><b>class</b></p><p><b>type</b>: plan <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4B/codesystem-coverage-class.html\">Coverage Class Codes</a>#group)</span></p><p><b>value</b>: 125B37FC</p><p><b>name</b>: plan</p></blockquote><blockquote><p><b>class</b></p><p><b>type</b>: rxBIN <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4B/codesystem-coverage-class.html\">Coverage Class Codes</a>#group)</span></p><p><b>value</b>: 987654</p><p><b>name</b>: rxBIN</p></blockquote><blockquote><p><b>class</b></p><p><b>type</b>: rxPCN <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4B/codesystem-coverage-class.html\">Coverage Class Codes</a>#group)</span></p><p><b>value</b>: 234516</p><p><b>name</b>: rxPCN</p></blockquote><p><b>order</b>: 1</p><p><b>network</b>: Pharmacare</p></div>"
  ];
  fhir:Coverage.status [ fhir:value "active"];
  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 "DRUGPOL" ];
       fhir:Coding.display [ fhir:value "Pharmacy insurance plan policy" ]     ]
  ];
  fhir:Coverage.subscriber [
     fhir:Reference.reference [ fhir:value "urn:uuid:4db51d32-65c3-4f8c-959e-0155c6d14545" ];
     fhir:Reference.type [ fhir:value "RelatedPerson" ]
  ];
  fhir:Coverage.subscriberId [ fhir:value "2578"];
  fhir:Coverage.beneficiary [
     fhir:Reference.reference [ fhir:value "urn:uuid:b3d46ea3-62e6-4171-b818-d64712edfe55" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ];
  fhir:Coverage.payor [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:uuid:982e97af-668d-41ef-b9f9-2bbc4a059330" ];
     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 "group" ];
         fhir:Coding.display [ fhir:value "Group" ]       ]     ];
     fhir:Coverage.class.value [ fhir:value "1255phtr" ];
     fhir:Coverage.class.name [ fhir:value "Group Number" ]
  ], [
     fhir:index 1;
     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 "group" ];
         fhir:Coding.display [ fhir:value "plan" ]       ]     ];
     fhir:Coverage.class.value [ fhir:value "125B37FC" ];
     fhir:Coverage.class.name [ fhir:value "plan" ]
  ], [
     fhir:index 2;
     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 "group" ];
         fhir:Coding.display [ fhir:value "rxBIN" ]       ]     ];
     fhir:Coverage.class.value [ fhir:value "987654" ];
     fhir:Coverage.class.name [ fhir:value "rxBIN" ]
  ], [
     fhir:index 3;
     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 "group" ];
         fhir:Coding.display [ fhir:value "rxPCN" ]       ]     ];
     fhir:Coverage.class.value [ fhir:value "234516" ];
     fhir:Coverage.class.name [ fhir:value "rxPCN" ]
  ];
  fhir:Coverage.order [ fhir:value "1"^^xsd:positiveInteger];
  fhir:Coverage.network [ fhir:value "Pharmacare"].

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

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