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

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

: RxQueryBundleExample - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "RxQueryBundleExample",
  "meta" : {
    "profile" : [
      "http://hl7.org.cn/fhir/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/StructureDefinition/profile-rx-messageheader"
          ]
        },
        "text" : {
          "status" : "generated",
          "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 query}\">检索患者相关信息请求</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://bbb.com/pharmacy\">http://bbb.com/pharmacy</a></td></tr></table></div>"
        },
        "eventCoding" : {
          "system" : "http://hl7.org.cn/fhir/CodeSystem/special-rx-event-type-codes",
          "code" : "query",
          "display" : "检索患者相关信息请求"
        },
        "source" : {
          "name" : "药房系统",
          "endpoint" : "http://bbb.com/pharmacy"
        }
      }
    },
    {
      "fullUrl" : "urn:uuid:112312312-12-31-23-12-31-23-12-313",
      "resource" : {
        "resourceType" : "Parameters",
        "id" : "RxParametersExampleInline01",
        "meta" : {
          "profile" : [
            "http://hl7.org.cn/fhir/StructureDefinition/profile-rx-parameters"
          ]
        },
        "parameter" : [
          {
            "name" : "query-string",
            "valueString" : "Condition?clinical-status=active"
          },
          {
            "name" : "patient",
            "valueString" : "AllergyIntolerance?clinical-status=active"
          },
          {
            "name" : "prescription",
            "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\"><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>"
        },
        "status" : "active",
        "intent" : "order",
        "medicationCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://snomed.info/sct",
              "code" : "XXXXXX",
              "display" : "洛匹那韦"
            }
          ],
          "text" : "洛匹那韦"
        },
        "subject" : {
          "reference" : "Patient/PatientExample01",
          "display" : "张三"
        },
        "encounter" : {
          "reference" : "Encounter/RxEncounterExample01"
        },
        "authoredOn" : "2002-08-20T16:45:50+08:00",
        "requester" : {
          "reference" : "Practitioner/PractitionerExample01",
          "display" : "赵勇"
        },
        "groupIdentifier" : {
          "system" : "http://xxxxxx.com.cn/org-xxxx/prescription",
          "value" : "pres123456"
        },
        "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",
        "text" : {
          "status" : "generated",
          "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>"
        },
        "active" : true,
        "name" : [
          {
            "text" : "张三",
            "family" : "张",
            "given" : [
              "三"
            ]
          }
        ],
        "telecom" : [
          {
            "system" : "phone",
            "value" : "010-1234567",
            "use" : "work"
          }
        ],
        "gender" : "female",
        "birthDate" : "1955-10-25",
        "address" : [
          {
            "use" : "home",
            "line" : [
              "北京市东城区某某小区10号楼9单999室"
            ]
          }
        ]
      }
    },
    {
      "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\"><p><b>Generated Narrative</b></p><p><b>name</b>: 某某大药房</p></div>"
        },
        "name" : "某某大药房"
      }
    }
  ]
}