{
  "resourceType": "StructureDefinition",
  "id": "Person",
  "meta": {
    "lastUpdated": "2019-10-31T22:29:23.356+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "Base.Individuals"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 2
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
      "valueCode": "patient"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    }
  ],
  "url": "https://fhir.kemkes.go.id/r4/StructureDefinition/Person",
  "version": "4.0.1",
  "name": "Person",
  "status": "draft",
  "date": "2022-07-08T15:10:50.6856647+00:00",
  "publisher": "Health Level Seven International (Patient Administration)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    },
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/pafm/index.cfm"
        }
      ]
    }
  ],
  "description": "Demographics and administrative information about a person independent of a specific health-related context.",
  "purpose": "Need to track persons potentially across multiple roles.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Person",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "Person",
        "path": "Person",
        "short": "A generic person record",
        "definition": "Demographics and administrative information about a person independent of a specific health-related context.",
        "comment": "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": "rim",
            "map": "Person(classCode=\"PSN\" and determinerCode=\"INST\" and quantity=\"1\")"
          }
        ]
      },
      {
        "id": "Person.identifier",
        "path": "Person.identifier",
        "short": "A human identifier for this person",
        "definition": "Identifier for a person within a particular scope.",
        "requirements": "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": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "v2",
            "map": "PID-3"
          },
          {
            "identity": "rim",
            "map": ".plays:Role(classCode='IDENT').id"
          }
        ]
      },
      {
        "id": "Person.name",
        "path": "Person.name",
        "short": "A name associated with the person",
        "definition": "A name associated with the person.",
        "comment": "Person may have multiple names with different uses or applicable periods.",
        "requirements": "Need to be able to track the person by multiple names. Examples are your official name and a partner name.",
        "type": [
          {
            "code": "HumanName"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-5, PID-9"
          },
          {
            "identity": "rim",
            "map": "./name"
          }
        ]
      },
      {
        "id": "Person.telecom",
        "path": "Person.telecom",
        "short": "A contact detail for the person",
        "definition": "A contact detail for the person, e.g. a telephone number or an email address.",
        "comment": "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": "People have (primary) ways to contact them in some way such as phone, email.",
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-13, PID-14"
          },
          {
            "identity": "rim",
            "map": "./telecom"
          }
        ]
      },
      {
        "id": "Person.gender",
        "path": "Person.gender",
        "short": "male | female | other | unknown",
        "definition": "Administrative Gender.",
        "comment": "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": "Needed for identification of the person, in combination with (at least) name and birth date. Gender of person drives many clinical processes.",
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "AdministrativeGender"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "required",
          "description": "The gender of a person used for administrative purposes.",
          "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-8"
          },
          {
            "identity": "rim",
            "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"
          }
        ]
      },
      {
        "id": "Person.birthDate",
        "path": "Person.birthDate",
        "short": "The date on which the person was born",
        "definition": "The birth date for the person.",
        "comment": "At least an estimated year should be provided as a guess if the real DOB is unknown.",
        "requirements": "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": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-7"
          },
          {
            "identity": "rim",
            "map": "./birthTime"
          }
        ]
      },
      {
        "id": "Person.address",
        "path": "Person.address",
        "short": "One or more addresses for the person",
        "definition": "One or more addresses for the person.",
        "comment": "Person may have multiple addresses with different uses or applicable periods.",
        "requirements": "May need to keep track of person's addresses for contacting, billing or reporting requirements and also to help with identification.",
        "type": [
          {
            "code": "Address"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-11"
          },
          {
            "identity": "rim",
            "map": "./addr"
          }
        ]
      },
      {
        "id": "Person.photo",
        "path": "Person.photo",
        "short": "Image of the person",
        "definition": "An image that can be displayed as a thumbnail of the person to enhance the identification of the individual.",
        "max": "1",
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "OBX-5 - needs a profile"
          },
          {
            "identity": "rim",
            "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc"
          }
        ]
      },
      {
        "id": "Person.managingOrganization",
        "path": "Person.managingOrganization",
        "short": "The organization that is the custodian of the person record",
        "definition": "The organization that is the custodian of the person record.",
        "requirements": "Need to know who recognizes this person record, manages and updates it.",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "scoper"
          }
        ]
      },
      {
        "id": "Person.active",
        "path": "Person.active",
        "short": "This person's record is in active use",
        "definition": "Whether this person's record is in active use.",
        "requirements": "Need to be able to mark a person record as not to be used because it was created in error.",
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "isModifier": true,
        "isModifierReason": "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": true,
        "mapping": [
          {
            "identity": "w5",
            "map": "FiveWs.status"
          },
          {
            "identity": "rim",
            "map": "statusCode"
          }
        ]
      },
      {
        "id": "Person.link",
        "path": "Person.link",
        "short": "Link to a resource that concerns the same actual person",
        "definition": "Link to a resource that concerns the same actual person.",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "outboundLink"
          }
        ]
      },
      {
        "id": "Person.link.target",
        "path": "Person.link.target",
        "short": "The resource to which this actual person is associated",
        "definition": "The resource to which this actual person is associated.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/Person"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "id"
          }
        ]
      },
      {
        "id": "Person.link.assurance",
        "path": "Person.link.assurance",
        "short": "level1 | level2 | level3 | level4",
        "definition": "Level of assurance that this link is associated with the target resource.",
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IdentityAssuranceLevel"
            }
          ],
          "strength": "required",
          "description": "The level of confidence that this link represents the same actual person, based on NIST Authentication Levels.",
          "valueSet": "http://hl7.org/fhir/ValueSet/identity-assuranceLevel|4.0.1"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "priorityNumber?"
          }
        ]
      }
    ]
  }
}