HL7中国FHIR Connectathon测试实施指南
2025.3.12 - release
HL7中国FHIR Connectathon测试实施指南 - Local Development build (v2025.3.12) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
{
"resourceType" : "Bundle",
"id" : "RxQueryBundleExample",
"meta" : {
"profile" : [
🔗 "http://hl7.org.cn/fhir/connectathon/StructureDefinition/profile-special-rx-query"
]
},
"type" : "message",
"entry" : [
{
"fullUrl" : "urn:uuid:112312312-12-31-23-12-31-23-12-312",
"resource" : {
"resourceType" : "MessageHeader",
"id" : "RxMessageHeaderExample02",
"meta" : {
"profile" : [
🔗 "http://hl7.org.cn/fhir/connectathon/StructureDefinition/profile-rx-messageheader"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_RxMessageHeaderExample02\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader RxMessageHeaderExample02</b></p><a name=\"RxMessageHeaderExample02\"> </a><a name=\"hcRxMessageHeaderExample02\"> </a><a name=\"RxMessageHeaderExample02-en-US\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-profile-rx-messageheader.html\">处方流转消息头结构定义</a></p></div><p><b>event</b>: <a href=\"CodeSystem-special-rx-event-type-codes.html#special-rx-event-type-codes-query\">处方流转事件类型代码表 query</a>: 检索患者相关信息请求</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://bbb.com/pharmacy\">http://bbb.com/pharmacy</a></td><td>药房系统</td></tr></table></div>"
},
"eventCoding" : {
"system" : "http://hl7.org.cn/fhir/connectathon/CodeSystem/special-rx-event-type-codes",
"code" : "query",
"display" : "检索患者相关信息请求"
},
"source" : {
"endpointUrl" : "http://bbb.com/pharmacy",
"name" : "药房系统"
}
}
},
{
"fullUrl" : "urn:uuid:112312312-12-31-23-12-31-23-12-313",
"resource" : {
"resourceType" : "Parameters",
"id" : "RxParametersExampleInline01",
"meta" : {
"profile" : [
🔗 "http://hl7.org.cn/fhir/connectathon/StructureDefinition/profile-rx-parameters"
]
},
"parameter" : [
{
"name" : "query-string",
"valueString" : "AllergyIntolerance?clinical-status=active"
},
{
"name" : "patient",
"valueReference" : {
🔗 "reference" : "Patient/PatientExample01"
}
},
{
"name" : "prescription",
"valueReference" : {
"reference" : "MedicationRequestExample01"
}
}
]
}
},
{
"fullUrl" : "urn:uuid:112312312-12-31-23-12-31-23-12-314",
"resource" : {
"resourceType" : "MedicationRequest",
"id" : "RxMedicationRequestExample01",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_RxMedicationRequestExample01\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest RxMedicationRequestExample01</b></p><a name=\"RxMedicationRequestExample01\"> </a><a name=\"hcRxMedicationRequestExample01\"> </a><a name=\"RxMedicationRequestExample01-en-US\"> </a><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 title=\"Codes:{http://snomed.info/sct XXXXXX}\">洛匹那韦</span></td></tr></table><p><b>subject</b>: <a href=\"Patient-PatientExample01.html\">刘康</a></p><p><b>encounter</b>: <a href=\"Encounter-EncounterExample01.html\">Encounter: identifier = urn:uuid:2.16.156.10011.1.10#45678; status = completed; class = 住院诊疗; type = ; actualPeriod = 2021-05-07 12:30:02+0800 --> 2002-08-20 16:45:50+0800</a></p><p><b>authoredOn</b>: 2002-08-20 16:45:50+0800</p><p><b>requester</b>: <a href=\"Practitioner-PractitionerExample01.html\">赵勇</a></p><p><b>note</b>: 药品用法,备注说明等</p><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: Code , Once</p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 26643006}\">口服</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>2 片<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code片 = '片')</span></td></tr></table></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>"
},
"groupIdentifier" : {
"system" : "http://xxxxxx.com.cn/org-xxxx/prescription",
"value" : "pres123456"
},
"status" : "active",
"intent" : "order",
"medication" : {
"concept" : {
"coding" : [
{
"system" : "http://snomed.info/sct",
"code" : "XXXXXX",
"display" : "洛匹那韦"
}
],
"text" : "洛匹那韦"
}
},
"subject" : {
🔗 "reference" : "Patient/PatientExample01",
"display" : "刘康"
},
"encounter" : {
🔗 "reference" : "Encounter/EncounterExample01"
},
"authoredOn" : "2002-08-20T16:45:50+08:00",
"requester" : {
🔗 "reference" : "Practitioner/PractitionerExample01",
"display" : "赵勇"
},
"note" : [
{
"text" : "药品用法,备注说明等"
}
],
"dosageInstruction" : [
{
"timing" : {
"repeat" : {
"boundsPeriod" : {
"start" : "2002-08-20T16:45:50+08:00",
"end" : "2002-09-20T16:45:50+08:00"
}
},
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/v3-GTSAbbreviation",
"code" : "BID",
"display" : "每日两次"
}
]
}
},
"route" : {
"coding" : [
{
"system" : "http://snomed.info/sct",
"code" : "26643006",
"display" : "口服"
}
]
},
"doseAndRate" : [
{
"doseQuantity" : {
"value" : 2,
"system" : "http://unitsofmeasure.org",
"code" : "片"
}
}
]
}
],
"dispenseRequest" : {
"quantity" : {
"value" : 20,
"system" : "http://unitsofmeasure.org",
"code" : "盒"
}
}
}
},
{
"fullUrl" : "urn:uuid:112312312-12-31-23-12-31-23-12-315",
"resource" : {
"resourceType" : "Patient",
"id" : "PatientExample01",
"meta" : {
"profile" : [
🔗 "http://hl7.org.cn/fhir/connectathon/StructureDefinition/core-patient"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_PatientExample01\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient PatientExample01</b></p><a name=\"PatientExample01\"> </a><a name=\"hcPatientExample01\"> </a><a name=\"PatientExample01-en-US\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-core-patient.html\">患者信息结构定义</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">刘康 Male, DoB: 1955-10-25 ( urn:oid:2.16.840.1.113883.2.23.1.19.1#110101200301120019)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\"><code>urn:oid:2.16.840.1.113883.2.23.1.19.2</code>/100000000000000</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 13800138000(Mobile)</li><li>北京市东城区景山前街4号(home)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Nominated Contact: parent\">parent:</td><td colspan=\"3\"><ul><li>刘勇</li><li>ph: 13012345678</li></ul></td></tr></table></div>"
},
"extension" : [
{
"url" : "http://hl7china.org.cn/fhir/StructureDefinition/ext-person-ethnicGroup",
"valueCoding" : {
"system" : "http://hl7.org.cn/fhir/connectathon/CodeSystem/gb3304",
"code" : "HA",
"display" : "汉族"
}
}
],
"identifier" : [
{
"system" : "urn:oid:2.16.840.1.113883.2.23.1.19.1",
"value" : "110101200301120019"
},
{
"system" : "urn:oid:2.16.840.1.113883.2.23.1.19.2",
"value" : "100000000000000"
}
],
"active" : true,
"name" : [
{
"text" : "刘康",
"family" : "刘",
"given" : [
"康"
]
}
],
"telecom" : [
{
"system" : "phone",
"value" : "13800138000",
"use" : "mobile"
}
],
"gender" : "male",
"_gender" : {
"extension" : [
{
"url" : "https://hl7.org.cn/fhir/StructureDefinition/ext-person-gender",
"valueCoding" : {
"system" : "http://hl7.org.cn/fhir/connectathon/CodeSystem/gb2261-1",
"code" : "1",
"display" : "男性"
}
}
]
},
"birthDate" : "1955-10-25",
"address" : [
{
"use" : "home",
"text" : "北京市东城区景山前街4号",
"line" : [
"景山前街4号"
],
"city" : "北京市",
"district" : "东城区",
"state" : "北京",
"postalCode" : "100010"
}
],
"contact" : [
{
"relationship" : [
{
"coding" : [
{
"system" : "http://hl7.org/fhir/patient-contact-relationship",
"code" : "parent"
}
]
}
],
"name" : {
"text" : "刘勇"
},
"telecom" : [
{
"system" : "phone",
"value" : "13012345678"
}
]
}
]
}
},
{
"fullUrl" : "urn:uuid:112312312-12-31-23-12-31-23-12-316",
"resource" : {
"resourceType" : "Organization",
"id" : "RxPharmacyExample",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_RxPharmacyExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization RxPharmacyExample</b></p><a name=\"RxPharmacyExample\"> </a><a name=\"hcRxPharmacyExample\"> </a><a name=\"RxPharmacyExample-en-US\"> </a><p><b>name</b>: 某某大药房</p></div>"
},
"name" : "某某大药房"
}
}
]
}