Graviditetsmappen FHIR model
0.1.0 - ci-build Denmark flag

Graviditetsmappen FHIR model, published by Example Publisher. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/trifork/gm-fhir-ig/ and changes regularly. See the Directory of published versions

Resource Profile: GMNikotinObs

Official URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMNikotinObs Version: 0.1.0
Draft as of 2025-08-25 Computable Name: GMNikotinObs

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation C 0..* GMModelElement Measurements and simple assertions
Constraints: obs-6, obs-7
... id Σ 1..1 id Logical id of this artifact
... Slices for extension Content/Rules for all slices
.... extension:GMModelElementReference 0..1 Reference(Resource) {r} Model element reference
URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMModelElementReference
.... extension:GMModelElementReference/AndetNikotinprodukt 0..1 (Complex) Model element reference
URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMModelElementReference
..... extension 0..0
..... url 1..1 uri "http://sundhedsdatastyrelsen.dk/StructureDefinition/GMModelElementReference"
..... value[x] 1..1 Reference(GMAndetNikotinproduktObs) {r} Value of extension
... status ?!Σ 1..1 code registered | preliminary | final | amended +
Binding: ObservationStatus (required): Codes providing the status of an observation.
Required Pattern: final
.... extension 0..0
.... coding Σ 1..1 Coding Code defined by a terminology system
..... extension 0..0
..... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
..... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 647981000005104
... subject Σ 1..1 Reference(Danish Core Patient Profile) Who and/or what the observation is about
... effective[x] Σ 1..1 dateTime Clinically relevant time/time-period for observation
... Slices for component Σ 0..3 BackboneElement Component results
Slice: Unordered, Open by value:code
.... component:All Slices Content/Rules for all slices
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
..... value[x] Σ 1..1 Actual component result
...... valueQuantity Quantity
...... valueCodeableConcept CodeableConcept
...... valueString string
...... valueBoolean boolean
...... valueInteger integer
...... valueRange Range
...... valueRatio Ratio
...... valueSampledData SampledData
...... valueTime time
...... valueDateTime dateTime
...... valuePeriod Period
.... component:andet-nikotinforbrug-før-graviditet Σ 0..1 BackboneElement Component results
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 598091000005102
..... value[x] Σ 1..1 boolean Actual component result
.... component:bruger-nikotinprodukt-under-graviditet Σ 0..1 BackboneElement Component results
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 598221000005106
..... value[x] Σ 1..1 CodeableConcept Actual component result
Binding: AndetNikotinproduktUnderGravditet Value Set (required)
.... component:dato-ophør-andet-nikotinprodukt Σ 0..1 BackboneElement Component results
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 598261000005102
..... value[x] Σ 1..1 dateTime Actual component result

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Observation.statusrequiredPattern Value: final
http://hl7.org/fhir/ValueSet/observation-status|4.0.1
From the FHIR Standard
Observation.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component:andet-nikotinforbrug-før-graviditet.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component:bruger-nikotinprodukt-under-graviditet.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component:bruger-nikotinprodukt-under-graviditet.value[x]requiredVS_andet_nikotinprodukt_under_gravditet
http://sundhedsdatastyrelsen.dk/ValueSet/VS-andet-nikotinprodukt-under-gravditet
From this IG
Observation.component:dato-ophør-andet-nikotinprodukt.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorObservationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorObservationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorObservationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorObservationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceObservationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
obs-6errorObservationdataAbsentReason SHALL only be present if Observation.value[x] is not present
: dataAbsentReason.empty() or value.empty()
obs-7errorObservationIf Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present
: value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()

