Profile Comparison between http://hl7.dk/fhir/core/StructureDefinition/dk-core-encounter vs http://hl7.dk/fhir/core/StructureDefinition/dk-core-encounter

Left:Danish Core Encounter Profile (http://hl7.dk/fhir/core/StructureDefinition/dk-core-encounter)
Right:Danish Core Encounter Profile (http://hl7.dk/fhir/core/StructureDefinition/dk-core-encounter)

Messages

ErrorStructureDefinition.versionValues for version differ: '3.7.0' vs '3.8.0'
InformationStructureDefinition.statusValues for status differ: 'active' vs 'draft'
InformationStructureDefinition.dateValues for date differ: '2026-05-30T15:15:22+02:00' vs '2026-11-07T14:25:48+00:00'

Metadata

NameValueComments
abstractfalse
    baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Encounter
      copyright
        date2026-05-30T15:15:22+02:002026-11-07T14:25:48+00:00
        • Values Differ
        descriptionHL7 Denmark core profile for an encounter
          experimental
            fhirVersion4.0.1
              jurisdiction
                jurisdiction / jurisdiction[0]urn:iso:std:iso:3166#DK
                  kindresource
                    nameDkCoreEncounter
                      publisherHL7 Denmark
                        purpose
                          statusactivedraft
                          • Values Differ
                          titleDanish Core Encounter Profile
                            typeEncounter
                              urlhttp://hl7.dk/fhir/core/StructureDefinition/dk-core-encounter
                                version3.7.03.8.0
                                • Values Differ

                                Structure

                                NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                Encounter 0..*EncounterAn interaction during which services are provided to the patient
                                0..*EncounterAn interaction during which services are provided to the patient
                                  Encounter.id This element is included in summaries. 0..1idLogical id of this artifact This element is included in summaries. 0..1idLogical id of this artifact
                                    Encounter.meta This element is included in summaries. 0..1MetaMetadata about the resource This element is included in summaries. 0..1MetaMetadata about the resource
                                      Encounter.implicitRules This element is a modifier element. This element is included in summaries. 0..1uriA set of rules under which this content was created This element is a modifier element. This element is included in summaries. 0..1uriA set of rules under which this content was created
                                        Encounter.language 0..1codeLanguage of the resource content
                                        Binding: ?? (preferred): A human language.
                                        Additional BindingsPurpose
                                        ??Max Binding
                                        0..1codeLanguage of the resource content
                                        Binding: ?? (preferred): A human language.
                                        Additional BindingsPurpose
                                        ??Max Binding
                                          Encounter.text 0..1NarrativeText summary of the resource, for human interpretation
                                          This profile does not constrain the narrative in regard to content, language, or traceability to data elements
                                          0..1NarrativeText summary of the resource, for human interpretation
                                          This profile does not constrain the narrative in regard to content, language, or traceability to data elements
                                            Encounter.contained 0..*ResourceContained, inline Resources
                                            0..*ResourceContained, inline Resources
                                              Encounter.Slices for extension 0..*ExtensionExtension
                                              Slice: Unordered, Open by value:url
                                              0..*ExtensionExtension
                                              Slice: Unordered, Open by value:url
                                                Encounter.modifierExtension This element is a modifier element. 0..*ExtensionExtensions that cannot be ignored
                                                This element is a modifier element. 0..*ExtensionExtensions that cannot be ignored
                                                  Encounter.identifier This element is included in summaries. 0..*IdentifierIdentifier(s) by which this encounter is known
                                                  This element is included in summaries. 0..*IdentifierIdentifier(s) by which this encounter is known
                                                    Encounter.status This element is a modifier element. This element is included in summaries. 1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
                                                    Binding: ?? (required): Current state of the encounter.
                                                    This element is a modifier element. This element is included in summaries. 1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
                                                    Binding: ?? (required): Current state of the encounter.
                                                      Encounter.statusHistory 0..*BackboneElementList of past encounter statuses
                                                      0..*BackboneElementList of past encounter statuses
                                                        Encounter.statusHistory.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                          Encounter.statusHistory.extension 0..*ExtensionAdditional content defined by implementations
                                                          0..*ExtensionAdditional content defined by implementations
                                                            Encounter.statusHistory.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                            This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                              Encounter.statusHistory.status 1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
                                                              Binding: ?? (required): Current state of the encounter.
                                                              1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
                                                              Binding: ?? (required): Current state of the encounter.
                                                                Encounter.statusHistory.period 1..1PeriodThe time that the episode was in the specified status1..1PeriodThe time that the episode was in the specified status
                                                                  Encounter.class This element is included in summaries. 1..1CodingClassification of patient encounter
                                                                  Binding: ?? (extensible): Classification of the encounter.
                                                                  This element is included in summaries. 1..1CodingClassification of patient encounter
                                                                  Binding: ?? (extensible): Classification of the encounter.
                                                                    Encounter.classHistory 0..*BackboneElementList of past encounter classes
                                                                    0..*BackboneElementList of past encounter classes
                                                                      Encounter.classHistory.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                        Encounter.classHistory.extension 0..*ExtensionAdditional content defined by implementations
                                                                        0..*ExtensionAdditional content defined by implementations
                                                                          Encounter.classHistory.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                          This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                            Encounter.classHistory.class 1..1Codinginpatient | outpatient | ambulatory | emergency +
                                                                            Binding: ?? (extensible): Classification of the encounter.
                                                                            1..1Codinginpatient | outpatient | ambulatory | emergency +
                                                                            Binding: ?? (extensible): Classification of the encounter.
                                                                              Encounter.classHistory.period 1..1PeriodThe time that the episode was in the specified class1..1PeriodThe time that the episode was in the specified class
                                                                                Encounter.type This element is included in summaries. 0..*CodeableConceptSpecific type of encounter
                                                                                Binding: ?? (example): The type of encounter.
                                                                                This element is included in summaries. 0..*CodeableConceptSpecific type of encounter
                                                                                Binding: ?? (example): The type of encounter.
                                                                                  Encounter.serviceType This element is included in summaries. 0..1CodeableConceptSpecific type of service
                                                                                  Binding: ?? (example): Broad categorization of the service that is to be provided.
                                                                                  This element is included in summaries. 0..1CodeableConceptSpecific type of service
                                                                                  Binding: ?? (example): Broad categorization of the service that is to be provided.
                                                                                    Encounter.priority 0..1CodeableConceptIndicates the urgency of the encounter
                                                                                    Binding: ?? (extensible)
                                                                                    0..1CodeableConceptIndicates the urgency of the encounter
                                                                                    Binding: ?? (extensible)
                                                                                      Encounter.subject This element is included in summaries. 0..1Reference(Danish Core Patient Profile)The patient or group present at the encounter This element is included in summaries. 0..1Reference(Danish Core Patient Profile)The patient or group present at the encounter
                                                                                        Encounter.episodeOfCare This element is included in summaries. 0..*Reference(EpisodeOfCare)Episode(s) of care that this encounter should be recorded against
                                                                                        This element is included in summaries. 0..*Reference(EpisodeOfCare)Episode(s) of care that this encounter should be recorded against
                                                                                          Encounter.basedOn 0..*Reference(ServiceRequest)The ServiceRequest that initiated this encounter
                                                                                          0..*Reference(ServiceRequest)The ServiceRequest that initiated this encounter
                                                                                            Encounter.participant This element is included in summaries. 0..*BackboneElementList of participants involved in the encounter
                                                                                            This element is included in summaries. 0..*BackboneElementList of participants involved in the encounter
                                                                                              Encounter.participant.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                Encounter.participant.extension 0..*ExtensionAdditional content defined by implementations
                                                                                                0..*ExtensionAdditional content defined by implementations
                                                                                                  Encounter.participant.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                  This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                    Encounter.participant.type This element is included in summaries. 0..*CodeableConceptRole of participant in encounter
                                                                                                    Binding: ?? (extensible): Role of participant in encounter.
                                                                                                    This element is included in summaries. 0..*CodeableConceptRole of participant in encounter
                                                                                                    Binding: ?? (extensible): Role of participant in encounter.
                                                                                                      Encounter.participant.period 0..1PeriodPeriod of time during the encounter that the participant participated0..1PeriodPeriod of time during the encounter that the participant participated
                                                                                                        Encounter.participant.individual This element is included in summaries. 0..1Reference(Practitioner | PractitionerRole | RelatedPerson)Persons involved in the encounter other than the patient This element is included in summaries. 0..1Reference(Practitioner | PractitionerRole | RelatedPerson)Persons involved in the encounter other than the patient
                                                                                                          Encounter.appointment This element is included in summaries. 0..*Reference(Appointment)The appointment that scheduled this encounter
                                                                                                          This element is included in summaries. 0..*Reference(Appointment)The appointment that scheduled this encounter
                                                                                                            Encounter.period 0..1PeriodThe start and end time of the encounter0..1PeriodThe start and end time of the encounter
                                                                                                              Encounter.length 0..1DurationQuantity of time the encounter lasted (less time absent)0..1DurationQuantity of time the encounter lasted (less time absent)
                                                                                                                Encounter.reasonCode This element is included in summaries. 0..*CodeableConceptCoded reason the encounter takes place
                                                                                                                Binding: ?? (preferred): Reason why the encounter takes place.
                                                                                                                This element is included in summaries. 0..*CodeableConceptCoded reason the encounter takes place
                                                                                                                Binding: ?? (preferred): Reason why the encounter takes place.
                                                                                                                  Encounter.reasonReference This element is included in summaries. 0..*Reference(Condition | Procedure | Observation | ImmunizationRecommendation)Reason the encounter takes place (reference)
                                                                                                                  This element is included in summaries. 0..*Reference(Condition | Procedure | Observation | ImmunizationRecommendation)Reason the encounter takes place (reference)
                                                                                                                    Encounter.diagnosis This element is included in summaries. 0..*BackboneElementThe list of diagnosis relevant to this encounter
                                                                                                                    This element is included in summaries. 0..*BackboneElementThe list of diagnosis relevant to this encounter
                                                                                                                      Encounter.diagnosis.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                        Encounter.diagnosis.extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                        0..*ExtensionAdditional content defined by implementations
                                                                                                                          Encounter.diagnosis.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                          This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                            Encounter.diagnosis.condition This element is included in summaries. 1..1Reference(Condition | Procedure)The diagnosis or procedure relevant to the encounter This element is included in summaries. 1..1Reference(Condition | Procedure)The diagnosis or procedure relevant to the encounter
                                                                                                                              Encounter.diagnosis.use 0..1CodeableConceptRole that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
                                                                                                                              Binding: ?? (preferred): The type of diagnosis this condition represents.
                                                                                                                              0..1CodeableConceptRole that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
                                                                                                                              Binding: ?? (preferred): The type of diagnosis this condition represents.
                                                                                                                                Encounter.diagnosis.rank 0..1positiveIntRanking of the diagnosis (for each role type)0..1positiveIntRanking of the diagnosis (for each role type)
                                                                                                                                  Encounter.account 0..*Reference(Account)The set of accounts that may be used for billing for this Encounter
                                                                                                                                  0..*Reference(Account)The set of accounts that may be used for billing for this Encounter
                                                                                                                                    Encounter.hospitalization 0..1BackboneElementDetails about the admission to a healthcare service0..1BackboneElementDetails about the admission to a healthcare service
                                                                                                                                      Encounter.hospitalization.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                        Encounter.hospitalization.extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                        0..*ExtensionAdditional content defined by implementations
                                                                                                                                          Encounter.hospitalization.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                          This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                            Encounter.hospitalization.preAdmissionIdentifier 0..1IdentifierPre-admission identifier0..1IdentifierPre-admission identifier
                                                                                                                                              Encounter.hospitalization.origin 0..1Reference(Location | Organization)The location/organization from which the patient came before admission0..1Reference(Location | Organization)The location/organization from which the patient came before admission
                                                                                                                                                Encounter.hospitalization.admitSource 0..1CodeableConceptFrom where patient was admitted (physician referral, transfer)
                                                                                                                                                Binding: ?? (preferred): From where the patient was admitted.
                                                                                                                                                0..1CodeableConceptFrom where patient was admitted (physician referral, transfer)
                                                                                                                                                Binding: ?? (preferred): From where the patient was admitted.
                                                                                                                                                  Encounter.hospitalization.reAdmission 0..1CodeableConceptThe type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission
                                                                                                                                                  Binding: ?? (example): The reason for re-admission of this hospitalization encounter.
                                                                                                                                                  0..1CodeableConceptThe type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission
                                                                                                                                                  Binding: ?? (example): The reason for re-admission of this hospitalization encounter.
                                                                                                                                                    Encounter.hospitalization.dietPreference 0..*CodeableConceptDiet preferences reported by the patient
                                                                                                                                                    Binding: ?? (example): Medical, cultural or ethical food preferences to help with catering requirements.
                                                                                                                                                    0..*CodeableConceptDiet preferences reported by the patient
                                                                                                                                                    Binding: ?? (example): Medical, cultural or ethical food preferences to help with catering requirements.
                                                                                                                                                      Encounter.hospitalization.specialCourtesy 0..*CodeableConceptSpecial courtesies (VIP, board member)
                                                                                                                                                      Binding: ?? (preferred): Special courtesies.
                                                                                                                                                      0..*CodeableConceptSpecial courtesies (VIP, board member)
                                                                                                                                                      Binding: ?? (preferred): Special courtesies.
                                                                                                                                                        Encounter.hospitalization.specialArrangement 0..*CodeableConceptWheelchair, translator, stretcher, etc.
                                                                                                                                                        Binding: ?? (preferred): Special arrangements.
                                                                                                                                                        0..*CodeableConceptWheelchair, translator, stretcher, etc.
                                                                                                                                                        Binding: ?? (preferred): Special arrangements.
                                                                                                                                                          Encounter.hospitalization.destination 0..1Reference(Location | Organization)Location/organization to which the patient is discharged0..1Reference(Location | Organization)Location/organization to which the patient is discharged
                                                                                                                                                            Encounter.hospitalization.dischargeDisposition 0..1CodeableConceptCategory or kind of location after discharge
                                                                                                                                                            Binding: ?? (example): Discharge Disposition.
                                                                                                                                                            0..1CodeableConceptCategory or kind of location after discharge
                                                                                                                                                            Binding: ?? (example): Discharge Disposition.
                                                                                                                                                              Encounter.location 0..*BackboneElementList of locations where the patient has been
                                                                                                                                                              0..*BackboneElementList of locations where the patient has been
                                                                                                                                                                Encounter.location.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                                                  Encounter.location.extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                                                  0..*ExtensionAdditional content defined by implementations
                                                                                                                                                                    Encounter.location.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                                                    This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                                                      Encounter.location.location 1..1Reference(Location)Location the encounter takes place1..1Reference(Location)Location the encounter takes place
                                                                                                                                                                        Encounter.location.status 0..1codeplanned | active | reserved | completed
                                                                                                                                                                        Binding: ?? (required): The status of the location.
                                                                                                                                                                        0..1codeplanned | active | reserved | completed
                                                                                                                                                                        Binding: ?? (required): The status of the location.
                                                                                                                                                                          Encounter.location.physicalType 0..1CodeableConceptThe physical type of the location (usually the level in the location hierachy - bed room ward etc.)
                                                                                                                                                                          Binding: ?? (example): Physical form of the location.
                                                                                                                                                                          0..1CodeableConceptThe physical type of the location (usually the level in the location hierachy - bed room ward etc.)
                                                                                                                                                                          Binding: ?? (example): Physical form of the location.
                                                                                                                                                                            Encounter.location.period 0..1PeriodTime period during which the patient was present at the location0..1PeriodTime period during which the patient was present at the location
                                                                                                                                                                              Encounter.serviceProvider 0..1Reference(Danish Core Organization Profile)The organization (facility) responsible for this encounter0..1Reference(Danish Core Organization Profile)The organization (facility) responsible for this encounter
                                                                                                                                                                                Encounter.partOf 0..1Reference(Encounter)Another Encounter this encounter is part of0..1Reference(Encounter)Another Encounter this encounter is part of

                                                                                                                                                                                  doco Documentation for this format