SignatureProfile
{
"resourceType" : "StructureDefinition",
"id" : "cimi-element-Signature",
"text" : {
"status" : "generated",
"div" : "<div xmlns="http://www.w3.org/1999/xhtml">
<p><b>SW Signature Profile</b></p>
<p>A digital Signature - XML DigSig, JWT, Graphical image of signature, etc.</p>
<p><b>SW Mapping Summary</b></p>
<p><pre>cimi.element.Signature maps to Signature:
SignatureType maps to type
CreationTime maps to when
Signatory maps to who[x]
OnBehalfOf maps to onBehalfOf[x]
ContentType maps to contentType
BinaryData maps to blob
</pre></p>
</div>"
},
"url" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-element-Signature",
"identifier" : [
{
"system" : "http://hl7.org/fhir/us/sw",
"value" : "cimi.element.Signature"
}
],
"version" : "1.0.0",
"name" : "SignatureProfile",
"title" : "SW Signature Profile",
"status" : "draft",
"date" : "2018-08-17T00:00:00-04:00",
"publisher" : "HL7 Patient Care and Clinical Information Modeling Initiative Work Groups",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://standardhealthrecord.org"
}
]
}
],
"description" : "A digital Signature - XML DigSig, JWT, Graphical image of signature, etc.",
"purpose" : "There are a number of places where content must be signed in healthcare.",
"fhirVersion" : "3.0.1",
"mapping" : [
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
}
],
"kind" : "complex-type",
"abstract" : false,
"type" : "Signature",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Signature",
"derivation" : "constraint",
"snapshot" : {
"element" : [
{
"id" : "Signature:cimi-element-Signature",
"path" : "Signature",
"short" : "SW Signature Profile",
"definition" : "A digital Signature - XML DigSig, JWT, Graphical image of signature, etc.",
"comment" : "The elements of the Signature Resource are for ease of access of these elements. Foro digital signatures (Xml DigSig, JWT), 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.",
"min" : 0,
"max" : "*",
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div",
"source" : "Element"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Signature:cimi-element-Signature.id",
"path" : "Signature.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Signature:cimi-element-Signature.extension",
"path" : "Signature.extension",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional Content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "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.",
"alias" : [
"extensions",
"user content"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Signature:cimi-element-Signature.type",
"path" : "Signature.type",
"short" : "Indication of the reason the entity signed the object(s)",
"definition" : "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.",
"comment" : "Examples include attesting to: authorship, correct transcription, and witness of specific event. Also known as a "Commitment Type Indication".",
"min" : 1,
"max" : "*",
"type" : [
{
"code" : "Coding"
}
],
"isSummary" : true,
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SignatureType"
}
],
"strength" : "extensible",
"description" : "An indication of the reason that an entity signed the object",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/signature-type"
}
}
},
{
"id" : "Signature:cimi-element-Signature.when",
"path" : "Signature.when",
"short" : "When the signature was created",
"definition" : "When the digital signature was signed.",
"comment" : "This should agree with the information in the signature.",
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "instant"
}
],
"isSummary" : true
},
{
"id" : "Signature:cimi-element-Signature.whoUri",
"path" : "Signature.whoUri",
"short" : "Who signed",
"definition" : "A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).",
"comment" : "This should agree with the information in the signature.",
"min" : 1,
"max" : "1",
"type" : [
{
"code" : "uri"
}
],
"isSummary" : true
},
{
"id" : "Signature:cimi-element-Signature.onBehalfOf[x]",
"path" : "Signature.onBehalfOf[x]",
"short" : "The party represented",
"definition" : "A reference to an application-usable description of the identity that is represented by the signature.",
"comment" : "The party that can't sign. For example a child.",
"requirements" : "used when the signature is on behalf of a non-signer.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "uri"
},
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-entity-Organization"
}
],
"isSummary" : true
},
{
"id" : "Signature:cimi-element-Signature.contentType",
"path" : "Signature.contentType",
"short" : "The technical format of the signature",
"definition" : "A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jwt for JWT, and image/* for a graphical image of a signature, etc.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "code"
}
],
"isSummary" : true,
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "MimeType"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}
],
"strength" : "required",
"description" : "The mime type of an attachment. Any valid mime type is allowed.",
"valueSetUri" : "http://www.rfc-editor.org/bcp/bcp13.txt"
}
},
{
"id" : "Signature:cimi-element-Signature.blob",
"path" : "Signature.blob",
"short" : "The actual signature content (XML DigSig. JWT, picture, etc.)",
"definition" : "The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty.",
"comment" : "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.",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "base64Binary"
}
]
}
]
},
"differential" : {
"element" : [
{
"id" : "Signature:cimi-element-Signature",
"path" : "Signature",
"short" : "SW Signature Profile",
"definition" : "A digital Signature - XML DigSig, JWT, Graphical image of signature, etc."
},
{
"id" : "Signature:cimi-element-Signature.type",
"path" : "Signature.type",
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SignatureType"
}
],
"strength" : "extensible",
"description" : "An indication of the reason that an entity signed the object",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/signature-type"
}
}
},
{
"id" : "Signature:cimi-element-Signature.whoUri",
"path" : "Signature.whoUri",
"type" : [
{
"code" : "uri"
}
]
},
{
"id" : "Signature:cimi-element-Signature.onBehalfOf[x]",
"path" : "Signature.onBehalfOf[x]",
"type" : [
{
"code" : "uri"
},
{
"code" : "Reference",
"targetProfile" : "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-entity-Organization"
}
]
}
]
}
}