This structure is derived from GMModelElement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation 0..* GMModelElement Measurements and simple assertions
... Slices for extension Content/Rules for all slices
.... extension:GMModelElementReference 0..1 GMModelElementReference Model element reference
.... extension:GMModelElementReference/AndetNikotinprodukt 0..1 GMModelElementReference Model element reference
..... value[x] 1..1 Reference(GMAndetNikotinproduktObs) {r} Value of extension
... code
.... coding
..... code 1..1 code Symbol in syntax defined by the system
Required Pattern: 647981000005104
... Slices for component 0..3 BackboneElement Component results
Slice: Unordered, Open by value:code
.... component:andet-nikotinforbrug-før-graviditet 0..1 BackboneElement Component results
..... code
...... coding
....... code 1..1 code Symbol in syntax defined by the system
Required Pattern: 598091000005102
..... value[x] 1..1 boolean Actual component result
.... component:bruger-nikotinprodukt-under-graviditet 0..1 BackboneElement Component results
..... code
...... coding
....... code 1..1 code Symbol in syntax defined by the system
Required Pattern: 598221000005106
..... value[x] 1..1 CodeableConcept Actual component result
Binding: AndetNikotinproduktUnderGravditet Value Set (required)
.... component:dato-ophør-andet-nikotinprodukt 0..1 BackboneElement Component results
..... code
...... coding
....... code 1..1 code Symbol in syntax defined by the system
Required Pattern: 598261000005102
..... value[x] 1..1 dateTime Actual component result

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Observation.component:bruger-nikotinprodukt-under-graviditet.value[x]requiredVS_andet_nikotinprodukt_under_gravditet
http://sundhedsdatastyrelsen.dk/ValueSet/VS-andet-nikotinprodukt-under-gravditet
From this IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation C 0..* GMModelElement Measurements and simple assertions
Constraints: obs-6, obs-7
... id Σ 1..1 id Logical id of this artifact
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:GMModelElementReference 0..1 Reference(Resource) {r} Model element reference
URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMModelElementReference
.... extension:GMModelElementReference/AndetNikotinprodukt 0..1 (Complex) Model element reference
URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMModelElementReference
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://sundhedsdatastyrelsen.dk/StructureDefinition/GMModelElementReference"
..... value[x] 1..1 Reference(GMAndetNikotinproduktObs) {r} Value of extension
... status ?!Σ 1..1 code registered | preliminary | final | amended +
Binding: ObservationStatus (required): Codes providing the status of an observation.
Required Pattern: final
.... extension 0..0
.... coding Σ 1..1 Coding Code defined by a terminology system
..... extension 0..0
..... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
..... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 647981000005104
..... display Σ 0..1 string Representation defined by the system
... subject Σ 1..1 Reference(Danish Core Patient Profile) Who and/or what the observation is about
... effective[x] Σ 1..1 dateTime Clinically relevant time/time-period for observation
... Slices for component Σ 0..3 BackboneElement Component results
Slice: Unordered, Open by value:code
.... component:All Slices Content/Rules for all slices
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
..... value[x] Σ 1..1 Actual component result
...... valueQuantity Quantity
...... valueCodeableConcept CodeableConcept
...... valueString string
...... valueBoolean boolean
...... valueInteger integer
...... valueRange Range
...... valueRatio Ratio
...... valueSampledData SampledData
...... valueTime time
...... valueDateTime dateTime
...... valuePeriod Period
.... component:andet-nikotinforbrug-før-graviditet Σ 0..1 BackboneElement Component results
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 598091000005102
....... display Σ 0..1 string Representation defined by the system
..... value[x] Σ 1..1 boolean Actual component result
.... component:bruger-nikotinprodukt-under-graviditet Σ 0..1 BackboneElement Component results
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 598221000005106
....... display Σ 0..1 string Representation defined by the system
..... value[x] Σ 1..1 CodeableConcept Actual component result
Binding: AndetNikotinproduktUnderGravditet Value Set (required)
.... component:dato-ophør-andet-nikotinprodukt Σ 0..1 BackboneElement Component results
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 598261000005102
....... display Σ 0..1 string Representation defined by the system
..... value[x] Σ 1..1 dateTime Actual component result

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Observation.statusrequiredPattern Value: final
http://hl7.org/fhir/ValueSet/observation-status|4.0.1
From the FHIR Standard
Observation.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.referenceRange.typepreferredObservationReferenceRangeMeaningCodes
http://hl7.org/fhir/ValueSet/referencerange-meaning
From the FHIR Standard
Observation.referenceRange.appliesToexampleObservationReferenceRangeAppliesToCodes
http://hl7.org/fhir/ValueSet/referencerange-appliesto
From the FHIR Standard
Observation.component.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component:andet-nikotinforbrug-før-graviditet.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component:bruger-nikotinprodukt-under-graviditet.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component:bruger-nikotinprodukt-under-graviditet.value[x]requiredVS_andet_nikotinprodukt_under_gravditet
http://sundhedsdatastyrelsen.dk/ValueSet/VS-andet-nikotinprodukt-under-gravditet
From this IG
Observation.component:dato-ophør-andet-nikotinprodukt.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorObservationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorObservationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorObservationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorObservationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceObservationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
obs-6errorObservationdataAbsentReason SHALL only be present if Observation.value[x] is not present
: dataAbsentReason.empty() or value.empty()
obs-7errorObservationIf Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present
: value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()

This structure is derived from GMModelElement

