{
  "resourceType": "StructureDefinition",
  "id": "nl-core-relatedperson",
  "url": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson",
  "version": "2.0.5",
  "name": "nl-core-relatedperson",
  "title": "nl-core-relatedperson",
  "status": "active",
  "publisher": "HL7 Netherlands",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "A RelatedPerson resource as defined by the Dutch Health and Care Information models or HCIM (Dutch: Zorginformatiebouwsteen or ZIB) ContactPersoon version 3.1 (Release 2017). The HCIM ContactPerson is meant to deal with both related persons and contacts. This profile targets instantiations of the HCIM ContactPerson who are related persons. An HCIM ContactPerson who is a contact for a patient, belongs in Patient.contact. If a person is both a related person and a contact person, then some data duplication is inevitable. This may or may not be resolved in a future version of the Patient/RelatedPerson resources.",
  "purpose": "Recording relevant information to identify the contacts.",
  "copyright": "CC0",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "hcim-contactperson-v3.1-2017EN",
      "uri": "https://zibs.nl/wiki/ContactPerson-v3.1(2017EN)",
      "name": "HCIM ContactPerson-v3.1(2017EN)"
    },
    {
      "identity": "hcim-contactinformation-v1.0-2017EN",
      "uri": "https://zibs.nl/wiki/ContactInformation-v1.0(2017EN)",
      "name": "HCIM ContactInformation-v1.0(2017EN)",
      "comment": "ContactInformation has become an independent information model as of release 2017 of the HCIMs."
    },
    {
      "identity": "hcim-payer-v3.1-2017EN",
      "uri": "https://zibs.nl/wiki/Payer-v3.1(2017EN)",
      "name": "HCIM Payer-v3.1(2017EN)"
    },
    {
      "identity": "hcim-basicelements-v1.0-2017EN",
      "uri": "https://zibs.nl/wiki/BasicElements-v1.0(2017EN)",
      "name": "HCIM BasicElements-v1.0(2017EN)"
    },
    {
      "identity": "hcim-contactperson-v3.0-2016EN",
      "uri": "https://zibs.nl/wiki/ContactPerson-v3.0(2016EN)",
      "name": "HCIM ContactPerson-v3.0(2016EN)"
    },
    {
      "identity": "hcim-contactinformation-v3.0-2016EN",
      "uri": "https://zibs.nl/wiki/Patient-v3.0(2016EN)",
      "name": "HCIM Patient-v3.0(2016EN)",
      "comment": "ContactInformation has become an independent information model as of release 2017 of the HCIMs."
    },
    {
      "identity": "hcim-payer-v3.0-2016EN",
      "uri": "https://zibs.nl/wiki/Payer-v3.0(2016EN)",
      "name": "HCIM Payer-v3.0(2016EN)"
    },
    {
      "identity": "hcim-contactperson-v1.2-2015EN",
      "uri": "https://zibs.nl/wiki/ContactPerson-v1.2(2015EN)",
      "name": "HCIM ContactPerson-v1.2(2015EN)"
    },
    {
      "identity": "hcim-contactinformation-v2.0.1-2015EN",
      "uri": "https://zibs.nl/wiki/Patient-v2.0.1(2015EN)",
      "name": "HCIM Patient-v2.0.1(2015EN)",
      "comment": "ContactInformation has become an independent information model as of release 2017 of the HCIMs"
    },
    {
      "identity": "hcim-payer-v1.2-2015EN",
      "uri": "https://zibs.nl/wiki/Payer-v1.2(2015EN)",
      "name": "HCIM Payer-v1.2(2015EN)"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson",
        "path": "RelatedPerson",
        "mapping": [
          {
            "identity": "hcim-contactperson-v1.2-2015EN",
            "map": "NL-CM:3.1.1",
            "comment": "Contact"
          },
          {
            "identity": "hcim-contactperson-v3.0-2016EN",
            "map": "NL-CM:3.1.1",
            "comment": "Contact"
          },
          {
            "identity": "hcim-contactperson-v3.1-2017EN",
            "map": "NL-CM:3.1.1",
            "comment": "Contact"
          },
          {
            "identity": "hcim-basicelements-v1.0-2017EN",
            "map": "NL-CM:0.0.5",
            "comment": "RelatedPersonAsInformationSource::ContactPerson"
          },
          {
            "identity": "hcim-basicelements-v1.0-2017EN",
            "map": "NL-CM:0.0.10",
            "comment": "RelatedPersonAsAuthor::ContactPerson"
          },
          {
            "identity": "hcim-basicelements-v1.0-2017EN",
            "map": "NL-CM:0.0.13",
            "comment": "RelatedPersonAsSubject::ContactPerson"
          }
        ]
      },
      {
        "id": "RelatedPerson.extension",
        "path": "RelatedPerson.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "RelatedPerson.extension:role",
        "path": "RelatedPerson.extension",
        "sliceName": "role",
        "short": "Role",
        "definition": "Defines the role of the contact in relation to the patient.",
        "alias": [
          "Rol"
        ],
        "type": [
          {
            "code": "Extension",
            "profile": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson-role"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-contactperson-v1.2-2015EN",
            "map": "NL-CM:3.1.2",
            "comment": "Role"
          },
          {
            "identity": "hcim-contactperson-v3.0-2016EN",
            "map": "NL-CM:3.1.2",
            "comment": "Role"
          },
          {
            "identity": "hcim-contactperson-v3.1-2017EN",
            "map": "NL-CM:3.1.2",
            "comment": "Role"
          }
        ]
      },
      {
        "id": "RelatedPerson.extension:role.valueCodeableConcept:valueCodeableConcept",
        "path": "RelatedPerson.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "binding": {
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.2--20171231000000",
            "display": "RolCodelijst"
          }
        }
      },
      {
        "id": "RelatedPerson.identifier",
        "path": "RelatedPerson.identifier",
        "mapping": [
          {
            "identity": "hcim-basicelements-v1.0-2017EN",
            "map": "NL-CM:0.0.6",
            "comment": "IdentificationNumber"
          }
        ]
      },
      {
        "id": "RelatedPerson.patient",
        "path": "RelatedPerson.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-basicelements-v1.0-2017EN",
            "map": "NL-CM:0.0.11",
            "comment": "Subject"
          }
        ]
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "short": "Relationship",
        "definition": "Defines the contact’s familial relationship to the patient.",
        "alias": [
          "Relatie"
        ],
        "binding": {
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.1--20171231000000",
            "display": "RelatieCodelijst"
          }
        },
        "mapping": [
          {
            "identity": "hcim-contactperson-v1.2-2015EN",
            "map": "NL-CM:3.1.3",
            "comment": "Relationship"
          },
          {
            "identity": "hcim-contactperson-v3.0-2016EN",
            "map": "NL-CM:3.1.3",
            "comment": "Relationship"
          },
          {
            "identity": "hcim-contactperson-v3.1-2017EN",
            "map": "NL-CM:3.1.3",
            "comment": "Relationship"
          }
        ]
      },
      {
        "id": "RelatedPerson.name",
        "path": "RelatedPerson.name",
        "short": "NameInformation",
        "definition": "Full name of the contact.",
        "alias": [
          "Naamgegevens"
        ],
        "type": [
          {
            "code": "HumanName",
            "profile": "http://fhir.nl/fhir/StructureDefinition/nl-core-humanname"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-contactperson-v1.2-2015EN",
            "map": "NL-CM:3.1.4",
            "comment": "Name"
          },
          {
            "identity": "hcim-contactperson-v3.0-2016EN",
            "map": "NL-CM:3.1.4",
            "comment": "Name"
          },
          {
            "identity": "hcim-contactperson-v3.1-2017EN",
            "map": "NL-CM:3.1.4",
            "comment": "NameInformation"
          },
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.5",
            "comment": "PayerName"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.5",
            "comment": "PayerName"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.5",
            "comment": "PayerName"
          }
        ]
      },
      {
        "id": "RelatedPerson.telecom",
        "path": "RelatedPerson.telecom",
        "type": [
          {
            "code": "ContactPoint",
            "profile": "http://fhir.nl/fhir/StructureDefinition/nl-core-contactpoint"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-contactperson-v1.2-2015EN",
            "map": "NL-CM:3.1.6",
            "comment": "TelephoneE-mail"
          },
          {
            "identity": "hcim-contactperson-v3.0-2016EN",
            "map": "NL-CM:3.1.6",
            "comment": "TelephoneE-mail"
          },
          {
            "identity": "hcim-contactperson-v3.1-2017EN",
            "map": "NL-CM:3.1.6",
            "comment": "ContactInformation"
          },
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.12",
            "comment": "TelephoneE-mail"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.12",
            "comment": "TelephoneE-mail"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.12",
            "comment": "ContactInformation"
          }
        ]
      },
      {
        "id": "RelatedPerson.address",
        "path": "RelatedPerson.address",
        "short": "AddressInformation",
        "alias": [
          "Adresgegevens"
        ],
        "type": [
          {
            "code": "Address",
            "profile": "http://fhir.nl/fhir/StructureDefinition/nl-core-address"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-contactperson-v1.2-2015EN",
            "map": "NL-CM:3.1.5",
            "comment": "Address"
          },
          {
            "identity": "hcim-contactperson-v3.0-2016EN",
            "map": "NL-CM:3.1.5",
            "comment": "Address"
          },
          {
            "identity": "hcim-contactperson-v3.1-2017EN",
            "map": "NL-CM:3.1.5",
            "comment": "AddressInformation"
          },
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.17",
            "comment": "Address"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.17",
            "comment": "Address"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.17",
            "comment": "AddressInformation"
          }
        ]
      },
      {
        "id": "RelatedPerson.period",
        "path": "RelatedPerson.period",
        "mapping": [
          {
            "identity": "hcim-basicelements-v1.0-2017EN",
            "map": "NL-CM:0.0.14",
            "comment": "DateTime"
          }
        ]
      }
    ]
  }
}