{
  "resourceType": "StructureDefinition",
  "id": "shr-entity-RelatedPerson",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR RelatedPerson Profile</b></p>\n  <p>A person in a role defined in relationship to a patient</p>\n  <p><b>SHR Mapping Summary</b></p>\n  <p><pre>shr.entity.RelatedPerson maps to RelatedPerson:\n  Person.ActiveFlag maps to active\n  Person.HumanName maps to name\n  Person.DateOfBirth maps to birthDate\n  Person.AdministrativeGender maps to gender\n  Person.Address maps to address\n  Person.Headshot maps to photo\n  Person.ContactPoint maps to telecom\n  RelationshipType maps to relationship\n  EffectiveTimePeriod maps to period\n</pre></p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-RelatedPerson",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.entity.RelatedPerson"
    }
  ],
  "version": "0.0.1",
  "name": "SHR RelatedPerson Profile",
  "status": "draft",
  "date": "2017-12-20",
  "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://standardhealthrecord.org"
        }
      ]
    }
  ],
  "description": "A person in a role defined in relationship to a patient",
  "purpose": "Need to track persons related to the patient or the healthcare process.",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson:shr-entity-RelatedPerson",
        "path": "RelatedPerson",
        "short": "SHR RelatedPerson Profile",
        "definition": "A person in a role defined in relationship to a patient"
      },
      {
        "id": "RelatedPerson:shr-entity-RelatedPerson.extension:person",
        "path": "RelatedPerson.extension",
        "sliceName": "person",
        "definition": "A person relevant to the health or social situation of the subject (including the person of record him or herself).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Person-extension"
          }
        ]
      },
      {
        "id": "RelatedPerson:shr-entity-RelatedPerson.extension:relatedencounter",
        "path": "RelatedPerson.extension",
        "sliceName": "relatedencounter",
        "definition": "If content was generated during a patient encounter, related encounter is the encounter where the information was gained.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension"
          }
        ]
      },
      {
        "id": "RelatedPerson:shr-entity-RelatedPerson.extension:author",
        "path": "RelatedPerson.extension",
        "sliceName": "author",
        "definition": "The person or organization who created the entry and is responsible for (and may certify) the content.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension"
          }
        ]
      },
      {
        "id": "RelatedPerson:shr-entity-RelatedPerson.extension:informant",
        "path": "RelatedPerson.extension",
        "sliceName": "informant",
        "definition": "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": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension"
          }
        ]
      },
      {
        "id": "RelatedPerson:shr-entity-RelatedPerson.extension:type",
        "path": "RelatedPerson.extension",
        "sliceName": "type",
        "definition": "The most specific code (lowest level term) describing the kind or sort of thing being represented.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension"
          }
        ]
      },
      {
        "id": "RelatedPerson:shr-entity-RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "PatientRelationshipType"
            }
          ],
          "strength": "extensible",
          "description": "The nature of the relationship between a patient and the related person",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype"
          }
        }
      }
    ]
  }
}