Summary

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Observation.component

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation C 0..* GMModelElement Measurements and simple assertions
Constraints: obs-6, obs-7
... id Σ 1..1 id Logical id of this artifact
... Slices for extension Content/Rules for all slices
.... extension:GMModelElementReference 0..1 Reference(Resource) {r} Model element reference
URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMModelElementReference
.... extension:GMModelElementReference/AndetNikotinprodukt 0..1 (Complex) Model element reference
URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMModelElementReference
..... extension 0..0
..... url 1..1 uri "http://sundhedsdatastyrelsen.dk/StructureDefinition/GMModelElementReference"
..... value[x] 1..1 Reference(GMAndetNikotinproduktObs) {r} Value of extension
... status ?!Σ 1..1 code registered | preliminary | final | amended +
Binding: ObservationStatus (required): Codes providing the status of an observation.
Required Pattern: final
.... extension 0..0
.... coding Σ 1..1 Coding Code defined by a terminology system
..... extension 0..0
..... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
..... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 647981000005104
... subject Σ 1..1 Reference(Danish Core Patient Profile) Who and/or what the observation is about
... effective[x] Σ 1..1 dateTime Clinically relevant time/time-period for observation
... Slices for component Σ 0..3 BackboneElement Component results
Slice: Unordered, Open by value:code
.... component:All Slices Content/Rules for all slices
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
..... value[x] Σ 1..1 Actual component result
...... valueQuantity Quantity
...... valueCodeableConcept CodeableConcept
...... valueString string
...... valueBoolean boolean
...... valueInteger integer
...... valueRange Range
...... valueRatio Ratio
...... valueSampledData SampledData
...... valueTime time
...... valueDateTime dateTime
...... valuePeriod Period
.... component:andet-nikotinforbrug-før-graviditet Σ 0..1 BackboneElement Component results
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 598091000005102
..... value[x] Σ 1..1 boolean Actual component result
.... component:bruger-nikotinprodukt-under-graviditet Σ 0..1 BackboneElement Component results
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 598221000005106
..... value[x] Σ 1..1 CodeableConcept Actual component result
Binding: AndetNikotinproduktUnderGravditet Value Set (required)
.... component:dato-ophør-andet-nikotinprodukt Σ 0..1 BackboneElement Component results
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 598261000005102
..... value[x] Σ 1..1 dateTime Actual component result

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Observation.statusrequiredPattern Value: final
http://hl7.org/fhir/ValueSet/observation-status|4.0.1
From the FHIR Standard
Observation.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component:andet-nikotinforbrug-før-graviditet.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component:bruger-nikotinprodukt-under-graviditet.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component:bruger-nikotinprodukt-under-graviditet.value[x]requiredVS_andet_nikotinprodukt_under_gravditet
http://sundhedsdatastyrelsen.dk/ValueSet/VS-andet-nikotinprodukt-under-gravditet
From this IG
Observation.component:dato-ophør-andet-nikotinprodukt.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorObservationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorObservationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorObservationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorObservationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceObservationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
obs-6errorObservationdataAbsentReason SHALL only be present if Observation.value[x] is not present
: dataAbsentReason.empty() or value.empty()
obs-7errorObservationIf Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present
: value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()

Differential View

