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.1.0'
InformationStructureDefinition.dateValues for date differ: '2022-08-08T15:11:35+00:00' vs '2023-01-15'
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: 'Digital Signature' vs 'JWS Digital Signature'
InformationStructureDefinition.definitionValues for definition differ: 'Digital Signature - base64 encoded. XML-DSig or a JWT.' vs 'A JWS digital signature along with supporting context.'
InformationStructureDefinition.commentValues for comment differ: '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.'

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](https://hl7.org/fhir/us/davinci-cdex/signatures.html) 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](https://hl7.org/fhir/us/davinci-cdex/StructureDefinition-cdex-signature.html)
        • Values Differ
        .experimental
          .fhirVersion4.0.1
            .jurisdiction
              ..jurisdiction[0]urn:iso:std:iso:3166#US
                .kindresource
                  .nameCDexSignatureBundle
                    .publisherHL7 International - Patient Care Work GroupHL7 International / Payer/Provider Information Exchange Work Group
                    • Values Differ
                    .purpose
                      .statusactive
                        .titleCDex Signature Bundle Profile
                          .typeBundle
                            .urlhttp://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-signature-bundle
                              .version1.1.02.1.0
                              • Values Differ

                              Structure

                              NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                              .. Bundle C0..*BundleContains a collection of resources
                              bdl-1: total only when a search or history
                              bdl-2: entry.search only when a search
                              bdl-3: entry.request mandatory for batch/transaction/history, otherwise prohibited
                              bdl-4: entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited
                              bdl-7: FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)
                              bdl-9: A document must have an identifier with a system and a value
                              bdl-10: A document must have a date
                              bdl-11: A document must have a Composition as the first resource
                              bdl-12: A message must have a MessageHeader as the first resource
                              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
                              bdl-1: total only when a search or history
                              bdl-2: entry.search only when a search
                              bdl-3: entry.request mandatory for batch/transaction/history, otherwise prohibited
                              bdl-4: entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited
                              bdl-7: FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)
                              bdl-9: A document must have an identifier with a system and a value
                              bdl-10: A document must have a date
                              bdl-11: A document must have a Composition as the first resource
                              bdl-12: A message must have a MessageHeader as the first resource
                                ... 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
                                                            bdl-5: must be a resource unless there's a request or response
                                                            bdl-8: fullUrl cannot be a version specific reference
                                                            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
                                                            bdl-5: must be a resource unless there's a request or response
                                                            bdl-8: fullUrl cannot be a version specific reference
                                                            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
                                                                                                                            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 referencing
                                                                                                                              • Removed this element
                                                                                                                              .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                              Slice: Unordered, Open by value:url
                                                                                                                              • Removed this element
                                                                                                                              .... 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.


                                                                                                                              • Removed this element
                                                                                                                              .... when SΣ1..1instantWhen the signature was created
                                                                                                                              • Removed this element
                                                                                                                              .... who SΣ1..1Reference(US Core Practitioner Profile(3.1.0) S | US Core Organization Profile(3.1.0) S | US Core PractitionerRole Profile(3.1.0))Organization or practitioner who signed the Bundle
                                                                                                                              • Removed this element
                                                                                                                              .... onBehalfOf Σ0..1Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)The party represented
                                                                                                                              • Removed this element
                                                                                                                              .... targetFormat 0..1codeThe technical format of the signed resources
                                                                                                                              Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.

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

                                                                                                                              • Removed this element
                                                                                                                              .... data S1..1base64Binarybase64 encoded JWS-Signature
                                                                                                                              • Removed this element

                                                                                                                              doco Documentation for this format