Profile Comparison between http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-signature vs http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-digital-signature

Left:CDex Signature Profile (http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-signature)
Right:CDex Digital Signature Profile (http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-digital-signature)

Messages

ErrorStructureDefinition.urlValues for url differ: 'http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-signature' vs 'http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-digital-signature'
ErrorStructureDefinition.versionValues for version differ: '2.0.0' vs '2.1.0'
InformationStructureDefinition.nameValues for name differ: 'CDexSignature' vs 'CDexDigitalSignature'
InformationStructureDefinition.titleValues for title differ: 'CDex Signature Profile' vs 'CDex Digital Signature Profile'
InformationStructureDefinition.publisherValues for publisher differ: 'HL7 International - Patient Care Work Group' vs 'HL7 International / Payer/Provider Information Exchange Work Group'
InformationStructureDefinition.shortValues for short differ: 'JWS Digital Signature' vs 'CDex Bundle and QuestionnaireResponse signature'
InformationStructureDefinition.definitionValues for definition differ: 'A JWS digital signature along with supporting context.' vs 'A JWS digital signature along with supporting context. This Signature DataType profile enforces the various elements of digital signatures documented in Digital Signature Rules and Guidance For CDEX Bundle and QuestionnaireResponse](https://hl7.org/fhir/us/davinci-cdex/signatures.html#digital-signature-rules-and-guidance-for-cdex-bundle-and-questionnaireresponse).'
WarningSignature.who.referenceElements differ in definition for mustSupport: 'true' vs 'false'
InformationSignature.who.identifierElement minimum cardinalities differ: '0' vs '1'
WarningSignature.who.identifier.typeElements differ in definition for mustSupport: 'true' vs 'false'
InformationSignature.who.identifier.typeElement minimum cardinalities differ: '1' vs '0'
WarningSignature.who.identifier.systemElements differ in definition for mustSupport: 'false' vs 'true'
WarningSignature.who.displayElements differ in definition for mustSupport: 'true' vs 'false'
InformationStructureDefinition.shortValues for short differ: 'The technical format of the signed resources' vs 'Canonicalization method'
WarningSignature.targetFormatElements differ in definition for mustSupport: 'false' vs 'true'
InformationSignature.targetFormatElement minimum cardinalities differ: '0' vs '1'
InformationStructureDefinition.shortValues for short differ: 'The technical format of the signature' vs 'The JWS mime type'
WarningSignature.sigFormatElements differ in definition for mustSupport: 'false' vs 'true'
InformationSignature.sigFormatElement minimum cardinalities differ: '0' vs '1'
InformationStructureDefinition.shortValues for short differ: 'base64 encoded JWS-Signature' vs 'base64 encoded JSON Web Signature (JWS)'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Signature
      .copyrightUsed by permission of HL7 International all rights reserved Creative Commons License
        .date2023-01-15
          .descriptionThis Signature DataType profile enforces the various elements of signature documented in the CDex guide. It adds the following *mandatory* (min=1) constraints: - A Signature.type fixed to ASTM Standard, E1762-95(2013) code = “1.2.840.10065.1.12.1.5” (Verification Signature) - A Signature.who for the organization or practitioner who signed the Bundle which is either: 1. a reference to US-Core Practitioner, PractitionerRole or Organization or 1. an NPI or Tax ID and name of the organization or practitioner - A Signature.data representing base64 encoded JWS-Signature In addition, the following *mandatory* (min=1) element is inherited from the base standard: - Signature.when - system timestamp when the signature was createdThis Signature DataType profile enforces the various elements of digital signatures documented in [Digital Signature Rules and Guidance For CDEX Bundle and QuestionnaireResponse](https://hl7.org/fhir/us/davinci-cdex/signatures.html#digital-signature-rules-and-guidance-for-cdex-bundle-and-questionnaireresponse).
          • Values Differ
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#US
                  .kindcomplex-type
                    .nameCDexSignatureCDexDigitalSignature
                    • Values Differ
                    .publisherHL7 International - Patient Care Work GroupHL7 International / Payer/Provider Information Exchange Work Group
                    • Values Differ
                    .purpose
                      .statusactive
                        .titleCDex Signature ProfileCDex Digital Signature Profile
                        • Values Differ
                        .typeSignature
                          .urlhttp://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-signaturehttp://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-digital-signature
                          • Values Differ
                          .version2.0.02.1.0
                          • Values Differ

                          Structure

                          NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                          .. Signature C0..*SignatureJWS Digital Signature
                          Constraints: cdex-13
                          0..*SignatureCDex Bundle and QuestionnaireResponse signature
                            ... 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
                                ... Slices for type SΣ1..*CodingIndication of the reason the entity signed the object(s)
                                Slice: Unordered, Open by pattern:$this
                                Binding: ?? (preferred): An indication of the reason that an entity signed the object.
                                SΣ1..*CodingIndication of the reason the entity signed the object(s)
                                Slice: Unordered, Open by value:$this
                                Binding: ?? (preferred): An indication of the reason that an entity signed the object.
                                  ... when SΣ1..1instantWhen the signature was createdSΣ1..1instantWhen the signature was created
                                    ... who SΣ1..1Reference(US Core Practitioner Profile S | US Core Organization Profile S | US Core PractitionerRole Profile)Organization or practitioner who signed the BundleSΣ1..1Reference(US Core Practitioner Profile(3.1.1) S | US Core Practitioner Profile(6.1.0) S | US Core Practitioner Profile(7.0.0) S | HRex Organization Profile(1.1.0) S | HRex PractitionerRole Profile(1.1.0))Organization or practitioner who signed the Bundle
                                      .... 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 SΣC0..1stringLiteral reference, Relative, internal or absolute URLΣC0..1stringLiteral reference, Relative, internal or absolute URL
                                          • Elements differ in definition for mustSupport: 'true' vs 'false'
                                          .... 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 SΣC0..1IdentifierNPI or US Tax IDSΣ1..1IdentifierNPI or US Tax ID
                                            • Element minimum cardinalities differ: '0' vs '1'
                                            ..... 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
                                                ..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
                                                Binding: ?? (required): Identifies the purpose for this identifier, if known .
                                                ?!Σ0..1codeusual | official | temp | secondary | old (If known)
                                                Binding: ?? (required): Identifies the purpose for this identifier, if known .
                                                  ..... type SΣ1..1CodeableConceptDescription of identifier
                                                  Binding: ?? (required)
                                                  Σ0..1CodeableConceptDescription of identifier
                                                  Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
                                                  • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                  • Element minimum cardinalities differ: '1' vs '0'
                                                  ..... system Σ0..1uriThe namespace for the identifier value
                                                  Example General: http://www.acme.com/identifiers/patient
                                                  SΣ0..1uriThe namespace for the identifier value
                                                  Example General: http://www.acme.com/identifiers/patient
                                                  • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                  ..... value SΣ1..1stringThe value that is unique
                                                  Example General: 123456
                                                  SΣ1..1stringThe value that is unique
                                                  Example General: 123456
                                                    ..... period Σ0..1PeriodTime period when id is/was valid for useΣ0..1PeriodTime period when id is/was valid for use
                                                      ..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)Σ0..1Reference(Organization)Organization that issued id (may be just text)
                                                        .... display SΣC0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                        • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                        ... onBehalfOf Σ0..1Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)The party representedΣ0..1Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)The party represented
                                                          ... targetFormat 0..1codeThe technical format of the signed resources
                                                          Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.
                                                          S1..1codeCanonicalization method
                                                          Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.
                                                          Fixed Value: application/fhir+json;canonicalization=http://hl7.org/fhir/canonicalization/json#document
                                                          • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                          • Element minimum cardinalities differ: '0' vs '1'
                                                          ... sigFormat 0..1codeThe technical format of the signature
                                                          Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.
                                                          S1..1codeThe JWS mime type
                                                          Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.
                                                          Fixed Value: application/jose
                                                          • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                          • Element minimum cardinalities differ: '0' vs '1'
                                                          ... data S1..1base64Binarybase64 encoded JWS-SignatureS1..1base64Binarybase64 encoded JSON Web Signature (JWS)

                                                            doco Documentation for this format