Profile Comparison between http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-encounter vs http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-encounter

Left:CPG Encounter (http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-encounter)
Right:CPG Encounter (http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-encounter)

Messages

ErrorStructureDefinition.versionValues for version differ: '2.0.0' vs '3.0.0-ballot'
InformationStructureDefinition.dateValues for date differ: '2024-11-26T16:34:39+00:00' vs '2026-11-20T14:03:30+00:00'
InformationEncounter.languageExample/preferred bindings differ at Encounter.language using binding from CPGEncounter
InformationEncounter.typeElement minimum cardinalities differ: '1' vs '0'
InformationEncounter.reasonCodeExample/preferred bindings differ at Encounter.reasonCode using binding from CPGEncounter
InformationEncounter.diagnosis.useExample/preferred bindings differ at Encounter.diagnosis.use using binding from CPGEncounter
InformationEncounter.hospitalization.admitSourceExample/preferred bindings differ at Encounter.hospitalization.admitSource using binding from CPGEncounter
InformationEncounter.hospitalization.specialCourtesyExample/preferred bindings differ at Encounter.hospitalization.specialCourtesy using binding from CPGEncounter
InformationEncounter.hospitalization.specialArrangementExample/preferred bindings differ at Encounter.hospitalization.specialArrangement using binding from CPGEncounter

Metadata

NameValueComments
abstractfalse
    baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Encounter
      copyright
        date2024-11-26T16:34:39+00:002026-11-20T14:03:30+00:00
        • Values Differ
        descriptionCPG encounter represents the minimum expectations for communicating encounter information as part of a CPG case
          experimentalfalse
            fhirVersion4.0.1
              jurisdiction
                jurisdiction / jurisdiction[0]http://unstats.un.org/unsd/methods/m49/m49.htm#001
                  kindresource
                    nameCPGEncounter
                      publisherHL7 International / Clinical Decision Support
                        purpose
                          statusactive
                            titleCPG Encounter
                              typeEncounter
                                urlhttp://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-encounter
                                  version2.0.03.0.0-ballot
                                  • 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
                                          • Example/preferred bindings differ at Encounter.language using binding from CPGEncounter
                                          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.extension 0..*ExtensionAdditional content defined by implementations
                                              0..*ExtensionAdditional content defined by implementations
                                                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 must be supported. 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 must be supported. 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 must be supported. This element is included in summaries. 1..1CodingClassification of patient encounter
                                                                  Binding: ?? (extensible): Classification of the encounter.
                                                                  This element must be supported. 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 must be supported. This element is included in summaries. 1..*CodeableConceptSpecific type of encounter
                                                                                Binding: ?? (example): The type of encounter.
                                                                                This element must be supported. This element is included in summaries. 0..*CodeableConceptSpecific type of encounter
                                                                                Binding: ?? (example): The type of encounter.
                                                                                • Element minimum cardinalities differ: '1' vs '0'
                                                                                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: ?? (example): Indicates the urgency of the encounter.
                                                                                  0..1CodeableConceptIndicates the urgency of the encounter
                                                                                  Binding: ?? (example): Indicates the urgency of the encounter.
                                                                                    Encounter.subject This element must be supported. This element is included in summaries. 0..1Reference(CPG Patient)The patient or group present at the encounter This element must be supported. This element is included in summaries. 0..1Reference(CPG Patient)The patient or group present at the encounter
                                                                                      Encounter.episodeOfCare This element must be supported. This element is included in summaries. 0..*Reference(CPG Case)Episode(s) of care that this encounter should be recorded against
                                                                                      This element must be supported. This element is included in summaries. 0..*Reference(CPG Case)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 must be supported. This element is included in summaries. 0..*BackboneElementList of participants involved in the encounter
                                                                                          This element must be supported. 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 must be supported. This element is included in summaries. 0..*CodeableConceptRole of participant in encounter
                                                                                                  Binding: ?? (extensible): Role of participant in encounter.
                                                                                                  This element must be supported. This element is included in summaries. 0..*CodeableConceptRole of participant in encounter
                                                                                                  Binding: ?? (extensible): Role of participant in encounter.
                                                                                                    Encounter.participant.period This element must be supported. 0..1PeriodPeriod of time during the encounter that the participant participated This element must be supported. 0..1PeriodPeriod of time during the encounter that the participant participated
                                                                                                      Encounter.participant.individual This element must be supported. This element is included in summaries. 0..1Reference(CPG Practitioner | CPG Practitioner Role)Persons involved in the encounter other than the patient This element must be supported. This element is included in summaries. 0..1Reference(CPG Practitioner | CPG Practitioner Role)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 This element must be supported. 0..1PeriodThe start and end time of the encounter This element must be supported. 0..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 must be supported. This element is included in summaries. 0..*CodeableConceptCoded reason the encounter takes place
                                                                                                              Binding: ?? (preferred): Reason why the encounter takes place.
                                                                                                              This element must be supported. This element is included in summaries. 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 CPGEncounter
                                                                                                              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.
                                                                                                                          • Example/preferred bindings differ at Encounter.diagnosis.use using binding from CPGEncounter
                                                                                                                          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.
                                                                                                                                          • Example/preferred bindings differ at Encounter.hospitalization.admitSource using binding from CPGEncounter
                                                                                                                                          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.
                                                                                                                                              • Example/preferred bindings differ at Encounter.hospitalization.specialCourtesy using binding from CPGEncounter
                                                                                                                                              Encounter.hospitalization.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 CPGEncounter
                                                                                                                                              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 This element must be supported. 0..*BackboneElementList of locations where the patient has been
                                                                                                                                                  This element must be supported. 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 This element must be supported. 1..1Reference(CPG Location)Location the encounter takes place This element must be supported. 1..1Reference(CPG 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(Organization)The organization (facility) responsible for this encounter0..1Reference(Organization)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