POCP Prescription Enrollment
0.1.0 - CI Build US

POCP Prescription Enrollment - Local Development build (v0.1.0). See the Directory of published versions

: Rx Enroll Bundle Initiation 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 "rx-enroll-bundle-initiation-1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-bundle-initiation";
       fhir:index 0;
       fhir:link <http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-bundle-initiation>     ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.timestamp [ fhir:value "2022-02-28T00:00:00-05:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/MessageHeader/msgheader1" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/MessageHeader/msgheader1>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0d" ];
     fhir:Bundle.entry.resource <urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0d>
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Patient/patient-1" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Patient/patient-1>
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Consent/consent1" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Consent/consent1>
  ], [
     fhir:index 4;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Provenance/signature1" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Provenance/signature1>
  ], [
     fhir:index 5;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Consent/consent2" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Consent/consent2>
  ], [
     fhir:index 6;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Provenance/signature2" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Provenance/signature2>
  ], [
     fhir:index 7;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/MedicationRequest/prescription1" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/MedicationRequest/prescription1>
  ], [
     fhir:index 8;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Practitioner/practitioner1" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Practitioner/practitioner1>
  ], [
     fhir:index 9;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Organization/pharmacy1" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Organization/pharmacy1>
  ], [
     fhir:index 10;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Coverage/coverage1" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Coverage/coverage1>
  ], [
     fhir:index 11;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Bundle/3456789" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Bundle/3456789>
  ], [
     fhir:index 12;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Bundle/987654" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Bundle/987654>
  ], [
     fhir:index 13;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Organization/clinic1" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Organization/clinic1>
  ].

<http://pocp.dev/rx-enroll/MessageHeader/msgheader1> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "msgheader1"];
  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><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 \"msgheader1\" </p></div><p><b>event</b>: Enrollment Initiation (Details: http://pocp.dev/fhir/us/rx-enroll/CodeSystem/rx-enroll-event-type code enrollment-initiation = 'Enrollment Initiation', stated as 'null')</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>POCP Enrollment</td><td><a href=\"http://pocp.dev/rx-enroll\">http://pocp.dev/rx-enroll</a></td></tr></table><p><b>focus</b>: <a href=\"#Parameters_61ebe359-bfdc-4613-8bf2-c5e300945f0d\">See above (urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0d)</a></p></div>"
  ];
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "http://pocp.dev/fhir/us/rx-enroll/CodeSystem/rx-enroll-event-type" ];
     fhir:Coding.code [ fhir:value "enrollment-initiation" ]
  ];
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "POCP Enrollment" ];
     fhir:MessageHeader.source.endpoint [ fhir:value "http://pocp.dev/rx-enroll" ]
  ];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0d" ]
  ].

<urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0d> a fhir:Parameters;
  fhir:Resource.id [ fhir:value "61ebe359-bfdc-4613-8bf2-c5e300945f0d"];
  fhir:Parameters.parameter [
     fhir:index 0;
     fhir:Parameters.parameter.name [ fhir:value "patient" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Patient/patient1" ]     ]
  ], [
     fhir:index 1;
     fhir:Parameters.parameter.name [ fhir:value "patient-consent" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Consent/consent1" ]     ]
  ], [
     fhir:index 2;
     fhir:Parameters.parameter.name [ fhir:value "patient-consent-signature" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Provenance/signature1" ]     ]
  ], [
     fhir:index 3;
     fhir:Parameters.parameter.name [ fhir:value "provider-consent" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Consent/consent2" ]     ]
  ], [
     fhir:index 4;
     fhir:Parameters.parameter.name [ fhir:value "provider-consent-signature" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Provenance/signature2" ]     ]
  ], [
     fhir:index 5;
     fhir:Parameters.parameter.name [ fhir:value "prescription" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "MedicationRequest/prescription1" ]     ]
  ], [
     fhir:index 6;
     fhir:Parameters.parameter.name [ fhir:value "preferred-pharmacy" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Organization/pharmacy1" ]     ]
  ], [
     fhir:index 7;
     fhir:Parameters.parameter.name [ fhir:value "prescriber" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Practitioner/practitioner1" ]     ]
  ], [
     fhir:index 8;
     fhir:Parameters.parameter.name [ fhir:value "practice-organization" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Organization/clinic1" ]     ]
  ], [
     fhir:index 9;
     fhir:Parameters.parameter.name [ fhir:value "coverage" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Coverage/coverage1" ]     ]
  ], [
     fhir:index 10;
     fhir:Parameters.parameter.name [ fhir:value "search-result" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Bundle/3456789" ]     ]
  ], [
     fhir:index 11;
     fhir:Parameters.parameter.name [ fhir:value "search-result" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Bundle/987654" ]     ]
  ].

<http://pocp.dev/rx-enroll/Patient/patient-1> a fhir:Patient;
  fhir:Resource.id [ fhir:value "patient1"];
  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><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 \"patient1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/us/specialty-rx/STU1/StructureDefinition-specialty-rx-patient.html\">Specialty Rx Patient</a></p></div><p><b>identifier</b>: Medical record number: 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>English (Region=United States) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ietf3066.html\">Tags for the Identification of Languages</a>#en-US)</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 "MR" ];
         fhir:Coding.display [ fhir:value "Medical record number" ]       ];
       fhir:CodeableConcept.text [ fhir:value "Medical record number" ]     ];
     fhir:Identifier.system [ fhir:value "http://pocp.dev/rx-enroll" ];
     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)" ]       ]     ]
  ].

<http://pocp.dev/rx-enroll/Consent/consent1> a fhir:Consent;
  fhir:Resource.id [ fhir:value "consent1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-consent";
       fhir:index 0;
       fhir:link <http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-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</b></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 \"consent1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-rx-enroll-consent.html\">Rx Enroll Consent</a></p></div><p><b>identifier</b>: id: tim-doe-signed-consent</p><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://terminology.hl7.org/3.1.0/CodeSystem-consentscope.html\">Consent Scope Codes</a>#patient-privacy)</span></p><p><b>category</b>: Consent Document <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_patient1\">See above (Patient/patient1: Timothy Doe)</a></p><p><b>dateTime</b>: 2021-12-01 04:34:28-0500</p><p><b>performer</b>: <a href=\"#Patient_patient1\">See above (Patient/patient1: Timothy Doe)</a></p><p><b>organization</b>: <a href=\"#Organization_clinic1\">See above (Organization/clinic1: Acme Clinic)</a></p><p><b>source</b>: </p><p><b>policyRule</b>: opt-in <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ActCode.html\">ActCode</a>#OPTIN)</span></p></div>"
  ];
  fhir:Consent.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://www.example.org/ids" ];
     fhir:Identifier.value [ fhir:value "tim-doe-signed-consent" ]
  ];
  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: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 "Consent Document" ]     ]
  ];
  fhir:Consent.patient [
     fhir:Reference.reference [ fhir:value "Patient/patient1" ];
     fhir:Reference.display [ fhir:value "Timothy Doe" ]
  ];
  fhir:Consent.dateTime [ fhir:value "2021-12-01T16:34:28.000-05:00"^^xsd:dateTime];
  fhir:Consent.performer [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Patient/patient1" ];
     fhir:Reference.display [ fhir:value "Timothy Doe" ]
  ];
  fhir:Consent.organization [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Organization/clinic1" ];
     fhir:Reference.display [ fhir:value "Acme Clinic" ]
  ];
  fhir:Consent.sourceAttachment [
     fhir:Attachment.contentType [ fhir:value "application/fhir+json" ];
     fhir:Attachment.data [ fhir:value "QXV0aG9yaXphdGlvbiBkZXRhaWxz"^^xsd:base64Binary ];
     fhir:Attachment.creation [ fhir:value "2021-12-01T16:35:00.000-05:00"^^xsd:dateTime ]
  ];
  fhir:Consent.policyRule [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
       fhir:Coding.code [ fhir:value "OPTIN" ];
       fhir:Coding.display [ fhir:value "opt-in" ]     ]
  ].

<http://pocp.dev/rx-enroll/Provenance/signature1> a fhir:Provenance;
  fhir:Resource.id [ fhir:value "signature1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-provenance-signature";
       fhir:index 0;
       fhir:link <http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-provenance-signature>     ]
  ];
  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><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 \"signature1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-rx-enroll-provenance-signature.html\">Rx Enroll Provenance Signature</a></p></div><p><b>target</b>: <a href=\"#Consent_consent1\">See above (Consent/consent1)</a></p><p><b>occurred</b>: 2022-02-01 09:57:34+0000</p><p><b>recorded</b>: Feb 1, 2022 3:57:34 AM</p><h3>Agents</h3><table class=\"grid\"><tr><td>-</td><td><b>Who</b></td></tr><tr><td>*</td><td><a href=\"#Organization_clinic1\">See above (Organization/clinic1: Acme Clinic)</a></td></tr></table></div>"
  ];
  fhir:Provenance.target [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Consent/consent1" ]
  ];
  fhir:Provenance.occurredDateTime [ fhir:value "2022-02-01T09:57:34.2112Z"^^xsd:dateTime];
  fhir:Provenance.recorded [ fhir:value "2022-02-01T09:57:34.2112Z"^^xsd:dateTime];
  fhir:Provenance.agent [
     fhir:index 0;
     fhir:Provenance.agent.who [
       fhir:Reference.reference [ fhir:value "Organization/clinic1" ];
       fhir:Reference.display [ fhir:value "Acme Clinic" ]     ]
  ];
  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 "2022-02-01T09:57:34.2112Z"^^xsd:dateTime ];
     fhir:Signature.who [
       fhir:Reference.reference [ fhir:value "Patient/patient1" ];
       fhir:Reference.display [ fhir:value "Timothy Doe" ]     ];
     fhir:Signature.targetFormat [ fhir:value "application/fhir+json" ];
     fhir:Signature.sigFormat [ fhir:value "application/jose" ];
     fhir:Signature.data [ fhir:value "SlNPTiBXZWIgU2lnbmF0dXJlIGNvbnRlbnQ="^^xsd:base64Binary ]
  ].

