HL7中国FHIR Connectathon测试实施指南
V20230304 - release

HL7中国FHIR Connectathon测试实施指南 - Local Development build (vV20230304). See the Directory of published versions

: RxPushBundleExample - 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 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 "RxPushBundleExample"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org.cn/fhir/StructureDefinition/profile-special-rx-request";
       fhir:index 0;
       fhir:link <http://hl7.org.cn/fhir/StructureDefinition/profile-special-rx-request>     ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:112312312-12-31-23-12-31-23-12-312" ];
     fhir:Bundle.entry.resource <urn:uuid:112312312-12-31-23-12-31-23-12-312>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:112312312-12-31-23-12-31-23-12-314" ];
     fhir:Bundle.entry.resource <urn:uuid:112312312-12-31-23-12-31-23-12-314>
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:112312312-12-31-23-12-31-23-12-315" ];
     fhir:Bundle.entry.resource <urn:uuid:112312312-12-31-23-12-31-23-12-315>
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:112312312-12-31-23-12-31-23-12-316" ];
     fhir:Bundle.entry.resource <urn:uuid:112312312-12-31-23-12-31-23-12-316>
  ], [
     fhir:index 4;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:112312312-12-31-23-12-31-23-12-317" ];
     fhir:Bundle.entry.resource <urn:uuid:112312312-12-31-23-12-31-23-12-317>
  ].

<urn:uuid:112312312-12-31-23-12-31-23-12-312> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "RxMessageHeaderExample01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org.cn/fhir/StructureDefinition/profile-rx-messageheader";
       fhir:index 0;
       fhir:link <http://hl7.org.cn/fhir/StructureDefinition/profile-rx-messageheader>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>event</b>: <span title=\"{http://hl7.org.cn/fhir/CodeSystem/special-rx-event-type-codes push}\">推送处方</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>电子病历系统</td><td><a href=\"http://aaa.hospital/emr\">http://aaa.hospital/emr</a></td></tr></table></div>"
  ];
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "http://hl7.org.cn/fhir/CodeSystem/special-rx-event-type-codes" ];
     fhir:Coding.code [ fhir:value "push" ];
     fhir:Coding.display [ fhir:value "推送处方" ]
  ];
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "电子病历系统" ];
     fhir:MessageHeader.source.endpoint [ fhir:value "http://aaa.hospital/emr" ]
  ].

