Diagnostics
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
R2
| Responsible Owner: Orders and Observations Work Group | Standards Status : Informative | Compartments : Device , Encounter , Group , Patient , Practitioner , RelatedPerson |
Raw XML ( canonical form + also see XML Format Specification )
XDS example (id = "xds")
<?xml version="1.0" encoding="UTF-8"?> <!-- this is an example of an XDR transaction - a package that contains a document reference and related content --><Bundle xmlns="http://hl7.org/fhir"> <id value="xds"/> <meta> <lastUpdated value="2013-07-01T13:11:33Z"/> </meta> <type value="transaction"/> <entry> <fullUrl value="urn:uuid:3fdc72f4-a11d-4a9d-9260-a9f745779e1d"/> <resource> <DocumentReference> <meta> <lastUpdated value="2013-07-01T13:11:33Z"/> </meta> <text><status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <a href="http://localhost:9556/svc/fhir/Binary/1e404af3-077f-4bee-b7a6-a9be97e1ce32">Document: urn:oid:129.6.58.92.88336</a> undefined, created 24/12/2005 </div> </text> <identifier> <type> <text value="uniqueId"/> </type> <system value="urn:ietf:rfc:3986"/> <value value="urn:oid:129.6.58.92.88336"/> </identifier> <status value="current"/> <type> <coding> <system value="http://ihe.net/connectathon/classCodes"/> <code value="History and Physical"/> <display value="History and Physical"/> </coding> </type> <category> <coding> <system value="http://loinc.org"/> <code value="47039-3"/><display value="Hospital Admission history and physical note"/> </coding> </category> <subject> <reference value="Patient/a2"/> </subject> <practiceSetting> <coding> <system value="http://ihe.net/connectathon/practiceSettingCodes"/> <code value="General Medicine"/> <display value="General Medicine"/> </coding> </practiceSetting> <period> <start value="2004-12-23T08:00:00+10:00"/> <end value="2004-12-23T08:01:00+10:00"/> </period> <date value="2013-07-01T23:11:33+10:00"/> <author> <reference value="Practitioner/a3"/> </author> <author> <reference value="Practitioner/a4"/> </author> <description value="Physical"/> <securityLabel> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/> <code value="N"/> <display value="normal"/> </coding> </securityLabel> <content> <attachment> <contentType value="text/plain"/> <language value="en-US"/> <url value="http://localhost:9556/svc/fhir/Binary/1e404af3-077f-4bee-b7a6-a9be97e1ce32"/> <title value="Physical"/> <creation value="2005-12-24"/> </attachment> <profile> <valueCoding><system value="urn:oid:1.3.6.1.4.1.19376.1.2.3"/> <code value="urn:ihe:pcc:handp:2008"/> </valueCoding> </profile> </content> </DocumentReference> </resource> <request> <method value="POST"/> <url value="DocumentReference"/> </request> </entry> <entry> <fullUrl value="http://localhost:9556/svc/fhir/Patient/a2"/><!-- if the server can find a matching resource, use that, else create a new<!-- if the server can find a matching resource, use that, else create a new resource with these details --> <resource> <Patient> <id value="a2"/> <meta> <lastUpdated value="2013-07-01T13:11:33Z"/> </meta> <text><status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">Person DOE, John, M, dob: 27/05/1956</div> </text> <identifier> <use value="usual"/> <value value="MRN"/> </identifier> <name> <use value="usual"/> <text value="DOE, John"/> <family value="Doe"/> <given value="John"/> </name> <birthDate value="1956-05-27"/> </Patient> </resource> <request> <method value="POST"/> <url value="Patient"/> <ifNoneExist value="Patient?identifier=http://acme.org/xds/patients!89765a87b"/> </request> </entry> <entry> <fullUrl value="http://localhost:9556/svc/fhir/Practitioner/a3"/> <resource> <Practitioner> <id value="a3"/> <meta> <lastUpdated value="2013-07-01T13:11:33Z"/> </meta> <text><status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">Author Gerald Smitty @ Cleveland Clinic</div> </text> <name> <use value="usual"/> <family value="Smitty"/> <given value="Gerald"/> </name> </Practitioner> </resource> <request> <method value="POST"/> <url value="Practitioner"/> </request> </entry> <entry> <fullUrl value="http://localhost:9556/svc/fhir/Practitioner/a4"/> <resource> <Practitioner> <id value="a4"/><!-- cid:51b578b4-3ccb-4e67-b0dc-ef519d82ef2d@healthintersections.com.au --> <meta> <lastUpdated value="2013-07-01T13:11:33Z"/> </meta> <text><status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">Author Person @ Cleveland Clinic</div> </text> <name> <use value="usual"/> <family value="Dopplemeyer"/> <given value="Sherry"/> </name> </Practitioner> </resource> <request> <method value="POST"/> <url value="Practitioner"/> </request> </entry> <entry> <fullUrl value="http://localhost:9556/svc/fhir/Binary/1e404af3-077f-4bee-b7a6-a9be97e1ce32"/> <resource> <Binary> <id value="1e404af3-077f-4bee-b7a6-a9be97e1ce32"/> <meta> <lastUpdated value="2013-07-01T13:11:33Z"/> </meta> <contentType value="text/plain"/> <data value="YXNkYXNkYXNkYXNkYXNk"/> </Binary> </resource> <request> <method value="POST"/> <url value="Binary"/> </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
R5
hl7.fhir.core#5.0.0
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Sun,
Mar
26,
2023
15:24+1100.
Thu,
Nov
27,
2025
16:53+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change