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

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

Messages

ErrorStructureDefinition.versionValues for version differ: '2.0.0' vs '2.1.0-snapshot'
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: 'base64 encoded JWS-Signature' vs 'base64 encoded signature (JWS, image, etc)'

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 [signature](https://hl7.org/fhir/us/davinci-cdex/signatures.html) 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, US-Core PractitionerRole, or US-Core Organization or 1. an NPI or Tax ID and name of the organization or practitioner - A `Signature.data` representing the base64 encoded Signature (JWS, image, etc) In addition, the following *mandatory* (min=1) element is inherited from the base standard: - `Signature.when` - a system timestamp when the signature was created
          • Values Differ
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#US
                  .kindcomplex-type
                    .nameCDexSignature
                      .publisherHL7 International - Patient Care Work GroupHL7 International / Payer/Provider Information Exchange Work Group
                      • Values Differ
                      .purpose
                        .statusactive
                          .titleCDex Signature Profile
                            .typeSignature
                              .urlhttp://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-signature
                                .version2.0.02.1.0-snapshot
                                • Values Differ

                                Structure

                                NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                .. Signature C0..*SignatureJWS Digital Signature
                                cdex-13: The signature element must have either reference to the signer or the signer's identifier and name.
                                C0..*SignatureJWS Digital Signature
                                cdex-13: The signature element must have either reference to the signer or the signer's identifier and name.
                                  ... 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 pattern:$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(HRex Practitioner Profile(1.1.0-ballot) S | HRex Organization Profile(1.1.0-ballot) S | HRex PractitionerRole Profile(1.1.0-ballot))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 URLSΣC0..1stringLiteral reference, Relative, internal or absolute URL
                                                  .... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                  Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                  Σ0..1uriType the reference refers to (e.g. "Patient")
                                                  Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                    .... identifier SΣC0..1IdentifierNPI or US Tax IDSΣC0..1IdentifierNPI or US Tax ID
                                                      ..... 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)
                                                            SΣ1..1CodeableConceptDescription of identifier
                                                            Binding: ?? (required)
                                                              ..... system Σ0..1uriThe namespace for the identifier value
                                                              Example General: http://www.acme.com/identifiers/patient
                                                              Σ0..1uriThe namespace for the identifier value
                                                              Example General: http://www.acme.com/identifiers/patient
                                                                ..... 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 resourceSΣC0..1stringText alternative for the resource
                                                                        ... 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.

                                                                          0..1codeThe technical format of the signed resources
                                                                          Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.

                                                                            ... sigFormat 0..1codeThe technical format of the signature
                                                                            Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.

                                                                            0..1codeThe technical format of the signature
                                                                            Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.

                                                                              ... data S1..1base64Binarybase64 encoded JWS-SignatureS1..1base64Binarybase64 encoded signature (JWS, image, etc)

                                                                                doco Documentation for this format