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 PCF only Bundle - 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 "73d19620-8168-4d4c-ad4b-9fb8f29419fg"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-PCF-enrollment-bundle";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-PCF-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 "73d19620-8168-4d4c-ad4b-9fb8f29419fg" ];
     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 "50ddc1a3-1fec-4467-b380-5ac0333a8fbf" ];
     fhir:Bundle.entry.resource <50ddc1a3-1fec-4467-b380-5ac0333a8fbf>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:08352e51-aec9-4773-a077-89226f99fc99" ];
     fhir:Bundle.entry.resource <urn:uuid:08352e51-aec9-4773-a077-89226f99fc99>
  ], [
     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:4db51d32-65c3-4f8c-959e-0155c6d14545" ];
     fhir:Bundle.entry.resource <urn:uuid:4db51d32-65c3-4f8c-959e-0155c6d14545>
  ], [
     fhir:index 4;
     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 5;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:1b53bfb2-1361-4906-acd8-35294d30273b" ];
     fhir:Bundle.entry.resource <urn:uuid:1b53bfb2-1361-4906-acd8-35294d30273b>
  ], [
     fhir:index 6;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:cb626b8a-4e0e-484b-b4fb-1f48fd318418" ];
     fhir:Bundle.entry.resource <urn:uuid:cb626b8a-4e0e-484b-b4fb-1f48fd318418>
  ].

<50ddc1a3-1fec-4467-b380-5ac0333a8fbf> 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 "generated" ];
     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>event</b>: consent-only (Details: http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-event-type code consent-only = 'consent-only', 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=\"Bundle-caf568e0-21b6-40e4-b0b8-1fdddef30fd2.html#urn-uuid-01c31a2f-321d-4c6e-8349-206af8a88088\">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_584681db-df12-4038-bc82-7c438b06e63b\">See above (urn:uuid:08352e51-aec9-4773-a077-89226f99fc99)</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 "consent-only" ]
  ];
  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:08352e51-aec9-4773-a077-89226f99fc99" ];
     fhir:Reference.type [ fhir:value "List" ]
  ].

<urn:uuid:08352e51-aec9-4773-a077-89226f99fc99> a fhir:List;
  fhir:Resource.id [ fhir:value "584681db-df12-4038-bc82-7c438b06e63b"];
  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=\"584681db-df12-4038-bc82-7c438b06e63b\"> </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 \"584681db-df12-4038-bc82-7c438b06e63b\" </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=\"#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=\"#Consent_1b53bfb2-1361-4906-acd8-35294d30273b\">See above (urn:uuid:1b53bfb2-1361-4906-acd8-35294d30273b)</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:5342779a-184f-42ba-ab44-3a8e023979f7" ];
       fhir:Reference.type [ fhir:value "QuestionnaireResponse" ]     ]
  ], [
     fhir:index 2;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:1b53bfb2-1361-4906-acd8-35294d30273b" ];
       fhir:Reference.type [ fhir:value "Consent" ]     ]
  ], [
     fhir:index 3;
     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: 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>generalPractitioner</b>: <a href=\"Bundle-caf568e0-21b6-40e4-b0b8-1fdddef30fd2.html#urn-uuid-695d0991-5e03-46df-934a-85a28acd95c1\">urn:uuid:695d0991-5e03-46df-934a-85a28acd95c1</a></p><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://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: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/5.3.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:1b53bfb2-1361-4906-acd8-35294d30273b> a fhir:Consent;
  fhir:Resource.id [ fhir:value "1b53bfb2-1361-4906-acd8-35294d30273b"];
  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=\"1b53bfb2-1361-4906-acd8-35294d30273b\"> </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 \"1b53bfb2-1361-4906-acd8-35294d30273b\" </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>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.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:cb626b8a-4e0e-484b-b4fb-1f48fd318418> a fhir:Provenance;
  fhir:Resource.id [ fhir:value "cb626b8a-4e0e-484b-b4fb-1f48fd318418"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-provenance";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-provenance>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Provenance</b><a name=\"cb626b8a-4e0e-484b-b4fb-1f48fd318418\"> </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 Provenance \"cb626b8a-4e0e-484b-b4fb-1f48fd318418\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-provenance.html\">UAPI Provenance</a></p></div><p><b>target</b>: <a href=\"#Consent_1b53bfb2-1361-4906-acd8-35294d30273b\">See above (urn:uuid:1b53bfb2-1361-4906-acd8-35294d30273b)</a></p><p><b>recorded</b>: Jan 6, 2021, 10:49:41 PM</p><h3>Agents</h3><table class=\"grid\"><tr><td>-</td><td><b>Who</b></td></tr><tr><td>*</td><td><a href=\"#Patient_fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">See above (urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c)</a></td></tr></table><h3>Signatures</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>When</b></td><td><b>Who</b></td><td><b>SigFormat</b></td><td><b>Data</b></td></tr><tr><td>*</td><td>Consent Signature (Details: urn:iso-astm:E1762-95:2013 code 1.2.840.10065.1.12.1.7 = 'Consent Signature', stated as 'Consent Signature')</td><td>Jan 6, 2021, 10:49:41 PM</td><td><a href=\"#Patient_fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">See above (urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c)</a></td><td>image/*</td><td>bQ==</td></tr></table></div>"
  ];
  fhir:Provenance.target [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:uuid:1b53bfb2-1361-4906-acd8-35294d30273b" ];
     fhir:Reference.type [ fhir:value "Consent" ]
  ];
  fhir:Provenance.recorded [ fhir:value "2021-01-07T06:49:41.382941+00:00"^^xsd:dateTime];
  fhir:Provenance.agent [
     fhir:index 0;
     fhir:Provenance.agent.who [
       fhir:Reference.reference [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
       fhir:Reference.type [ fhir:value "Patient" ]     ]
  ];
  fhir:Provenance.signature [
     fhir:index 0;
     fhir:Signature.type [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso-astm:E1762-95:2013" ];
       fhir:Coding.code [ fhir:value "1.2.840.10065.1.12.1.7" ];
       fhir:Coding.display [ fhir:value "Consent Signature" ]     ];
     fhir:Signature.when [ fhir:value "2021-01-07T06:49:41.382897+00:00"^^xsd:dateTime ];
     fhir:Signature.who [
       fhir:Reference.reference [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
       fhir:Reference.type [ fhir:value "Patient" ]     ];
     fhir:Signature.sigFormat [ fhir:value "image/*" ];
     fhir:Signature.data [ fhir:value "bQ=="^^xsd:base64Binary ]
  ].

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

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