description: This Bundle profile enforces the various elements of signature documented in the CDex guide. It adds the following *mandatory* (min=1) constraints:\n\n- A Bundle.signature element representing the enveloped signature\n- A Bundle.signature.type fixed to ASTM Standard, E1762-95(2013) code = “1.2.840.10065.1.12.1.5” (Verification Signature)\n- A Bundle.signature.who for the organization or practitioner who signed the Bundle which is either:\n 1. a reference to US-Core Practitioner, PractitionerRole or Organization or\n 1. an NPI or Tax ID and name of the organization or practitioner\n- A Bundle.signature.data representing base64 encoded JWS-Signature \n\nIn addition, the following *mandatory* (min=1) element is inherited from the base standard:\n- Bundle.signature.when - system timestamp when the signature was created package_name: hl7.fhir.us.davinci derivation: constraint name: CDexSignatureBundle type: Bundle elements: signature: mustSupport: true index: 0 elements: type: mustSupport: true index: 1 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: verify: match: {code: 1.2.840.10065.1.12.1.5, system: 'urn:iso-astm:E1762-95:2013', display: Verification Signature} schema: short: Verification Signature mustSupport: true pattern: type: Coding value: {code: 1.2.840.10065.1.12.1.5, system: 'urn:iso-astm:E1762-95:2013', display: Verification Signature} _required: true index: 2 min: 1 max: 1 when: {mustSupport: true, index: 3} who: type: Reference short: Organization or practitioner who signed the Bundle mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole'] index: 4 elements: reference: {mustSupport: true, index: 5} identifier: short: NPI or US Tax ID mustSupport: true index: 6 elements: type: binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-cdex/ValueSet/cdex-identifier-types'} mustSupport: true index: 7 value: {mustSupport: true, index: 8} required: [value, type] display: {mustSupport: true, index: 9} data: {short: base64 encoded JWS-Signature, mustSupport: true, index: 10} required: [type, data] package_version: cdex-2.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-signature-bundle base: http://hl7.org/fhir/StructureDefinition/Bundle version: 2.0.0-ballot required: [signature]