Profile Comparison between http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-epr-consent vs http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-epr-consent

Left:CH Core EPR-Consent (http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-epr-consent)
Right:CH Core EPR-Consent (http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-epr-consent)

Messages

ErrorStructureDefinition.versionValues for version differ: '4.0.1' vs '5.0.0-ballot'
InformationStructureDefinition.dateValues for date differ: '2023-12-28T08:43:06+01:00' vs '2024-05-16T14:50:35+00:00'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Consent
      .copyrightCC0-1.0
        .date2023-12-28T08:43:06+01:002024-05-16T14:50:35+00:00
        • Values Differ
        .descriptionBase profile for a consent profile to document that a patient has an Electronic Patient Record (EPR) in Switzerland. The actual consent conditions are held within the EPR, this consent is the documentation in an organization that the patient has stated he has an EPR and this needs to be verified at the time of document publishing or reading. In addition a patient can request that specific information will not be published from the organization to the EPR. This can be documented with one or more references to encounters to exclude the consent for these.Definition of the Consent resource to document that a patient has an electronic patient record (EPR) in Switzerland. The actual consent conditions are held within the EPR, this consent is the documentation in an organization that the patient has stated he/she has an EPR and this needs to be verified at the time of document publishing or reading. In addition a patient can request that specific information will not be published from the organization to the EPR. This can be documented with one or more references to encounters to exclude the consent for these.
        • Values Differ
        .experimental
          .fhirVersion4.0.1
            .jurisdiction
              ..jurisdiction[0]urn:iso:std:iso:3166#CH
                .kindresource
                  .nameCHCoreEPRConsent
                    .publisherHL7 Switzerland
                      .purpose
                        .statusactive
                          .titleCH Core EPR-Consent
                            .typeConsent
                              .urlhttp://fhir.ch/ig/ch-core/StructureDefinition/ch-core-epr-consent
                                .version4.0.15.0.0-ballot
                                • Values Differ

                                Structure

                                NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                .. Consent C0..*ConsentCH Core EPR-Consent
                                ppc-1: Either a Policy or PolicyRule
                                ppc-2: IF Scope=privacy, there must be a patient
                                ppc-3: IF Scope=research, there must be a patient
                                ppc-4: IF Scope=adr, there must be a patient
                                ppc-5: IF Scope=treatment, there must be a patient
                                C0..*ConsentCH Core EPR-Consent
                                ppc-1: Either a Policy or PolicyRule
                                ppc-2: IF Scope=privacy, there must be a patient
                                ppc-3: IF Scope=research, there must be a patient
                                ppc-4: IF Scope=adr, there must be a patient
                                ppc-5: IF Scope=treatment, there must be a patient
                                  ... 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
                                        ... 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..*ExtensionAdditional content defined by implementations
                                              ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                              ?!0..*ExtensionExtensions that cannot be ignored
                                                ... identifier Σ0..*IdentifierIdentifier for this record (external references)

                                                Example General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"}
                                                Σ0..*IdentifierIdentifier for this record (external references)

                                                Example General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"}
                                                  ... status ?!Σ1..1codedraft | proposed | active | rejected | inactive | entered-in-error
                                                  Binding: ?? (required): Indicates the state of the consent.

                                                  ?!Σ1..1codedraft | proposed | active | rejected | inactive | entered-in-error
                                                  Binding: ?? (required): Indicates the state of the consent.

                                                    ... scope ?!Σ1..1CodeableConceptWhich of the four areas this resource covers (extensible)
                                                    Binding: ?? (extensible): The four anticipated uses for the Consent Resource.


                                                    Required Pattern: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/consentscope","code":"patient-privacy"}]}
                                                    ?!Σ1..1CodeableConceptWhich of the four areas this resource covers (extensible)
                                                    Binding: ?? (extensible): The four anticipated uses for the Consent Resource.


                                                    Required Pattern: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/consentscope","code":"patient-privacy"}]}
                                                      ... Slices for category Σ1..*CodeableConceptClassification of the consent statement - for indexing/retrieval
                                                      Slice: Unordered, Open by value:coding.code, value:coding.system
                                                      Binding: ?? (extensible): A classification of the type of consents found in a consent statement.


                                                      Σ1..*CodeableConceptClassification of the consent statement - for indexing/retrieval
                                                      Slice: Unordered, Open by value:coding.code, value:coding.system
                                                      Binding: ?? (extensible): A classification of the type of consents found in a consent statement.


                                                        ... patient Σ1..1Reference(CH Core Patient)The patient to whom this EPR consent appliesΣ1..1Reference(CH Core Patient)The patient to whom this EPR consent applies
                                                          ... dateTime Σ0..1dateTimeWhen this Consent was created or indexedΣ0..1dateTimeWhen this Consent was created or indexed
                                                            ... performer Σ0..*Reference(CH Core Organization | CH Core Patient | CH Core Practitioner | RelatedPerson | CH Core PractitionerRole)Who is agreeing to the policy and rules
                                                            Σ0..*Reference(CH Core Organization | CH Core Patient | CH Core Practitioner | RelatedPerson | CH Core PractitionerRole)Who is agreeing to the policy and rules
                                                              ... organization Σ0..*Reference(CH Core Organization)Custodian of the consent
                                                              Σ0..*Reference(CH Core Organization)Custodian of the consent
                                                                ... source[x] Σ0..1Attachment, Reference(Consent | DocumentReference | Contract | QuestionnaireResponse)Source from which this consent is takenΣ0..1Attachment, Reference(Consent | DocumentReference | Contract | QuestionnaireResponse)Source from which this consent is taken
                                                                  ... policy 0..*BackboneElementPolicies covered by this consent
                                                                  0..*BackboneElementPolicies covered by this consent
                                                                    .... 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
                                                                          .... authority C0..1uriEnforcement source for policyC0..1uriEnforcement source for policy
                                                                            .... uri C0..1uriSpecific policy covered by this consentC0..1uriSpecific policy covered by this consent
                                                                              ... policyRule ΣC0..1CodeableConceptRegulation that this consents to
                                                                              Binding: ?? (extensible): Regulatory policy examples.


                                                                              Required Pattern: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/consentpolicycodes","code":"ch-epr"}]}
                                                                              ΣC0..1CodeableConceptRegulation that this consents to
                                                                              Binding: ?? (extensible): Regulatory policy examples.


                                                                              Required Pattern: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/consentpolicycodes","code":"ch-epr"}]}
                                                                                ... verification Σ0..*BackboneElementConsent Verified by patient or family
                                                                                Σ0..*BackboneElementConsent Verified by patient or family
                                                                                  .... 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
                                                                                        .... verified Σ1..1booleanHas been verifiedΣ1..1booleanHas been verified
                                                                                          .... verifiedWith 0..1Reference(Patient | RelatedPerson)Person who verified0..1Reference(Patient | RelatedPerson)Person who verified
                                                                                            .... verificationDate 0..1dateTimeWhen consent verified0..1dateTimeWhen consent verified
                                                                                              ... provision Σ0..1BackboneElementExceptions to the EPR consentΣ0..1BackboneElementExceptions to the EPR consent
                                                                                                .... 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 Σ1..1codedeny
                                                                                                      Binding: ?? (required): How a rule statement is applied, such as adding additional consent or removing consent.


                                                                                                      Fixed Value: deny
                                                                                                      Σ1..1codedeny
                                                                                                      Binding: ?? (required): How a rule statement is applied, such as adding additional consent or removing consent.


                                                                                                      Fixed Value: deny
                                                                                                        .... period Σ0..1PeriodTimeframe for this ruleΣ0..1PeriodTimeframe for this rule
                                                                                                          .... actor 0..*BackboneElementWho|what controlled by this rule (or group, by role)
                                                                                                          0..*BackboneElementWho|what controlled by this rule (or group, by role)
                                                                                                            ..... 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
                                                                                                                  ..... role 1..1CodeableConceptHow the actor is involved
                                                                                                                  Binding: ?? (extensible): How an actor is involved in the consent considerations.

                                                                                                                  1..1CodeableConceptHow the actor is involved
                                                                                                                  Binding: ?? (extensible): How an actor is involved in the consent considerations.

                                                                                                                    ..... reference 1..1Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole)Resource for the actor (or group, by role)1..1Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole)Resource for the actor (or group, by role)
                                                                                                                      .... action Σ0..*CodeableConceptActions controlled by this rule
                                                                                                                      Binding: ?? (example): Detailed codes for the consent action.


                                                                                                                      Σ0..*CodeableConceptActions controlled by this rule
                                                                                                                      Binding: ?? (example): Detailed codes for the consent action.


                                                                                                                        .... securityLabel Σ0..*CodingSecurity Labels that define affected resources
                                                                                                                        Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


                                                                                                                        Σ0..*CodingSecurity Labels that define affected resources
                                                                                                                        Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


                                                                                                                          .... purpose Σ0..*CodingContext of activities covered by this rule
                                                                                                                          Binding: ?? (extensible): What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels.


                                                                                                                          Σ0..*CodingContext of activities covered by this rule
                                                                                                                          Binding: ?? (extensible): What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels.


                                                                                                                            .... class Σ0..*Codinge.g. Resource Type, Profile, CDA, etc.
                                                                                                                            Binding: ?? (extensible): The class (type) of information a consent rule covers.


                                                                                                                            Σ0..*Codinge.g. Resource Type, Profile, CDA, etc.
                                                                                                                            Binding: ?? (extensible): The class (type) of information a consent rule covers.


                                                                                                                              .... code Σ0..*CodeableConcepte.g. LOINC or SNOMED CT code, etc. in the content
                                                                                                                              Binding: ?? (example): If this code is found in an instance, then the exception applies.


                                                                                                                              Σ0..*CodeableConcepte.g. LOINC or SNOMED CT code, etc. in the content
                                                                                                                              Binding: ?? (example): If this code is found in an instance, then the exception applies.


                                                                                                                                .... dataPeriod Σ0..1PeriodTimeframe for data controlled by this ruleΣ0..1PeriodTimeframe for data controlled by this rule
                                                                                                                                  .... data Σ0..*BackboneElementData controlled by this rule
                                                                                                                                  Σ0..*BackboneElementData controlled by this rule
                                                                                                                                    ..... 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
                                                                                                                                          ..... meaning Σ1..1codeinstance | related | dependents | authoredby
                                                                                                                                          Binding: ?? (required): How a resource reference is interpreted when testing consent restrictions.


                                                                                                                                          Fixed Value: instance
                                                                                                                                          Σ1..1codeinstance | related | dependents | authoredby
                                                                                                                                          Binding: ?? (required): How a resource reference is interpreted when testing consent restrictions.


                                                                                                                                          Fixed Value: instance
                                                                                                                                            ..... reference Σ1..1Reference(CH Core Encounter)Excluded encounter for EPRΣ1..1Reference(CH Core Encounter)Excluded encounter for EPR
                                                                                                                                              .... provision 0..*See provision (Consent)Nested Exception Rules
                                                                                                                                              0..*See provision (Consent)Nested Exception Rules

                                                                                                                                                doco Documentation for this format