Diagnostics
This
page
is
part
of
the
FHIR
Specification
(v4.0.1:
R4
(v5.0.0:
R5
-
Mixed
Normative
and
STU
)
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
|
|
Maturity Level : N/A | Standards Status : Informative | Compartments : Device , Encounter , Patient , Practitioner , RelatedPerson |
Raw Turtle (+ also see Turtle/RDF Format Specification )
Generic example
@prefix fhir: <http://hl7.org/fhir/> .@prefix loinc: <http://loinc.org/rdf#> .@prefix loinc: <https://loinc.org/rdf/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource -------------------------------------------------------------------<http://hl7.org/fhir/DocumentReference/example> a fhir:DocumentReference; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>contained</b>: </p><p><b>masterIdentifier</b>: urn:oid:1.3.6.1.4.1.21367.2005.3.7</p><p><b>identifier</b>: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234</p><p><b>status</b>: current</p><p><b>docStatus</b>: preliminary</p><p><b>type</b>: Outpatient Note <span>(Details : {LOINC code '34108-1' = 'Outpatient Note', given as 'Outpatient Note'})</span></p><p><b>category</b>: History and Physical <span>(Details : {http://ihe.net/xds/connectathon/classCodes code 'History and Physical' = 'History and Physical', given as 'History and Physical'})</span></p><p><b>subject</b>: <a>Patient/xcda</a></p><p><b>date</b>: 24/12/2005 9:43:41 AM</p><p><b>author</b>: </p><ul><li><a>Practitioner/xcda1</a></li><li>id: a2; Gerald Smitty </li></ul><p><b>authenticator</b>: <a>Organization/f001</a></p><p><b>custodian</b>: <a>Organization/f001</a></p><h3>RelatesTos</h3><table><tr><td>-</td><td><b>Code</b></td><td><b>Target</b></td></tr><tr><td>*</td><td>appends</td><td><a>DocumentReference/example</a></td></tr></table><p><b>description</b>: Physical</p><p><b>securityLabel</b>: very restricted <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-Confidentiality code 'V' = 'very restricted', given as 'very restricted'})</span></p><h3>Contents</h3><table><tr><td>-</td><td><b>Attachment</b></td><td><b>Format</b></td></tr><tr><td>*</td><td/><td>History and Physical Specification (Details: urn:oid:1.3.6.1.4.1.19376.1.2.3 code urn:ihe:pcc:handp:2008 = 'urn:ihe:pcc:handp:2008', stated as 'History and Physical Specification')</td></tr></table><h3>Contexts</h3><table><tr><td>-</td><td><b>Encounter</b></td><td><b>Event</b></td><td><b>Period</b></td><td><b>FacilityType</b></td><td><b>PracticeSetting</b></td><td><b>SourcePatientInfo</b></td><td><b>Related</b></td></tr><tr><td>*</td><td><a>Encounter/xcda</a></td><td>Arm <span>(Details : {http://ihe.net/xds/connectathon/eventCodes code 'T-D8200' = 'T-D8200', given as 'Arm'})</span></td><td>23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM</td><td>Outpatient <span>(Details : {http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes code 'Outpatient' = 'Outpatient', given as 'Outpatient'})</span></td><td>General Medicine <span>(Details : {http://www.ihe.net/xds/connectathon/practiceSettingCodes code 'General Medicine' = 'General Medicine', given as 'General Medicine'})</span></td><td><a>Patient/xcda</a></td><td><a>Patient/xcda</a></td></tr></table></div>" ]; fhir:DomainResource.contained [ a fhir:Practitioner; fhir:index 0; fhir:Resource.id [ fhir:value "a2" ]; fhir:Practitioner.name [ fhir:index 0; fhir:HumanName.family [ fhir:value "Smitty" ]; fhir:HumanName.given [ fhir:value "Gerald"; fhir:index 0[a fhir:DocumentReference ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "example"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: DocumentReference</b><a name=\"example\"> </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 DocumentReference "example" </p></div><p><b>Supporting info</b>: <a href=\"patient-example-xcda.html\">Patient/xcda</a> "Henry LEVIN"</p><p><b>DocumentReference Source Patient</b>: <a href=\"patient-example-xcda.html\">Patient/xcda</a> "Henry LEVIN"</p><p><b>identifier</b>: entryUUID: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234, uniqueId: urn:oid:1.3.6.1.4.1.21367.2005.3.7</p><p><b>status</b>: current</p><p><b>docStatus</b>: preliminary</p><p><b>type</b>: Outpatient Note <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#34108-1)</span></p><p><b>category</b>: History and Physical <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (classCodes#History and Physical)</span></p><p><b>subject</b>: <a href=\"patient-example-xcda.html\">Patient/xcda</a> "Henry LEVIN"</p><p><b>context</b>: <a href=\"encounter-example-xcda.html\">Encounter/xcda</a></p><h3>Events</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Arm <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (eventCodes#T-D8200)</span></td></tr></table><p><b>facilityType</b>: Outpatient <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (healthcareFacilityTypeCodes#Outpatient)</span></p><p><b>practiceSetting</b>: General Medicine <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (practiceSettingCodes#General Medicine)</span></p><p><b>period</b>: 2004-12-23T08:00:00+11:00 --> 2004-12-23T08:01:00+11:00</p><p><b>date</b>: 24 Dec 2005, 9:43:41 am</p><p><b>author</b>: </p><ul><li><a href=\"practitioner-example-xcda1.html\">Practitioner/xcda1</a> "Sherry DOPPLEMEYER"</li><li><a name=\"a2\"> </a></li></ul><blockquote><p/><p><a name=\"a2\"> </a></p><p><b>name</b>: Gerald Smitty </p></blockquote><h3>Attesters</h3><table class=\"grid\"><tr><td>-</td><td><b>Mode</b></td><td><b>Party</b></td></tr><tr><td>*</td><td>Official <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-composition-attestation-mode.html\">Composition Attestation Mode</a>#official)</span></td><td><a href=\"organization-example-f001-burgers.html\">Organization/f001</a> "Burgers University Medical Center"</td></tr></table><p><b>custodian</b>: <a href=\"organization-example-f001-burgers.html\">Organization/f001</a> "Burgers University Medical Center"</p><h3>RelatesTos</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td><td><b>Target</b></td></tr><tr><td>*</td><td>Appends <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-document-relationship-type.html\">Document Relationship Type</a>#appends)</span></td><td><a href=\"documentreference-example.html\">DocumentReference/example</a></td></tr></table><p><b>description</b>: Physical</p><p><b>securityLabel</b>: very restricted <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-Confidentiality.html\">Confidentiality</a>#V)</span></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td>-</td><td><b>ContentType</b></td><td><b>Language</b></td><td><b>Url</b></td><td><b>Size</b></td><td><b>Hash</b></td><td><b>Title</b></td><td><b>Creation</b></td></tr><tr><td>*</td><td>application/hl7-v3+xml</td><td>en-US</td><td><a href=\"http://example.org/xds/mhd/Binary/07a6483f-732b-461e-86b6-edb665c45510\">http://example.org/xds/mhd/Binary/07a6483f-732b-461e-86b6-edb665c45510</a></td><td>3654</td><td>2jmj7l5rSw0yVb/vlWAYkK/YBwk=</td><td>Physical</td><td>2005-12-24T09:35:00+11:00</td></tr></table><h3>Profiles</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>History and Physical Specification (Details: urn:oid:1.3.6.1.4.1.19376.1.2.3 code urn:ihe:pcc:handp:2008 = 'urn:ihe:pcc:handp:2008', stated as 'History and Physical Specification')</td></tr></table></blockquote></div>" ] ; # Many XDS systems do not trak any id for the author. When systems don't do this, # the only option is for the author information to be contained in the Document Reference fhir:contained ( [ a fhir:Practitioner ; fhir:id [ fhir:v "a2" ] ; fhir:name ( [ fhir:family [ fhir:v "Smitty" ] ; fhir:given ( [ fhir:v "Gerald" ] ) ] ) ] ) ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Patient/xcda" ] ; fhir:identifier [ fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ; fhir:value [ fhir:v "urn:oid:1.3.6.1.4.1.21367.2005.3.7.2345" ] ] ]]; fhir:DocumentReference.masterIdentifier [ fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ]; fhir:Identifier.value [ fhir:value "urn:oid:1.3.6.1.4.1.21367.2005.3.7" ] ]; fhir:DocumentReference.identifier [ fhir:index 0; fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ]; fhir:Identifier.value [ fhir:value "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" ] ]; fhir:DocumentReference.status [ fhir:value "current"]; fhir:DocumentReference.docStatus [ fhir:value "preliminary"]; fhir:DocumentReference.type [ fhir:CodeableConcept.coding [ fhir:index 0; a loinc:34108-1; fhir:Coding.system [ fhir:value "http://loinc.org" ]; fhir:Coding.code [ fhir:value "34108-1" ]; fhir:Coding.display [ fhir:value "Outpatient Note" ] ] ]; fhir:DocumentReference.category [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://ihe.net/xds/connectathon/classCodes" ]; fhir:Coding.code [ fhir:value "History and Physical" ]; fhir:Coding.display [ fhir:value "History and Physical" ]] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "Patient/xcda" ] ]]; fhir:DocumentReference.subject [ fhir:link <http://hl7.org/fhir/Patient/xcda>; fhir:Reference.reference [ fhir:value "Patient/xcda" ] ]; fhir:DocumentReference.date [ fhir:value "2005-12-24T09:43:41+11:00"^^xsd:dateTime]; fhir:DocumentReference.author [ fhir:index 0; fhir:link <http://hl7.org/fhir/Practitioner/xcda1>; fhir:Reference.reference [ fhir:value "Practitioner/xcda1" ] ], [ fhir:index 1; fhir:Reference.reference [ fhir:value "#a2" ] ]; fhir:DocumentReference.authenticator [ fhir:link <http://hl7.org/fhir/Organization/f001>; fhir:Reference.reference [ fhir:value "Organization/f001" ] ]; fhir:DocumentReference.custodian [ fhir:link <http://hl7.org/fhir/Organization/f001>; fhir:Reference.reference [ fhir:value "Organization/f001" ] ]; fhir:DocumentReference.relatesTo [ fhir:index 0; fhir:DocumentReference.relatesTo.code [ fhir:value "appends" ]; fhir:DocumentReference.relatesTo.target [ fhir:link <http://hl7.org/fhir/DocumentReference/example>; fhir:Reference.reference [ fhir:value "DocumentReference/example" ]] ) ; # fhir:identifier ( [ fhir:type [ fhir:text [ fhir:v "entryUUID" ] ] ; fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ; fhir:value [ fhir:v "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" ] ] [ fhir:type [ fhir:text [ fhir:v "uniqueId" ] ] ; fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ; fhir:value [ fhir:v "urn:oid:1.3.6.1.4.1.21367.2005.3.7" ] ] ) ; # fhir:status [ fhir:v "current"] ; # fhir:docStatus [ fhir:v "preliminary"] ; # fhir:type [ fhir:coding ( [ a loinc:34108-1 ; fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ; fhir:code [ fhir:v "34108-1" ] ; fhir:display [ fhir:v "Outpatient Note" ] ] ) ] ; # fhir:category ( [ fhir:coding ( [ fhir:system [ fhir:v "http://ihe.net/xds/connectathon/classCodes"^^xsd:anyURI ] ; fhir:code [ fhir:v "History and Physical" ] ; fhir:display [ fhir:v "History and Physical" ] ] ) ] ) ; # fhir:subject [ fhir:reference [ fhir:v "Patient/xcda" ] ] ; # fhir:context ( [ fhir:reference [ fhir:v "Encounter/xcda" ] ] ) ; # fhir:event ( [ fhir:concept [ fhir:coding ( [ fhir:system [ fhir:v "http://ihe.net/xds/connectathon/eventCodes"^^xsd:anyURI ] ; fhir:code [ fhir:v "T-D8200" ] ; fhir:display [ fhir:v "Arm" ] ] ) ]]; fhir:DocumentReference.description [ fhir:value "Physical"]; fhir:DocumentReference.securityLabel [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ]; fhir:Coding.code [ fhir:value "V" ]; fhir:Coding.display [ fhir:value "very restricted" ]] ) ; # fhir:facilityType [ fhir:coding ( [ fhir:system [ fhir:v "http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes"^^xsd:anyURI ] ; fhir:code [ fhir:v "Outpatient" ] ; fhir:display [ fhir:v "Outpatient" ] ] ) ] ; # fhir:practiceSetting [ fhir:coding ( [ fhir:system [ fhir:v "http://www.ihe.net/xds/connectathon/practiceSettingCodes"^^xsd:anyURI ] ; fhir:code [ fhir:v "General Medicine" ] ; fhir:display [ fhir:v "General Medicine" ] ] ) ] ; # fhir:period [ fhir:start [ fhir:v "2004-12-23T08:00:00+11:00"^^xsd:dateTime ] ; fhir:end [ fhir:v "2004-12-23T08:01:00+11:00"^^xsd:dateTime ] ] ; # fhir:date [ fhir:v "2005-12-24T09:43:41+11:00"^^xsd:dateTime] ; # fhir:author ( [ fhir:reference [ fhir:v "Practitioner/xcda1" ] ] [ fhir:reference [ fhir:v "#a2" ] ] ) ; # fhir:attester ( [ fhir:mode [ fhir:coding ( [ fhir:system [ fhir:v "http://hl7.org/fhir/composition-attestation-mode"^^xsd:anyURI ] ; fhir:code [ fhir:v "official" ] ] ) ] ; fhir:party [ fhir:reference [ fhir:v "Organization/f001" ] ]]; fhir:DocumentReference.content [ fhir:index 0; fhir:DocumentReference.content.attachment [ fhir:Attachment.contentType [ fhir:value "application/hl7-v3+xml" ]; fhir:Attachment.language [ fhir:value "en-US" ]; fhir:Attachment.url [ fhir:value "http://example.org/xds/mhd/Binary/07a6483f-732b-461e-86b6-edb665c45510" ]; fhir:Attachment.size [ fhir:value "3654"^^xsd:nonNegativeInteger ]; fhir:Attachment.hash [ fhir:value "2jmj7l5rSw0yVb/vlWAYkK/YBwk="^^xsd:base64Binary ]; fhir:Attachment.title [ fhir:value "Physical" ]; fhir:Attachment.creation [ fhir:value "2005-12-24T09:35:00+11:00"^^xsd:dateTime ] ]; fhir:DocumentReference.content.format [ fhir:Coding.system [ fhir:value "urn:oid:1.3.6.1.4.1.19376.1.2.3" ]; fhir:Coding.code [ fhir:value "urn:ihe:pcc:handp:2008" ]; fhir:Coding.display [ fhir:value "History and Physical Specification" ]] ) ; # fhir:custodian [ fhir:reference [ fhir:v "Organization/f001" ] ] ; # fhir:relatesTo ( [ fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "http://hl7.org/fhir/document-relationship-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "appends" ] ] ) ] ; fhir:target [ fhir:reference [ fhir:v "DocumentReference/example" ] ]]; fhir:DocumentReference.context [ fhir:DocumentReference.context.encounter [ fhir:index 0; fhir:link <http://hl7.org/fhir/Encounter/xcda>; fhir:Reference.reference [ fhir:value "Encounter/xcda" ] ]; fhir:DocumentReference.context.event [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://ihe.net/xds/connectathon/eventCodes" ]; fhir:Coding.code [ fhir:value "T-D8200" ]; fhir:Coding.display [ fhir:value "Arm" ] ] ]; fhir:DocumentReference.context.period [ fhir:Period.start [ fhir:value "2004-12-23T08:00:00+11:00"^^xsd:dateTime ]; fhir:Period.end [ fhir:value "2004-12-23T08:01:00+11:00"^^xsd:dateTime ] ]; fhir:DocumentReference.context.facilityType [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes" ]; fhir:Coding.code [ fhir:value "Outpatient" ]; fhir:Coding.display [ fhir:value "Outpatient" ] ] ]; fhir:DocumentReference.context.practiceSetting [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://www.ihe.net/xds/connectathon/practiceSettingCodes" ]; fhir:Coding.code [ fhir:value "General Medicine" ]; fhir:Coding.display [ fhir:value "General Medicine" ] ] ]; fhir:DocumentReference.context.sourcePatientInfo [ fhir:link <http://hl7.org/fhir/Patient/xcda>; fhir:Reference.reference [ fhir:value "Patient/xcda" ] ]; fhir:DocumentReference.context.related [ fhir:index 0; fhir:link <http://hl7.org/fhir/Patient/xcda>; fhir:Reference.reference [ fhir:value "Patient/xcda" ]; fhir:Reference.identifier [ fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ]; fhir:Identifier.value [ fhir:value "urn:oid:1.3.6.1.4.1.21367.2005.3.7.2345" ]] ) ; # fhir:description [ fhir:v "Physical"] ; # fhir:securityLabel ( [ fhir:coding ( [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ] ; fhir:code [ fhir:v "V" ] ; fhir:display [ fhir:v "very restricted" ] ] ) ] ) ; # fhir:content ( [ fhir:attachment [ fhir:contentType [ fhir:v "application/hl7-v3+xml" ] ; fhir:language [ fhir:v "en-US" ] ; fhir:url [ fhir:v "http://example.org/xds/mhd/Binary/07a6483f-732b-461e-86b6-edb665c45510"^^xsd:anyURI ] ; fhir:size [ fhir:v "3654"^^xsd:long ] ; fhir:hash [ fhir:v "2jmj7l5rSw0yVb/vlWAYkK/YBwk="^^xsd:base64Binary ] ; fhir:title [ fhir:v "Physical" ] ; fhir:creation [ fhir:v "2005-12-24T09:35:00+11:00"^^xsd:dateTime ] ] ; fhir:profile ( [ fhir:value [ a fhir:Coding ; fhir:system [ fhir:v "urn:oid:1.3.6.1.4.1.19376.1.2.3"^^xsd:anyURI ] ; fhir:code [ fhir:v "urn:ihe:pcc:handp:2008" ] ; fhir:display [ fhir:v "History and Physical Specification" ] ]] ] . <http://hl7.org/fhir/Patient/xcda> a fhir:Patient . <http://hl7.org/fhir/Practitioner/xcda1> a fhir:Practitioner . <http://hl7.org/fhir/Organization/f001> a fhir:Organization . <http://hl7.org/fhir/Encounter/xcda> a fhir:Encounter . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/DocumentReference/example.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/DocumentReference/example.ttl> .] ) ] )] . # # -------------------------------------------------------------------------------------
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
Release
4
(Technical
Correction
#1)
(v4.0.1)
R5
hl7.fhir.core#5.0.0
generated
on
Fri,
Nov
1,
2019
09:35+1100.
QA
Page
Sun,
Mar
26,
2023
15:24+1100.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Credits
Glossary
|
QA
|
Compare
to
R3
R4
|
Compare
to
R4B
|
|
Propose
a
change