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

HL7中国FHIR Connectathon测试实施指南 - Local Development build (v2024.5.5) built by the FHIR (HL7® FHIR® Standard) Build Tools. 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:id [ fhir:v "RxPushBundleExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org.cn/fhir/StructureDefinition/profile-special-rx-request"^^xsd:anyURI ;
fhir:link <http://hl7.org.cn/fhir/StructureDefinition/profile-special-rx-request>     ] )
  ] ; # 
  fhir:type [ fhir:v "message"] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "urn:uuid:112312312-12-31-23-12-31-23-12-312"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:112312312-12-31-23-12-31-23-12-312> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:112312312-12-31-23-12-31-23-12-314"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:112312312-12-31-23-12-31-23-12-314> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:112312312-12-31-23-12-31-23-12-315"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:112312312-12-31-23-12-31-23-12-315> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:112312312-12-31-23-12-31-23-12-316"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:112312312-12-31-23-12-31-23-12-316> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:112312312-12-31-23-12-31-23-12-317"^^xsd:anyURI ] ;
    ( fhir: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:id [ fhir:v "RxMessageHeaderExample01"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org.cn/fhir/StructureDefinition/profile-rx-messageheader"^^xsd:anyURI ;
fhir:link <http://hl7.org.cn/fhir/StructureDefinition/profile-rx-messageheader>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_RxMessageHeaderExample01\"> </a><p><b>Generated Narrative: MessageHeader</b><a name=\"RxMessageHeaderExample01\"> </a><a name=\"hcRxMessageHeaderExample01\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource MessageHeader &quot;RxMessageHeaderExample01&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-profile-rx-messageheader.html\">处方流转消息头结构定义</a></p></div><p><b>event</b>: 推送处方 (Details: http://hl7.org.cn/fhir/CodeSystem/special-rx-event-type-codes code push = '推送处方', stated as '推送处方')</p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Endpoint[x]</b></td><td><b>Name</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://aaa.hospital/emr\">http://aaa.hospital/emr</a></td><td>电子病历系统</td></tr></table></div>"
  ] ; # 
  fhir:event [
a fhir:Coding ;
fhir:system [ fhir:v "http://hl7.org.cn/fhir/CodeSystem/special-rx-event-type-codes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "push" ] ;
fhir:display [ fhir:v "推送处方" ]
  ] ; # 
  fhir:source [
fhir:endpoint [ fhir:v "http://aaa.hospital/emr"^^xsd:anyURI ] ;
fhir:name [ fhir:v "电子病历系统" ]
  ] . # 

<urn:uuid:112312312-12-31-23-12-31-23-12-314> a fhir:MedicationRequest ;
  fhir:id [ fhir:v "RxMedicationRequestExample01"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_RxMedicationRequestExample01\"> </a><p><b>Generated Narrative: MedicationRequest</b><a name=\"RxMedicationRequestExample01\"> </a><a name=\"hcRxMedicationRequestExample01\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource MedicationRequest &quot;RxMedicationRequestExample01&quot; </p></div><p><b>groupIdentifier</b>: <code>http://xxxxxx.com.cn/org-xxxx/prescription</code>/pres123456</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><h3>Medications</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Concept</b></td></tr><tr><td style=\"display: none\">*</td><td>洛匹那韦 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#XXXXXX)</span></td></tr></table><p><b>subject</b>: <a href=\"#Patient_PatientExample01\">See above (Patient/PatientExample01: 刘康)</a></p><p><b>encounter</b>: <a href=\"Encounter-EncounterExample01.html\">Encounter/EncounterExample01</a></p><p><b>authoredOn</b>: 2002-08-20 16:45:50+0800</p><p><b>requester</b>: <a href=\"#Practitioner_PractitionerExample01\">See above (Practitioner/PractitionerExample01: 赵勇)</a></p><p><b>note</b>: 药品用法,备注说明等</p><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: Code: 每日两次, Starting 2002-08-20 16:45:50+0800, Once, Until 2002-09-20 16:45:50+0800</p><p><b>route</b>: 口服 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#26643006)</span></p><blockquote><p><b>doseAndRate</b></p></blockquote></blockquote><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>20 盒<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code 盒 = '盒')</span></td></tr></table></div>"
  ] ; # 
  fhir:groupIdentifier [
fhir:system [ fhir:v "http://xxxxxx.com.cn/org-xxxx/prescription"^^xsd:anyURI ] ;
fhir:value [ fhir:v "pres123456" ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:medication [
fhir:concept [
      ( fhir:coding [
a sct:XXXXXX ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "XXXXXX" ] ;
fhir:display [ fhir:v "洛匹那韦" ]       ] ) ;
fhir:text [ fhir:v "洛匹那韦" ]     ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/PatientExample01" ] ;
fhir:display [ fhir:v "刘康" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/EncounterExample01" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2002-08-20T16:45:50+08:00"^^xsd:dateTime] ; # 
  fhir:requester [
fhir:reference [ fhir:v "Practitioner/PractitionerExample01" ] ;
fhir:display [ fhir:v "赵勇" ]
  ] ; # 
  fhir:note ( [
fhir:text [ fhir:v "药品用法,备注说明等" ]
  ] ) ; # 
  fhir:dosageInstruction ( [
fhir:timing [
fhir:repeat [
fhir:bounds [
a fhir:Period ;
fhir:start [ fhir:v "2002-08-20T16:45:50+08:00"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2002-09-20T16:45:50+08:00"^^xsd:dateTime ]         ]       ] ;
fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-GTSAbbreviation"^^xsd:anyURI ] ;
fhir:code [ fhir:v "BID" ] ;
fhir:display [ fhir:v "每日两次" ]         ] )       ]     ] ;
fhir:route [
      ( fhir:coding [
a sct:26643006 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "26643006" ] ;
fhir:display [ fhir:v "口服" ]       ] )     ] ;
    ( fhir:doseAndRate [
fhir:dose [
a fhir:Quantity ;
fhir:value [ fhir:v "2"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "片" ]       ]     ] )
  ] ) ; # 
  fhir:dispenseRequest [
fhir:quantity [
fhir:value [ fhir:v "20"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "盒" ]     ]
  ] . # 

<urn:uuid:112312312-12-31-23-12-31-23-12-315> a fhir:Patient ;
  fhir:id [ fhir:v "PatientExample01"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org.cn/fhir/StructureDefinition/core-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org.cn/fhir/StructureDefinition/core-patient>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_PatientExample01\"> </a><p><b>Generated Narrative: Patient</b><a name=\"PatientExample01\"> </a><a name=\"hcPatientExample01\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Patient &quot;PatientExample01&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-core-patient.html\">患者信息结构定义</a></p></div><p><b>identifier</b>: <code>urn:oid:2.16.840.1.113883.2.23.1.19.1</code>/110101200301120019, <code>urn:oid:2.16.840.1.113883.2.23.1.19.2</code>/100000000000000</p><p><b>active</b>: true</p><p><b>name</b>: 刘康</p><p><b>telecom</b>: ph: 13800138000(MOBILE)</p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1955-10-25</p><p><b>address</b>: 北京市东城区景山前街4号(HOME)</p><h3>Contacts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Relationship</b></td><td><b>Name</b></td><td><b>Telecom</b></td></tr><tr><td style=\"display: none\">*</td><td>parent <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (patient-contact-relationship#parent)</span></td><td>刘勇</td><td>ph: 13012345678</td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7china.org.cn/fhir/StructureDefinition/ext-person-ethnicGroup"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://hl7.org.cn/fhir/CodeSystem/gb3304"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HA" ] ;
fhir:display [ fhir:v "汉族" ]     ]
  ] ) ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.2.23.1.19.1"^^xsd:anyURI ] ;
fhir:value [ fhir:v "110101200301120019" ]
  ] [
fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.2.23.1.19.2"^^xsd:anyURI ] ;
fhir:value [ fhir:v "100000000000000" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:name ( [
fhir:text [ fhir:v "刘康" ] ;
fhir:family [ fhir:v "刘" ] ;
    ( fhir:given [ fhir:v "康" ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "13800138000" ] ;
fhir:use [ fhir:v "mobile" ]
  ] ) ; # 
  fhir:gender [
fhir:v "male" ;
    ( fhir:extension [
fhir:url [ fhir:v "https://hl7.org.cn/fhir/StructureDefinition/ext-person-gender"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://hl7.org.cn/fhir/CodeSystem/gb2261-1"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1" ] ;
fhir:display [ fhir:v "男性" ]       ]     ] )
  ] ; # 
  fhir:birthDate [ fhir:v "1955-10-25"^^xsd:date] ; # 
  fhir:address ( [
fhir:use [ fhir:v "home" ] ;
fhir:text [ fhir:v "北京市东城区景山前街4号" ] ;
    ( fhir:line [ fhir:v "景山前街4号" ] ) ;
fhir:city [ fhir:v "北京市" ] ;
fhir:district [ fhir:v "东城区" ] ;
fhir:state [ fhir:v "北京" ] ;
fhir:postalCode [ fhir:v "100010" ]
  ] ) ; # 
  fhir:contact ( [
    ( fhir:relationship [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/patient-contact-relationship"^^xsd:anyURI ] ;
fhir:code [ fhir:v "parent" ]       ] )     ] ) ;
fhir:name [
fhir:text [ fhir:v "刘勇" ]     ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "13012345678" ]     ] )
  ] ) . # 

