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 JSON ( canonical form + also see JSON Format Specification )
Example showing how to use Section Level Profiles
{
"resourceType": "StructureDefinition",
"id": "example-composition",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example-composition</p><p><b>url</b>: <b>http://hl7.org/fhir/StructureDefinition/example-composition</b></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>: 05/11/2018 5:47:00 PM</p><p><b>kind</b>: complex-type</p><p><b>abstract</b>: false</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>"
},
"url": "http://hl7.org/fhir/StructureDefinition/example-composition",
"name": "DocumentStructure",
"title": "Document Structure (For testing section templates)",
"status": "active",
"experimental": false,
"date": "2018-11-05T17:47:00+11:00",
"kind": "complex-type",
"abstract": false,
"type": "Composition",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Composition",
"path": "Composition"
},
{
"id": "Composition.section",
"path": "Composition.section",
"slicing": {
"discriminator": [
{
"type": "pattern",
"path": "code"
}
],
"description": "Slice by .section.code",
"ordered": true,
"rules": "closed"
}
},
{
"id": "Composition.section:procedure",
"path": "Composition.section",
"sliceName": "procedure",
"min": 1,
"type": [
{
"code": "BackboneElement",
"profile": [
"http://hl7.org/fhir/StructureDefinition/document-section-library"
],
"_profile": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element",
"valueString": "Composition.section:procedure"
}
]
}
]
}
]
},
{
"id": "Composition.section:medications",
"path": "Composition.section",
"sliceName": "medications",
"min": 1,
"type": [
{
"code": "BackboneElement",
"profile": [
"http://hl7.org/fhir/StructureDefinition/document-section-library"
],
"_profile": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element",
"valueString": "Composition.section:medications"
}
]
}
]
}
]
},
{
"id": "Composition.section:plan",
"path": "Composition.section",
"sliceName": "plan",
"min": 0,
"type": [
{
"code": "BackboneElement",
"profile": [
"http://hl7.org/fhir/StructureDefinition/document-section-library"
],
"_profile": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element",
"valueString": "Composition.section:plan"
}
]
}
]
}
]
"resourceType" : "StructureDefinition",
"id" : "example-composition",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/example-composition",
"identifier" : [{
"system" : "urn:ietf:rfc:3986",
"value" : "urn:oid:2.16.840.1.113883.4.642.5.1040"
}],
"name" : "DocumentStructure",
"title" : "Document Structure (For testing section templates)",
"status" : "active",
"experimental" : false,
"date" : "2018-11-05T17:47:00+11:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}]
}],
"description" : "Document Structure (For testing section templates)",
"kind" : "resource",
"abstract" : false,
"type" : "Composition",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Composition",
"derivation" : "constraint",
"differential" : {
"element" : [{
"id" : "Composition",
"path" : "Composition"
},
{
"id" : "Composition.section",
"path" : "Composition.section",
"slicing" : {
"discriminator" : [{
"type" : "pattern",
"path" : "code"
}],
"description" : "Slice by .section.code",
"ordered" : true,
"rules" : "closed"
}
]
},
{
"id" : "Composition.section:procedure",
"path" : "Composition.section",
"sliceName" : "procedure",
"min" : 1,
"type" : [{
"code" : "BackboneElement",
"profile" : ["http://hl7.org/fhir/StructureDefinition/example-section-library"],
"_profile" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element",
"valueString" : "Composition.section:procedure"
}]
}]
}]
},
{
"id" : "Composition.section:medications",
"path" : "Composition.section",
"sliceName" : "medications",
"min" : 1,
"type" : [{
"code" : "BackboneElement",
"profile" : ["http://hl7.org/fhir/StructureDefinition/example-section-library"],
"_profile" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element",
"valueString" : "Composition.section:medications"
}]
}]
}]
},
{
"id" : "Composition.section:plan",
"path" : "Composition.section",
"sliceName" : "plan",
"min" : 0,
"type" : [{
"code" : "BackboneElement",
"profile" : ["http://hl7.org/fhir/StructureDefinition/example-section-library"],
"_profile" : [{
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element",
"valueString" : "Composition.section:plan"
}]
}]
}]
}]
}
}
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