<http://pocp.dev/rx-enroll/Consent/consent2> a fhir:Consent;
  fhir:Resource.id [ fhir:value "consent2"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-consent";
       fhir:index 0;
       fhir:link <http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-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</b></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 \"consent2\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-rx-enroll-consent.html\">Rx Enroll Consent</a></p></div><p><b>identifier</b>: id: provider-signed-consent-100</p><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://terminology.hl7.org/3.1.0/CodeSystem-consentscope.html\">Consent Scope Codes</a>#patient-privacy)</span></p><p><b>category</b>: Consent Document <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_patient1\">See above (Patient/patient1: Timothy Doe)</a></p><p><b>dateTime</b>: 2021-12-01 04:34:28-0500</p><p><b>performer</b>: <a href=\"#Practitioner_practitioner1\">See above (Practitioner/practitioner1: Dr. Jane Smith)</a></p><p><b>organization</b>: <a href=\"#Organization_clinic1\">See above (Organization/clinic1: Acme Clinic)</a></p><p><b>source</b>: </p><p><b>policyRule</b>: opt-in <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ActCode.html\">ActCode</a>#OPTIN)</span></p></div>"
  ];
  fhir:Consent.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://www.example.org/ids" ];
     fhir:Identifier.value [ fhir:value "provider-signed-consent-100" ]
  ];
  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: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 "Consent Document" ]     ]
  ];
  fhir:Consent.patient [
     fhir:Reference.reference [ fhir:value "Patient/patient1" ];
     fhir:Reference.display [ fhir:value "Timothy Doe" ]
  ];
  fhir:Consent.dateTime [ fhir:value "2021-12-01T16:34:28.000-05:00"^^xsd:dateTime];
  fhir:Consent.performer [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Practitioner/practitioner1" ];
     fhir:Reference.display [ fhir:value "Dr. Jane Smith" ]
  ];
  fhir:Consent.organization [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Organization/clinic1" ];
     fhir:Reference.display [ fhir:value "Acme Clinic" ]
  ];
  fhir:Consent.sourceAttachment [
     fhir:Attachment.contentType [ fhir:value "application/fhir+json" ];
     fhir:Attachment.data [ fhir:value "QXV0aG9yaXphdGlvbiBkZXRhaWxz"^^xsd:base64Binary ];
     fhir:Attachment.creation [ fhir:value "2021-12-01T16:35:00.000-05:00"^^xsd:dateTime ]
  ];
  fhir:Consent.policyRule [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
       fhir:Coding.code [ fhir:value "OPTIN" ];
       fhir:Coding.display [ fhir:value "opt-in" ]     ]
  ].

