Graviditetsmappen FHIR model
0.1.0 - ci-build
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
Official URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMPSCRComposition | Version: 0.1.0 | |||
Draft as of 2025-08-25 | Computable Name: GMPSCRComposition |
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | GMDocumentComposition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | Identifier | Pregnancy identifier URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMGraditetsforloebReference | |
![]() ![]() ![]() ![]() |
0..* | Identifier | External pregnancy identifier URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMEksternGraditetsforloebReference | |
![]() ![]() ![]() ![]() |
0..1 | dateTime | Clinically relevant time URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMUdfoertTidspunkt | |
![]() ![]() ![]() |
?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition. Required Pattern: final |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: FHIRDocumentTypeCodes (preferred): Type of a composition. |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.184.100.1 |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system Required Pattern: PSCR |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Danish Core Patient Profile) | Who and/or what the composition is about |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | Composition editing time |
![]() ![]() ![]() |
Σ | 1..1 | Reference(GMBaseOrganization) | Who and/or what authored the composition |
![]() ![]() ![]() |
Σ | 1..1 | string | Human Readable name/title Required Pattern: Vandrejournal |
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Composition is broken into sections Constraints: cmp-1, cmp-2 |
![]() ![]() ![]() ![]() |
C | 1..16 | Reference(Resource) | A reference to data that supports this section Slice: Unordered, Open by type:$this.resource |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMAlkoholObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMErhvervsmaessigTilknytningObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMFoedestedObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMJordemodercenterObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMKostObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMMotionObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMNikotinObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMOplysningerOmPartnerObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMResumeObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMRusmidlerObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMSamletVurderingObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMSundhedsplejenObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMTerminsberegningObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMTobakObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMUddannelsesniveauObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMYdelseObs) | A reference to data that supports this section |
![]() |
Path | Conformance | ValueSet / Code | URI |
Composition.status | required | Pattern Value: finalhttp://hl7.org/fhir/ValueSet/composition-status|4.0.1 From the FHIR Standard | |
Composition.type | preferred | FHIRDocumentTypeCodeshttp://hl7.org/fhir/ValueSet/doc-typecodes From the FHIR Standard | |
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1 From the FHIR Standard | |
Composition.relatesTo.code | required | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cmp-1 | error | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
dom-2 | error | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Composition | If 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-4 | error | Composition | If 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-5 | error | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Composition | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from GMDocumentComposition
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | GMDocumentComposition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Required Pattern: PSCR | |
![]() ![]() ![]() |
1..1 | string | Human Readable name/title Required Pattern: Vandrejournal | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
1..16 | Reference(Resource) | A reference to data that supports this section Slice: Unordered, Open by type:$this.resource | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMAlkoholObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMErhvervsmaessigTilknytningObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMFoedestedObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMJordemodercenterObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMKostObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMMotionObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMNikotinObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMOplysningerOmPartnerObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMResumeObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMRusmidlerObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMSamletVurderingObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMSundhedsplejenObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMTerminsberegningObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMTobakObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMUddannelsesniveauObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMYdelseObs) | A reference to data that supports this section | |
![]() |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | GMDocumentComposition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | Identifier | Pregnancy identifier URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMGraditetsforloebReference | |
![]() ![]() ![]() ![]() |
0..* | Identifier | External pregnancy identifier URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMEksternGraditetsforloebReference | |
![]() ![]() ![]() ![]() |
0..1 | dateTime | Clinically relevant time URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMUdfoertTidspunkt | |
![]() ![]() ![]() |
?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition. Required Pattern: final |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: FHIRDocumentTypeCodes (preferred): Type of a composition. |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.184.100.1 |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system Required Pattern: PSCR |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Danish Core Patient Profile) | Who and/or what the composition is about |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | Composition editing time |
![]() ![]() ![]() |
Σ | 1..1 | Reference(GMBaseOrganization) | Who and/or what authored the composition |
![]() ![]() ![]() |
Σ | 1..1 | string | Human Readable name/title Required Pattern: Vandrejournal |
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Composition is broken into sections Constraints: cmp-1, cmp-2 |
![]() ![]() ![]() ![]() |
C | 1..16 | Reference(Resource) | A reference to data that supports this section Slice: Unordered, Open by type:$this.resource |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMAlkoholObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMErhvervsmaessigTilknytningObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMFoedestedObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMJordemodercenterObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMKostObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMMotionObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMNikotinObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMOplysningerOmPartnerObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMResumeObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMRusmidlerObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMSamletVurderingObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMSundhedsplejenObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMTerminsberegningObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMTobakObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMUddannelsesniveauObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMYdelseObs) | A reference to data that supports this section |
![]() |
Path | Conformance | ValueSet / Code | URI |
Composition.status | required | Pattern Value: finalhttp://hl7.org/fhir/ValueSet/composition-status|4.0.1 From the FHIR Standard | |
Composition.type | preferred | FHIRDocumentTypeCodeshttp://hl7.org/fhir/ValueSet/doc-typecodes From the FHIR Standard | |
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1 From the FHIR Standard | |
Composition.relatesTo.code | required | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1 From the FHIR Standard | |
Composition.event.code | example | ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode |
Id | Grade | Path(s) | Details | Requirements |
cmp-1 | error | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
dom-2 | error | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Composition | If 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-4 | error | Composition | If 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-5 | error | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Composition | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from GMDocumentComposition
Summary
Mandatory: 1 element
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | GMDocumentComposition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | Identifier | Pregnancy identifier URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMGraditetsforloebReference | |
![]() ![]() ![]() ![]() |
0..* | Identifier | External pregnancy identifier URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMEksternGraditetsforloebReference | |
![]() ![]() ![]() ![]() |
0..1 | dateTime | Clinically relevant time URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMUdfoertTidspunkt | |
![]() ![]() ![]() |
?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition. Required Pattern: final |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: FHIRDocumentTypeCodes (preferred): Type of a composition. |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.184.100.1 |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system Required Pattern: PSCR |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Danish Core Patient Profile) | Who and/or what the composition is about |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | Composition editing time |
![]() ![]() ![]() |
Σ | 1..1 | Reference(GMBaseOrganization) | Who and/or what authored the composition |
![]() ![]() ![]() |
Σ | 1..1 | string | Human Readable name/title Required Pattern: Vandrejournal |
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Composition is broken into sections Constraints: cmp-1, cmp-2 |
![]() ![]() ![]() ![]() |
C | 1..16 | Reference(Resource) | A reference to data that supports this section Slice: Unordered, Open by type:$this.resource |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMAlkoholObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMErhvervsmaessigTilknytningObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMFoedestedObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMJordemodercenterObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMKostObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMMotionObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMNikotinObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMOplysningerOmPartnerObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMResumeObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMRusmidlerObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMSamletVurderingObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMSundhedsplejenObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMTerminsberegningObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMTobakObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMUddannelsesniveauObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMYdelseObs) | A reference to data that supports this section |
![]() |
Path | Conformance | ValueSet / Code | URI |
Composition.status | required | Pattern Value: finalhttp://hl7.org/fhir/ValueSet/composition-status|4.0.1 From the FHIR Standard | |
Composition.type | preferred | FHIRDocumentTypeCodeshttp://hl7.org/fhir/ValueSet/doc-typecodes From the FHIR Standard | |
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1 From the FHIR Standard | |
Composition.relatesTo.code | required | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cmp-1 | error | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
dom-2 | error | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Composition | If 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-4 | error | Composition | If 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-5 | error | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Composition | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Differential View
This structure is derived from GMDocumentComposition
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | GMDocumentComposition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Required Pattern: PSCR | |
![]() ![]() ![]() |
1..1 | string | Human Readable name/title Required Pattern: Vandrejournal | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
1..16 | Reference(Resource) | A reference to data that supports this section Slice: Unordered, Open by type:$this.resource | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMAlkoholObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMErhvervsmaessigTilknytningObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMFoedestedObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMJordemodercenterObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMKostObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMMotionObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMNikotinObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMOplysningerOmPartnerObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMResumeObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMRusmidlerObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMSamletVurderingObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMSundhedsplejenObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMTerminsberegningObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMTobakObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMUddannelsesniveauObs) | A reference to data that supports this section | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(GMYdelseObs) | A reference to data that supports this section | |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | GMDocumentComposition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | Identifier | Pregnancy identifier URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMGraditetsforloebReference | |
![]() ![]() ![]() ![]() |
0..* | Identifier | External pregnancy identifier URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMEksternGraditetsforloebReference | |
![]() ![]() ![]() ![]() |
0..1 | dateTime | Clinically relevant time URL: http://sundhedsdatastyrelsen.dk/StructureDefinition/GMUdfoertTidspunkt | |
![]() ![]() ![]() |
?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition. Required Pattern: final |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: FHIRDocumentTypeCodes (preferred): Type of a composition. |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.184.100.1 |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system Required Pattern: PSCR |
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Danish Core Patient Profile) | Who and/or what the composition is about |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | Composition editing time |
![]() ![]() ![]() |
Σ | 1..1 | Reference(GMBaseOrganization) | Who and/or what authored the composition |
![]() ![]() ![]() |
Σ | 1..1 | string | Human Readable name/title Required Pattern: Vandrejournal |
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Composition is broken into sections Constraints: cmp-1, cmp-2 |
![]() ![]() ![]() ![]() |
C | 1..16 | Reference(Resource) | A reference to data that supports this section Slice: Unordered, Open by type:$this.resource |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMAlkoholObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMErhvervsmaessigTilknytningObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMFoedestedObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMJordemodercenterObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMKostObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMMotionObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMNikotinObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMOplysningerOmPartnerObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMResumeObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMRusmidlerObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMSamletVurderingObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMSundhedsplejenObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMTerminsberegningObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMTobakObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMUddannelsesniveauObs) | A reference to data that supports this section |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Reference(GMYdelseObs) | A reference to data that supports this section |
![]() |
Path | Conformance | ValueSet / Code | URI |
Composition.status | required | Pattern Value: finalhttp://hl7.org/fhir/ValueSet/composition-status|4.0.1 From the FHIR Standard | |
Composition.type | preferred | FHIRDocumentTypeCodeshttp://hl7.org/fhir/ValueSet/doc-typecodes From the FHIR Standard | |
Composition.attester.mode | required | CompositionAttestationModehttp://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1 From the FHIR Standard | |
Composition.relatesTo.code | required | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1 From the FHIR Standard | |
Composition.event.code | example | ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode |
Id | Grade | Path(s) | Details | Requirements |
cmp-1 | error | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
dom-2 | error | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Composition | If 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-4 | error | Composition | If 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-5 | error | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Composition | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from GMDocumentComposition
Summary
Mandatory: 1 element
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron