Profile Comparison between http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter vs http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter

Left:MedComHospitalNotificationEncounter (http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter)
Right:MedComHospitalNotificationEncounter (http://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter)

Messages

ErrorStructureDefinition.versionValues for version differ: '2.0.0' vs '3.0.0'
InformationStructureDefinition.dateValues for date differ: '2022-10-05T22:16:11+02:00' vs '2023-01-05T14:02:31+01:00'
WarningEncounter.extensionElements differ in short: 'Additional content defined by implementations' vs 'Extension'
WarningEncounter.extensionElements differ in definition: 'May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.' vs 'An Extension'
WarningEncounter.episodeOfCareElements differ in definition: 'Shall contain an episode of care identifier for the entire hospitalization' vs 'Shall contain an episode of care identifier for the entire hospitalisation'
WarningEncounter.periodElements differ in definition: 'The start and end time of the encounter. For notification of hospitalization an start interval is always known as the notification of adminssion is trigged by the arrival of a patient. There a period will always exist as the notification of admission always starts the communication flow. Please that the encounter.period values always referes to the encounter start and end. The period of the leave of absence is not part of the notification of hospitalization FHIR resource .' vs 'The start and end time of the encounter. For notification of hospitalisation an start interval is always known as the notification of adminssion is trigged by the arrival of a patient. There a period will always exist as the notification of admission always starts the communication flow. Please that the encounter.period values always referes to the encounter start and end. The period of the leave of absence is not part of the notification of hospitalization FHIR resource .'
WarningEncounter.period.startElements differ in short: 'Starting time with inclusive boundary' vs 'Encounter start time.'
WarningEncounter.period.startElements differ in definition: 'Encounter Starting time. For the notificationOfHospitalization a starting time is the timestamp that is registered by the hospital at patient physical arrival at the ward or emergency department.' vs 'In HospitalNotification a start time is the timestamp that is registered by the hospital at patient physical attendance at the hospital.'
WarningEncounter.period.endElements differ in short: 'End time with inclusive boundary, if not ongoing' vs 'Encounter end time.'
WarningEncounter.period.endElements differ in definition: 'The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.' vs 'In HospitalNotification a end time is the timestamp that is registered by the hospital when the patient leaves the hospital after discharge.'
WarningEncounter.period.endElements differ in definition for mustSupport: 'false' vs 'true'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-encounter
      .copyright
        .date2022-10-05T22:16:11+02:002023-01-05T14:02:31+01:00
        • Values Differ
        .descriptionEncounter derivation that handles hospital notification when a patient is admitted to a hospital. The hospital notification is always send from a hospital. The receiver of the message is the patients home municipalicy. The hospital notification is send for example when patient is admitted, on leave, returned from leave, finished hospital stay.
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#DK
                  .kindresource
                    .nameMedComHospitalNotificationEncounter
                      .publisherMedCom
                        .purpose
                          .statusactive
                            .title
                              .typeEncounter
                                .urlhttp://medcomfhir.dk/ig/hospitalnotification/StructureDefinition/medcom-hospitalNotification-encounter
                                  .version2.0.03.0.0
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                                  .. Encounter 0..*MedComCoreEncounterAn interaction during which services are provided to the patient
                                  C0..*MedComCoreEncounterAn interaction during which services are provided to the patient
                                  medcom-hospitalNotification-6: When the status = 'onleave', the timestamp for beginning of a leave (extension.valuePeriod.start) shall be present.
                                    ... id Σ0..1idLogical id of this artifactΣ0..1idLogical id of this artifact
                                      ... meta Σ0..1MetaMetadata about the resourceΣ0..1MetaMetadata about the resource
                                        ... implicitRules ?!Σ0..1uriA set of rules under which this content was created?!Σ0..1uriA set of rules under which this content was created
                                          ... language 0..1codeLanguage of the resource content
                                          Binding: CommonLanguages (preferred): A human language.

                                          Additional BindingsPurpose
                                          AllLanguagesMax Binding
                                          0..1codeLanguage of the resource content
                                          Binding: CommonLanguages (preferred): A human language.

                                          Additional BindingsPurpose
                                          AllLanguagesMax Binding
                                            ... text 0..1NarrativeText summary of the resource, for human interpretation0..1NarrativeText summary of the resource, for human interpretation
                                              ... contained 0..*ResourceContained, inline Resources
                                              0..*ResourceContained, inline Resources
                                                ... extension 0..*ExtensionAdditional content defined by implementations
                                                0..*ExtensionExtension
                                                Slice: Unordered, Open by value:url
                                                • Elements differ in short: 'Additional content defined by implementations' vs 'Extension'
                                                • Elements differ in definition: 'May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.' vs 'An Extension'
                                                ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                                ?!0..*ExtensionExtensions that cannot be ignored
                                                  ... identifier Σ0..*IdentifierIdentifier(s) by which this encounter is known
                                                  Σ0..*IdentifierIdentifier(s) by which this encounter is known
                                                    ... status ?!SΣ1..1codein-progress | onleave | finished | entered-in-error
                                                    Binding: MedComHospitalNotificationEncounterStatus (required)
                                                    ?!SΣ1..1codein-progress | onleave | finished | entered-in-error
                                                    Binding: MedComHospitalNotificationEncounterStatusCodes (required)
                                                      ... statusHistory 0..*BackboneElementList of past encounter statuses
                                                      0..*BackboneElementList of past encounter statuses
                                                        .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                          .... extension 0..*ExtensionAdditional content defined by implementations
                                                          0..*ExtensionAdditional content defined by implementations
                                                            .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                            ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                              .... status 1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
                                                              Binding: EncounterStatus (required): Current state of the encounter.

                                                              1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
                                                              Binding: EncounterStatus (required): Current state of the encounter.

                                                                .... period 1..1PeriodThe time that the episode was in the specified status1..1PeriodThe time that the episode was in the specified status
                                                                  ... class SΣ1..1Codinginpatient | emergency | other
                                                                  Binding: MedComHospitalNotificationEncounterClass (required)
                                                                  SΣ1..1Codinginpatient | emergency | other
                                                                  Binding: MedComHospitalNotificationEncounterClassCodes (required)
                                                                    ... classHistory 0..*BackboneElementList of past encounter classes
                                                                    0..*BackboneElementList of past encounter classes
                                                                      .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                        .... extension 0..*ExtensionAdditional content defined by implementations
                                                                        0..*ExtensionAdditional content defined by implementations
                                                                          .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                          ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                            .... class 1..1Codinginpatient | outpatient | ambulatory | emergency +
                                                                            Binding: ActEncounterCode (extensible): Classification of the encounter.

                                                                            1..1Codinginpatient | outpatient | ambulatory | emergency +
                                                                            Binding: ActEncounterCode (extensible): Classification of the encounter.

                                                                              .... period 1..1PeriodThe time that the episode was in the specified class1..1PeriodThe time that the episode was in the specified class
                                                                                ... type Σ0..0Σ0..0
                                                                                  ... serviceType Σ0..0Σ0..0
                                                                                    ... priority 0..00..0
                                                                                      ... subject SΣ1..1Reference(MedComCorePatient) {b}The patient or group present at the encounterSΣ1..1Reference(MedComCorePatient) {b}The patient or group present at the encounter
                                                                                        ... Slices for episodeOfCare SΣ1..*Reference(EpisodeOfCare)Episode(s) of care that this encounter should be recorded against
                                                                                        Slice: Unordered, Open by value:identifier.system
                                                                                        SΣ1..*Reference(EpisodeOfCare)Episode(s) of care that this encounter should be recorded against
                                                                                        Slice: Unordered, Open by value:identifier.system
                                                                                        • Elements differ in definition: 'Shall contain an episode of care identifier for the entire hospitalization' vs 'Shall contain an episode of care identifier for the entire hospitalisation'
                                                                                        .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                          .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                                          Slice: Unordered, Open by value:url
                                                                                          0..*ExtensionAdditional content defined by implementations
                                                                                          Slice: Unordered, Open by value:url
                                                                                            .... reference ΣC0..0ΣC0..0
                                                                                              .... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                              Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                              Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                              Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                                                .... identifier SΣ1..1IdentifierLogical reference, when literal reference is not knownSΣ1..1IdentifierLogical reference, when literal reference is not known
                                                                                                  .... display Σ0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                                                                    ... basedOn 0..00..0
                                                                                                      ... participant Σ0..0Σ0..0
                                                                                                        .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                          .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                          0..*ExtensionAdditional content defined by implementations
                                                                                                            .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                            ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                              .... type Σ0..*CodeableConceptRole of participant in encounter
                                                                                                              Binding: ParticipantType (extensible): Role of participant in encounter.


                                                                                                              Σ0..*CodeableConceptRole of participant in encounter
                                                                                                              Binding: ParticipantType (extensible): Role of participant in encounter.


                                                                                                                .... period 0..1PeriodPeriod of time during the encounter that the participant participated0..1PeriodPeriod of time during the encounter that the participant participated
                                                                                                                  .... individual Σ0..1Reference(Practitioner | PractitionerRole | RelatedPerson)Persons involved in the encounter other than the patientΣ0..1Reference(Practitioner | PractitionerRole | RelatedPerson)Persons involved in the encounter other than the patient
                                                                                                                    ... appointment Σ0..0Σ0..0
                                                                                                                      ... period S1..1PeriodThe start and end time of the encounterS1..1PeriodThe start and end time of the encounter
                                                                                                                      • Elements differ in definition: 'The start and end time of the encounter. For notification of hospitalization an start interval is always known as the notification of adminssion is trigged by the arrival of a patient. There a period will always exist as the notification of admission always starts the communication flow. Please that the encounter.period values always referes to the encounter start and end. The period of the leave of absence is not part of the notification of hospitalization FHIR resource .' vs 'The start and end time of the encounter. For notification of hospitalisation an start interval is always known as the notification of adminssion is trigged by the arrival of a patient. There a period will always exist as the notification of admission always starts the communication flow. Please that the encounter.period values always referes to the encounter start and end. The period of the leave of absence is not part of the notification of hospitalization FHIR resource .'
                                                                                                                      .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                        .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                        Slice: Unordered, Open by value:url
                                                                                                                        0..*ExtensionAdditional content defined by implementations
                                                                                                                        Slice: Unordered, Open by value:url
                                                                                                                          .... start SΣC1..1dateTimeStarting time with inclusive boundarySΣC1..1dateTimeEncounter start time.
                                                                                                                          • Elements differ in short: 'Starting time with inclusive boundary' vs 'Encounter start time.'
                                                                                                                          • Elements differ in definition: 'Encounter Starting time. For the notificationOfHospitalization a starting time is the timestamp that is registered by the hospital at patient physical arrival at the ward or emergency department.' vs 'In HospitalNotification a start time is the timestamp that is registered by the hospital at patient physical attendance at the hospital.'
                                                                                                                          .... end ΣC0..1dateTimeEnd time with inclusive boundary, if not ongoingSΣC0..1dateTimeEncounter end time.
                                                                                                                          • Elements differ in short: 'End time with inclusive boundary, if not ongoing' vs 'Encounter end time.'
                                                                                                                          • Elements differ in definition: 'The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.' vs 'In HospitalNotification a end time is the timestamp that is registered by the hospital when the patient leaves the hospital after discharge.'
                                                                                                                          • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                                                                                          ... length 0..00..0
                                                                                                                            ... reasonCode Σ0..0Σ0..0
                                                                                                                              ... reasonReference Σ0..0Σ0..0
                                                                                                                                ... diagnosis Σ0..0Σ0..0
                                                                                                                                  .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                    .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                    0..*ExtensionAdditional content defined by implementations
                                                                                                                                      .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                      ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                        .... condition Σ1..1Reference(Condition | Procedure)The diagnosis or procedure relevant to the encounterΣ1..1Reference(Condition | Procedure)The diagnosis or procedure relevant to the encounter
                                                                                                                                          .... use 0..1CodeableConceptRole that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
                                                                                                                                          Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.

                                                                                                                                          0..1CodeableConceptRole that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
                                                                                                                                          Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.

                                                                                                                                            .... rank 0..1positiveIntRanking of the diagnosis (for each role type)0..1positiveIntRanking of the diagnosis (for each role type)
                                                                                                                                              ... account 0..00..0
                                                                                                                                                ... hospitalization 0..00..0
                                                                                                                                                  .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                                    .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                                    0..*ExtensionAdditional content defined by implementations
                                                                                                                                                      .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                                      ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                                        .... preAdmissionIdentifier 0..1IdentifierPre-admission identifier0..1IdentifierPre-admission identifier
                                                                                                                                                          .... 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
                                                                                                                                                            .... admitSource 0..1CodeableConceptFrom where patient was admitted (physician referral, transfer)
                                                                                                                                                            Binding: AdmitSource (preferred): From where the patient was admitted.

                                                                                                                                                            0..1CodeableConceptFrom where patient was admitted (physician referral, transfer)
                                                                                                                                                            Binding: AdmitSource (preferred): From where the patient was admitted.

                                                                                                                                                              .... 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: Hl7VSReAdmissionIndicator (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: hl7VS-re-admissionIndicator (example): The reason for re-admission of this hospitalization encounter.

                                                                                                                                                                .... dietPreference 0..*CodeableConceptDiet preferences reported by the patient
                                                                                                                                                                Binding: Diet (example): Medical, cultural or ethical food preferences to help with catering requirements.


                                                                                                                                                                0..*CodeableConceptDiet preferences reported by the patient
                                                                                                                                                                Binding: Diet (example): Medical, cultural or ethical food preferences to help with catering requirements.


                                                                                                                                                                  .... specialCourtesy 0..*CodeableConceptSpecial courtesies (VIP, board member)
                                                                                                                                                                  Binding: SpecialCourtesy (preferred): Special courtesies.


                                                                                                                                                                  0..*CodeableConceptSpecial courtesies (VIP, board member)
                                                                                                                                                                  Binding: SpecialCourtesy (preferred): Special courtesies.


                                                                                                                                                                    .... specialArrangement 0..*CodeableConceptWheelchair, translator, stretcher, etc.
                                                                                                                                                                    Binding: SpecialArrangements (preferred): Special arrangements.


                                                                                                                                                                    0..*CodeableConceptWheelchair, translator, stretcher, etc.
                                                                                                                                                                    Binding: SpecialArrangements (preferred): Special arrangements.


                                                                                                                                                                      .... destination 0..1Reference(Location | Organization)Location/organization to which the patient is discharged0..1Reference(Location | Organization)Location/organization to which the patient is discharged
                                                                                                                                                                        .... dischargeDisposition 0..1CodeableConceptCategory or kind of location after discharge
                                                                                                                                                                        Binding: DischargeDisposition (example): Discharge Disposition.

                                                                                                                                                                        0..1CodeableConceptCategory or kind of location after discharge
                                                                                                                                                                        Binding: DischargeDisposition (example): Discharge Disposition.

                                                                                                                                                                          ... location 0..00..0
                                                                                                                                                                            .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                                                              .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                                                              0..*ExtensionAdditional content defined by implementations
                                                                                                                                                                                .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                                                                ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                                                                  .... location 1..1Reference(Location)Location the encounter takes place1..1Reference(Location)Location the encounter takes place
                                                                                                                                                                                    .... status 0..1codeplanned | active | reserved | completed
                                                                                                                                                                                    Binding: EncounterLocationStatus (required): The status of the location.

                                                                                                                                                                                    0..1codeplanned | active | reserved | completed
                                                                                                                                                                                    Binding: EncounterLocationStatus (required): The status of the location.

                                                                                                                                                                                      .... physicalType 0..1CodeableConceptThe physical type of the location (usually the level in the location hierachy - bed room ward etc.)
                                                                                                                                                                                      Binding: LocationType (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: LocationType (example): Physical form of the 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
                                                                                                                                                                                          ... serviceProvider S1..1Reference(MedComCoreOrganization) {b}The organization (facility) responsible for this encounterS1..1Reference(MedComCoreOrganization) {b}The organization (facility) responsible for this encounter
                                                                                                                                                                                            ... partOf 0..00..0

                                                                                                                                                                                              doco Documentation for this format