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

: RxQueryBundleExample - XML Representation

Raw xml | Download


<Bundle xmlns="http://hl7.org/fhir">
  <id value="RxQueryBundleExample"/>
  <meta>
    <profile
             value="http://hl7.org.cn/fhir/connectathon/StructureDefinition/profile-special-rx-query"/>
  </meta>
  <type value="message"/>
  <entry>
    <fullUrl value="urn:uuid:112312312-12-31-23-12-31-23-12-312"/>
    <resource>
      <MessageHeader>
        <id value="RxMessageHeaderExample02"/>
        <meta>
          <profile
                   value="http://hl7.org.cn/fhir/connectathon/StructureDefinition/profile-rx-messageheader"/>
        </meta>
        <text>
          <status value="generated"/>
          <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>
        </text>
        <eventCoding>
          <system
                  value="http://hl7.org.cn/fhir/connectathon/CodeSystem/special-rx-event-type-codes"/>
          <code value="query"/>
          <display value="检索患者相关信息请求"/>
        </eventCoding>
        <source>
          <endpointUrl value="http://bbb.com/pharmacy"/>
          <name value="药房系统"/>
        </source>
      </MessageHeader>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:112312312-12-31-23-12-31-23-12-313"/>
    <resource>
      <Parameters>
        <id value="RxParametersExampleInline01"/>
        <meta>
          <profile
                   value="http://hl7.org.cn/fhir/connectathon/StructureDefinition/profile-rx-parameters"/>
        </meta>
        <parameter>
          <name value="query-string"/>
          <valueString value="AllergyIntolerance?clinical-status=active"/>
        </parameter>
        <parameter>
          <name value="patient"/>
          <valueReference>🔗 
            <reference value="Patient/PatientExample01"/>
          </valueReference>
        </parameter>
        <parameter>
          <name value="prescription"/>
          <valueReference>
            <reference value="MedicationRequestExample01"/>
          </valueReference>
        </parameter>
      </Parameters>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:112312312-12-31-23-12-31-23-12-314"/>
    <resource>
      <MedicationRequest>
        <id value="RxMedicationRequestExample01"/>
        <text>
          <status value="generated"/>
          <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 --&gt; 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>
        </text>
        <groupIdentifier>
          <system value="http://xxxxxx.com.cn/org-xxxx/prescription"/>
          <value value="pres123456"/>
        </groupIdentifier>
        <status value="active"/>
        <intent value="order"/>
        <medication>
          <concept>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="XXXXXX"/>
              <display value="洛匹那韦"/>
            </coding>
            <text value="洛匹那韦"/>
          </concept>
        </medication>
        <subject>🔗 
          <reference value="Patient/PatientExample01"/>
          <display value="刘康"/>
        </subject>
        <encounter>🔗 
          <reference value="Encounter/EncounterExample01"/>
        </encounter>
        <authoredOn value="2002-08-20T16:45:50+08:00"/>
        <requester>🔗 
          <reference value="Practitioner/PractitionerExample01"/>
          <display value="赵勇"/>
        </requester>
        <note>
          <text value="药品用法,备注说明等"/>
        </note>
        <dosageInstruction>
          <timing>
            <repeat>
              <boundsPeriod>
                <start value="2002-08-20T16:45:50+08:00"/>
                <end value="2002-09-20T16:45:50+08:00"/>
              </boundsPeriod>
            </repeat>
            <code>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/v3-GTSAbbreviation"/>
                <code value="BID"/>
                <display value="每日两次"/>
              </coding>
            </code>
          </timing>
          <route>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="26643006"/>
              <display value="口服"/>
            </coding>
          </route>
          <doseAndRate>
            <doseQuantity>
              <value value="2"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="片"/>
            </doseQuantity>
          </doseAndRate>
        </dosageInstruction>
        <dispenseRequest>
          <quantity>
            <value value="20"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="盒"/>
          </quantity>
        </dispenseRequest>
      </MedicationRequest>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:112312312-12-31-23-12-31-23-12-315"/>
    <resource>
      <Patient>
        <id value="PatientExample01"/>
        <meta>
          <profile
                   value="http://hl7.org.cn/fhir/connectathon/StructureDefinition/core-patient"/>
        </meta>
        <text>
          <status value="generated"/>
          <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>
        </text>
        <extension
                   url="http://hl7china.org.cn/fhir/StructureDefinition/ext-person-ethnicGroup">
          <valueCoding>
            <system
                    value="http://hl7.org.cn/fhir/connectathon/CodeSystem/gb3304"/>
            <code value="HA"/>
            <display value="汉族"/>
          </valueCoding>
        </extension>
        <identifier>
          <system value="urn:oid:2.16.840.1.113883.2.23.1.19.1"/>
          <value value="110101200301120019"/>
        </identifier>
        <identifier>
          <system value="urn:oid:2.16.840.1.113883.2.23.1.19.2"/>
          <value value="100000000000000"/>
        </identifier>
        <active value="true"/>
        <name>
          <text value="刘康"/>
          <family value="刘"/>
          <given value="康"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="13800138000"/>
          <use value="mobile"/>
        </telecom>
        <gender value="male">
          <extension
                     url="https://hl7.org.cn/fhir/StructureDefinition/ext-person-gender">
            <valueCoding>
              <system
                      value="http://hl7.org.cn/fhir/connectathon/CodeSystem/gb2261-1"/>
              <code value="1"/>
              <display value="男性"/>
            </valueCoding>
          </extension>
        </gender>
        <birthDate value="1955-10-25"/>
        <address>
          <use value="home"/>
          <text value="北京市东城区景山前街4号"/>
          <line value="景山前街4号"/>
          <city value="北京市"/>
          <district value="东城区"/>
          <state value="北京"/>
          <postalCode value="100010"/>
        </address>
        <contact>
          <relationship>
            <coding>
              <system
                      value="http://hl7.org/fhir/patient-contact-relationship"/>
              <code value="parent"/>
            </coding>
          </relationship>
          <name>
            <text value="刘勇"/>
          </name>
          <telecom>
            <system value="phone"/>
            <value value="13012345678"/>
          </telecom>
        </contact>
      </Patient>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:112312312-12-31-23-12-31-23-12-316"/>
    <resource>
      <Organization>
        <id value="RxPharmacyExample"/>
        <text>
          <status value="generated"/>
          <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>
        </text>
        <name value="某某大药房"/>
      </Organization>
    </resource>
  </entry>
</Bundle>