<urn:uuid:112312312-12-31-23-12-31-23-12-314> a fhir:MedicationRequest;
  fhir:Resource.id [ fhir:value "RxMedicationRequestExample01"];
  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>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: <span title=\"Codes: {http://snomed.info/sct XXXXXX}\">洛匹那韦</span></p><p><b>subject</b>: <a href=\"#Patient_PatientExample01\">张三. Generated Summary: active; 张三; Phone: 010-1234567; gender: female; birthDate: 1955-10-25</a></p><p><b>encounter</b>: <a href=\"Encounter-RxEncounterExample01.html\">Generated Summary: status: finished; <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActCode IMP}\">住院诊疗</span>; <span title=\"Codes: \">新冠肺炎入院</span>; period: 2021年5月7日 下午12:30:02 --&gt; 2002年8月20日 下午4:45:50</a></p><p><b>authoredOn</b>: 2002年8月20日 下午4:45:50</p><p><b>requester</b>: <a href=\"Practitioner-PractitionerExample01.html\">赵勇. Generated Summary: 赵勇; gender: male</a></p><p><b>groupIdentifier</b>: id: pres123456</p><p><b>note</b>: 药品用法,备注说明等</p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td>-</td></tr><tr><td>*</td></tr></table><h3>DispenseRequests</h3><table class=\"grid\"><tr><td>-</td><td><b>Quantity</b></td></tr><tr><td>*</td><td>20 盒</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;
       a sct:XXXXXX;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "XXXXXX" ];
       fhir:Coding.display [ fhir:value "洛匹那韦" ]     ];
     fhir:CodeableConcept.text [ fhir:value "洛匹那韦" ]
  ];
  fhir:MedicationRequest.subject [
     fhir:Reference.reference [ fhir:value "Patient/PatientExample01" ];
     fhir:Reference.display [ fhir:value "张三" ]
  ];
  fhir:MedicationRequest.encounter [
     fhir:Reference.reference [ fhir:value "Encounter/RxEncounterExample01" ]
  ];
  fhir:MedicationRequest.authoredOn [ fhir:value "2002-08-20T16:45:50+08:00"^^xsd:dateTime];
  fhir:MedicationRequest.requester [
     fhir:Reference.reference [ fhir:value "Practitioner/PractitionerExample01" ];
     fhir:Reference.display [ fhir:value "赵勇" ]
  ];
  fhir:MedicationRequest.groupIdentifier [
     fhir:Identifier.system [ fhir:value "http://xxxxxx.com.cn/org-xxxx/prescription" ];
     fhir:Identifier.value [ fhir:value "pres123456" ]
  ];
  fhir:MedicationRequest.note [
     fhir:index 0;
     fhir:Annotation.text [ fhir:value "药品用法,备注说明等" ]
  ];
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.boundsPeriod [
           fhir:Period.start [ fhir:value "2002-08-20T16:45:50+08:00"^^xsd:dateTime ];
           fhir:Period.end [ fhir:value "2002-09-20T16:45:50+08:00"^^xsd:dateTime ]         ]       ];
       fhir:Timing.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-GTSAbbreviation" ];
           fhir:Coding.code [ fhir:value "BID" ];
           fhir:Coding.display [ fhir:value "每日两次" ]         ]       ]     ];
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:26643006;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "26643006" ];
         fhir:Coding.display [ fhir:value "口服" ]       ]     ];
     fhir:Dosage.doseAndRate [
       fhir:index 0;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "2"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "片" ]       ]     ]
  ];
  fhir:MedicationRequest.dispenseRequest [
     fhir:MedicationRequest.dispenseRequest.quantity [
       fhir:Quantity.value [ fhir:value "20"^^xsd:decimal ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "盒" ]     ]
  ].

<urn:uuid:112312312-12-31-23-12-31-23-12-315> a fhir:Patient;
  fhir:Resource.id [ fhir:value "PatientExample01"];
  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>active</b>: true</p><p><b>name</b>: 张三</p><p><b>telecom</b>: ph: 010-1234567(WORK)</p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1955-10-25</p><p><b>address</b>: 北京市东城区某某小区10号楼9单999室 (HOME)</p></div>"
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.text [ fhir:value "张三" ];
     fhir:HumanName.family [ fhir:value "张" ];
     fhir:HumanName.given [
       fhir:value "三";
       fhir:index 0     ]
  ];
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "010-1234567" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ];
  fhir:Patient.gender [ fhir:value "female"];
  fhir:Patient.birthDate [ fhir:value "1955-10-25"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.use [ fhir:value "home" ];
     fhir:Address.line [
       fhir:value "北京市东城区某某小区10号楼9单999室";
       fhir:index 0     ]
  ].

<urn:uuid:112312312-12-31-23-12-31-23-12-316> a fhir:Organization;
  fhir:Resource.id [ fhir:value "RxHospitalExample"];
  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>name</b>: 北大人民医院</p></div>"
  ];
  fhir:Organization.name [ fhir:value "北大人民医院"].

<urn:uuid:112312312-12-31-23-12-31-23-12-317> a fhir:Practitioner;
  fhir:Resource.id [ fhir:value "RxDoctorExample01"];
  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>name</b>: 赵勇</p><p><b>gender</b>: male</p></div>"
  ];
  fhir:Practitioner.name [
     fhir:index 0;
     fhir:HumanName.text [ fhir:value "赵勇" ];
     fhir:HumanName.family [ fhir:value "赵" ];
     fhir:HumanName.given [
       fhir:value "勇";
       fhir:index 0     ]
  ];
  fhir:Practitioner.gender [ fhir:value "male"].

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

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