{
  "resourceType": "StructureDefinition",
  "id": "hg-Encounter",
  "url": "http://nictiz.nl/fhir/StructureDefinition/hg-Encounter",
  "name": "HgEncounter",
  "title": "hg Encounter",
  "status": "draft",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "An Encounter (\"Contact\") as used within the medical record (\"Dossiergegevens\") section in the ELZ data set. It is based on the zib Encounter as much as possible, but adds some elements that are necessary for data exchange in the primary care domain.",
  "purpose": "A derived profile from [nl-core-Encounter](http://nictiz.nl/fhir/StructureDefinition/nl-core-Encounter) to provide a version better suited for use in ELZ use cases.",
  "copyright": "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "hg-dataset-020-beta1-20230612",
      "uri": "https://decor.nictiz.nl/pub/eerstelijnszorg/hg-html-20230612T223800/ds-2.16.840.1.113883.2.4.3.11.60.103.1.1-2020-10-19T175239.html",
      "name": "ART-DECOR dataset ELZ 0.2.0-beta.1 20230612",
      "comment": "Relation with the ELZ data set."
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Encounter",
  "baseDefinition": "http://nictiz.nl/fhir/StructureDefinition/nl-core-Encounter",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Encounter",
        "path": "Encounter",
        "mapping": [
          {
            "identity": "hg-dataset-020-beta1-20230612",
            "map": "hg-dataelement-111",
            "comment": "Contact"
          }
        ]
      },
      {
        "id": "Encounter.identifier",
        "path": "Encounter.identifier",
        "short": "IdentificationNumber",
        "definition": "Globally unique number that identifies the instantiation of the information model. The number is composed of an identification of the issuer organization and a unique number assigned by this organization.",
        "alias": [
          "Identificatienummer"
        ],
        "mapping": [
          {
            "identity": "hg-dataset-020-beta1-20230612",
            "map": "hg-dataelement-1203",
            "comment": "IdentificationNumber"
          }
        ]
      },
      {
        "id": "Encounter.class",
        "path": "Encounter.class",
        "example": [
          {
            "label": "Example for consultation (\"Consult\")",
            "valueCoding": {
              "system": "urn:oid:2.16.840.1.113883.2.4.4.30.14",
              "code": "C",
              "display": "consult"
            }
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "Classification of the Encounter using NHG-Tabel 14-Contactwijze",
          "valueSet": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.103.11.3--20201104132536"
        },
        "mapping": [
          {
            "identity": "hg-dataset-020-beta1-20230612",
            "map": "hg-dataelement-112",
            "comment": "ContactType"
          }
        ]
      },
      {
        "id": "Encounter.participant:healthProfessional",
        "path": "Encounter.participant",
        "sliceName": "healthProfessional",
        "mapping": [
          {
            "identity": "hg-dataset-020-beta1-20230612",
            "map": "hg-dataelement-113",
            "comment": "ContactWith"
          }
        ]
      },
      {
        "id": "Encounter.participant:healthProfessional.individual",
        "path": "Encounter.participant.individual",
        "mapping": [
          {
            "identity": "hg-dataset-020-beta1-20230612",
            "map": "hg-dataelement-5394",
            "comment": "HealthProfessional"
          }
        ]
      },
      {
        "id": "Encounter.participant:responsibleHealthProfessional",
        "path": "Encounter.participant",
        "sliceName": "responsibleHealthProfessional",
        "code": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code": "RESP"
          }
        ],
        "max": "1",
        "mapping": [
          {
            "identity": "hg-dataset-020-beta1-20230612",
            "map": "hg-dataelement-804",
            "comment": "ContactResponsible"
          }
        ]
      },
      {
        "id": "Encounter.participant:responsibleHealthProfessional.type",
        "path": "Encounter.participant.type",
        "short": "HealthProfessionalRole",
        "definition": "The role the health professional fulfils in the healthcare process. For health professionals, this could be for example attender, referrer or performer.",
        "alias": [
          "ZorgverlenerRol"
        ],
        "min": 1,
        "max": "1"
      },
      {
        "id": "Encounter.participant.individual",
        "path": "Encounter.participant.individual",
        "mapping": [
          {
            "identity": "hg-dataset-020-beta1-20230612",
            "map": "hg-datalement-5397",
            "comment": "HealthProfessional"
          }
        ]
      }
    ]
  }
}