This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: No defined compartments |
Raw XML (canonical form + also see XML Format Specification)
A complex example transaction request (id = "bundle-request-transaction-complex")
<?xml version="1.0" encoding="UTF-8"?> <Bundle xmlns="http://hl7.org/fhir"> <id value="bundle-request-transaction-complex"/> <meta> <lastUpdated value="2025-03-20T00:00:00Z"/> </meta> <type value="transaction"/> <entry> <fullUrl value="urn:uuid:a008e191-0dfa-3ab3-b035-49d7d2e69cb4"/> <resource> <Practitioner> <id value="a008e191-0dfa-3ab3-b035-49d7d2e69cb4"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b> Generated Narrative: Practitioner a008e191-0dfa-3ab3-b035-49d7d2e69cb4</b> </p> <a name="a008e191-0dfa-3ab3-b035-49d7d2e69cb4"> </a> <a name="hca008e191-0dfa-3ab3-b035-49d7d2e69cb4"> </a> <a name="a008e191-0dfa-3ab3-b035-49d7d2e69cb4-en-US"> </a> <p> <b> identifier</b> : <a href="http://terminology.hl7.org/6.2.0/NamingSystem-npi.html" title="National Provider Identifier">United States National Provider Identifier</a> /9999947796</p> <p> <b> active</b> : true</p> <p> <b> name</b> : Francisco472 Gusikowski974 </p> <p> <b> telecom</b> : <a href="mailto:Francisco472.Gusikowski974@example.com">Francisco472.Gusikowski974@example.com</a> </p> <p> <b> gender</b> : female</p> <p> <b> address</b> : 8 SHIPWAY PL # C-8 CHARLESTOWN MA 021294301 US </p> </div> </text> <identifier> <system value="http://hl7.org/fhir/sid/us-npi"/> <value value="9999947796"/> </identifier> <active value="true"/> <name> <family value="Gusikowski974"/> <given value="Francisco472"/> <prefix value="Dr."/> </name> <telecom> <system value="email"/> <value value="Francisco472.Gusikowski974@example.com"/> <use value="work"/> </telecom> <gender value="female"/> <address> <line value="8 SHIPWAY PL # C-8"/> <city value="CHARLESTOWN"/> <state value="MA"/> <postalCode value="021294301"/> <country value="US"/> </address> </Practitioner> </resource> <request> <method value="POST"/> <url value="Practitioner"/> <ifNoneExist value="identifier=http://hl7.org/fhir/sid/us-npi|9999947796"/> </request> </entry> <entry> <fullUrl value="urn:uuid:dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91"/> <resource> <Patient> <id value="dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">Generated by <a href="https://github.com/synthetichealth/synthea">Synthea</a> .Version identifier: 2cc0a62 . Person seed: 3380232822616628959 Population seed: 1730906375349 </div> </text> <extension url="http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName"> <valueString value="Lolita963 Batz141"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/patient-birthPlace"> <valueAddress> <city value="Orleans"/> <state value="Massachusetts"/> <country value="US"/> </valueAddress> </extension> <identifier> <system value="https://github.com/synthetichealth/synthea"/> <value value="dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91"/> </identifier> <identifier> <type> <coding> <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> <code value="MR"/> <display value="Medical Record Number"/> </coding> <text value="Medical Record Number"/> </type> <system value="http://hospital.smarthealthit.org"/> <value value="dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91"/> </identifier> <identifier> <type> <coding> <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> <code value="DL"/> <display value="Driver's license number"/> </coding> <text value="Driver's license number"/> </type> <system value="urn:oid:2.16.840.1.113883.4.3.25"/> <value value="S99943196"/> </identifier> <identifier> <type> <coding> <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> <code value="PPN"/> <display value="Passport Number"/> </coding> <text value="Passport Number"/> </type> <system value="http://hl7.org/fhir/sid/passport-USA"/> <value value="X74265284X"/> </identifier> <name> <use value="official"/> <family value="Balistreri607"/> <given value="Ada662"/> <given value="Sari509"/> <prefix value="Mrs."/> </name> <name> <use value="maiden"/> <family value="D'Amore443"/> <given value="Ada662"/> <given value="Sari509"/> <prefix value="Mrs."/> </name> <telecom> <system value="phone"/> <value value="555-428-1241"/> <use value="home"/> </telecom> <gender value="female"/> <birthDate value="1959-08-01"/> <address> <extension url="http://hl7.org/fhir/StructureDefinition/geolocation"> <extension url="latitude"> <valueDecimal value="42.38579955468066"/> </extension> <extension url="longitude"> <valueDecimal value="-71.05781519988905"/> </extension> </extension> <line value="315 Simonis Parade"/> <city value="Somerville"/> <state value="MA"/> <postalCode value="02138"/> <country value="US"/> </address> <maritalStatus> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"/> <code value="M"/> <display value="Married"/> </coding> <text value="Married"/> </maritalStatus> <multipleBirthBoolean value="false"/> <communication> <language> <coding> <system value="urn:ietf:bcp:47"/> <code value="en-US"/> <display value="English (United States)"/> </coding> <text value="English (United States)"/> </language> </communication> </Patient> </resource> <request> <method value="POST"/> <url value="Patient"/> </request> </entry> <entry> <fullUrl value="urn:uuid:eaeb9228-4420-5e9c-b217-4c1a98ff9fe0"/> <resource> <Encounter> <id value="eaeb9228-4420-5e9c-b217-4c1a98ff9fe0"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b> Generated Narrative: Encounter eaeb9228-4420-5e9c-b217-4c1a98ff9fe0</b> </p> <a name="eaeb9228-4420-5e9c-b217-4c1a98ff9fe0"> </a> <a name="hceaeb9228-4420-5e9c-b217-4c1a98ff9fe0"> </a> <a name="eaeb9228-4420-5e9c-b217-4c1a98ff9fe0-en-US"> </a> <p> <b> identifier</b> : <code> https://github.com/synthetichealth/synthea</code> /eaeb9228-4420-5e9c-b217-4c1a98ff9fe0 (use: official, )</p> <p> <b> status</b> : completed</p> <p> <b> class</b> : <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode AMB}">ambulatory</span> </p> <p> <b> type</b> : <span title="Codes:{http://snomed.info/sct 162673000}">General examination of patient (procedure)</span> </p> <p> <b> subject</b> : <a href="broken-link.html">Mrs. Ada662 Sari509 Balistreri607</a> </p> <p> <b> serviceProvider</b> : <a href="broken-link.html">Good Health Clinic</a> </p> <h3> Participants</h3> <table class="grid"><tr> <td style="display: none">-</td> <td> <b> Type</b> </td> <td> <b> Period</b> </td> <td> <b> Actor</b> </td> </tr> <tr> <td style="display: none">*</td> <td> <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType PPRF}">primary performer</span> </td> <td> 2015-09-05T21:57:47Z --> 2015-09-05T22:48:16Z</td> <td> <a href="broken-link.html">Dr. Francisco472 Gusikowski974</a> </td> </tr> </table> </div> </text> <identifier> <use value="official"/> <system value="https://github.com/synthetichealth/synthea"/> <value value="eaeb9228-4420-5e9c-b217-4c1a98ff9fe0"/> </identifier> <status value="completed"/> <class> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="AMB"/> <display value="ambulatory"/> </coding> </class> <type> <coding> <system value="http://snomed.info/sct"/> <code value="162673000"/> <display value="General examination of patient (procedure)"/> </coding> <text value="General examination of patient (procedure)"/> </type> <subject> <reference value="urn:uuid:dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91"/> <display value="Mrs. Ada662 Sari509 Balistreri607"/> </subject> <serviceProvider> <reference value="Organization?identifier=urn:ietf:rfc:3986|urn:oid:2.16.840.1.113883.19.5"/> <display value="Good Health Clinic"/> </serviceProvider> <participant> <type> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PPRF"/> <display value="primary performer"/> </coding> <text value="primary performer"/> </type> <period> <start value="2015-09-05T21:57:47+00:00"/> <end value="2015-09-05T22:48:16+00:00"/> </period> <actor> <reference value="Practitioner?identifier=http://hl7.org/fhir/sid/us-npi|9999947796"/> <display value="Dr. Francisco472 Gusikowski974"/> </actor> </participant> </Encounter> </resource> <request> <method value="POST"/> <url value="Encounter"/> </request> </entry> <entry> <fullUrl value="urn:uuid:f5030c53-c71d-9dd6-a85f-6647c09c34b4"/> <resource> <Observation> <id value="f5030c53-c71d-9dd6-a85f-6647c09c34b4"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b> Generated Narrative: Observation f5030c53-c71d-9dd6-a85f-6647c09c34b4</b> </p> <a name="f5030c53-c71d-9dd6-a85f-6647c09c34b4"> </a> <a name="hcf5030c53-c71d-9dd6-a85f-6647c09c34b4"> </a> <a name="f5030c53-c71d-9dd6-a85f-6647c09c34b4-en-US"> </a> <p> <b> status</b> : final</p> <p> <b> category</b> : <span title="Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span> </p> <p> <b> code</b> : <span title="Codes:{http://loinc.org 2093-3}">Cholesterol [Mass/volume] in Serum or Plasma</span> </p> <p> <b> subject</b> : <a href="broken-link.html">urn:uuid:dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91</a> </p> <p> <b> encounter</b> : <a href="broken-link.html">urn:uuid:eaeb9228-4420-5e9c-b217-4c1a98ff9fe0</a> </p> <p> <b> effective</b> : 2015-09-05T21:57:47Z</p> <p> <b> issued</b> : 2015-09-05T21:57:47.809Z</p> <p> <b> value</b> : 165.49 mg/dL<span style="background: LightGoldenRodYellow"> (Details: UCUM codemg/dL = 'mg/dL')</span> </p> </div> </text> <status value="final"/> <category> <coding> <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> <code value="laboratory"/> <display value="Laboratory"/> </coding> </category> <code> <coding> <system value="http://loinc.org"/> <code value="2093-3"/> <display value="Cholesterol [Mass/volume] in Serum or Plasma"/> </coding> <text value="Cholesterol [Mass/volume] in Serum or Plasma"/> </code> <subject> <reference value="urn:uuid:dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91"/> </subject> <encounter> <reference value="urn:uuid:eaeb9228-4420-5e9c-b217-4c1a98ff9fe0"/> </encounter> <effectiveDateTime value="2015-09-05T21:57:47+00:00"/> <issued value="2015-09-05T21:57:47.809+00:00"/> <valueQuantity> <value value="165.49"/> <unit value="mg/dL"/> <system value="http://unitsofmeasure.org"/> <code value="mg/dL"/> </valueQuantity> </Observation> </resource> <request> <method value="POST"/> <url value="Observation"/> </request> </entry> </Bundle>
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.
FHIR ®© HL7.org 2011+. FHIR R6 hl7.fhir.core#6.0.0-ballot2 generated on Mon, Mar 31, 2025 20:33+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R5 |
|
Propose a change