Conformance
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
| Responsible Owner: FHIR Infrastructure Work Group | Standards Status : Informative |
Compartments
:
|
Raw Turtle (+ also see Turtle/RDF Format Specification )
Example showing how to define Section Level Profiles
@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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource -------------------------------------------------------------------<http://hl7.org/fhir/StructureDefinition/example-section-library> a fhir:StructureDefinition; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example-section-library"]; 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-section-library</p><p><b>url</b>: <b>http://hl7.org/fhir/StructureDefinition/example-section-library</b></p><p><b>name</b>: DocumentSectionLibrary</p><p><b>title</b>: Document Section Library (For testing section templates)</p><p><b>status</b>: active</p><p><b>experimental</b>: false</p><p><b>date</b>: 05/11/2018 5:57:00 PM</p><p><b>kind</b>: complex-type</p><p><b>abstract</b>: true</p><p><b>type</b>: <a>Composition</a></p><p><b>baseDefinition</b>: <a>http://hl7.org/fhir/StructureDefinition/Composition</a></p><p><b>derivation</b>: constraint</p><h3>Differentials</h3><table><tr><td>-</td><td><b>Element</b></td></tr><tr><td>*</td><td>todo-bundle</td></tr></table></div>" ]; fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/example-section-library"]; fhir:StructureDefinition.name [ fhir:value "DocumentSectionLibrary"]; fhir:StructureDefinition.title [ fhir:value "Document Section Library (For testing section templates)"]; fhir:StructureDefinition.status [ fhir:value "active"]; fhir:StructureDefinition.experimental [ fhir:value "false"^^xsd:boolean]; fhir:StructureDefinition.date [ fhir:value "2018-11-05T17:57:00+11:00"^^xsd:dateTime]; fhir:StructureDefinition.kind [ fhir:value "complex-type"]; fhir:StructureDefinition.abstract [ fhir:value "true"^^xsd:boolean]; fhir:StructureDefinition.type [ fhir:value "Composition"]; fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/Composition"; fhir:link <http://hl7.org/fhir/StructureDefinition/Composition> ]; fhir:StructureDefinition.derivation [ fhir:value "constraint"]; fhir:StructureDefinition.differential [ fhir:StructureDefinition.differential.element [ fhir:index 0; fhir:Element.id [ fhir:value "Composition" ]; fhir:ElementDefinition.path [ fhir:value "Composition" ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "Composition.section" ]; fhir:ElementDefinition.path [ fhir:value "Composition.section" ]; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "pattern" ]; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "code" ] ]; fhir:ElementDefinition.slicing.description [ fhir:value "Slice by .section.code when using this library of sections" ]; fhir:ElementDefinition.slicing.ordered [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.slicing.rules [ fhir:value "closed" ]<http://hl7.org/fhir/StructureDefinition/example-section-library> a fhir:StructureDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "example-section-library"] ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg> ] ; fhir:value [ a fhir:Code ; fhir:v "fhir" ] ] ) ; # fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/example-section-library"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/example-section-library> ] ; # fhir:identifier ( [ fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ; fhir:l <urn:ietf:rfc:3986> ] ; fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.5.1041" ] ] ) ; # fhir:name [ fhir:v "DocumentSectionLibrary"] ; # fhir:title [ fhir:v "Document Section Library (For testing section templates)"] ; # fhir:status [ fhir:v "active"] ; # fhir:experimental [ fhir:v false] ; # fhir:date [ fhir:v "2018-11-05T17:57:00+11:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # fhir:contact ( [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ] ] ) ] ) ; # fhir:description [ fhir:v "Document Section Library (For testing section templates)"] ; # fhir:kind [ fhir:v "resource"] ; # fhir:abstract [ fhir:v true] ; # fhir:type [ fhir:v "Composition"^^xsd:anyURI ; fhir:l fhir:Composition ] ; # fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Composition"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/Composition> ] ; # fhir:derivation [ fhir:v "constraint"] ; # fhir:differential [ fhir:element ( [ fhir:id [ fhir:v "Composition" ] ; fhir:path [ fhir:v "Composition" ] ] [ fhir:id [ fhir:v "Composition.section" ] ; fhir:path [ fhir:v "Composition.section" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "pattern" ] ; fhir:path [ fhir:v "code" ] ] ) ; fhir:description [ fhir:v "Slice by .section.code when using this library of sections" ] ; fhir:ordered [ fhir:v true ] ; fhir:rules [ fhir:v "closed" ] ]], [ fhir:index 2; fhir:Element.id [ fhir:value "Composition.section:procedure" ]; fhir:ElementDefinition.path [ fhir:value "Composition.section" ]; fhir:ElementDefinition.sliceName [ fhir:value "procedure" ] ], [ fhir:index 3; fhir:Element.id [ fhir:value "Composition.section:procedure.title" ]; fhir:ElementDefinition.path [ fhir:value "Composition.section.title" ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.fixedString [ fhir:value "Procedures Performed" ] ], [ fhir:index 4; fhir:Element.id [ fhir:value "Composition.section:procedure.code" ]; fhir:ElementDefinition.path [ fhir:value "Composition.section.code" ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.patternCodeableConcept [ fhir:CodeableConcept.coding [ fhir:index 0; a loinc:29554-3; fhir:Coding.system [ fhir:value "http://loinc.org" ]; fhir:Coding.code [ fhir:value "29554-3" ]; fhir:Coding.display [ fhir:value "Procedure Narrative" ] ]] [ fhir:id [ fhir:v "Composition.section:procedure" ] ; fhir:path [ fhir:v "Composition.section" ] ; fhir:sliceName [ fhir:v "procedure" ] ] [ fhir:id [ fhir:v "Composition.section:procedure.title" ] ; fhir:path [ fhir:v "Composition.section.title" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:fixed [ a fhir:String ; fhir:v "Procedures Performed" ]], [ fhir:index 5; fhir:Element.id [ fhir:value "Composition.section:medications" ]; fhir:ElementDefinition.path [ fhir:value "Composition.section" ]; fhir:ElementDefinition.sliceName [ fhir:value "medications" ] ], [ fhir:index 6; fhir:Element.id [ fhir:value "Composition.section:medications.title" ]; fhir:ElementDefinition.path [ fhir:value "Composition.section.title" ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.fixedString [ fhir:value "Medications Administered" ] ], [ fhir:index 7; fhir:Element.id [ fhir:value "Composition.section:medications.code" ]; fhir:ElementDefinition.path [ fhir:value "Composition.section.code" ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.patternCodeableConcept [ fhir:CodeableConcept.coding [ fhir:index 0; a loinc:29549-3; fhir:Coding.system [ fhir:value "http://loinc.org" ]; fhir:Coding.code [ fhir:value "29549-3" ]; fhir:Coding.display [ fhir:value "Medication administered Narrative" ] ]] [ fhir:id [ fhir:v "Composition.section:procedure.code" ] ; fhir:path [ fhir:v "Composition.section.code" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:pattern [ a fhir:CodeableConcept ; fhir:coding ( [ a loinc:29554-3 ; fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ; fhir:l <http://loinc.org> ] ; fhir:code [ fhir:v "29554-3" ] ; fhir:display [ fhir:v "Procedure Narrative" ] ] ) ]], [ fhir:index 8; fhir:Element.id [ fhir:value "Composition.section:plan" ]; fhir:ElementDefinition.path [ fhir:value "Composition.section" ]; fhir:ElementDefinition.sliceName [ fhir:value "plan" ] ], [ fhir:index 9; fhir:Element.id [ fhir:value "Composition.section:plan.title" ]; fhir:ElementDefinition.path [ fhir:value "Composition.section.title" ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.fixedString [ fhir:value "Discharge Treatment Plan" ] ], [ fhir:index 10; fhir:Element.id [ fhir:value "Composition.section:plan.code" ]; fhir:ElementDefinition.path [ fhir:value "Composition.section.code" ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.patternCodeableConcept [ fhir:CodeableConcept.coding [ fhir:index 0; a loinc:18776-5; fhir:Coding.system [ fhir:value "http://loinc.org" ]; fhir:Coding.code [ fhir:value "18776-5" ]; fhir:Coding.display [ fhir:value "Plan of treatment (narrative)" ] ]] [ fhir:id [ fhir:v "Composition.section:medications" ] ; fhir:path [ fhir:v "Composition.section" ] ; fhir:sliceName [ fhir:v "medications" ] ] [ fhir:id [ fhir:v "Composition.section:medications.title" ] ; fhir:path [ fhir:v "Composition.section.title" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:fixed [ a fhir:String ; fhir:v "Medications Administered" ]] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/StructureDefinition/example-section-library.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/StructureDefinition/example-section-library.ttl> .] [ fhir:id [ fhir:v "Composition.section:medications.code" ] ; fhir:path [ fhir:v "Composition.section.code" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:pattern [ a fhir:CodeableConcept ; fhir:coding ( [ a loinc:29549-3 ; fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ; fhir:l <http://loinc.org> ] ; fhir:code [ fhir:v "29549-3" ] ; fhir:display [ fhir:v "Medication administered Narrative" ] ] ) ] ] [ fhir:id [ fhir:v "Composition.section:plan" ] ; fhir:path [ fhir:v "Composition.section" ] ; fhir:sliceName [ fhir:v "plan" ] ] [ fhir:id [ fhir:v "Composition.section:plan.title" ] ; fhir:path [ fhir:v "Composition.section.title" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:fixed [ a fhir:String ; fhir:v "Discharge Treatment Plan" ] ] [ fhir:id [ fhir:v "Composition.section:plan.code" ] ; fhir:path [ fhir:v "Composition.section.code" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:pattern [ a fhir:CodeableConcept ; fhir:coding ( [ a loinc:18776-5 ; fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ; fhir:l <http://loinc.org> ] ; fhir:code [ fhir:v "18776-5" ] ; fhir:display [ fhir:v "Plan of care note" ] ] ) ] ] ) ] . # # -------------------------------------------------------------------------------------
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)
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Fri,
Sat,
Nov
1,
2019
09:36+1100.
QA
Page
8,
2025
11:28+0000.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Credits
Glossary
|
QA
|
Compare
to
R3
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change