This structure is derived from GMModelElement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation 0..* GMModelElement Measurements and simple assertions
... Slices for extension Content/Rules for all slices
.... extension:GMModelElementReference 0..1 GMModelElementReference Model element reference
.... extension:GMModelElementReference/AndetNikotinprodukt 0..1 GMModelElementReference Model element reference
..... value[x] 1..1 Reference(GMAndetNikotinproduktObs) {r} Value of extension
... code
.... coding
..... code 1..1 code Symbol in syntax defined by the system
Required Pattern: 647981000005104
... Slices for component 0..3 BackboneElement Component results
Slice: Unordered, Open by value:code
.... component:andet-nikotinforbrug-før-graviditet 0..1 BackboneElement Component results
..... code
...... coding
....... code 1..1 code Symbol in syntax defined by the system
Required Pattern: 598091000005102
..... value[x] 1..1 boolean Actual component result
.... component:bruger-nikotinprodukt-under-graviditet 0..1 BackboneElement Component results
..... code
...... coding
....... code 1..1 code Symbol in syntax defined by the system
Required Pattern: 598221000005106
..... value[x] 1..1 CodeableConcept Actual component result
Binding: AndetNikotinproduktUnderGravditet Value Set (required)
.... component:dato-ophør-andet-nikotinprodukt 0..1 BackboneElement Component results
..... code
...... coding
....... code 1..1 code Symbol in syntax defined by the system
Required Pattern: 598261000005102
..... value[x] 1..1 dateTime Actual component result

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Observation.component:bruger-nikotinprodukt-under-graviditet.value[x]requiredVS_andet_nikotinprodukt_under_gravditet
http://sundhedsdatastyrelsen.dk/ValueSet/VS-andet-nikotinprodukt-under-gravditet
From this IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation C 0..* GMModelElement Measurements and simple assertions
Constraints: obs-6, obs-7
... id Σ 1..1 id Logical id of this artifact
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:GMModelElementReference 0..1 Reference(Resource) {r} Model element reference
URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMModelElementReference
.... extension:GMModelElementReference/AndetNikotinprodukt 0..1 (Complex) Model element reference
URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMModelElementReference
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://sundhedsdatastyrelsen.dk/StructureDefinition/GMModelElementReference"
..... value[x] 1..1 Reference(GMAndetNikotinproduktObs) {r} Value of extension
... status ?!Σ 1..1 code registered | preliminary | final | amended +
Binding: ObservationStatus (required): Codes providing the status of an observation.
Required Pattern: final
.... extension 0..0
.... coding Σ 1..1 Coding Code defined by a terminology system
..... extension 0..0
..... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
..... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 647981000005104
..... display Σ 0..1 string Representation defined by the system
... subject Σ 1..1 Reference(Danish Core Patient Profile) Who and/or what the observation is about
... effective[x] Σ 1..1 dateTime Clinically relevant time/time-period for observation
... Slices for component Σ 0..3 BackboneElement Component results
Slice: Unordered, Open by value:code
.... component:All Slices Content/Rules for all slices
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
..... value[x] Σ 1..1 Actual component result
...... valueQuantity Quantity
...... valueCodeableConcept CodeableConcept
...... valueString string
...... valueBoolean boolean
...... valueInteger integer
...... valueRange Range
...... valueRatio Ratio
...... valueSampledData SampledData
...... valueTime time
...... valueDateTime dateTime
...... valuePeriod Period
.... component:andet-nikotinforbrug-før-graviditet Σ 0..1 BackboneElement Component results
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 598091000005102
....... display Σ 0..1 string Representation defined by the system
..... value[x] Σ 1..1 boolean Actual component result
.... component:bruger-nikotinprodukt-under-graviditet Σ 0..1 BackboneElement Component results
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 598221000005106
....... display Σ 0..1 string Representation defined by the system
..... value[x] Σ 1..1 CodeableConcept Actual component result
Binding: AndetNikotinproduktUnderGravditet Value Set (required)
.... component:dato-ophør-andet-nikotinprodukt Σ 0..1 BackboneElement Component results
..... code Σ 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
...... extension 0..0
...... coding Σ 1..1 Coding Code defined by a terminology system
....... extension 0..0
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct|http://snomed.info/sct/554471000005108
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: 598261000005102
....... display Σ 0..1 string Representation defined by the system
..... value[x] Σ 1..1 dateTime Actual component result

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Observation.statusrequiredPattern Value: final
http://hl7.org/fhir/ValueSet/observation-status|4.0.1
From the FHIR Standard
Observation.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.referenceRange.typepreferredObservationReferenceRangeMeaningCodes
http://hl7.org/fhir/ValueSet/referencerange-meaning
From the FHIR Standard
Observation.referenceRange.appliesToexampleObservationReferenceRangeAppliesToCodes
http://hl7.org/fhir/ValueSet/referencerange-appliesto
From the FHIR Standard
Observation.component.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component:andet-nikotinforbrug-før-graviditet.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component:bruger-nikotinprodukt-under-graviditet.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard
Observation.component:bruger-nikotinprodukt-under-graviditet.value[x]requiredVS_andet_nikotinprodukt_under_gravditet
http://sundhedsdatastyrelsen.dk/ValueSet/VS-andet-nikotinprodukt-under-gravditet
From this IG
Observation.component:dato-ophør-andet-nikotinprodukt.codeexampleLOINCCodes(a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorObservationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorObservationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorObservationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorObservationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceObservationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
obs-6errorObservationdataAbsentReason SHALL only be present if Observation.value[x] is not present
: dataAbsentReason.empty() or value.empty()
obs-7errorObservationIf Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present
: value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()

This structure is derived from GMModelElement

Summary

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Observation.component

 

Other representations of profile: CSV, Excel, Schematron