This page is part of the FHIR Specification (v4.3.0: R4B - STU). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
Modeling and Methodology Work Group | Maturity Level: N/A | Standards Status: Informative |
Raw Turtle (+ also see Turtle/RDF Format Specification)
StructureDefinition for Signature
@prefix fhir: <http://hl7.org/fhir/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . # - resource ------------------------------------------------------------------- [] a fhir:StructureDefinition; fhir:Resource.id [ fhir:value "Signature"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:DomainResource.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ]; fhir:Extension.value [ fhir:value "trial-use" ] ]; fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/Signature"]; fhir:StructureDefinition.version [ fhir:value "4.3.0"]; fhir:StructureDefinition.name [ fhir:value "Signature"]; fhir:StructureDefinition.status [ fhir:value "draft"]; fhir:StructureDefinition.experimental [ fhir:value "false"]; fhir:StructureDefinition.date [ fhir:value "2022-05-28T12:47:40+10:00"]; fhir:StructureDefinition.publisher [ fhir:value "HL7 FHIR Standard"]; fhir:StructureDefinition.contact [ fhir:index 0; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ] ] ]; fhir:StructureDefinition.description [ fhir:value "Base StructureDefinition for Signature Type: A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities."]; fhir:StructureDefinition.purpose [ fhir:value "There are a number of places where content must be signed in healthcare."]; fhir:StructureDefinition.fhirVersion [ fhir:value "4.3.0"]; fhir:StructureDefinition.mapping [ fhir:index 0; fhir:StructureDefinition.identity [ fhir:value "rim" ]; fhir:StructureDefinition.uri [ fhir:value "http://hl7.org/v3" ]; fhir:StructureDefinition.name [ fhir:value "RIM Mapping" ] ]; fhir:StructureDefinition.kind [ fhir:value "complex-type"]; fhir:StructureDefinition.abstract [ fhir:value "false"]; fhir:StructureDefinition.type [ fhir:value "Signature"]; fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"]; fhir:StructureDefinition.derivation [ fhir:value "specialization"]; fhir:StructureDefinition.snapshot [ fhir:StructureDefinition.element [ fhir:index 0; fhir:Element.id [ fhir:value "Signature" ]; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ]; fhir:Extension.value [ fhir:value "trial-use" ] ]; fhir:ElementDefinition.path [ fhir:value "Signature" ]; fhir:ElementDefinition.short [ fhir:value "A Signature - XML DigSig, JWS, Graphical image of signature, etc." ]; fhir:ElementDefinition.definition [ fhir:value "A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities." ]; fhir:ElementDefinition.comment [ fhir:value "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." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Signature" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.condition [ fhir:value "ele-1"; fhir:index 0 ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children unless an empty Parameters resource" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count()) or $this is Parameters" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div|self::f:Parameters" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "n/a" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "N/A" ] ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "Signature.id" ]; fhir:ElementDefinition.path [ fhir:value "Signature.id" ]; fhir:ElementDefinition.representation [ fhir:value "xmlAttr"; fhir:index 0 ]; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ]; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Element.id" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ]; fhir:Extension.value [ fhir:value "id" ] ]; fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "n/a" ] ] ], [ fhir:index 2; fhir:Element.id [ fhir:value "Signature.extension" ]; fhir:ElementDefinition.path [ fhir:value "Signature.extension" ]; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.discriminator [ fhir:index 0; fhir:ElementDefinition.type [ fhir:value "value" ]; fhir:ElementDefinition.path [ fhir:value "url" ] ]; fhir:ElementDefinition.description [ fhir:value "Extensions are always sliced by (at least) url" ]; fhir:ElementDefinition.rules [ fhir:value "open" ] ]; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ]; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ]; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Element.extension" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ], [ fhir:index 1; fhir:ElementDefinition.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "n/a" ] ] ], [ fhir:index 3; fhir:Element.id [ fhir:value "Signature.type" ]; fhir:ElementDefinition.path [ fhir:value "Signature.type" ]; fhir:ElementDefinition.short [ fhir:value "Indication of the reason the entity signed the object(s)" ]; fhir:ElementDefinition.definition [ fhir:value "An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document." ]; fhir:ElementDefinition.comment [ fhir:value "Examples include attesting to: authorship, correct transcription, and witness of specific event. Also known as a "Commitment Type Indication"." ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Signature.type" ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Coding" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/build/StructureDefinition/binding-definition" ]; fhir:Extension.value [ fhir:value "An indication of the reason that an entity signed the object." ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "SignatureType" ] ]; fhir:ElementDefinition.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/signature-type" ] ] ], [ fhir:index 4; fhir:Element.id [ fhir:value "Signature.when" ]; fhir:ElementDefinition.path [ fhir:value "Signature.when" ]; fhir:ElementDefinition.short [ fhir:value "When the signature was created" ]; fhir:ElementDefinition.definition [ fhir:value "When the digital signature was signed." ]; fhir:ElementDefinition.comment [ fhir:value "This should agree with the information in the signature." ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Signature.when" ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "instant" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ fhir:index 5; fhir:Element.id [ fhir:value "Signature.who" ]; fhir:ElementDefinition.path [ fhir:value "Signature.who" ]; fhir:ElementDefinition.short [ fhir:value "Who signed" ]; fhir:ElementDefinition.definition [ fhir:value "A reference to an application-usable description of the identity that signed (e.g. the signature used their private key)." ]; fhir:ElementDefinition.comment [ fhir:value "This should agree with the information in the signature." ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Signature.who" ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner"; fhir:index 0 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole"; fhir:index 1 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson"; fhir:index 2 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient"; fhir:index 3 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device"; fhir:index 4 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization"; fhir:index 5 ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ fhir:index 6; fhir:Element.id [ fhir:value "Signature.onBehalfOf" ]; fhir:ElementDefinition.path [ fhir:value "Signature.onBehalfOf" ]; fhir:ElementDefinition.short [ fhir:value "The party represented" ]; fhir:ElementDefinition.definition [ fhir:value "A reference to an application-usable description of the identity that is represented by the signature." ]; fhir:ElementDefinition.comment [ fhir:value "The party that can't sign. For example a child." ]; fhir:ElementDefinition.requirements [ fhir:value "used when the signature is on behalf of a non-signer." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Signature.onBehalfOf" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner"; fhir:index 0 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole"; fhir:index 1 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson"; fhir:index 2 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient"; fhir:index 3 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device"; fhir:index 4 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization"; fhir:index 5 ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ fhir:index 7; fhir:Element.id [ fhir:value "Signature.targetFormat" ]; fhir:ElementDefinition.path [ fhir:value "Signature.targetFormat" ]; fhir:ElementDefinition.short [ fhir:value "The technical format of the signed resources" ]; fhir:ElementDefinition.definition [ fhir:value "A mime type that indicates the technical format of the target resources signed by the signature." ]; fhir:ElementDefinition.comment [ fhir:value "\"xml\", \"json\" and \"ttl\" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Signature.targetFormat" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "code" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/build/StructureDefinition/binding-definition" ]; fhir:Extension.value [ fhir:value "The mime type of an attachment. Any valid mime type is allowed." ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "MimeType" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.value [ fhir:value "true" ] ]; fhir:ElementDefinition.strength [ fhir:value "required" ]; fhir:ElementDefinition.description [ fhir:value "BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)" ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/mimetypes|4.3.0" ] ] ], [ fhir:index 8; fhir:Element.id [ fhir:value "Signature.sigFormat" ]; fhir:ElementDefinition.path [ fhir:value "Signature.sigFormat" ]; fhir:ElementDefinition.short [ fhir:value "The technical format of the signature" ]; fhir:ElementDefinition.definition [ fhir:value "A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Signature.sigFormat" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "code" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/build/StructureDefinition/binding-definition" ]; fhir:Extension.value [ fhir:value "The mime type of an attachment. Any valid mime type is allowed." ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "MimeType" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.value [ fhir:value "true" ] ]; fhir:ElementDefinition.strength [ fhir:value "required" ]; fhir:ElementDefinition.description [ fhir:value "BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)" ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/mimetypes|4.3.0" ] ] ], [ fhir:index 9; fhir:Element.id [ fhir:value "Signature.data" ]; fhir:ElementDefinition.path [ fhir:value "Signature.data" ]; fhir:ElementDefinition.short [ fhir:value "The actual signature content (XML DigSig. JWS, picture, etc.)" ]; fhir:ElementDefinition.definition [ fhir:value "The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty." ]; fhir:ElementDefinition.comment [ fhir:value "Where the signature type is an XML DigSig, the signed content is a FHIR Resource(s), the signature is of the XML form of the Resource(s) using XML-Signature (XMLDIG) \"Detached Signature\" form." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Signature.data" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "base64Binary" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ] ] ]; fhir:StructureDefinition.differential [ fhir:StructureDefinition.element [ fhir:index 0; fhir:Element.id [ fhir:value "Signature" ]; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ]; fhir:Extension.value [ fhir:value "trial-use" ] ]; fhir:ElementDefinition.path [ fhir:value "Signature" ]; fhir:ElementDefinition.short [ fhir:value "A Signature - XML DigSig, JWS, Graphical image of signature, etc." ]; fhir:ElementDefinition.definition [ fhir:value "A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities." ]; fhir:ElementDefinition.comment [ fhir:value "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." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "N/A" ] ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "Signature.type" ]; fhir:ElementDefinition.path [ fhir:value "Signature.type" ]; fhir:ElementDefinition.short [ fhir:value "Indication of the reason the entity signed the object(s)" ]; fhir:ElementDefinition.definition [ fhir:value "An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document." ]; fhir:ElementDefinition.comment [ fhir:value "Examples include attesting to: authorship, correct transcription, and witness of specific event. Also known as a "Commitment Type Indication"." ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Coding" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/build/StructureDefinition/binding-definition" ]; fhir:Extension.value [ fhir:value "An indication of the reason that an entity signed the object." ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "SignatureType" ] ]; fhir:ElementDefinition.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/signature-type" ] ] ], [ fhir:index 2; fhir:Element.id [ fhir:value "Signature.when" ]; fhir:ElementDefinition.path [ fhir:value "Signature.when" ]; fhir:ElementDefinition.short [ fhir:value "When the signature was created" ]; fhir:ElementDefinition.definition [ fhir:value "When the digital signature was signed." ]; fhir:ElementDefinition.comment [ fhir:value "This should agree with the information in the signature." ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "instant" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ fhir:index 3; fhir:Element.id [ fhir:value "Signature.who" ]; fhir:ElementDefinition.path [ fhir:value "Signature.who" ]; fhir:ElementDefinition.short [ fhir:value "Who signed" ]; fhir:ElementDefinition.definition [ fhir:value "A reference to an application-usable description of the identity that signed (e.g. the signature used their private key)." ]; fhir:ElementDefinition.comment [ fhir:value "This should agree with the information in the signature." ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner"; fhir:index 0 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole"; fhir:index 1 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson"; fhir:index 2 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient"; fhir:index 3 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device"; fhir:index 4 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization"; fhir:index 5 ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ fhir:index 4; fhir:Element.id [ fhir:value "Signature.onBehalfOf" ]; fhir:ElementDefinition.path [ fhir:value "Signature.onBehalfOf" ]; fhir:ElementDefinition.short [ fhir:value "The party represented" ]; fhir:ElementDefinition.definition [ fhir:value "A reference to an application-usable description of the identity that is represented by the signature." ]; fhir:ElementDefinition.comment [ fhir:value "The party that can't sign. For example a child." ]; fhir:ElementDefinition.requirements [ fhir:value "used when the signature is on behalf of a non-signer." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner"; fhir:index 0 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole"; fhir:index 1 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson"; fhir:index 2 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient"; fhir:index 3 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device"; fhir:index 4 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization"; fhir:index 5 ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ fhir:index 5; fhir:Element.id [ fhir:value "Signature.targetFormat" ]; fhir:ElementDefinition.path [ fhir:value "Signature.targetFormat" ]; fhir:ElementDefinition.short [ fhir:value "The technical format of the signed resources" ]; fhir:ElementDefinition.definition [ fhir:value "A mime type that indicates the technical format of the target resources signed by the signature." ]; fhir:ElementDefinition.comment [ fhir:value "\"xml\", \"json\" and \"ttl\" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "code" ] ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/build/StructureDefinition/binding-definition" ]; fhir:Extension.value [ fhir:value "The mime type of an attachment. Any valid mime type is allowed." ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "MimeType" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.value [ fhir:value "true" ] ]; fhir:ElementDefinition.strength [ fhir:value "required" ]; fhir:ElementDefinition.description [ fhir:value "BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)" ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/mimetypes|4.3.0" ] ] ], [ fhir:index 6; fhir:Element.id [ fhir:value "Signature.sigFormat" ]; fhir:ElementDefinition.path [ fhir:value "Signature.sigFormat" ]; fhir:ElementDefinition.short [ fhir:value "The technical format of the signature" ]; fhir:ElementDefinition.definition [ fhir:value "A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "code" ] ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/build/StructureDefinition/binding-definition" ]; fhir:Extension.value [ fhir:value "The mime type of an attachment. Any valid mime type is allowed." ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "MimeType" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.value [ fhir:value "true" ] ]; fhir:ElementDefinition.strength [ fhir:value "required" ]; fhir:ElementDefinition.description [ fhir:value "BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)" ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/mimetypes|4.3.0" ] ] ], [ fhir:index 7; fhir:Element.id [ fhir:value "Signature.data" ]; fhir:ElementDefinition.path [ fhir:value "Signature.data" ]; fhir:ElementDefinition.short [ fhir:value "The actual signature content (XML DigSig. JWS, picture, etc.)" ]; fhir:ElementDefinition.definition [ fhir:value "The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty." ]; fhir:ElementDefinition.comment [ fhir:value "Where the signature type is an XML DigSig, the signed content is a FHIR Resource(s), the signature is of the XML form of the Resource(s) using XML-Signature (XMLDIG) \"Detached Signature\" form." ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "base64Binary" ] ] ] ] . # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.