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

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

Messages

ErrorStructureDefinition.versionValues for version differ: '1.1.0' vs '2.0.0'
InformationStructureDefinition.dateValues for date differ: '2022-08-08T15:11:35+00:00' vs '2023-01-15'
WarningBundle.signatureElements differ in short: 'Digital Signature' vs 'JWS Digital Signature'
WarningBundle.signatureElements differ in definition: 'Digital Signature - base64 encoded. XML-DSig or a JWT.' vs 'A JWS digital signature along with supporting context.'
WarningBundle.signatureElements differ in comments: 'The signature could be created by the 'author' of the bundle or by the originating device. Requirements around inclusion of a signature, verification of signatures and treatment of signed/non-signed bundles is implementation-environment specific.' vs 'The elements of the Signature Resource are for ease of access of these elements. For digital signatures (Xml DigSig, JWS), the non-repudiation proof comes from the Signature validation, which includes validation of the referenced objects (e.g. Resources) (a.k.a., Content) in the XML-Signature Detached form.'
WarningBundle.signature.typeElements differ in definition for mustSupport: 'true' vs 'false'
WarningBundle.signature.whenElements differ in definition for mustSupport: 'true' vs 'false'
WarningBundle.signature.whoElements differ in short: 'Organization or practitioner who signed the Bundle' vs 'Who signed'
WarningBundle.signature.whoElements differ in definition for mustSupport: 'true' vs 'false'
WarningBundle.signature.who.referenceElements differ in definition for mustSupport: 'true' vs 'false'
WarningBundle.signature.who.identifierElements differ in short: 'NPI or US Tax ID' vs 'Logical reference, when literal reference is not known'
WarningBundle.signature.who.identifierElements differ in definition: 'NPI or Tax ID representing the Provider or Organization' vs 'An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.'
WarningBundle.signature.who.identifierElements differ in definition for mustSupport: 'true' vs 'false'
WarningBundle.signature.who.identifier.typeElements differ in definition for mustSupport: 'true' vs 'false'
InformationBundle.signature.who.identifier.typeElement minimum cardinalities differ: '1' vs '0'
WarningBundle.signature.who.identifier.valueElements differ in definition for mustSupport: 'true' vs 'false'
InformationBundle.signature.who.identifier.valueElement minimum cardinalities differ: '1' vs '0'
WarningBundle.signature.who.displayElements differ in definition for mustSupport: 'true' vs 'false'
WarningBundle.signature.dataElements differ in short: 'base64 encoded JWS-Signature' vs 'The actual signature content (XML DigSig. JWS, picture, etc.)'
WarningBundle.signature.dataElements differ in definition for mustSupport: 'true' vs 'false'
InformationBundle.signature.dataElement minimum cardinalities differ: '1' vs '0'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Bundle
      .copyrightUsed by permission of HL7 International all rights reserved Creative Commons License
        .date2022-08-08T15:11:35+00:002023-01-15
        • Values Differ
        .descriptionThis Bundle profile enforces the various elements of signature documented in the CDex guide. It adds the following *mandatory* (min=1) constraints: - A Bundle.signature element representing the enveloped signature - A Bundle.signature.type fixed to ASTM Standard, E1762-95(2013) code = “1.2.840.10065.1.12.1.5” (Verification Signature) - A Bundle.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 Bundle.signature.data representing base64 encoded JWS-Signature In addition, the following *mandatory* (min=1) element is inherited from the base standard: - Bundle.signature.when - system timestamp when the signature was createdThis Bundle profile enforces the various elements of signature documented in the CDex guide to represent an enveloped signature. It adds the following *mandatory* (min=1) constraint: - A Bundle.signature element using the CDex Signature Profile
        • Values Differ
        .experimental
          .fhirVersion4.0.1
            .jurisdiction
              ..jurisdiction[0]urn:iso:std:iso:3166#US
                .kindresource
                  .nameCDexSignatureBundle
                    .publisherHL7 International - Patient Care Work Group
                      .purpose
                        .statusactive
                          .titleCDex Signature Bundle Profile
                            .typeBundle
                              .urlhttp://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-signature-bundle
                                .version1.1.02.0.0
                                • Values Differ

                                Structure

                                NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                                .. Bundle C0..*BundleContains a collection of resources
                                sb-1: The signature element must have either reference to the signer or the signer's identifier and name.
                                C0..*BundleContains a collection of resources
                                  ... id Σ0..1stringLogical 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
                                        ... 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
                                          ... identifier Σ0..1IdentifierPersistent identifier for the bundleΣ0..1IdentifierPersistent identifier for the bundle
                                            ... type Σ1..1codedocument | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
                                            Binding: ?? (required): Indicates the purpose of a bundle - how it is intended to be used.

                                            Σ1..1codedocument | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
                                            Binding: ?? (required): Indicates the purpose of a bundle - how it is intended to be used.

                                              ... timestamp Σ0..1instantWhen the bundle was assembledΣ0..1instantWhen the bundle was assembled
                                                ... total ΣC0..1unsignedIntIf search, the total number of matchesΣC0..1unsignedIntIf search, the total number of matches
                                                  ... link Σ0..*BackboneElementLinks related to this Bundle
                                                  Σ0..*BackboneElementLinks related to this Bundle
                                                    .... 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
                                                          .... relation Σ1..1stringSee http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1Σ1..1stringSee http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
                                                            .... url Σ1..1uriReference details for the linkΣ1..1uriReference details for the link
                                                              ... entry ΣC0..*BackboneElementEntry in the bundle - will have a resource or information
                                                              This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
                                                              ΣC0..*BackboneElementEntry in the bundle - will have a resource or information
                                                              This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
                                                                .... 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
                                                                      .... link Σ0..*See link (Bundle)Links related to this entry
                                                                      Σ0..*See link (Bundle)Links related to this entry
                                                                        .... fullUrl Σ0..1uriURI for resource (Absolute URL server address or URI for UUID/OID)Σ0..1uriURI for resource (Absolute URL server address or URI for UUID/OID)
                                                                          .... resource Σ0..1ResourceA resource in the bundleΣ0..1ResourceA resource in the bundle
                                                                            .... search ΣC0..1BackboneElementSearch related informationΣC0..1BackboneElementSearch related information
                                                                              ..... 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
                                                                                    ..... mode Σ0..1codematch | include | outcome - why this is in the result set
                                                                                    Binding: ?? (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.

                                                                                    Σ0..1codematch | include | outcome - why this is in the result set
                                                                                    Binding: ?? (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.

                                                                                      ..... score Σ0..1decimalSearch ranking (between 0 and 1)Σ0..1decimalSearch ranking (between 0 and 1)
                                                                                        .... request ΣC0..1BackboneElementAdditional execution information (transaction/batch/history)ΣC0..1BackboneElementAdditional execution information (transaction/batch/history)
                                                                                          ..... 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
                                                                                                ..... method Σ1..1codeGET | HEAD | POST | PUT | DELETE | PATCH
                                                                                                Binding: ?? (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.

                                                                                                Σ1..1codeGET | HEAD | POST | PUT | DELETE | PATCH
                                                                                                Binding: ?? (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.

                                                                                                  ..... url Σ1..1uriURL for HTTP equivalent of this entryΣ1..1uriURL for HTTP equivalent of this entry
                                                                                                    ..... ifNoneMatch Σ0..1stringFor managing cache currencyΣ0..1stringFor managing cache currency
                                                                                                      ..... ifModifiedSince Σ0..1instantFor managing cache currencyΣ0..1instantFor managing cache currency
                                                                                                        ..... ifMatch Σ0..1stringFor managing update contentionΣ0..1stringFor managing update contention
                                                                                                          ..... ifNoneExist Σ0..1stringFor conditional createsΣ0..1stringFor conditional creates
                                                                                                            .... response ΣC0..1BackboneElementResults of execution (transaction/batch/history)ΣC0..1BackboneElementResults of execution (transaction/batch/history)
                                                                                                              ..... 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
                                                                                                                    ..... status Σ1..1stringStatus response code (text optional)Σ1..1stringStatus response code (text optional)
                                                                                                                      ..... location Σ0..1uriThe location (if the operation returns a location)Σ0..1uriThe location (if the operation returns a location)
                                                                                                                        ..... etag Σ0..1stringThe Etag for the resource (if relevant)Σ0..1stringThe Etag for the resource (if relevant)
                                                                                                                          ..... lastModified Σ0..1instantServer's date time modifiedΣ0..1instantServer's date time modified
                                                                                                                            ..... outcome Σ0..1ResourceOperationOutcome with hints and warnings (for batch/transaction)Σ0..1ResourceOperationOutcome with hints and warnings (for batch/transaction)
                                                                                                                              ... signature SΣ1..1SignatureDigital SignatureSC1..1??JWS Digital Signature
                                                                                                                              • Elements differ in short: 'Digital Signature' vs 'JWS Digital Signature'
                                                                                                                              • Elements differ in definition: 'Digital Signature - base64 encoded. XML-DSig or a JWT.' vs 'A JWS digital signature along with supporting context.'
                                                                                                                              • Elements differ in comments: 'The signature could be created by the "author" of the bundle or by the originating device. Requirements around inclusion of a signature, verification of signatures and treatment of signed/non-signed bundles is implementation-environment specific.' vs 'The elements of the Signature Resource are for ease of access of these elements. For digital signatures (Xml DigSig, JWS), the non-repudiation proof comes from the Signature validation, which includes validation of the referenced objects (e.g. Resources) (a.k.a., Content) in the XML-Signature Detached form.'
                                                                                                                              .... 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.


                                                                                                                                  Σ1..*CodingIndication of the reason the entity signed the object(s)
                                                                                                                                  Binding: ?? (preferred): An indication of the reason that an entity signed the object.


                                                                                                                                  • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                                                                                                  .... when SΣ1..1instantWhen the signature was createdΣ1..1instantWhen the signature was created
                                                                                                                                  • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                                                                                                  .... who SΣ1..1Reference(US Core Practitioner Profile S | US Core Organization Profile S | US Core PractitionerRole Profile)Organization or practitioner who signed the BundleΣ1..1Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)Who signed
                                                                                                                                  • Elements differ in short: 'Organization or practitioner who signed the Bundle' vs 'Who signed'
                                                                                                                                  • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                                                                                                  ..... 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 IDΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                                                                                        • Elements differ in short: 'NPI or US Tax ID' vs 'Logical reference, when literal reference is not known'
                                                                                                                                        • Elements differ in definition: 'NPI or Tax ID representing the Provider or Organization' vs 'An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.'
                                                                                                                                        • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                                                                                                        ...... 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
                                                                                                                                              Σ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
                                                                                                                                                Σ0..1stringThe value that is unique
                                                                                                                                                Example General: 123456
                                                                                                                                                • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                                                                                                                • Element minimum cardinalities differ: '1' vs '0'
                                                                                                                                                ...... 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.

                                                                                                                                                      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-Signature0..1base64BinaryThe actual signature content (XML DigSig. JWS, picture, etc.)
                                                                                                                                                          • Elements differ in short: 'base64 encoded JWS-Signature' vs 'The actual signature content (XML DigSig. JWS, picture, etc.)'
                                                                                                                                                          • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                                                                                                                          • Element minimum cardinalities differ: '1' vs '0'

                                                                                                                                                          doco Documentation for this format