Profile Comparison between http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-consent vs http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-consent

Left:Specialty Rx Consent (http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-consent)
Right:Specialty Rx Consent (http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-consent)

Messages

ErrorConsent.patientType Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]])

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Consent
      .copyright
        .date2021-12-08T00:00:00-05:00
          .descriptionThis profile constrains a Consent resource to convey consents and authorizations associated with fulfillment of a specialty medication or other product
            .experimentalfalse
              .fhirVersion4.0.1
                .jurisdiction
                  ..jurisdiction[0]urn:iso:std:iso:3166#US
                    .kindresource
                      .nameSpecialtyRxConsent
                        .publisherHL7 International - Pharmacy
                          .purpose
                            .statusactive
                              .titleSpecialty Rx Consent
                                .typeConsent
                                  .urlhttp://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-consent
                                    .version2.0.0-ballot

                                      Structure

                                      NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                                      .. Consent I0..*ConsentA healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time
                                      I0..*ConsentA healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time
                                        ... id Σ0..1stringLogical id of this artifactΣ0..1stringLogical 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":"urn:ietf:rfc:3986","value":"Local eCMS identifier"}
                                                      Σ0..*IdentifierIdentifier for this record (external references)

                                                      Example General: {"system":"urn:ietf:rfc:3986","value":"Local eCMS identifier"}
                                                        ... status ?!SΣ1..1codedraft | proposed | active | rejected | inactive | entered-in-error
                                                        Binding: todo (required)
                                                        ?!SΣ1..1codedraft | proposed | active | rejected | inactive | entered-in-error
                                                        Binding: Specialty Rx Value Set - Consent Status (required)
                                                          ... scope ?!Σ1..1CodeableConceptWhich of the four areas this resource covers (extensible)
                                                          Binding: todo (extensible): The four anticipated uses for the Consent Resource.

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

                                                            ... category Σ1..*CodeableConceptClassification of the consent statement - for indexing/retrieval
                                                            Binding: todo (extensible): A classification of the type of consents found in a consent statement.


                                                            Σ1..*CodeableConceptClassification of the consent statement - for indexing/retrieval
                                                            Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement.


                                                              ... patient SΣ0..1Reference(http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient)Related patientSΣ0..1Reference(US Core Patient Profile)Related patient
                                                              • Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]])
                                                              ... dateTime Σ0..1dateTimeWhen this Consent was created or indexedΣ0..1dateTimeWhen this Consent was created or indexed
                                                                ... performer Σ0..*Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole)Who is agreeing to the policy and rules
                                                                Σ0..*Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole)Who is agreeing to the policy and rules
                                                                  ... organization Σ0..*Reference(Organization)Custodian of the consent
                                                                  Σ0..*Reference(Organization)Custodian of the consent
                                                                    ... Slices for source[x] Σ1..1AttachmentSource from which this consent is taken
                                                                    Slice: Unordered, Closed by type:$this
                                                                    Σ1..1AttachmentSource from which this consent is taken
                                                                    Slice: Unordered, Closed by type:$this
                                                                      ... 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 I0..1uriEnforcement source for policyI0..1uriEnforcement source for policy
                                                                                .... uri I0..1uriSpecific policy covered by this consentI0..1uriSpecific policy covered by this consent
                                                                                  ... policyRule SΣI0..1CodeableConceptRegulation that this consents to
                                                                                  Binding: todo (extensible): Regulatory policy examples.


                                                                                  Fixed Value: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ActCode","code":"OPTIN","display":"opt-in"}]}
                                                                                  SΣI0..1CodeableConceptRegulation that this consents to
                                                                                  Binding: ConsentPolicyRuleCodes (extensible): Regulatory policy examples.


                                                                                  Fixed Value: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ActCode","code":"OPTIN","display":"opt-in"}]}
                                                                                    ... 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..1BackboneElementConstraints to the base Consent.policyRuleΣ0..1BackboneElementConstraints to the base Consent.policyRule
                                                                                                    .... 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..1codedeny | permit
                                                                                                          Binding: todo (required): How a rule statement is applied, such as adding additional consent or removing consent.

                                                                                                          Σ0..1codedeny | permit
                                                                                                          Binding: ConsentProvisionType (required): How a rule statement is applied, such as adding additional consent or removing consent.

                                                                                                            .... 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: todo (extensible): How an actor is involved in the consent considerations.

                                                                                                                      1..1CodeableConceptHow the actor is involved
                                                                                                                      Binding: SecurityRoleType (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: todo (example): Detailed codes for the consent action.


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


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


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


                                                                                                                              .... purpose Σ0..*CodingContext of activities covered by this rule
                                                                                                                              Binding: todo (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: PurposeOfUse (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: todo (extensible): The class (type) of information a consent rule covers.


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


                                                                                                                                  .... code Σ0..*CodeableConcepte.g. LOINC or SNOMED CT code, etc. in the content
                                                                                                                                  Binding: todo (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: ConsentContentCodes (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: todo (required): How a resource reference is interpreted when testing consent restrictions.

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

                                                                                                                                                ..... reference Σ1..1Reference(Resource)The actual data referenceΣ1..1Reference(Resource)The actual data reference
                                                                                                                                                  .... provision 0..*See provision (Consent)Nested Exception Rules
                                                                                                                                                  0..*See provision (Consent)Nested Exception Rules

                                                                                                                                                    doco Documentation for this format