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

: 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\"><a name=\"MessageHeader_RxMessageHeaderExample02\"> </a><p><b>Generated Narrative: MessageHeader</b><a name=\"RxMessageHeaderExample02\"> </a><a name=\"hcRxMessageHeaderExample02\"> </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;RxMessageHeaderExample02&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 = '检索患者相关信息请求', 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://bbb.com/pharmacy\">http://bbb.com/pharmacy</a></td><td>药房系统</td></tr></table></div>"
        },
        "eventCoding" : {
          "system" : "http://hl7.org.cn/fhir/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/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><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.html\">Practitioner/PractitionerExample01: 赵勇</a> &quot; 赵&quot;</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>"
        },
        "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/StructureDefinition/core-patient"
          ]
        },
        "text" : {
          "status" : "generated",
          "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>"
        },
        "extension" : [
          {
            "url" : "http://hl7china.org.cn/fhir/StructureDefinition/ext-person-ethnicGroup",
            "valueCoding" : {
              "system" : "http://hl7.org.cn/fhir/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/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><b>Generated Narrative: Organization</b><a name=\"RxPharmacyExample\"> </a><a name=\"hcRxPharmacyExample\"> </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;RxPharmacyExample&quot; </p></div><p><b>name</b>: 某某大药房</p></div>"
        },
        "name" : "某某大药房"
      }
    }
  ]
}