<http://pocp.dev/rx-enroll/Provenance/signature2> a fhir:Provenance;
  fhir:Resource.id [ fhir:value "signature2"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-provenance-signature";
       fhir:index 0;
       fhir:link <http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-provenance-signature>     ]
  ];
  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><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 \"signature2\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-rx-enroll-provenance-signature.html\">Rx Enroll Provenance Signature</a></p></div><p><b>target</b>: <a href=\"#Consent_consent2\">See above (Consent/consent2)</a></p><p><b>occurred</b>: 2022-02-01 09:57:34+0000</p><p><b>recorded</b>: Feb 1, 2022 3:57:34 AM</p><h3>Agents</h3><table class=\"grid\"><tr><td>-</td><td><b>Who</b></td></tr><tr><td>*</td><td><a href=\"#Organization_clinic1\">See above (Organization/clinic1: Acme Clinic)</a></td></tr></table></div>"
  ];
  fhir:Provenance.target [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Consent/consent2" ]
  ];
  fhir:Provenance.occurredDateTime [ fhir:value "2022-02-01T09:57:34.2112Z"^^xsd:dateTime];
  fhir:Provenance.recorded [ fhir:value "2022-02-01T09:57:34.2112Z"^^xsd:dateTime];
  fhir:Provenance.agent [
     fhir:index 0;
     fhir:Provenance.agent.who [
       fhir:Reference.reference [ fhir:value "Organization/clinic1" ];
       fhir:Reference.display [ fhir:value "Acme Clinic" ]     ]
  ];
  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 "2022-02-01T09:57:34.2112Z"^^xsd:dateTime ];
     fhir:Signature.who [
       fhir:Reference.reference [ fhir:value "Practitioner/practitioner1" ];
       fhir:Reference.display [ fhir:value "Dr Jane Smith" ]     ];
     fhir:Signature.targetFormat [ fhir:value "application/fhir+json" ];
     fhir:Signature.sigFormat [ fhir:value "application/jose" ];
     fhir:Signature.data [ fhir:value "SlNPTiBXZWIgU2lnbmF0dXJlIGNvbnRlbnQ="^^xsd:base64Binary ]
  ].

<http://pocp.dev/rx-enroll/MedicationRequest/prescription1> a fhir:MedicationRequest;
  fhir:Resource.id [ fhir:value "prescription1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-medicationrequest";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-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</b></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 \"prescription1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/us/specialty-rx/STU1/StructureDefinition-specialty-rx-medicationrequest.html\">Specialty Prescription Prescription</a></p></div><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: Humira 40 MG in 0.4 ML Auto-Injector <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#1872980)</span></p><p><b>subject</b>: <a href=\"#Patient_patient1\">See above (Patient/patient1)</a></p><p><b>authoredOn</b>: 2020-03-10</p><p><b>requester</b>: <a href=\"#Practitioner_practitioner1\">See above (Practitioner/practitioner1)</a></p><blockquote><p><b>dispenseRequest</b></p><h3>InitialFills</h3><table class=\"grid\"><tr><td>-</td><td><b>Quantity</b></td></tr><tr><td>*</td><td>4 {each}</td></tr></table><p><b>numberOfRepeatsAllowed</b>: 2</p><p><b>performer</b>: <a href=\"#Organization_pharmacy1\">See above (Organization/pharmacy1: Our Specialty Pharmacy)</a></p></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td>-</td><td><b>Allowed[x]</b></td></tr><tr><td>*</td><td>false</td></tr></table></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 "http://www.nlm.nih.gov/research/umls/rxnorm" ];
       fhir:Coding.code [ fhir:value "1872980" ];
       fhir:Coding.display [ fhir:value "Humira 40 MG in 0.4 ML Auto-Injector" ]     ]
  ];
  fhir:MedicationRequest.subject [
     fhir:Reference.reference [ fhir:value "Patient/patient1" ]
  ];
  fhir:MedicationRequest.authoredOn [ fhir:value "2020-03-10"^^xsd:date];
  fhir:MedicationRequest.requester [
     fhir:Reference.reference [ fhir:value "Practitioner/practitioner1" ]
  ];
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0;
     fhir:Dosage.text [ fhir:value "Inject 2 pens on Day 1. Inject 1 pen on Day 8 and every other week thereafter" ]
  ];
  fhir:MedicationRequest.dispenseRequest [
     fhir:MedicationRequest.dispenseRequest.initialFill [
       fhir:MedicationRequest.dispenseRequest.initialFill.quantity [
         fhir:Quantity.value [ fhir:value "4"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "{each}" ]       ]     ];
     fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "2"^^xsd:nonNegativeInteger ];
     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:Reference.reference [ fhir:value "Organization/pharmacy1" ];
       fhir:Reference.display [ fhir:value "Our Specialty Pharmacy" ]     ]
  ];
  fhir:MedicationRequest.substitution [
     fhir:MedicationRequest.substitution.allowedBoolean [ fhir:value "false"^^xsd:boolean ]
  ].

