This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> . # - resource ------------------------------------------------------------------- [] a fhir:StructureDefinition; fhir:Resource.id [ fhir:value "example-composition"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/example-composition"]; 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.kind [ fhir:value "resource"]; fhir:StructureDefinition.abstract [ fhir:value "false"]; 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" ]; fhir:ElementDefinition.ordered [ fhir:value "true" ]; fhir:ElementDefinition.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.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "BackboneElement" ]; fhir:ElementDefinition.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/example-section-library"; fhir:index 0; 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: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.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "BackboneElement" ]; fhir:ElementDefinition.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/example-section-library"; fhir:index 0; 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: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.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "BackboneElement" ]; fhir:ElementDefinition.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/example-section-library"; fhir:index 0; 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" ] ] ] ] ] ] . # -------------------------------------------------------------------------------------
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.