Conformance
This
page
is
part
of
the
FHIR
Specification
(v4.3.0:
R4B
(v5.0.0-ballot:
R5
Ballot
-
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 use Section Level Profiles
@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:StructureDefinition;[a fhir:StructureDefinition; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example-composition"]; fhir:DomainResource.text [fhir:Narrative.status [ fhir:value "generated" ]fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: StructureDefinition</b><a name=\"example-composition\"> </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-composition" </p></div><p><b>url</b>: <code>http://hl7.org/fhir/StructureDefinition/example-composition</code></p><p><b>identifier</b>: id: urn:oid:2.16.840.1.113883.4.642.5.1040</p><p><b>name</b>: DocumentStructure</p><p><b>title</b>: Document Structure (For testing section templates)</p><p><b>status</b>: active</p><p><b>experimental</b>: false</p><p><b>date</b>: 2018-11-05T17:47:00+11:00</p><p><b>kind</b>: resource</p><p><b>abstract</b>: false</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><blockquote><p><b>element</b></p><p><b>path</b>: Composition.section</p><p><b>sliceName</b>: procedure</p><p><b>min</b>: 1</p></blockquote><blockquote><p><b>element</b></p><p><b>path</b>: Composition.section</p><p><b>sliceName</b>: medications</p><p><b>min</b>: 1</p></blockquote><blockquote><p><b>element</b></p><p><b>path</b>: Composition.section</p><p><b>sliceName</b>: plan</p><p><b>min</b>: 0</p></blockquote></blockquote></div>" ]; fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/example-composition"]; fhir:StructureDefinition.identifier [ fhir:index 0; fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ]; fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.5.1040" ] ]; fhir:StructureDefinition.name [ fhir:value "DocumentStructure"]; fhir:StructureDefinition.title [ fhir:value "Document Structure (For testing section templates)"]; fhir:StructureDefinition.status [ fhir:value "active"];fhir:StructureDefinition.experimental [ fhir:value "false"]; fhir:StructureDefinition.date [ fhir:value "2018-11-05T17:47:00+11:00"];fhir:StructureDefinition.experimental [ fhir:value "false"^^xsd:boolean]; fhir:StructureDefinition.date [ fhir:value "2018-11-05T17:47:00+11:00"^^xsd:dateTime]; fhir:StructureDefinition.kind [ fhir:value "resource"];fhir:StructureDefinition.abstract [ fhir:value "false"];fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean]; fhir:StructureDefinition.type [ fhir:value "Composition"];fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/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.element [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.discriminator [fhir:ElementDefinition.slicing.discriminator [ fhir:index 0;fhir:ElementDefinition.type [ fhir:value "pattern" ]; fhir:ElementDefinition.path [ fhir:value "code" ]fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "pattern" ]; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "code" ] ];fhir:ElementDefinition.description [ fhir:value "Slice by .section.code" ]; fhir:ElementDefinition.ordered [ fhir:value "true" ]; fhir:ElementDefinition.rules [ fhir:value "closed" ]fhir:ElementDefinition.slicing.description [ fhir:value "Slice by .section.code" ]; fhir:ElementDefinition.slicing.ordered [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.slicing.rules [ fhir:value "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:ElementDefinition.min [ fhir:value "1" ];fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.type [ fhir:index 0;fhir:ElementDefinition.code [ fhir:value "BackboneElement" ]; fhir:ElementDefinition.profile [fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/example-section-library"; fhir:index 0; fhir:link <http://hl7.org/fhir/StructureDefinition/example-section-library>; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element" ];fhir:Extension.value [ fhir:value "Composition.section:procedure" ]fhir:Extension.valueString [ fhir:value "Composition.section:procedure" ] ] ] ] ], [ fhir:index 3; fhir:Element.id [ fhir:value "Composition.section:medications" ]; fhir:ElementDefinition.path [ fhir:value "Composition.section" ]; fhir:ElementDefinition.sliceName [ fhir:value "medications" ];fhir:ElementDefinition.min [ fhir:value "1" ];fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.type [ fhir:index 0;fhir:ElementDefinition.code [ fhir:value "BackboneElement" ]; fhir:ElementDefinition.profile [fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/example-section-library"; fhir:index 0; fhir:link <http://hl7.org/fhir/StructureDefinition/example-section-library>; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element" ];fhir:Extension.value [ fhir:value "Composition.section:medications" ]fhir:Extension.valueString [ fhir:value "Composition.section:medications" ] ] ] ] ], [ fhir:index 4; fhir:Element.id [ fhir:value "Composition.section:plan" ]; fhir:ElementDefinition.path [ fhir:value "Composition.section" ]; fhir:ElementDefinition.sliceName [ fhir:value "plan" ];fhir:ElementDefinition.min [ fhir:value "0" ];fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.type [ fhir:index 0;fhir:ElementDefinition.code [ fhir:value "BackboneElement" ]; fhir:ElementDefinition.profile [fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]; fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/example-section-library"; fhir:index 0; fhir:link <http://hl7.org/fhir/StructureDefinition/example-section-library>; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element" ];fhir:Extension.value [ fhir:value "Composition.section:plan" ]fhir:Extension.valueString [ fhir:value "Composition.section:plan" ] ] ] ] ]] .]] . # - 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-ballot
generated
on
Sat,
May
28,
Sep
10,
2022
12:57+1000.
05:06+1000.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Glossary
|
QA
Page
|
Compare
to
R4
R4B
|
Compare
to
R5
Draft
|
|
Propose
a
change