<http://pocp.dev/rx-enroll/Practitioner/practitioner1> a fhir:Practitioner;
  fhir:Resource.id [ fhir:value "practitioner1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-practitioner";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-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</b></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 \"practitioner1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/us/specialty-rx/STU1/StructureDefinition-specialty-rx-practitioner.html\">Specialty Prescription Practitioner</a></p></div><p><b>identifier</b>: id: 9941339108</p><p><b>name</b>: Jane Smith </p><p><b>telecom</b>: ph: 555-555-5555(HOME), fax: 555-555-1234(HOME), <a href=\"mailto:jane.smith@example.org\">jane.smith@example.org</a></p><p><b>address</b>: 101 Oak Lane Minnetonka MN 55345 (HOME)</p></div>"
  ];
  fhir:Practitioner.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ];
     fhir:Identifier.value [ fhir:value "9941339108" ]
  ];
  fhir:Practitioner.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Smith" ];
     fhir:HumanName.given [
       fhir:value "Jane";
       fhir:index 0     ];
     fhir:HumanName.prefix [
       fhir:value "Dr";
       fhir:index 0     ]
  ];
  fhir:Practitioner.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 "fax" ];
     fhir:ContactPoint.value [ fhir:value "555-555-1234" ];
     fhir:ContactPoint.use [ fhir:value "home" ]
  ], [
     fhir:index 2;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "jane.smith@example.org" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ];
  fhir:Practitioner.address [
     fhir:index 0;
     fhir:Address.use [ fhir:value "home" ];
     fhir:Address.line [
       fhir:value "101 Oak Lane";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Minnetonka" ];
     fhir:Address.state [ fhir:value "MN" ];
     fhir:Address.postalCode [ fhir:value "55345" ]
  ].

<http://pocp.dev/rx-enroll/Organization/pharmacy1> a fhir:Organization;
  fhir:Resource.id [ fhir:value "pharmacy1"];
  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><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 \"pharmacy1\" </p></div><p><b>identifier</b>: id: 1669512345</p><p><b>active</b>: true</p><p><b>type</b>: Healthcare Provider <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-organization-type.html\">Organization type</a>#prov)</span></p><p><b>name</b>: Our Pharmacy</p><p><b>telecom</b>: ph: 952-555-5555, <a href=\"mailto:contact-us@example.org\">contact-us@example.org</a></p><p><b>address</b>: 220 Oak St Minneapolis MN 55008 USA </p></div>"
  ];
  fhir:Organization.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ];
     fhir:Identifier.value [ fhir:value "1669512345" ]
  ];
  fhir:Organization.active [ fhir:value "true"^^xsd:boolean];
  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 "Our Pharmacy"];
  fhir:Organization.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "952-555-5555" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "contact-us@example.org" ]
  ];
  fhir:Organization.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "220 Oak St";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Minneapolis" ];
     fhir:Address.state [ fhir:value "MN" ];
     fhir:Address.postalCode [ fhir:value "55008" ];
     fhir:Address.country [ fhir:value "USA" ]
  ].

<http://pocp.dev/rx-enroll/Coverage/coverage1> a fhir:Coverage;
  fhir:Resource.id [ fhir:value "coverage1"];
  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: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><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 \"coverage1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/us/specialty-rx/STU1/StructureDefinition-specialty-rx-coverage.html\">Specialty Rx Coverage</a></p></div><p><b>status</b>: active</p><p><b>beneficiary</b>: <a href=\"#Patient_patient1\">See above (Patient/patient1)</a></p><p><b>payor</b>: <span></span></p><blockquote><p><b>class</b></p><p><b>type</b>: RX BIN <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-coverage-class.html\">Coverage Class Codes</a>#rxbin)</span></p><p><b>value</b>: BIN001</p></blockquote><blockquote><p><b>class</b></p><p><b>type</b>: RX PCN <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-coverage-class.html\">Coverage Class Codes</a>#rxpcn)</span></p><p><b>value</b>: PCN002</p></blockquote><blockquote><p><b>class</b></p><p><b>type</b>: RX Group <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-coverage-class.html\">Coverage Class Codes</a>#rxgroup)</span></p><p><b>value</b>: GROUP0001</p></blockquote><blockquote><p><b>class</b></p><p><b>type</b>: RX Id <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-coverage-class.html\">Coverage Class Codes</a>#rxid)</span></p><p><b>value</b>: MEMBER000001</p></blockquote></div>"
  ];
  fhir:Coverage.status [ fhir:value "active"];
  fhir:Coverage.beneficiary [
     fhir:Reference.reference [ fhir:value "Patient/patient1" ]
  ];
  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 "BIN001" ]
  ], [
     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 "PCN002" ]
  ], [
     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 "GROUP0001" ]
  ], [
     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 "MEMBER000001" ]
  ].

