Conformance
This
page
is
part
of
the
FHIR
Specification
(v4.3.0:
R4B
(v5.0.0:
R5
-
STU
).
The
This
is
the
current
published
version
which
supercedes
in
it's
permanent
home
(it
will
always
be
available
at
this
version
is
5.0.0
.
URL).
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R5
R4B
R4
R3
| FHIR Infrastructure Work Group | Maturity Level : N/A | Standards Status : Informative |
Compartments
:
|
Raw Turtle (+ also see Turtle/RDF Format Specification )
Example Compartment
@prefix fhir: <http://hl7.org/fhir/> . @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 -------------------------------------------------------------------[] a fhir:CompartmentDefinition; fhir:Resource.id [ fhir:value "example"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:CompartmentDefinition.url [ fhir:value "http://hl7.org/fhir/CompartmentDefinition/example"]; fhir:CompartmentDefinition.name [ fhir:value "EXAMPLE"]; fhir:CompartmentDefinition.status [ fhir:value "draft"]; fhir:CompartmentDefinition.experimental [ fhir:value "true"]; fhir:CompartmentDefinition.date [ fhir:value "2017-02-24"]; fhir:CompartmentDefinition.publisher [ fhir:value "Health Level Seven International (FHIR Infrastructure)"]; fhir:CompartmentDefinition.contact [ fhir:index 0; fhir:ContactDetail.name [ fhir:value "[string]" ]; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ] ] ]; fhir:CompartmentDefinition.description [ fhir:value "The set of resources associated with a particular Device (example with Communication and CommunicationRequest resourses only)."]; fhir:CompartmentDefinition.useContext [ fhir:index 0; fhir:UsageContext.code [ fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ]; fhir:Coding.code [ fhir:value "focus" ] ]; fhir:UsageContext.value [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://hl7.org/fhir/resource-types" ]; fhir:Coding.code [ fhir:value "Device" ] ][a fhir:CompartmentDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "example"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: CompartmentDefinition</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 CompartmentDefinition "example" </p></div><p><b>url</b>: <code>http://hl7.org/fhir/CompartmentDefinition/example</code></p><p><b>name</b>: EXAMPLE</p><p><b>title</b>: E X A M P L E</p><p><b>status</b>: draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2017-02-24</p><p><b>publisher</b>: Health Level Seven International (FHIR Infrastructure)</p><p><b>contact</b>: [string]: <a href=\"http://hl7.org/fhir\">http://hl7.org/fhir</a></p><p><b>description</b>: The set of resources associated with a particular Device (example with Communication and CommunicationRequest resourses only).</p><h3>UseContexts</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Clinical Focus (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code focus = 'Clinical Focus', stated as 'null')</td><td>Device <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-fhir-types.html\">All FHIR Types</a>#Device)</span></td></tr></table><p><b>purpose</b>: Provides an example of a FHIR compartment definition based on the Device resource type.</p><p><b>code</b>: Device</p><p><b>search</b>: true</p><blockquote><p><b>resource</b></p><p><b>code</b>: Communication</p><p><b>param</b>: sender, recipient</p><p><b>documentation</b>: The device used as the message sender and recipient</p></blockquote><blockquote><p><b>resource</b></p><p><b>code</b>: CommunicationRequest</p><p><b>param</b>: sender, recipient</p><p><b>documentation</b>: The device used as the message sender and recipient</p></blockquote></div>" ] ; # fhir:url [ fhir:v "http://hl7.org/fhir/CompartmentDefinition/example"^^xsd:anyURI] ; # fhir:name [ fhir:v "EXAMPLE"] ; # fhir:title [ fhir:v "E X A M P L E"] ; # fhir:status [ fhir:v "draft"] ; # fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # fhir:date [ fhir:v "2017-02-24"^^xsd:date] ; # fhir:publisher [ fhir:v "Health Level Seven International (FHIR Infrastructure)"] ; # fhir:contact ( [ fhir:name [ fhir:v "[string]" ] ; fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://hl7.org/fhir" ] ] ) ] ) ; # fhir:description [ fhir:v "The set of resources associated with a particular Device (example with Communication and CommunicationRequest resourses only)."] ; # fhir:useContext ( [ fhir:code [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "focus" ] ] ; fhir:value [ a fhir:CodeableConcept ; fhir:coding ( [ fhir:system [ fhir:v "http://hl7.org/fhir/fhir-types"^^xsd:anyURI ] ; fhir:code [ fhir:v "Device" ] ] ) ]]; fhir:CompartmentDefinition.purpose [ fhir:value "Provides an example of a FHIR compartment definition based on the Device resource type."]; fhir:CompartmentDefinition.code [ fhir:value "Device"]; fhir:CompartmentDefinition.search [ fhir:value "true"]; fhir:CompartmentDefinition.resource [ fhir:index 0; fhir:CompartmentDefinition.code [ fhir:value "Communication" ]; fhir:CompartmentDefinition.param [ fhir:value "sender"; fhir:index 0 ], [ fhir:value "recipient"; fhir:index 1 ]; fhir:CompartmentDefinition.documentation [ fhir:value "The device used as the message sender and recipient" ] ], [ fhir:index 1; fhir:CompartmentDefinition.code [ fhir:value "CommunicationRequest" ]; fhir:CompartmentDefinition.param [ fhir:value "sender"; fhir:index 0 ], [ fhir:value "recipient"; fhir:index 1 ]; fhir:CompartmentDefinition.documentation [ fhir:value "The device used as the message sender and recipient" ] ] .] ) ; # fhir:purpose [ fhir:v "Provides an example of a FHIR compartment definition based on the Device resource type."] ; # fhir:code [ fhir:v "Device"] ; # fhir:search [ fhir:v "true"^^xsd:boolean] ; # fhir:resource ( [ fhir:code [ fhir:v "Communication" ] ; fhir:param ( [ fhir:v "sender" ] [ fhir:v "recipient" ] ) ; fhir:documentation [ fhir:v "The device used as the message sender and recipient" ] ] [ fhir:code [ fhir:v "CommunicationRequest" ] ; fhir:param ( [ fhir:v "sender" ] [ fhir:v "recipient" ] ) ; fhir:documentation [ fhir:v "The device used as the message sender and recipient" ] ] )] . # # -------------------------------------------------------------------------------------
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
4B
(v4.3.0)
hl7.fhir.r4b.core#4.3.0
R5
hl7.fhir.core#5.0.0
generated
on
Sat,
May
28,
2022
12:54+1000.
Sun,
Mar
26,
2023
15:24+1100.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Glossary
|
QA
Page
|
Compare
to
R4
|
Compare
to
R4B
|
|
Propose
a
change