Profile Comparison between http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-encounter-mother vs http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-encounter-mother

Left:CH EPREG Encounter: Mother (http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-encounter-mother)
Right:CH EPREG Encounter: Mother (http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-encounter-mother)

Messages

ErrorStructureDefinition.versionValues for version differ: '1.0.0-ballot' vs '1.0.0-ci-build'
InformationStructureDefinition.dateValues for date differ: '2025-05-22T15:06:29+00:00' vs '2025-09-15T12:52:46+00:00'
InformationEncounter.languageExample/preferred bindings differ at Encounter.language using binding from ChEpregEncounterMother
ErrorEncounter.subjectType Mismatch: Reference([CanonicalType[http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-patient-mother]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-patient-mother]])
InformationEncounter.reasonCodeExample/preferred bindings differ at Encounter.reasonCode using binding from ChEpregEncounterMother
InformationEncounter.diagnosis.useExample/preferred bindings differ at Encounter.diagnosis.use using binding from ChEpregEncounterMother
InformationEncounter.hospitalization.specialCourtesyExample/preferred bindings differ at Encounter.hospitalization.specialCourtesy using binding from ChEpregEncounterMother
InformationEncounter.hospitalization.specialArrangementExample/preferred bindings differ at Encounter.hospitalization.specialArrangement using binding from ChEpregEncounterMother

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://fhir.ch/ig/ch-core/StructureDefinition/ch-core-encounter
      .copyrightCC0-1.0
        .date2025-05-22T15:06:29+00:002025-09-15T12:52:46+00:00
        • Values Differ
        .descriptionThis profile constrains the Encounter resource to represent a pregnancy visit from the mother's perspective.
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#CHE
                  .kindresource
                    .nameChEpregEncounterMother
                      .publisherHL7 Switzerland
                        .purpose
                          .statusactive
                            .titleCH EPREG Encounter: Mother
                              .typeEncounter
                                .urlhttp://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-encounter-mother
                                  .version1.0.0-ballot1.0.0-ci-build
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                  .. Encounter 0..*CHCoreEncounterCH EPREG Encounter: Mother
                                  0..*CHCoreEncounterCH EPREG Encounter: Mother
                                    ... 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: ?? (preferred): A human language.
                                          Additional BindingsPurpose
                                          ??Max Binding
                                          0..1codeLanguage of the resource content
                                          Binding: ?? (preferred): A human language.
                                          Additional BindingsPurpose
                                          ??Max Binding
                                          • Example/preferred bindings differ at Encounter.language using binding from ChEpregEncounterMother
                                          ... 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
                                            ... contained 0..*ResourceContained, inline Resources
                                            0..*ResourceContained, inline Resources
                                              ... Slices for extension 0..*ExtensionExtension
                                              Slice: Unordered, Open by value:url
                                              0..*ExtensionExtension
                                              Slice: Unordered, Open by value:url
                                                ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                                ?!0..*ExtensionExtensions that cannot be ignored
                                                  ... Slices for identifier Σ0..*IdentifierIdentifier(s) by which this encounter is known
                                                  Slice: Unordered, Open by value:$this
                                                  Σ0..*IdentifierIdentifier(s) by which this encounter is known
                                                  Slice: Unordered, Open by value:$this
                                                    ... status ?!Σ1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
                                                    Binding: ?? (required): Current state of the encounter.
                                                    Required Pattern: finished
                                                    ?!Σ1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
                                                    Binding: ?? (required): Current state of the encounter.
                                                    Required Pattern: finished
                                                      ... 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: ?? (required): Current state of the encounter.
                                                              1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
                                                              Binding: ?? (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 Σ1..1CodingAMB | IMP : See mapping from BFS Medizinische Statistik BFS Encounter Class to FHIR
                                                                  Binding: ?? (extensible): Classification of the encounter.
                                                                  Σ1..1CodingAMB | IMP : See mapping from BFS Medizinische Statistik BFS Encounter Class to FHIR
                                                                  Binding: ?? (extensible): Classification of the encounter.
                                                                    ... 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: ?? (extensible): Classification of the encounter.
                                                                            1..1Codinginpatient | outpatient | ambulatory | emergency +
                                                                            Binding: ?? (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..*CodeableConceptSpecific type of encounter
                                                                                Binding: ?? (example): The type of encounter.
                                                                                Σ0..*CodeableConceptSpecific type of encounter
                                                                                Binding: ?? (example): The type of encounter.
                                                                                  ... serviceType Σ0..1CodeableConceptSpecific type of service
                                                                                  Binding: ?? (example): Broad categorization of the service that is to be provided.
                                                                                  Σ0..1CodeableConceptSpecific type of service
                                                                                  Binding: ?? (example): Broad categorization of the service that is to be provided.
                                                                                    ... priority 0..1CodeableConceptBFS Medizinische Statistik - Eintrittsart / Mode d’admission / Genere di ricovero
                                                                                    Binding: ?? (extensible)
                                                                                    0..1CodeableConceptBFS Medizinische Statistik - Eintrittsart / Mode d’admission / Genere di ricovero
                                                                                    Binding: ?? (extensible)
                                                                                      ... subject Σ1..1Reference(CH EPREG Patient: Mother)The patient or group present at the encounterΣ1..1Reference(CH EPREG Patient: Mother)The patient or group present at the encounter
                                                                                      • Type Mismatch: Reference([CanonicalType[http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-patient-mother]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-patient-mother]])
                                                                                      .... 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 ΣC1..1stringLiteral reference, Relative, internal or absolute URLΣC1..1stringLiteral reference, Relative, internal or absolute URL
                                                                                            .... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                            Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
                                                                                            Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                            Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
                                                                                              .... identifier Σ0..1IdentifierLogical reference, when literal reference is not knownΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                                                .... display Σ0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                                                                  ... episodeOfCare Σ0..*Reference(EpisodeOfCare)Episode(s) of care that this encounter should be recorded against
                                                                                                  Σ0..*Reference(EpisodeOfCare)Episode(s) of care that this encounter should be recorded against
                                                                                                    ... basedOn 0..*Reference(ServiceRequest)The ServiceRequest that initiated this encounter
                                                                                                    0..*Reference(ServiceRequest)The ServiceRequest that initiated this encounter
                                                                                                      ... participant Σ1..*BackboneElementList of participants involved in the encounter
                                                                                                      Σ1..*BackboneElementList of participants involved in the encounter
                                                                                                        .... 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: ?? (extensible)
                                                                                                              Σ0..*CodeableConceptRole of participant in encounter
                                                                                                              Binding: ?? (extensible)
                                                                                                                .... period 0..1PeriodPeriod of time during the encounter that the participant participated0..1PeriodPeriod of time during the encounter that the participant participated
                                                                                                                  .... individual Σ1..1Reference(CH EPREG PractitionerRole: Treating Healthcare Provider)Persons involved in the encounter other than the patientΣ1..1Reference(CH EPREG PractitionerRole: Treating Healthcare Provider)Persons involved in the encounter other than the patient
                                                                                                                    ..... 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 ΣC1..1stringLiteral reference, Relative, internal or absolute URLΣC1..1stringLiteral reference, Relative, internal or absolute URL
                                                                                                                          ..... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                                                          Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
                                                                                                                          Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                                                          Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
                                                                                                                            ..... identifier Σ0..1IdentifierLogical reference, when literal reference is not knownΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                                                                              ..... display Σ0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                                                                                                ... appointment Σ0..*Reference(Appointment)The appointment that scheduled this encounter
                                                                                                                                Σ0..*Reference(Appointment)The appointment that scheduled this encounter
                                                                                                                                  ... period 1..1PeriodThe start and end time of the encounter1..1PeriodThe start and end time of the encounter
                                                                                                                                    .... 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 ΣC1..1dateTimeStarting time with inclusive boundaryΣC1..1dateTimeStarting time with inclusive boundary
                                                                                                                                          .... end ΣC0..1dateTimeEnd time with inclusive boundary, if not ongoingΣC0..1dateTimeEnd time with inclusive boundary, if not ongoing
                                                                                                                                            ... length 0..1DurationQuantity of time the encounter lasted (less time absent)0..1DurationQuantity of time the encounter lasted (less time absent)
                                                                                                                                              ... reasonCode Σ0..*CodeableConceptCoded reason the encounter takes place
                                                                                                                                              Binding: ?? (preferred): Reason why the encounter takes place.
                                                                                                                                              Σ0..*CodeableConceptCoded reason the encounter takes place
                                                                                                                                              Binding: ?? (preferred): Reason why the encounter takes place.
                                                                                                                                              • Example/preferred bindings differ at Encounter.reasonCode using binding from ChEpregEncounterMother
                                                                                                                                              ... reasonReference Σ0..*Reference(Condition | Procedure | Observation | ImmunizationRecommendation)Reason the encounter takes place (reference)
                                                                                                                                              Σ0..*Reference(Condition | Procedure | Observation | ImmunizationRecommendation)Reason the encounter takes place (reference)
                                                                                                                                                ... diagnosis Σ0..*BackboneElementThe list of diagnosis relevant to this encounter
                                                                                                                                                Σ0..*BackboneElementThe list of diagnosis relevant to this encounter
                                                                                                                                                  .... 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: ?? (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.
                                                                                                                                                          • Example/preferred bindings differ at Encounter.diagnosis.use using binding from ChEpregEncounterMother
                                                                                                                                                          .... rank 0..1positiveIntRanking of the diagnosis (for each role type)0..1positiveIntRanking of the diagnosis (for each role type)
                                                                                                                                                            ... 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
                                                                                                                                                              ... hospitalization 0..1BackboneElementDetails about the admission to a healthcare service0..1BackboneElementDetails about the admission to a healthcare service
                                                                                                                                                                .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                                                  .... Slices for extension 0..*ExtensionExtension
                                                                                                                                                                  Slice: Unordered, Open by value:url
                                                                                                                                                                  0..*ExtensionExtension
                                                                                                                                                                  Slice: Unordered, Open by value:url
                                                                                                                                                                    .... 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(CH Core Location | CH Core Organization)The location/organization from which the patient came before admission0..1Reference(CH Core Location | CH Core Organization)The location/organization from which the patient came before admission
                                                                                                                                                                          .... admitSource 0..1CodeableConceptBFS Medizinische Statistik - Aufenthaltsort vor dem Eintritt / Séjour avant l’admission / Luogo di soggiorno prima dell’ammissione
                                                                                                                                                                          Binding: ?? (extensible)
                                                                                                                                                                          0..1CodeableConceptBFS Medizinische Statistik - Aufenthaltsort vor dem Eintritt / Séjour avant l’admission / Luogo di soggiorno prima dell’ammissione
                                                                                                                                                                          Binding: ?? (extensible)
                                                                                                                                                                            .... 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.
                                                                                                                                                                              .... 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.
                                                                                                                                                                                .... specialCourtesy 0..*CodeableConceptSpecial courtesies (VIP, board member)
                                                                                                                                                                                Binding: ?? (preferred): Special courtesies.
                                                                                                                                                                                0..*CodeableConceptSpecial courtesies (VIP, board member)
                                                                                                                                                                                Binding: ?? (preferred): Special courtesies.
                                                                                                                                                                                • Example/preferred bindings differ at Encounter.hospitalization.specialCourtesy using binding from ChEpregEncounterMother
                                                                                                                                                                                .... specialArrangement 0..*CodeableConceptWheelchair, translator, stretcher, etc.
                                                                                                                                                                                Binding: ?? (preferred): Special arrangements.
                                                                                                                                                                                0..*CodeableConceptWheelchair, translator, stretcher, etc.
                                                                                                                                                                                Binding: ?? (preferred): Special arrangements.
                                                                                                                                                                                • Example/preferred bindings differ at Encounter.hospitalization.specialArrangement using binding from ChEpregEncounterMother
                                                                                                                                                                                .... destination 0..1Reference(CH Core Location | CH Core Organization)Location/organization to which the patient is discharged0..1Reference(CH Core Location | CH Core Organization)Location/organization to which the patient is discharged
                                                                                                                                                                                  .... dischargeDisposition 0..1CodeableConceptBFS Medizinische Statistik - Behandlung nach Austritt
                                                                                                                                                                                  Binding: ?? (preferred): BFS Medizinische Statistik - Behandlung nach Austritt
                                                                                                                                                                                  0..1CodeableConceptBFS Medizinische Statistik - Behandlung nach Austritt
                                                                                                                                                                                  Binding: ?? (preferred): BFS Medizinische Statistik - Behandlung nach Austritt
                                                                                                                                                                                    ... location 0..*BackboneElementList of locations where the patient has been
                                                                                                                                                                                    0..*BackboneElementList of locations where the patient has been
                                                                                                                                                                                      .... 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(CH Core Location)Location the encounter takes place1..1Reference(CH Core Location)Location the encounter takes place
                                                                                                                                                                                              .... 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.
                                                                                                                                                                                                .... 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.
                                                                                                                                                                                                  .... 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 0..1Reference(CH Core Organization)The organization (facility) responsible for this encounter0..1Reference(CH Core Organization)The organization (facility) responsible for this encounter
                                                                                                                                                                                                      ... partOf 0..1Reference(CH Core Encounter)Another Encounter this encounter is part of0..1Reference(CH Core Encounter)Another Encounter this encounter is part of

                                                                                                                                                                                                        doco Documentation for this format