<http://pocp.dev/rx-enroll/Bundle/3456789> a fhir:Bundle;
  fhir:Resource.id [ fhir:value "3456789"];
  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.timestamp [ fhir:value "2020-03-11T13:10:17-05:00"^^xsd:dateTime];
  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?patient=patient1" ]
  ];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Condition/1" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Condition/1>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Condition/2" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Condition/2>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/Condition/3" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Condition/3>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ].

<http://pocp.dev/rx-enroll/Condition/1> a fhir:Condition;
  fhir:Resource.id [ fhir:value "1"];
  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/patient1" ]
  ].

<http://pocp.dev/rx-enroll/Condition/2> a fhir:Condition;
  fhir:Resource.id [ fhir:value "2"];
  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/patient1" ]
  ].

<http://pocp.dev/rx-enroll/Condition/3> a fhir:Condition;
  fhir:Resource.id [ fhir:value "3"];
  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/patient1" ]
  ].

<http://pocp.dev/rx-enroll/Bundle/987654> a fhir:Bundle;
  fhir:Resource.id [ fhir:value "987654"];
  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.timestamp [ fhir:value "2020-03-11T13:10:17-05:00"^^xsd:dateTime];
  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?patient=patient1" ]
  ];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/AllergyIntolerance/1" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/AllergyIntolerance/1>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/AllergyIntolerance/2" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/AllergyIntolerance/2>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/AllergyIntolerance/3" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/AllergyIntolerance/3>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ].

<http://pocp.dev/rx-enroll/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/patient1" ]
  ].

<http://pocp.dev/rx-enroll/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/patient1" ]
  ].

<http://pocp.dev/rx-enroll/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/patient1" ]
  ];
  fhir:AllergyIntolerance.reaction [
     fhir:index 0;
     fhir:AllergyIntolerance.reaction.manifestation [
       fhir:index 0;
       fhir:CodeableConcept.text [ fhir:value "Hives" ]     ]
  ].

<http://pocp.dev/rx-enroll/Organization/clinic1> a fhir:Organization;
  fhir:Resource.id [ fhir:value "clinic1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-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</b></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 \"clinic1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/us/core/STU4/StructureDefinition-us-core-organization.html\">US Core Organization Profile</a></p></div><p><b>identifier</b>: id: 1407071236, id: 121111111</p><p><b>active</b>: true</p><p><b>type</b>: Healthcare Provider <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-organization-type.html\">Organization type</a>#prov)</span></p><p><b>name</b>: Acme Clinic</p><p><b>telecom</b>: ph: 734-677-7777, <a href=\"mailto:customer-service@acme-clinic.org\">customer-service@acme-clinic.org</a></p><p><b>address</b>: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA </p></div>"
  ];
  fhir:Organization.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://hl7.org.fhir/sid/us-npi" ];
     fhir:Identifier.value [ fhir:value "1407071236" ]
  ], [
     fhir:index 1;
     fhir:Identifier.system [ fhir:value "http://example.org/fhir/sid/us-tin" ];
     fhir:Identifier.value [ fhir:value "121111111" ]
  ];
  fhir:Organization.active [ fhir:value "true"^^xsd:boolean];
  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 "Acme Clinic"];
  fhir:Organization.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "734-677-7777" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "customer-service@acme-clinic.org" ]
  ];
  fhir:Organization.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "3300 Washtenaw Avenue, Suite 227";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Amherst" ];
     fhir:Address.state [ fhir:value "MA" ];
     fhir:Address.postalCode [ fhir:value "01002" ];
     fhir:Address.country [ fhir:value "USA" ]
  ].

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

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