<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-entity-Person" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR Person Profile</b>
      </p>
      <p>A person relevant to the health or social situation of the subject (including the person of record him or herself).</p>
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.entity.Person maps to Basic:
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Person" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.entity.Person" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR Person 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 person relevant to the health or social situation of the subject (including the person of record him or herself)." />
  <purpose value="Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources." />
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Basic" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Basic" />
  <derivation value="constraint" />
  <differential>
    <element id="Basic:shr-entity-Person">
      <path value="Basic" />
      <short value="SHR Person Profile" />
      <definition value="A person relevant to the health or social situation of the subject (including the person of record him or herself)." />
    </element>
    <element id="Basic:shr-entity-Person.extension:relatedencounter">
      <path value="Basic.extension" />
      <sliceName value="relatedencounter" />
      <definition value="If content was generated during a patient encounter, related encounter is the encounter where the information was gained." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:author">
      <path value="Basic.extension" />
      <sliceName value="author" />
      <definition value="The person or organization who created the entry and is responsible for (and may certify) the content." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:informant">
      <path value="Basic.extension" />
      <sliceName value="informant" />
      <definition value="The person or entity that provided the information in the entry, as distinct from who created the entry, e.g. the subject (patient), medical professional, family member, device or software program." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:type">
      <path value="Basic.extension" />
      <sliceName value="type" />
      <definition value="The most specific code (lowest level term) describing the kind or sort of thing being represented." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:humanname">
      <path value="Basic.extension" />
      <sliceName value="humanname" />
      <definition value="A name used by a human being, written as it would be typically expressed. May include a breakdown of the various elements of the name (family name, given name, etc.)." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-HumanName-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:anonymizedflag">
      <path value="Basic.extension" />
      <sliceName value="anonymizedflag" />
      <definition value="Flag indicating if personally identifiable information has been withheld or disguised." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-AnonymizedFlag-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:fictionalpersonflag">
      <path value="Basic.extension" />
      <sliceName value="fictionalpersonflag" />
      <definition value="Flag indicating if this record represents a fictional (synthetic, not real) person." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-FictionalPersonFlag-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:dateofbirth">
      <path value="Basic.extension" />
      <sliceName value="dateofbirth" />
      <definition value="A date of birth or approximate year or period (year or date range), if estimated." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-DateOfBirth-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:administrativegender">
      <path value="Basic.extension" />
      <sliceName value="administrativegender" />
      <definition value="A gender classification used for administrative purposes. Administrative gender is not necessarily the same as a biological description or a gender identity. This attribute does not include terms related to clinical gender." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-AdministrativeGender-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:address">
      <path value="Basic.extension" />
      <sliceName value="address" />
      <definition value="An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations and which might not be valid for mail delivery. There are a variety of postal address formats defined around the world. (Source: HL7 FHIR)." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:headshot">
      <path value="Basic.extension" />
      <sliceName value="headshot" />
      <definition value="A photograph showing a person's face." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Headshot-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:contactpoint">
      <path value="Basic.extension" />
      <sliceName value="contactpoint" />
      <definition value="An electronic means of contacting an organization or individual." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-ContactPoint-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:languageused">
      <path value="Basic.extension" />
      <sliceName value="languageused" />
      <definition value="Language used for communication by a human, either the subject of record, parent, or other involved person." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-LanguageUsed-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:activeflag">
      <path value="Basic.extension" />
      <sliceName value="activeflag" />
      <definition value="If the ActiveFlag is false, it indicates the record or item is no longer to be used and should generally be hidden for the user in the UI." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-ActiveFlag-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.extension:externalhealthrecord">
      <path value="Basic.extension" />
      <sliceName value="externalhealthrecord" />
      <definition value="A health record other than the current health record; may have been used to help populate the current record." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-ExternalHealthRecord-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-Person.code">
      <path value="Basic.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://standardhealthrecord.org/fhir/basic-resource-type" />
          <code value="shr-entity-Person" />
        </coding>
      </patternCodeableConcept>
    </element>
  </differential>
</StructureDefinition>