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: GMFetusRelatedPerson

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

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
.. RelatedPerson 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
... id Σ 1..1 id Logical id of this artifact
... identifier Σ 1..1 Identifier A human identifier for this person
.... extension 0..0
.... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: 1.2.208.184.100.4
.... value Σ 1..1 string The value that is unique
Example General: 123456
... patient Σ 1..1 Reference(Danish Core Patient Profile) The patient this person is related to
.... 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://terminology.hl7.org/CodeSystem/v3-RoleCode
..... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: CHILD

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
RelatedPerson.relationshippreferredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype
From the FHIR Standard
RelatedPerson.communication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorRelatedPersonIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorRelatedPersonIf 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-4errorRelatedPersonIf 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-5errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceRelatedPersonA 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()

This structure is derived from RelatedPerson

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RelatedPerson RelatedPerson
... id 1..1 id Logical id of this artifact
... meta 0..0
... implicitRules 0..0
... text 0..0
... contained 0..0
... extension 0..0
... modifierExtension 0..0
... identifier 1..1 Identifier A human identifier for this person
.... id 0..0
.... extension 0..0
.... use 0..0
.... type 0..0
.... system 1..1 uri The namespace for the identifier value
Required Pattern: 1.2.208.184.100.4
.... value 1..1 string The value that is unique
.... period 0..0
.... assigner 0..0
... active 0..0
... patient 1..1 Reference(Danish Core Patient Profile) The patient this person is related to
... relationship 1..1 CodeableConcept The nature of the relationship
.... id 0..0
.... extension 0..0
.... coding 1..1 Coding Code defined by a terminology system
..... id 0..0
..... extension 0..0
..... system 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode
..... version 0..0
..... code 1..1 code Symbol in syntax defined by the system
Required Pattern: CHILD
..... userSelected 0..0
.... text 0..0
... name 0..0
... telecom 0..0
... gender 0..0
... birthDate 0..0
... address 0..0
... photo 0..0
... period 0..0
... communication 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RelatedPerson 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
... id Σ 1..1 id Logical id of this artifact
... identifier Σ 1..1 Identifier A human identifier for this person
.... extension 0..0
.... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: 1.2.208.184.100.4
.... value Σ 1..1 string The value that is unique
Example General: 123456
... patient Σ 1..1 Reference(Danish Core Patient Profile) The patient this person is related to
.... 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://terminology.hl7.org/CodeSystem/v3-RoleCode
..... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: CHILD
..... display Σ 0..1 string Representation defined by the system

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
RelatedPerson.relationshippreferredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype
From the FHIR Standard
RelatedPerson.communication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorRelatedPersonIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorRelatedPersonIf 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-4errorRelatedPersonIf 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-5errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceRelatedPersonA 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()

This structure is derived from RelatedPerson

Summary

Mandatory: 8 elements
Prohibited: 29 elements

Structures

This structure refers to these other structures:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RelatedPerson 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
... id Σ 1..1 id Logical id of this artifact
... identifier Σ 1..1 Identifier A human identifier for this person
.... extension 0..0
.... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: 1.2.208.184.100.4
.... value Σ 1..1 string The value that is unique
Example General: 123456
... patient Σ 1..1 Reference(Danish Core Patient Profile) The patient this person is related to
.... 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://terminology.hl7.org/CodeSystem/v3-RoleCode
..... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: CHILD

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
RelatedPerson.relationshippreferredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype
From the FHIR Standard
RelatedPerson.communication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorRelatedPersonIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorRelatedPersonIf 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-4errorRelatedPersonIf 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-5errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceRelatedPersonA 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()

Differential View

This structure is derived from RelatedPerson

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RelatedPerson RelatedPerson
... id 1..1 id Logical id of this artifact
... meta 0..0
... implicitRules 0..0
... text 0..0
... contained 0..0
... extension 0..0
... modifierExtension 0..0
... identifier 1..1 Identifier A human identifier for this person
.... id 0..0
.... extension 0..0
.... use 0..0
.... type 0..0
.... system 1..1 uri The namespace for the identifier value
Required Pattern: 1.2.208.184.100.4
.... value 1..1 string The value that is unique
.... period 0..0
.... assigner 0..0
... active 0..0
... patient 1..1 Reference(Danish Core Patient Profile) The patient this person is related to
... relationship 1..1 CodeableConcept The nature of the relationship
.... id 0..0
.... extension 0..0
.... coding 1..1 Coding Code defined by a terminology system
..... id 0..0
..... extension 0..0
..... system 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode
..... version 0..0
..... code 1..1 code Symbol in syntax defined by the system
Required Pattern: CHILD
..... userSelected 0..0
.... text 0..0
... name 0..0
... telecom 0..0
... gender 0..0
... birthDate 0..0
... address 0..0
... photo 0..0
... period 0..0
... communication 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RelatedPerson 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
... id Σ 1..1 id Logical id of this artifact
... identifier Σ 1..1 Identifier A human identifier for this person
.... extension 0..0
.... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: 1.2.208.184.100.4
.... value Σ 1..1 string The value that is unique
Example General: 123456
... patient Σ 1..1 Reference(Danish Core Patient Profile) The patient this person is related to
.... 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://terminology.hl7.org/CodeSystem/v3-RoleCode
..... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: CHILD
..... display Σ 0..1 string Representation defined by the system

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
RelatedPerson.relationshippreferredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype
From the FHIR Standard
RelatedPerson.communication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorRelatedPersonIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorRelatedPersonIf 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-4errorRelatedPersonIf 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-5errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceRelatedPersonA 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()

This structure is derived from RelatedPerson

Summary

Mandatory: 8 elements
Prohibited: 29 elements

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron