Conformance
This
page
is
part
of
the
Snapshot
#3
for
FHIR
Specification
(v4.3.0:
R4B
-
STU
).
The
current
version
which
supercedes
this
version
is
5.0.0
R5
,
released
to
support
Connectathon
32
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| FHIR Infrastructure Work Group | Maturity Level : N/A | Standards Status : Informative | Compartments : Not linked to any defined 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"];[a fhir:CompartmentDefinition; fhir:nodeRole fhir:treeRoot; 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:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.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>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: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"^^xsd:boolean]; # fhir:CompartmentDefinition.date [ fhir:value "2017-02-24"^^xsd:date]; # 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)."];] # 0..1 Name of an individual to contact ]; # 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:UsageContext.valueCodeableConcept [ fhir:CodeableConcept.coding [ fhir:index 0;fhir:Coding.system [ fhir:value "http://hl7.org/fhir/resource-types" ];fhir:Coding.system [ fhir:value "http://hl7.org/fhir/fhir-types" ]; fhir:Coding.code [ fhir:value "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.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"^^xsd:boolean]; # fhir:CompartmentDefinition.resource [ fhir:index 0;fhir:CompartmentDefinition.code [ fhir:value "Communication" ]; fhir:CompartmentDefinition.param [fhir:CompartmentDefinition.resource.code [ fhir:value "Communication" ]; fhir:CompartmentDefinition.resource.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:CompartmentDefinition.resource.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:CompartmentDefinition.resource.code [ fhir:value "CommunicationRequest" ]; fhir:CompartmentDefinition.resource.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:CompartmentDefinition.resource.documentation [ fhir:value "The device used as the message sender and recipient" ] ]] . # # - ontology header ------------------------------------------------------------ [a owl:Ontology; owl:imports fhir:fhir.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
4B
(v4.3.0)
hl7.fhir.r4b.core#4.3.0
R5
Ballot
hl7.fhir.core#5.0.0-snapshot3
generated
on
Sat,
May
28,
Wed,
Dec
14,
2022
12:54+1000.
07:16+1100.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Glossary
|
QA
Page
|
Compare
to
R4
R4B
|
Compare
to
R5
Draft
|
|
Propose
a
change