<urn:uuid:112312312-12-31-23-12-31-23-12-316> a fhir:Organization ;
  fhir:id [ fhir:v "HospitalExample01"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org.cn/fhir/StructureDefinition/core-organization"^^xsd:anyURI ;
fhir:link <http://hl7.org.cn/fhir/StructureDefinition/core-organization>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_HospitalExample01\"> </a><p><b>Generated Narrative: Organization</b><a name=\"HospitalExample01\"> </a><a name=\"hcHospitalExample01\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Organization &quot;HospitalExample01&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-core-organization.html\">医疗机构结构定义</a></p></div><p><b>active</b>: true</p><p><b>name</b>: 北大人民医院</p><h3>Contacts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Telecom</b></td></tr><tr><td style=\"display: none\">*</td><td>ph: 01069032356(WORK)</td></tr></table></div>"
  ] ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:name [ fhir:v "北大人民医院"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "01069032356" ] ;
fhir:use [ fhir:v "work" ]     ] )
  ] ) . # 

<urn:uuid:112312312-12-31-23-12-31-23-12-317> a fhir:Practitioner ;
  fhir:id [ fhir:v "PractitionerExample01"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org.cn/fhir/StructureDefinition/core-practitioner"^^xsd:anyURI ;
fhir:link <http://hl7.org.cn/fhir/StructureDefinition/core-practitioner>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_PractitionerExample01\"> </a><p><b>Generated Narrative: Practitioner</b><a name=\"PractitionerExample01\"> </a><a name=\"hcPractitionerExample01\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Practitioner &quot;PractitionerExample01&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-core-practitioner.html\">卫生服务人员信息结构定义</a></p></div><p><b>identifier</b>: <code>urn:oid:2.16.528.1.1007.3.1</code>/938273695 (use: OFFICIAL)</p><p><b>active</b>: true</p><p><b>name</b>: 赵勇(OFFICIAL)</p><p><b>telecom</b>: ph: 0105568263(WORK)</p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1975-12-07</p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:use [ fhir:v "official" ] ;
fhir:system [ fhir:v "urn:oid:2.16.528.1.1007.3.1"^^xsd:anyURI ] ;
fhir:value [ fhir:v "938273695" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:name ( [
fhir:use [ fhir:v "official" ] ;
fhir:text [ fhir:v "赵勇" ] ;
fhir:family [ fhir:v "赵" ] ;
    ( fhir:given [ fhir:v "勇" ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "0105568263" ] ;
fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:gender [
fhir:v "male" ;
    ( fhir:extension [
fhir:url [ fhir:v "https://hl7.org.cn/fhir/StructureDefinition/ext-person-gender"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://hl7.org.cn/fhir/CodeSystem/gb2261-1"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1" ] ;
fhir:display [ fhir:v "男性" ]       ]     ] )
  ] ; # 
  fhir:birthDate [ fhir:v "1975-12-07"^^xsd:date] . #