Specialty Medication Enrollment
0.1.0 - STU1 Ballot

Publication Build: This will be filled in by the publication tooling

## : Specialty Rx Query Response 1 - 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 sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

     a fhir:Bundle;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "specialty-rx-query-response-1"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-query-response";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-query-response>     ]
      ];
      fhir:Bundle.type [ fhir:value "message"];
      fhir:Bundle.timestamp [ fhir:value "2020-03-11T08:10:17-05:00"^^xsd:dateTime];
      fhir:Bundle.entry [
         fhir:index 0;
         fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:d0b62e34-db4a-4ef7-832c-52cb4c7f9289" ];
         fhir:Bundle.entry.resource <urn:uuid:d0b62e34-db4a-4ef7-832c-52cb4c7f9289>
      ], [
         fhir:index 1;
         fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:b5000d0c-fed9-4746-ac26-b5ce0111a2b7" ];
         fhir:Bundle.entry.resource <urn:uuid:b5000d0c-fed9-4746-ac26-b5ce0111a2b7>
      ], [
         fhir:index 2;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/Patient/patientEHR" ];
         fhir:Bundle.entry.resource <http://example.org/MyEHR/Patient/patientEHR>
      ], [
         fhir:index 3;
         fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:2a87e733-8fe5-4dca-a9ae-bb24c36d41aa" ];
         fhir:Bundle.entry.resource <urn:uuid:2a87e733-8fe5-4dca-a9ae-bb24c36d41aa>
      ], [
         fhir:index 4;
         fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164" ];
         fhir:Bundle.entry.resource <urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164>
      ], [
         fhir:index 5;
         fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:9ce2a97b-5cab-4986-814f-4734016e6084" ];
         fhir:Bundle.entry.resource <urn:uuid:9ce2a97b-5cab-4986-814f-4734016e6084>
      ], [
         fhir:index 6;
         fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57" ];
         fhir:Bundle.entry.resource <urn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57>
      ], [
         fhir:index 7;
         fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e" ];
         fhir:Bundle.entry.resource <urn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e>
      ], [
         fhir:index 8;
         fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:6b28b7d5-95e1-485b-a0bc-2420a20635a8" ];
         fhir:Bundle.entry.resource <urn:uuid:6b28b7d5-95e1-485b-a0bc-2420a20635a8>
      ], [
         fhir:index 9;
         fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:89b0b6ce-4a31-4718-b38a-798efab6c9e4" ];
         fhir:Bundle.entry.resource <urn:uuid:89b0b6ce-4a31-4718-b38a-798efab6c9e4>
      ].

    <urn:uuid:d0b62e34-db4a-4ef7-832c-52cb4c7f9289> a fhir:MessageHeader;
      fhir:Resource.id [ fhir:value "72f68739-f49a-4536-b8d4-15f57197abde"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-messageheader-query-response";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-messageheader-query-response>     ]
      ];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>event</b>: <span title=\"{http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type query-response}\">Query Response</span></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>Specialty Sandbox Static</td><td><a href=\"http://example.org/MyEHR/$process-message\">http://example.org/MyEHR/$process-message</a></td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td>-</td><td><b>Identifier</b></td><td><b>Code</b></td></tr><tr><td>*</td><td>5065aa9f-bd6d-49a8-924c-5d00f5d0b997</td><td>ok</td></tr></table><p><b>focus</b>: <a href=\"#Parameters_b5000d0c-fed9-4746-ac26-b5ce0111a2b7\">See above (Parameters/b5000d0c-fed9-4746-ac26-b5ce0111a2b7)</a></p></div>"
      ];
      fhir:MessageHeader.eventCoding [
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type" ];
         fhir:Coding.code [ fhir:value "query-response" ];
         fhir:Coding.display [ fhir:value "Query Response" ]
      ];
      fhir:MessageHeader.source [
         fhir:MessageHeader.source.name [ fhir:value "Specialty Sandbox Static" ];
         fhir:MessageHeader.source.endpoint [ fhir:value "http://example.org/MyEHR/$process-message" ]
      ];
      fhir:MessageHeader.response [
         fhir:MessageHeader.response.identifier [ fhir:value "5065aa9f-bd6d-49a8-924c-5d00f5d0b997" ];
         fhir:MessageHeader.response.code [ fhir:value "ok" ]
      ];
      fhir:MessageHeader.focus [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "urn:uuid:b5000d0c-fed9-4746-ac26-b5ce0111a2b7" ]
      ].

    <urn:uuid:b5000d0c-fed9-4746-ac26-b5ce0111a2b7> a fhir:Parameters;
      fhir:Resource.id [ fhir:value "b5000d0c-fed9-4746-ac26-b5ce0111a2b7"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-parameters-query-response";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-parameters-query-response>     ]
      ];
      fhir:Parameters.parameter [
         fhir:index 0;
         fhir:Parameters.parameter.name [ fhir:value "responder-patient" ];
         fhir:Parameters.parameter.valueReference [
           fhir:link <http://example.org/MyEHR/Patient/patientEHR>;
           fhir:Reference.reference [ fhir:value "http://example.org/MyEHR/Patient/patientEHR" ]     ]
      ], [
         fhir:index 1;
         fhir:Parameters.parameter.name [ fhir:value "requester-patient" ];
         fhir:Parameters.parameter.valueReference [
           fhir:Reference.reference [ fhir:value "urn:uuid:2a87e733-8fe5-4dca-a9ae-bb24c36d41aa" ]     ]
      ], [
         fhir:index 2;
         fhir:Parameters.parameter.name [ fhir:value "search-result" ];
         fhir:Parameters.parameter.valueReference [
           fhir:Reference.reference [ fhir:value "urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164" ]     ]
      ], [
         fhir:index 3;
         fhir:Parameters.parameter.name [ fhir:value "search-result" ];
         fhir:Parameters.parameter.valueReference [
           fhir:Reference.reference [ fhir:value "urn:uuid:9ce2a97b-5cab-4986-814f-4734016e6084" ]     ]
      ], [
         fhir:index 4;
         fhir:Parameters.parameter.name [ fhir:value "search-result" ];
         fhir:Parameters.parameter.valueReference [
           fhir:Reference.reference [ fhir:value "urn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57" ]     ]
      ], [
         fhir:index 5;
         fhir:Parameters.parameter.name [ fhir:value "search-result" ];
         fhir:Parameters.parameter.valueReference [
           fhir:Reference.reference [ fhir:value "urn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e" ]     ]
      ], [
         fhir:index 6;
         fhir:Parameters.parameter.name [ fhir:value "search-result" ];
         fhir:Parameters.parameter.valueReference [
           fhir:Reference.reference [ fhir:value "urn:uuid:6b28b7d5-95e1-485b-a0bc-2420a20635a8" ]     ]
      ], [
         fhir:index 7;
         fhir:Parameters.parameter.name [ fhir:value "search-result" ];
         fhir:Parameters.parameter.valueReference [
           fhir:Reference.reference [ fhir:value "urn:uuid:89b0b6ce-4a31-4718-b38a-798efab6c9e4" ]     ]
      ].

    <http://example.org/MyEHR/Patient/patientEHR> a fhir:Patient;
      fhir:Resource.id [ fhir:value "patientEHR"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-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</b></p><p><b>identifier</b>: Patient internal identifier: 30455</p><p><b>active</b>: true</p><p><b>name</b>: Tim Doe </p><p><b>telecom</b>: ph: 555-555-5555(HOME), <a href=\"mailto:tim.doe@example.com\">tim.doe@example.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1987-02-20</p><p><b>address</b>: 2224 Century Avenue Minnetonka MN 55345 US </p><h3>Communications</h3><table class=\"grid\"><tr><td>-</td><td><b>Language</b></td></tr><tr><td>*</td><td><span title=\"Codes: {urn:ietf:bcp:47 en-US}\">English (Region=United States)</span></td></tr></table></div>"
      ];
      fhir:Patient.identifier [
         fhir:index 0;
         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:CodeableConcept.text [ fhir:value "Patient internal identifier" ]     ];
         fhir:Identifier.system [ fhir:value "http://example.org/MyEHR" ];
         fhir:Identifier.value [ fhir:value "30455" ]
      ];
      fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
      fhir:Patient.name [
         fhir:index 0;
         fhir:HumanName.family [ fhir:value "Doe" ];
         fhir:HumanName.given [
           fhir:value "Tim";
           fhir:index 0     ]
      ];
      fhir:Patient.telecom [
         fhir:index 0;
         fhir:ContactPoint.system [ fhir:value "phone" ];
         fhir:ContactPoint.value [ fhir:value "555-555-5555" ];
         fhir:ContactPoint.use [ fhir:value "home" ]
      ], [
         fhir:index 1;
         fhir:ContactPoint.system [ fhir:value "email" ];
         fhir:ContactPoint.value [ fhir:value "tim.doe@example.com" ]
      ];
      fhir:Patient.gender [ fhir:value "male"];
      fhir:Patient.birthDate [ fhir:value "1987-02-20"^^xsd:date];
      fhir:Patient.address [
         fhir:index 0;
         fhir:Address.line [
           fhir:value "2224 Century Avenue";
           fhir:index 0     ];
         fhir:Address.city [ fhir:value "Minnetonka" ];
         fhir:Address.state [ fhir:value "MN" ];
         fhir:Address.postalCode [ fhir:value "55345" ];
         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-US" ];
             fhir:Coding.display [ fhir:value "English (Region=United States)" ]       ]     ]
      ].

    <urn:uuid:2a87e733-8fe5-4dca-a9ae-bb24c36d41aa> a fhir:Patient;
      fhir:Resource.id [ fhir:value "2a87e733-8fe5-4dca-a9ae-bb24c36d41aa"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-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</b></p><p><b>identifier</b>: Patient internal identifier: 540002</p><p><b>active</b>: true</p><p><b>name</b>: Tim Doe </p><p><b>telecom</b>: ph: 555-555-5555(HOME), <a href=\"mailto:tim.doe@example.com\">tim.doe@example.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1987-02-20</p><p><b>address</b>: 2224 Century Avenue Minnetonka MN 55345 US </p><h3>Communications</h3><table class=\"grid\"><tr><td>-</td><td><b>Language</b></td></tr><tr><td>*</td><td><span title=\"Codes: {urn:ietf:bcp:47 en-US}\">English (Region=United States)</span></td></tr></table></div>"
      ];
      fhir:Patient.identifier [
         fhir:index 0;
         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:CodeableConcept.text [ fhir:value "Patient internal identifier" ]     ];
         fhir:Identifier.system [ fhir:value "http://example.org/MyPharmacyApp/patient-id" ];
         fhir:Identifier.value [ fhir:value "540002" ]
      ];
      fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
      fhir:Patient.name [
         fhir:index 0;
         fhir:HumanName.family [ fhir:value "Doe" ];
         fhir:HumanName.given [
           fhir:value "Tim";
           fhir:index 0     ]
      ];
      fhir:Patient.telecom [
         fhir:index 0;
         fhir:ContactPoint.system [ fhir:value "phone" ];
         fhir:ContactPoint.value [ fhir:value "555-555-5555" ];
         fhir:ContactPoint.use [ fhir:value "home" ]
      ], [
         fhir:index 1;
         fhir:ContactPoint.system [ fhir:value "email" ];
         fhir:ContactPoint.value [ fhir:value "tim.doe@example.com" ]
      ];
      fhir:Patient.gender [ fhir:value "male"];
      fhir:Patient.birthDate [ fhir:value "1987-02-20"^^xsd:date];
      fhir:Patient.address [
         fhir:index 0;
         fhir:Address.line [
           fhir:value "2224 Century Avenue";
           fhir:index 0     ];
         fhir:Address.city [ fhir:value "Minnetonka" ];
         fhir:Address.state [ fhir:value "MN" ];
         fhir:Address.postalCode [ fhir:value "55345" ];
         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-US" ];
             fhir:Coding.display [ fhir:value "English (Region=United States)" ]       ]     ]
      ].

    <urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164> a fhir:Bundle;
      fhir:Resource.id [ fhir:value "aecbb129-9a73-4b59-9d66-ff5cdb3f3164"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result>     ]
      ];
      fhir:Bundle.type [ fhir:value "searchset"];
      fhir:Bundle.total [ fhir:value "3"^^xsd:nonNegativeInteger];
      fhir:Bundle.link [
         fhir:index 0;
         fhir:Bundle.link.relation [ fhir:value "self" ];
         fhir:Bundle.link.url [ fhir:value "AllergyIntolerance?clinical-status=active&patient=patientEHR" ]
      ];
      fhir:Bundle.entry [
         fhir:index 0;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/AllergyIntolerance/1" ];
         fhir:Bundle.entry.resource <http://example.org/MyEHR/AllergyIntolerance/1>;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
      ], [
         fhir:index 1;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/AllergyIntolerance/2" ];
         fhir:Bundle.entry.resource <http://example.org/MyEHR/AllergyIntolerance/2>;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
      ], [
         fhir:index 2;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/AllergyIntolerance/3" ];
         fhir:Bundle.entry.resource <http://example.org/MyEHR/AllergyIntolerance/3>;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
      ].

    <http://example.org/MyEHR/AllergyIntolerance/1> a fhir:AllergyIntolerance;
      fhir:Resource.id [ fhir:value "1"];
      fhir:AllergyIntolerance.clinicalStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" ];
           fhir:Coding.code [ fhir:value "active" ];
           fhir:Coding.display [ fhir:value "Active" ]     ]
      ];
      fhir:AllergyIntolerance.verificationStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" ];
           fhir:Coding.code [ fhir:value "confirmed" ];
           fhir:Coding.display [ fhir:value "Confirmed" ]     ]
      ];
      fhir:AllergyIntolerance.code [
         fhir:CodeableConcept.text [ fhir:value "Cashew" ]
      ];
      fhir:AllergyIntolerance.patient [
         fhir:Reference.reference [ fhir:value "Patient/patientEHR" ]
      ].

    <http://example.org/MyEHR/AllergyIntolerance/2> a fhir:AllergyIntolerance;
      fhir:Resource.id [ fhir:value "2"];
      fhir:AllergyIntolerance.clinicalStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" ];
           fhir:Coding.code [ fhir:value "active" ];
           fhir:Coding.display [ fhir:value "Active" ]     ]
      ];
      fhir:AllergyIntolerance.verificationStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" ];
           fhir:Coding.code [ fhir:value "confirmed" ];
           fhir:Coding.display [ fhir:value "Confirmed" ]     ]
      ];
      fhir:AllergyIntolerance.code [
         fhir:CodeableConcept.text [ fhir:value "Bees" ]
      ];
      fhir:AllergyIntolerance.patient [
         fhir:Reference.reference [ fhir:value "Patient/patientEHR" ]
      ].

    <http://example.org/MyEHR/AllergyIntolerance/3> a fhir:AllergyIntolerance;
      fhir:Resource.id [ fhir:value "3"];
      fhir:AllergyIntolerance.clinicalStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" ];
           fhir:Coding.code [ fhir:value "active" ];
           fhir:Coding.display [ fhir:value "Active" ]     ]
      ];
      fhir:AllergyIntolerance.verificationStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" ];
           fhir:Coding.code [ fhir:value "confirmed" ];
           fhir:Coding.display [ fhir:value "Confirmed" ]     ]
      ];
      fhir:AllergyIntolerance.code [
         fhir:CodeableConcept.text [ fhir:value "Penicillins" ]
      ];
      fhir:AllergyIntolerance.patient [
         fhir:Reference.reference [ fhir:value "Patient/patientEHR" ]
      ];
      fhir:AllergyIntolerance.reaction [
         fhir:index 0;
         fhir:AllergyIntolerance.reaction.manifestation [
           fhir:index 0;
           fhir:CodeableConcept.text [ fhir:value "Hives" ]     ]
      ].

    <urn:uuid:9ce2a97b-5cab-4986-814f-4734016e6084> a fhir:Bundle;
      fhir:Resource.id [ fhir:value "9ce2a97b-5cab-4986-814f-4734016e6084"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result>     ]
      ];
      fhir:Bundle.type [ fhir:value "searchset"];
      fhir:Bundle.total [ fhir:value "3"^^xsd:nonNegativeInteger];
      fhir:Bundle.link [
         fhir:index 0;
         fhir:Bundle.link.relation [ fhir:value "self" ];
         fhir:Bundle.link.url [ fhir:value "Condition?clinical-status=active&patient=patientEHR" ]
      ];
      fhir:Bundle.entry [
         fhir:index 0;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/Condition/1" ];
         fhir:Bundle.entry.resource <http://example.org/MyEHR/Condition/1>;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
      ], [
         fhir:index 1;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/Condition/2" ];
         fhir:Bundle.entry.resource <http://example.org/MyEHR/Condition/2>;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
      ], [
         fhir:index 2;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/Condition/3" ];
         fhir:Bundle.entry.resource <http://example.org/MyEHR/Condition/3>;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
      ].

    <http://example.org/MyEHR/Condition/1> a fhir:Condition;
      fhir:Resource.id [ fhir:value "1"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
      ];
      fhir:Condition.clinicalStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
           fhir:Coding.code [ fhir:value "active" ];
           fhir:Coding.display [ fhir:value "Active" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Active" ]
      ];
      fhir:Condition.verificationStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
           fhir:Coding.code [ fhir:value "confirmed" ];
           fhir:Coding.display [ fhir:value "Confirmed" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
      ];
      fhir:Condition.category [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
           fhir:Coding.code [ fhir:value "problem-list-item" ];
           fhir:Coding.display [ fhir:value "Problem List Item" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Problem" ]
      ];
      fhir:Condition.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:13644009;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "13644009" ];
           fhir:Coding.display [ fhir:value "Hypercholesterolemia (disorder)" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Hypercholesterolemia (disorder)" ]
      ];
      fhir:Condition.subject [
         fhir:Reference.reference [ fhir:value "Patient/patientEHR" ]
      ].

    <http://example.org/MyEHR/Condition/2> a fhir:Condition;
      fhir:Resource.id [ fhir:value "2"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
      ];
      fhir:Condition.clinicalStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
           fhir:Coding.code [ fhir:value "active" ];
           fhir:Coding.display [ fhir:value "Active" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Active" ]
      ];
      fhir:Condition.verificationStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
           fhir:Coding.code [ fhir:value "confirmed" ];
           fhir:Coding.display [ fhir:value "Confirmed" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
      ];
      fhir:Condition.category [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
           fhir:Coding.code [ fhir:value "problem-list-item" ];
           fhir:Coding.display [ fhir:value "Problem List Item" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Problem" ]
      ];
      fhir:Condition.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:84172003;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "84172003" ];
           fhir:Coding.display [ fhir:value "Spondylitis (disorder)" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Spondylitis (disorder)" ]
      ];
      fhir:Condition.subject [
         fhir:Reference.reference [ fhir:value "Patient/patientEHR" ]
      ].

    <http://example.org/MyEHR/Condition/3> a fhir:Condition;
      fhir:Resource.id [ fhir:value "3"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
      ];
      fhir:Condition.clinicalStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
           fhir:Coding.code [ fhir:value "active" ];
           fhir:Coding.display [ fhir:value "Active" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Active" ]
      ];
      fhir:Condition.verificationStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
           fhir:Coding.code [ fhir:value "confirmed" ];
           fhir:Coding.display [ fhir:value "Confirmed" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
      ];
      fhir:Condition.category [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
           fhir:Coding.code [ fhir:value "problem-list-item" ];
           fhir:Coding.display [ fhir:value "Problem List Item" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Problem" ]
      ];
      fhir:Condition.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:427603009;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "427603009" ];
           fhir:Coding.display [ fhir:value "Intermittent asthma (disorder)" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Intermittent asthma (disorder)" ]
      ];
      fhir:Condition.subject [
         fhir:Reference.reference [ fhir:value "Patient/patientEHR" ]
      ].

    <urn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57> a fhir:Bundle;
      fhir:Resource.id [ fhir:value "53a1e123-5b56-44ae-b7e8-36e0b9800f57"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result>     ]
      ];
      fhir:Bundle.type [ fhir:value "searchset"];
      fhir:Bundle.total [ fhir:value "1"^^xsd:nonNegativeInteger];
      fhir:Bundle.link [
         fhir:index 0;
         fhir:Bundle.link.relation [ fhir:value "self" ];
         fhir:Bundle.link.url [ fhir:value "Coverage?patient=patientEHR" ]
      ];
      fhir:Bundle.entry [
         fhir:index 0;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/Coverage/coverage-1" ];
         fhir:Bundle.entry.resource <http://example.org/MyEHR/Coverage/coverage-1>;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
      ].

    <http://example.org/MyEHR/Coverage/coverage-1> a fhir:Coverage;
      fhir:Resource.id [ fhir:value "coverage-1"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-coverage";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-coverage>     ]
      ];
      fhir:Coverage.status [ fhir:value "active"];
      fhir:Coverage.beneficiary [
         fhir:Reference.reference [ fhir:value "Patient/patientEHR" ]
      ];
      fhir:Coverage.payor [
         fhir:index 0;
         fhir:Reference.identifier [
           fhir:Identifier.value [ fhir:value "Pharmacy Plans US" ]     ]
      ];
      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 "rxbin" ]       ]     ];
         fhir:Coverage.class.value [ fhir:value "560564" ]
      ], [
         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 "rxpcn" ]       ]     ];
         fhir:Coverage.class.value [ fhir:value "HMMK" ]
      ], [
         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 "rxgroup" ]       ]     ];
         fhir:Coverage.class.value [ fhir:value "SILVER0334" ]
      ], [
         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 "rxid" ]       ]     ];
         fhir:Coverage.class.value [ fhir:value "JSO1345505608801" ]
      ].

    <urn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e> a fhir:Bundle;
      fhir:Resource.id [ fhir:value "82ae67e4-f23a-4c17-b80a-9076a37f5d6e"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result>     ]
      ];
      fhir:Bundle.type [ fhir:value "searchset"];
      fhir:Bundle.total [ fhir:value "0"^^xsd:nonNegativeInteger];
      fhir:Bundle.link [
         fhir:index 0;
         fhir:Bundle.link.relation [ fhir:value "self" ];
         fhir:Bundle.link.url [ fhir:value "Observation?category=vital-signs&patient=patientEHR" ]
      ].

    <urn:uuid:6b28b7d5-95e1-485b-a0bc-2420a20635a8> a fhir:Bundle;
      fhir:Resource.id [ fhir:value "6b28b7d5-95e1-485b-a0bc-2420a20635a8"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result>     ]
      ];
      fhir:Bundle.type [ fhir:value "searchset"];
      fhir:Bundle.total [ fhir:value "1"^^xsd:nonNegativeInteger];
      fhir:Bundle.link [
         fhir:index 0;
         fhir:Bundle.link.relation [ fhir:value "self" ];
         fhir:Bundle.link.url [ fhir:value "Observation?category=laboratory&patient=patientEHR" ]
      ];
      fhir:Bundle.entry [
         fhir:index 0;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/Observation/observation-1" ];
         fhir:Bundle.entry.resource <http://example.org/MyEHR/Observation/observation-1>;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
      ].

    <http://example.org/MyEHR/Observation/observation-1> a fhir:Observation;
      fhir:Resource.id [ fhir:value "observation-1"];
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "206588" ];
         fhir:Meta.lastUpdated [ fhir:value "2019-04-18T04:10:12.426+00:00"^^xsd:dateTime ];
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab>     ]
      ];
      fhir:Observation.status [ fhir:value "final"];
      fhir:Observation.category [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ];
           fhir:Coding.code [ fhir:value "laboratory" ];
           fhir:Coding.display [ fhir:value "Laboratory" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Laboratory" ]
      ];
      fhir:Observation.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a loinc:5811-5;
           fhir:Coding.system [ fhir:value "http://loinc.org" ];
           fhir:Coding.code [ fhir:value "5811-5" ];
           fhir:Coding.display [ fhir:value "Specific gravity of Urine by Test strip" ]     ];
         fhir:CodeableConcept.text [ fhir:value "SPEC GRAV" ]
      ];
      fhir:Observation.subject [
         fhir:Reference.reference [ fhir:value "Patient/patientEHR" ];
         fhir:Reference.display [ fhir:value "Tim Doe" ]
      ];
      fhir:Observation.effectiveDateTime [ fhir:value "2019-04-18"^^xsd:date];
      fhir:Observation.valueQuantity [
         fhir:Quantity.value [ fhir:value "1.017"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "{urine specific gravity}" ]
      ];
      fhir:Observation.referenceRange [
         fhir:index 0;
         fhir:Observation.referenceRange.low [
           fhir:Quantity.value [ fhir:value "1.003"^^xsd:decimal ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "{urine specific gravity}" ]     ];
         fhir:Observation.referenceRange.high [
           fhir:Quantity.value [ fhir:value "1.035"^^xsd:decimal ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "{urine specific gravity}" ]     ]
      ].

    <urn:uuid:89b0b6ce-4a31-4718-b38a-798efab6c9e4> a fhir:Bundle;
      fhir:Resource.id [ fhir:value "89b0b6ce-4a31-4718-b38a-798efab6c9e4"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result>     ]
      ];
      fhir:Bundle.type [ fhir:value "searchset"];
      fhir:Bundle.total [ fhir:value "1"^^xsd:nonNegativeInteger];
      fhir:Bundle.link [
         fhir:index 0;
         fhir:Bundle.link.relation [ fhir:value "self" ];
         fhir:Bundle.link.url [ fhir:value "MedicationRequest?patient=patientEHR" ]
      ];
      fhir:Bundle.entry [
         fhir:index 0;
         fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/MedicationRequest/prescription-1" ];
         fhir:Bundle.entry.resource <http://example.org/MyEHR/MedicationRequest/prescription-1>;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
      ].

    <http://example.org/MyEHR/MedicationRequest/prescription-1> a fhir:MedicationRequest;
      fhir:Resource.id [ fhir:value "prescription-1"];
      fhir:MedicationRequest.status [ fhir:value "stopped"];
      fhir:MedicationRequest.intent [ fhir:value "order"];
      fhir:MedicationRequest.medicationCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
           fhir:Coding.code [ fhir:value "802652" ];
           fhir:Coding.display [ fhir:value "1 ML Enbrel 50 MG/ML Prefilled Syringe" ]     ]
      ];
      fhir:MedicationRequest.subject [
         fhir:Reference.reference [ fhir:value "Patient/patientEHR" ]
      ];
      fhir:MedicationRequest.authoredOn [ fhir:value "2020-05-11"^^xsd:date];
      fhir:MedicationRequest.requester [
         fhir:link <http://example.org/MyEHR/Practitioner/50645003>;
         fhir:Reference.reference [ fhir:value "http://example.org/MyEHR/Practitioner/50645003" ]
      ];
      fhir:MedicationRequest.dispenseRequest [
         fhir:MedicationRequest.dispenseRequest.quantity [
           fhir:Quantity.value [ fhir:value "4"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "{each}" ]     ];
         fhir:MedicationRequest.dispenseRequest.expectedSupplyDuration [
           fhir:Quantity.value [ fhir:value "30"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "days" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "d" ]     ];
         fhir:MedicationRequest.dispenseRequest.performer [
           fhir:link <http://example.org/MyEHR/Organization/pharmacy-305660>;
           fhir:Reference.reference [ fhir:value "http://example.org/MyEHR/Organization/pharmacy-305660" ]     ]
      ];
      fhir:MedicationRequest.substitution [
         fhir:MedicationRequest.substitution.allowedBoolean [ fhir:value "false"^^xsd:boolean ]
      ].

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

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