Administration
Publish-box
(todo)
This
is
the
Continuous
Integration
Build
of
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
| Responsible Owner: Patient Administration Work Group | Standards Status : Informative | Compartments : Encounter , Group , Patient , Practitioner , RelatedPerson |
Raw Turtle (+ also see Turtle/RDF Format Specification )
Real-world encounter example (with primaryDiagnosis extension added)
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
# No admission was deemed necessary
<http://hl7.org/fhir/Encounter/f202> a fhir:Encounter ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "f202"] ; #
fhir:identifier ( [
fhir:use [ fhir:v "temp" ] ;
fhir:value [ fhir:v "Encounter_Roel_20130128" ] # 0..1 The use of this identifier
] ) ; #
fhir:status [ fhir:v "completed"] ; #
fhir:class ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
] ;
fhir:code [ fhir:v "AMB" ] ;
fhir:display [ fhir:v "ambulatory" ] # outpatient encounter for chemotherapy
] )
] ) ; # Encounter has finished
fhir:priority [
fhir:coding ( [
a sct:103391001 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:system [
fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
fhir:l <http://snomed.info/sct>
] ;
fhir:code [ fhir:v "103391001" ] ;
fhir:display [ fhir:v "Urgent" ]
] ) # Urgent priority, because of complications
] ; #
fhir:type ( [
fhir:coding ( [
a sct:367336001 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:system [
fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
fhir:l <http://snomed.info/sct>
] ;
fhir:code [ fhir:v "367336001" ] ;
fhir:display [ fhir:v "Chemotherapy" ]
] )
] ) ; #
fhir:subject [
fhir:link <http://hl7.org/fhir/Patient/f201> ;
fhir:l <http://hl7.org/fhir/Patient/f201> ;
fhir:reference [ fhir:v "Patient/f201" ] ;
fhir:display [ fhir:v "Roel" ]
] ; #
fhir:serviceProvider [
fhir:link <http://hl7.org/fhir/Organization/f201> ;
fhir:l <http://hl7.org/fhir/Organization/f201> ;
fhir:reference [ fhir:v "Organization/f201" ]
] ; #
fhir:participant ( [
fhir:actor [
fhir:link <http://hl7.org/fhir/Practitioner/f201> ;
fhir:l <http://hl7.org/fhir/Practitioner/f201> ;
fhir:reference [ fhir:v "Practitioner/f201" ]
]
] ) ; #
fhir:length [
fhir:value [ fhir:v "56"^^xsd:decimal ] ;
fhir:unit [ fhir:v "minutes" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:system [
fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
fhir:l <http://unitsofmeasure.org>
] ;
fhir:code [ fhir:v "min" ]
] ; #
fhir:reason ( [
fhir:value ( [
fhir:concept [
fhir:text [ fhir:v "The patient is treated for a tumor." ]
]
] )
] ) ; #
fhir:diagnosis ( [
fhir:condition ( [
fhir:concept [
fhir:text [ fhir:v "Complications from Roel's TPF chemotherapy on January 28th, 2013" ]
]
] ) ;
fhir:use ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"^^xsd:anyURI ] ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/diagnosis-role>
] ;
fhir:code [ fhir:v "AD" ] ;
fhir:display [ fhir:v "Admission diagnosis" ]
] )
] )
] [
fhir:condition ( [
fhir:concept [
fhir:text [ fhir:v "The patient is treated for a tumor" ]
]
] ) ;
fhir:use ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"^^xsd:anyURI ] ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/diagnosis-role>
] ;
fhir:code [ fhir:v "CC" ] ;
fhir:display [ fhir:v "Chief complaint" ]
] )
] )
] ) . #
<http://hl7.org/fhir/Patient/f201> a fhir:Patient .
<http://hl7.org/fhir/Organization/f201> a fhir:Organization .
<http://hl7.org/fhir/Practitioner/f201> a fhir:Practitioner .
# -------------------------------------------------------------------------------------
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-ballot3
generated
on
Tue,
Apr
1,
Mon,
Nov
17,
2025
12:25+1100.
19:28+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change