<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Person" />
  <meta>
    <lastUpdated value="2019-11-01T09:29:23.356+11:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
    <valueString value="Base.Individuals" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="2" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="patient" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="pa" />
  </extension>
  <url value="https://fhir.kemkes.go.id/r4/StructureDefinition/Person" />
  <version value="4.0.1" />
  <name value="Person" />
  <status value="draft" />
  <date value="2022-07-08T15:10:50.6856647+00:00" />
  <publisher value="Health Level Seven International (Patient Administration)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
  </contact>
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.hl7.org/Special/committees/pafm/index.cfm" />
    </telecom>
  </contact>
  <description value="Demographics and administrative information about a person independent of a specific health-related context." />
  <purpose value="Need to track persons potentially across multiple roles." />
  <fhirVersion value="4.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/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Person" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
  <derivation value="specialization" />
  <differential>
    <element id="Person">
      <path value="Person" />
      <short value="A generic person record" />
      <definition value="Demographics and administrative information about a person independent of a specific health-related context." />
      <comment value="The Person resource does justice to person registries that keep track of persons regardless of their role. The Person resource is also a primary resource to point to for people acting in a particular role such as SubjectofCare, Practitioner, and Agent. Very few attributes are specific to any role and so Person is kept lean. Most attributes are expected to be tied to the role the Person plays rather than the Person himself. Examples of that are Guardian (SubjectofCare), ContactParty (SubjectOfCare, Practitioner), and multipleBirthInd (SubjectofCare)." />
      <mapping>
        <identity value="rim" />
        <map value="Person(classCode=&quot;PSN&quot; and determinerCode=&quot;INST&quot; and quantity=&quot;1&quot;)" />
      </mapping>
    </element>
    <element id="Person.identifier">
      <path value="Person.identifier" />
      <short value="A human identifier for this person" />
      <definition value="Identifier for a person within a particular scope." />
      <requirements value="People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the person. Examples are national person identifier and local identifier." />
      <type>
        <code value="Identifier" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.identifier" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="PID-3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".plays:Role(classCode='IDENT').id" />
      </mapping>
    </element>
    <element id="Person.name">
      <path value="Person.name" />
      <short value="A name associated with the person" />
      <definition value="A name associated with the person." />
      <comment value="Person may have multiple names with different uses or applicable periods." />
      <requirements value="Need to be able to track the person by multiple names. Examples are your official name and a partner name." />
      <type>
        <code value="HumanName" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="PID-5, PID-9" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./name" />
      </mapping>
    </element>
    <element id="Person.telecom">
      <path value="Person.telecom" />
      <short value="A contact detail for the person" />
      <definition value="A contact detail for the person, e.g. a telephone number or an email address." />
      <comment value="Person may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently and also to help with identification." />
      <requirements value="People have (primary) ways to contact them in some way such as phone, email." />
      <type>
        <code value="ContactPoint" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="PID-13, PID-14" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./telecom" />
      </mapping>
    </element>
    <element id="Person.gender">
      <path value="Person.gender" />
      <short value="male | female | other | unknown" />
      <definition value="Administrative Gender." />
      <comment value="The gender might not match the biological sex as determined by genetics, or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than M and F, though a clear majority of systems and contexts only support M and F." />
      <requirements value="Needed for identification of the person, in combination with (at least) name and birth date. Gender of person drives many clinical processes." />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AdministrativeGender" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true" />
        </extension>
        <strength value="required" />
        <description value="The gender of a person used for administrative purposes." />
        <valueSet value="http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1" />
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="PID-8" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" />
      </mapping>
    </element>
    <element id="Person.birthDate">
      <path value="Person.birthDate" />
      <short value="The date on which the person was born" />
      <definition value="The birth date for the person." />
      <comment value="At least an estimated year should be provided as a guess if the real DOB is unknown." />
      <requirements value="Age of person drives many clinical processes, and is often used in performing identification of the person. Times are not included so as to not confuse things with potential timezone issues." />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="PID-7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./birthTime" />
      </mapping>
    </element>
    <element id="Person.address">
      <path value="Person.address" />
      <short value="One or more addresses for the person" />
      <definition value="One or more addresses for the person." />
      <comment value="Person may have multiple addresses with different uses or applicable periods." />
      <requirements value="May need to keep track of person's addresses for contacting, billing or reporting requirements and also to help with identification." />
      <type>
        <code value="Address" />
      </type>
      <mapping>
        <identity value="v2" />
        <map value="PID-11" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./addr" />
      </mapping>
    </element>
    <element id="Person.photo">
      <path value="Person.photo" />
      <short value="Image of the person" />
      <definition value="An image that can be displayed as a thumbnail of the person to enhance the identification of the individual." />
      <max value="1" />
      <type>
        <code value="Attachment" />
      </type>
      <mapping>
        <identity value="v2" />
        <map value="OBX-5 - needs a profile" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc" />
      </mapping>
    </element>
    <element id="Person.managingOrganization">
      <path value="Person.managingOrganization" />
      <short value="The organization that is the custodian of the person record" />
      <definition value="The organization that is the custodian of the person record." />
      <requirements value="Need to know who recognizes this person record, manages and updates it." />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="scoper" />
      </mapping>
    </element>
    <element id="Person.active">
      <path value="Person.active" />
      <short value="This person's record is in active use" />
      <definition value="Whether this person's record is in active use." />
      <requirements value="Need to be able to mark a person record as not to be used because it was created in error." />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
      <isModifier value="true" />
      <isModifierReason value="This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid" />
      <isSummary value="true" />
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.status" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="statusCode" />
      </mapping>
    </element>
    <element id="Person.link">
      <path value="Person.link" />
      <short value="Link to a resource that concerns the same actual person" />
      <definition value="Link to a resource that concerns the same actual person." />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="outboundLink" />
      </mapping>
    </element>
    <element id="Person.link.target">
      <path value="Person.link.target" />
      <short value="The resource to which this actual person is associated" />
      <definition value="The resource to which this actual person is associated." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Person" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="id" />
      </mapping>
    </element>
    <element id="Person.link.assurance">
      <path value="Person.link.assurance" />
      <short value="level1 | level2 | level3 | level4" />
      <definition value="Level of assurance that this link is associated with the target resource." />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="IdentityAssuranceLevel" />
        </extension>
        <strength value="required" />
        <description value="The level of confidence that this link represents the same actual person, based on NIST Authentication Levels." />
        <valueSet value="http://hl7.org/fhir/ValueSet/identity-assuranceLevel|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="priorityNumber?" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>