<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-core-Signature" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR Signature Profile</b>
      </p>
      <p>A digital Signature - XML DigSig, JWT, Graphical image of signature, etc.</p>
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.core.Signature maps to Signature:
  TypeAsaCoding 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>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Signature" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.core.Signature" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR Signature Profile" />
  <status value="draft" />
  <date value="2017-12-20" />
  <publisher value="The MITRE Corporation: Standard Health Record Collaborative" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://standardhealthrecord.org" />
    </telecom>
  </contact>
  <description value="A digital Signature - XML DigSig, JWT, Graphical image of signature, etc." />
  <purpose value="There are a number of places where content must be signed in healthcare." />
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <type value="Signature" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Signature" />
  <derivation value="constraint" />
  <differential>
    <element id="Signature:shr-core-Signature">
      <path value="Signature" />
      <short value="SHR Signature Profile" />
      <definition value="A digital Signature - XML DigSig, JWT, Graphical image of signature, etc." />
    </element>
    <element id="Signature:shr-core-Signature.type">
      <path value="Signature.type" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SignatureType" />
        </extension>
        <strength value="extensible" />
        <description value="An indication of the reason that an entity signed the object" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/signature-type" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Signature:shr-core-Signature.who[x]">
      <path value="Signature.who[x]" />
      <type>
        <code value="uri" />
      </type>
    </element>
    <element id="Signature:shr-core-Signature.onBehalfOf[x]">
      <path value="Signature.onBehalfOf[x]" />
      <type>
        <code value="uri" />
      </type>
    </element>
  </differential>
</StructureDefinition>