HL7 FHIR Profile: Skin and Wound Assessment, Release 1 (For Comment)

SignatureProfile

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "cimi-element-Signature"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SW Signature Profile</b></p>\n  <p>A digital Signature - XML DigSig, JWT, Graphical image of signature, etc.</p>\n  <p><b>SW Mapping Summary</b></p>\n  <p><pre>cimi.element.Signature maps to Signature:\n  SignatureType maps to type\r\n  CreationTime maps to when\r\n  Signatory maps to who[x]\r\n  OnBehalfOf maps to onBehalfOf[x]\r\n  ContentType maps to contentType\r\n  BinaryData maps to blob		\n</pre></p>\n</div>"
  ];
  fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-element-Signature"];
  fhir:StructureDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/us/sw" ];
     fhir:Identifier.value [ fhir:value "cimi.element.Signature" ]
  ];
  fhir:StructureDefinition.version [ fhir:value "1.0.0"];
  fhir:StructureDefinition.name [ fhir:value "SignatureProfile"];
  fhir:StructureDefinition.title [ fhir:value "SW Signature Profile"];
  fhir:StructureDefinition.status [ fhir:value "draft"];
  fhir:StructureDefinition.date [ fhir:value "2018-08-17T00:00:00-04:00"^^xsd:dateTime];
  fhir:StructureDefinition.publisher [ fhir:value "HL7 Patient Care and Clinical Information Modeling Initiative Work Groups"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://standardhealthrecord.org" ]     ]
  ];
  fhir:StructureDefinition.description [ fhir:value "A digital Signature - XML DigSig, JWT, Graphical image of signature, etc."];
  fhir:StructureDefinition.purpose [ fhir:value "There are a number of places where content must be signed in healthcare."];
  fhir:StructureDefinition.fhirVersion [ fhir:value "3.0.1"];
  fhir:StructureDefinition.mapping [
     fhir:index 0;
     fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ]
  ];
  fhir:StructureDefinition.kind [ fhir:value "complex-type"];
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean];
  fhir:StructureDefinition.type [ fhir:value "Signature"];
  fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/Signature"];
  fhir:StructureDefinition.derivation [ fhir:value "constraint"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.snapshot.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Signature:cimi-element-Signature" ];
       fhir:ElementDefinition.path [ fhir:value "Signature" ];
       fhir:ElementDefinition.short [ fhir:value "SW Signature Profile" ];
       fhir:ElementDefinition.definition [ fhir:value "A digital Signature - XML DigSig, JWT, Graphical image of signature, etc." ];
       fhir:ElementDefinition.comment [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.condition [
         fhir:value "ele-1";
         fhir:index 0       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "Element" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "Signature:cimi-element-Signature.id" ];
       fhir:ElementDefinition.path [ fhir:value "Signature.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "Signature:cimi-element-Signature.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Signature.extension" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
           fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ]         ];
         fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ];
         fhir:ElementDefinition.slicing.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. 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." ];
       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"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "Signature:cimi-element-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 &quot;Commitment Type Indication&quot;." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "SignatureType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "An indication of the reason that an entity signed the object" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/signature-type>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/signature-type" ]         ]       ]     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "Signature:cimi-element-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"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "Signature:cimi-element-Signature.whoUri" ];
       fhir:ElementDefinition.path [ fhir:value "Signature.whoUri" ];
       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"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "Signature:cimi-element-Signature.onBehalfOf[x]" ];
       fhir:ElementDefinition.path [ fhir:value "Signature.onBehalfOf[x]" ];
       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"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-entity-Organization" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "Signature:cimi-element-Signature.contentType" ];
       fhir:ElementDefinition.path [ fhir:value "Signature.contentType" ];
       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/jwt for JWT, and image/* for a graphical image of a signature, etc." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "MimeType" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The mime type of an attachment. Any valid mime type is allowed." ];
         fhir:ElementDefinition.binding.valueSetUri [ fhir:value "http://www.rfc-editor.org/bcp/bcp13.txt" ]       ]     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "Signature:cimi-element-Signature.blob" ];
       fhir:ElementDefinition.path [ fhir:value "Signature.blob" ];
       fhir:ElementDefinition.short [ fhir:value "The actual signature content (XML DigSig. JWT, 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"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "base64Binary" ]       ]     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Signature:cimi-element-Signature" ];
       fhir:ElementDefinition.path [ fhir:value "Signature" ];
       fhir:ElementDefinition.short [ fhir:value "SW Signature Profile" ];
       fhir:ElementDefinition.definition [ fhir:value "A digital Signature - XML DigSig, JWT, Graphical image of signature, etc." ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "Signature:cimi-element-Signature.type" ];
       fhir:ElementDefinition.path [ fhir:value "Signature.type" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "SignatureType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "An indication of the reason that an entity signed the object" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/signature-type>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/signature-type" ]         ]       ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "Signature:cimi-element-Signature.whoUri" ];
       fhir:ElementDefinition.path [ fhir:value "Signature.whoUri" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "Signature:cimi-element-Signature.onBehalfOf[x]" ];
       fhir:ElementDefinition.path [ fhir:value "Signature.onBehalfOf[x]" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-entity-Organization" ]       ]     ]
  ].

<http://hl7.org/fhir/ValueSet/signature-type> a fhir:ValueSet.

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.