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 Update 1 - TTL Representation

Raw ttl | Download


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

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

 a fhir:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "rx-enroll-bundle-update-1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-bundle-update";
       fhir:index 0;
       fhir:link <http://pocp.dev/fhir/us/rx-enroll/StructureDefinition/rx-enroll-bundle-update>     ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.timestamp [ fhir:value "2022-03-07T00:00:00-05:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://pocp.dev/rx-enroll/MessageHeader/msgheader2" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/MessageHeader/msgheader2>
  ], [
     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/Organization/pharmacy1" ];
     fhir:Bundle.entry.resource <http://pocp.dev/rx-enroll/Organization/pharmacy1>
  ].

<http://pocp.dev/rx-enroll/MessageHeader/msgheader2> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "msgheader2"];
  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 \"msgheader2\" </p></div><p><b>event</b>: Enrollment Update (Details: http://pocp.dev/fhir/us/rx-enroll/CodeSystem/rx-enroll-event-type code enrollment-update = 'Enrollment Update', 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-update" ]
  ];
  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 "source-patient" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Patient/patient1" ]     ]
  ], [
     fhir:index 1;
     fhir:Parameters.parameter.name [ fhir:value "authorized-pharmacy" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Organization/pharmacy1" ]     ]
  ].

<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/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" ]
  ].

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

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