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

: RxQueryResponseBundleExample - 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:id [ fhir:v "RxQueryResponseBundleExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org.cn/fhir/StructureDefinition/profile-special-rx-query-response"^^xsd:anyURI ;
fhir:link <http://hl7.org.cn/fhir/StructureDefinition/profile-special-rx-query-response>     ] )
  ] ; # 
  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-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-313"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:112312312-12-31-23-12-31-23-12-313> )
  ] [
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> )
  ] ) . # 

<urn:uuid:112312312-12-31-23-12-31-23-12-312> a fhir:MessageHeader, fhir:Bundle, fhir:Condition, fhir:AllergyIntolerance ;
  fhir:id [ fhir:v "RxMessageHeaderExample03"], [ fhir:v "RxSearchSetBundleInlineExample02"], [ fhir:v "DiagnosisExample01"], [ fhir:v "AllergiesExampleInline01"] ; # 
  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_RxMessageHeaderExample03\"> </a><p><b>Generated Narrative: MessageHeader</b><a name=\"RxMessageHeaderExample03\"> </a><a name=\"hcRxMessageHeaderExample03\"> </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;RxMessageHeaderExample03&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 query-response = '检索患者相关信息应答', 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 "query-response" ] ;
fhir:display [ fhir:v "检索患者相关信息响应" ]
  ] ; # 
  fhir:source [
fhir:endpoint [ fhir:v "http://aaa.hospital/emr"^^xsd:anyURI ] ;
fhir:name [ fhir:v "电子病历系统" ]
  ] ; # 
  fhir:type [ fhir:v "searchset"], [
    ( fhir:coding [
fhir:code [ fhir:v "allergy" ]     ] )
  ] ; # 
  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:clinicalStatus [
    ( fhir:coding [
fhir:code [ fhir:v "active" ]     ] )
  ], [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "resolved" ] ;
fhir:display [ fhir:v "已解决" ]     ] )
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "encounter-diagnosis" ] ;
fhir:display [ fhir:v "诊断" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/icd-10"^^xsd:anyURI ] ;
fhir:code [ fhir:v "J12.82" ] ;
fhir:display [ fhir:v "Pneumonia due to COVID-19" ]     ] ) ;
fhir:text [ 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:reference [ fhir:v "urn:uuid:112312312-12-31-23-12-31-23-12-313" ]
  ] ; # 
  fhir:verificationStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"^^xsd:anyURI ] ;
fhir:code [ fhir:v "confirmed" ] ;
fhir:display [ fhir:v "已确认" ]     ] )
  ] ; # 
  fhir:criticality [ fhir:v "high"] ; # 
  fhir:patient [
fhir:reference [ fhir:v "urn:uuid:112312312-12-31-23-12-31-23-12-314" ] ;
fhir:display [ fhir:v "张三" ]
  ] ; # 
  fhir:recordedDate [ fhir:v "2021-08-20"^^xsd:date] ; # 
  fhir:reaction ( [
    ( fhir:manifestation [
fhir:concept [
        ( fhir:coding [
fhir:system [ fhir:v "http://example.org/system"^^xsd:anyURI ] ;
fhir:code [ fhir:v "xxx" ] ;
fhir:display [ fhir:v "Hives" ]         ] ) ;
fhir:text [ fhir:v "麻疹" ]       ]     ] )
  ] ) . # 

<urn:uuid:112312312-12-31-23-12-31-23-12-313> a fhir:Bundle ;
  fhir:id [ fhir:v "RxSearchSetBundleInlineExample01"] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  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> )
  ] ) . # 

<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" ]     ] )
  ] ) . #