This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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)
StructureDefinition for resource
@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 "Resource"]; fhir:Resource.meta [ fhir:Meta.lastUpdated [ fhir:value "2022-09-07T10:58:29.429+10:00" ] ]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:DomainResource.extension [ fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ]; fhir:Extension.value [ fhir:value "normative" ] ], [ fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" ]; fhir:Extension.value [ fhir:value "4.0.0" ] ], [ fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ]; fhir:Extension.value [ fhir:value "5" ] ], [ fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ]; fhir:Extension.value [ fhir:value "fhir" ] ]; fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource"]; fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"]; fhir:CanonicalResource.name [ fhir:value "Resource"]; fhir:CanonicalResource.status [ fhir:value "active"]; fhir:CanonicalResource.experimental [ fhir:value "false"]; fhir:CanonicalResource.date [ fhir:value "2022-09-07T10:58:29+10:00"]; fhir:CanonicalResource.publisher [ fhir:value "Health Level Seven International (FHIR Infrastructure)"]; fhir:CanonicalResource.contact [ fhir:ContactDetail.telecom [ fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ] ] ], [ fhir:ContactDetail.telecom [ fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/fiwg/index.cfm" ] ] ]; fhir:CanonicalResource.description [ fhir:value "This is the base resource type for everything."]; fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource"]; fhir:StructureDefinition.version [ fhir:value "5.0.0-ballot"]; fhir:StructureDefinition.name [ fhir:value "Resource"]; fhir:StructureDefinition.status [ fhir:value "active"]; fhir:StructureDefinition.experimental [ fhir:value "false"]; fhir:StructureDefinition.date [ fhir:value "2022-09-07T10:58:29+10:00"]; fhir:StructureDefinition.publisher [ fhir:value "Health Level Seven International (FHIR Infrastructure)"]; fhir:StructureDefinition.contact [ fhir:ContactDetail.telecom [ fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ] ] ], [ fhir:ContactDetail.telecom [ fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/fiwg/index.cfm" ] ] ]; fhir:StructureDefinition.description [ fhir:value "This is the base resource type for everything."]; fhir:StructureDefinition.fhirVersion [ fhir:value "5.0.0-ballot"]; fhir:StructureDefinition.mapping [ fhir:StructureDefinitionMappingComponent.identity [ fhir:value "rim" ]; fhir:StructureDefinitionMappingComponent.uri [ fhir:value "http://hl7.org/v3" ]; fhir:StructureDefinitionMappingComponent.name [ fhir:value "RIM Mapping" ] ]; fhir:StructureDefinition.kind [ fhir:value "resource"]; fhir:StructureDefinition.abstract [ fhir:value "true"]; fhir:StructureDefinition.type [ fhir:value "Resource"]; fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/Base"]; fhir:StructureDefinition.derivation [ fhir:value "specialization"]; fhir:StructureDefinition.snapshot [ fhir:StructureDefinitionSnapshotComponent.element [ fhir:Element.id [ fhir:value "Resource" ]; fhir:ElementDefinition.path [ fhir:value "Resource" ]; fhir:ElementDefinition.short [ fhir:value "Base Resource" ]; fhir:ElementDefinition.definition [ fhir:value "This is the base resource type for everything." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinitionBaseComponent.path [ fhir:value "Resource" ]; fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ]; fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "false" ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ]; fhir:ElementDefinitionMappingComponent.map [ fhir:value "n/a" ] ], [ fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ]; fhir:ElementDefinitionMappingComponent.map [ fhir:value "Entity. Role, or Act" ] ] ], [ fhir:Element.id [ fhir:value "Resource.id" ]; fhir:ElementDefinition.path [ fhir:value "Resource.id" ]; fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ]; fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ]; fhir:ElementDefinition.comment [ fhir:value "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinitionBaseComponent.path [ fhir:value "Resource.id" ]; fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ]; fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:Element.extension [ fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ]; fhir:Extension.value [ fhir:value "id" ] ]; fhir:TypeRefComponent.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "false" ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ fhir:Element.id [ fhir:value "Resource.meta" ]; fhir:ElementDefinition.path [ fhir:value "Resource.meta" ]; fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ]; fhir:ElementDefinition.definition [ fhir:value "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinitionBaseComponent.path [ fhir:value "Resource.meta" ]; fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ]; fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:TypeRefComponent.code [ fhir:value "Meta" ] ]; fhir:ElementDefinition.constraint [ fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ]; fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ]; fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "false" ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ fhir:Element.id [ fhir:value "Resource.implicitRules" ]; fhir:ElementDefinition.path [ fhir:value "Resource.implicitRules" ]; fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ]; fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ]; fhir:ElementDefinition.comment [ fhir:value "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinitionBaseComponent.path [ fhir:value "Resource.implicitRules" ]; fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ]; fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:TypeRefComponent.code [ fhir:value "uri" ] ]; fhir:ElementDefinition.constraint [ fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ]; fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ]; fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "false" ]; fhir:ElementDefinition.isModifier [ fhir:value "true" ]; fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ fhir:Element.id [ fhir:value "Resource.language" ]; fhir:ElementDefinition.path [ fhir:value "Resource.language" ]; fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ]; fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ]; fhir:ElementDefinition.comment [ fhir:value "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinitionBaseComponent.path [ fhir:value "Resource.language" ]; fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ]; fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:TypeRefComponent.code [ fhir:value "code" ] ]; fhir:ElementDefinition.constraint [ fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ]; fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ]; fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "false" ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ]; fhir:Extension.value [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ] ], [ fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "Language" ] ], [ fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.value [ fhir:value "true" ] ]; fhir:ElementDefinitionBindingComponent.strength [ fhir:value "preferred" ]; fhir:ElementDefinitionBindingComponent.description [ fhir:value "IETF language tag" ]; fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/languages" ] ] ] ]; fhir:StructureDefinition.differential [ fhir:StructureDefinitionDifferentialComponent.element [ fhir:Element.id [ fhir:value "Resource" ]; fhir:ElementDefinition.path [ fhir:value "Resource" ]; fhir:ElementDefinition.short [ fhir:value "Base Resource" ]; fhir:ElementDefinition.definition [ fhir:value "This is the base resource type for everything." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.mustSupport [ fhir:value "false" ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ]; fhir:ElementDefinitionMappingComponent.map [ fhir:value "Entity. Role, or Act" ] ] ], [ fhir:Element.id [ fhir:value "Resource.id" ]; fhir:ElementDefinition.path [ fhir:value "Resource.id" ]; fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ]; fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ]; fhir:ElementDefinition.comment [ fhir:value "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:Element.extension [ fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ]; fhir:Extension.value [ fhir:value "id" ] ]; fhir:TypeRefComponent.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "false" ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ fhir:Element.id [ fhir:value "Resource.meta" ]; fhir:ElementDefinition.path [ fhir:value "Resource.meta" ]; fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ]; fhir:ElementDefinition.definition [ fhir:value "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:TypeRefComponent.code [ fhir:value "Meta" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "false" ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ fhir:Element.id [ fhir:value "Resource.implicitRules" ]; fhir:ElementDefinition.path [ fhir:value "Resource.implicitRules" ]; fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ]; fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ]; fhir:ElementDefinition.comment [ fhir:value "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:TypeRefComponent.code [ fhir:value "uri" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "false" ]; fhir:ElementDefinition.isModifier [ fhir:value "true" ]; fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ fhir:Element.id [ fhir:value "Resource.language" ]; fhir:ElementDefinition.path [ fhir:value "Resource.language" ]; fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ]; fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ]; fhir:ElementDefinition.comment [ fhir:value "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:TypeRefComponent.code [ fhir:value "code" ] ]; fhir:ElementDefinition.mustSupport [ fhir:value "false" ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ]; fhir:Extension.value [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ] ], [ fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "Language" ] ], [ fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.value [ fhir:value "true" ] ]; fhir:ElementDefinitionBindingComponent.strength [ fhir:value "preferred" ]; fhir:ElementDefinitionBindingComponent.description [ fhir:value "IETF language tag" ]; fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/languages" ] ] ] ] . # -------------------------------------------------------------------------------------
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.