Conformance
This
page
is
part
of
the
FHIR
Specification
(v4.3.0:
R4B
(v5.0.0-draft-final:
Final
QA
Preview
for
R5
-
STU
see
ballot
notes
).
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
| 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 showing how to define Section Level Profiles
@prefix fhir: <http://hl7.org/fhir/> . @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 -------------------------------------------------------------------[] a fhir:StructureDefinition; fhir:Resource.id [ fhir:value "example-section-library"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; 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"]; fhir:StructureDefinition.date [ fhir:value "2018-11-05T17:57:00+11:00"]; fhir:StructureDefinition.kind [ fhir:value "resource"]; fhir:StructureDefinition.abstract [ fhir:value "true"]; fhir:StructureDefinition.type [ fhir:value "Composition"]; fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/Composition"]; fhir:StructureDefinition.derivation [ fhir:value "constraint"]; fhir:StructureDefinition.differential [ fhir:StructureDefinition.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.discriminator [ fhir:index 0; fhir:ElementDefinition.type [ fhir:value "pattern" ]; fhir:ElementDefinition.path [ fhir:value "code" ] ]; fhir:ElementDefinition.description [ fhir:value "Slice by .section.code when using this library of sections" ]; fhir:ElementDefinition.ordered [ fhir:value "true" ]; fhir:ElementDefinition.rules [ fhir:value "closed" ][a fhir:StructureDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "example-section-library"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: StructureDefinition</b><a name=\"example-section-library\"> </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 StructureDefinition "example-section-library" </p></div><p><b>url</b>: <code>http://hl7.org/fhir/StructureDefinition/example-section-library</code></p><p><b>identifier</b>: id: urn:oid:2.16.840.1.113883.4.642.5.1041</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>: 2018-11-05T17:57:00+11:00</p><p><b>description</b>: Document Section Library (For testing section templates)</p><p><b>kind</b>: resource</p><p><b>abstract</b>: true</p><p><b>type</b>: <a href=\"composition.html\">Composition</a></p><p><b>baseDefinition</b>: <a href=\"composition.html\">Composition</a></p><p><b>derivation</b>: constraint</p><blockquote><p><b>differential</b></p><blockquote><p><b>element</b></p><p><b>path</b>: Composition</p></blockquote><blockquote><p><b>element</b></p><p><b>path</b>: Composition.section</p><blockquote><p><b>slicing</b></p></blockquote></blockquote><blockquote><p><b>element</b></p><p><b>path</b>: Composition.section</p><p><b>sliceName</b>: procedure</p></blockquote><blockquote><p><b>element</b></p><p><b>path</b>: Composition.section.title</p><p><b>min</b>: 1</p><p><b>fixed</b>: Procedures Performed</p></blockquote><blockquote><p><b>element</b></p><p><b>path</b>: Composition.section.code</p><p><b>min</b>: 1</p><p><b>pattern</b>: Procedure Narrative <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#29554-3)</span></p></blockquote><blockquote><p><b>element</b></p><p><b>path</b>: Composition.section</p><p><b>sliceName</b>: medications</p></blockquote><blockquote><p><b>element</b></p><p><b>path</b>: Composition.section.title</p><p><b>min</b>: 1</p><p><b>fixed</b>: Medications Administered</p></blockquote><blockquote><p><b>element</b></p><p><b>path</b>: Composition.section.code</p><p><b>min</b>: 1</p><p><b>pattern</b>: Medication administered Narrative <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#29549-3)</span></p></blockquote><blockquote><p><b>element</b></p><p><b>path</b>: Composition.section</p><p><b>sliceName</b>: plan</p></blockquote><blockquote><p><b>element</b></p><p><b>path</b>: Composition.section.title</p><p><b>min</b>: 1</p><p><b>fixed</b>: Discharge Treatment Plan</p></blockquote><blockquote><p><b>element</b></p><p><b>path</b>: Composition.section.code</p><p><b>min</b>: 1</p><p><b>pattern</b>: Plan of treatment (narrative) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#18776-5)</span></p></blockquote></blockquote></div>" ] ; # fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/example-section-library"^^xsd:anyURI] ; # fhir:identifier ( [ fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ; 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"^^xsd:boolean] ; # fhir:date [ fhir:v "2018-11-05T17:57:00+11:00"^^xsd:dateTime] ; # fhir:description [ fhir:v "Document Section Library (For testing section templates)"] ; # fhir:kind [ fhir:v "resource"] ; # fhir:abstract [ fhir:v "true"^^xsd:boolean] ; # fhir:type [ fhir:v "Composition"^^xsd:anyURI] ; # fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Composition"^^xsd:anyURI ; fhir:link <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"^^xsd:boolean ] ; 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" ]; fhir:ElementDefinition.fixed [ 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" ]; fhir:ElementDefinition.pattern [ fhir:CodeableConcept.coding [ fhir:index 0; 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 [ fhir:v "Procedures Performed" ] ] [ 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:code [ fhir:v "29554-3" ] ; fhir:display [ fhir:v "Procedure Narrative" ] ] ) ]], [ 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" ]; fhir:ElementDefinition.fixed [ 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" ]; fhir:ElementDefinition.pattern [ fhir:CodeableConcept.coding [ fhir:index 0; 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: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 [ fhir:v "Medications Administered" ] ] [ 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:code [ fhir:v "29549-3" ] ; fhir:display [ fhir:v "Medication administered 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" ]; fhir:ElementDefinition.fixed [ 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" ]; fhir:ElementDefinition.pattern [ fhir:CodeableConcept.coding [ fhir:index 0; 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: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 [ 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:code [ fhir:v "18776-5" ] ; fhir:display [ fhir:v "Plan of treatment (narrative)" ] ] ) ]] ] .] ) ]] . # # -------------------------------------------------------------------------------------
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-draft-final
generated
on
Sat,
May
28,
2022
12:57+1000.
Wed,
Mar
1,
2023
23:07+1100.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Glossary
|
QA
Page
|
Compare
to
R4
R4B
|
Compare
to
R5
Draft
|
|
Propose
a
change