{
  "resourceType": "StructureDefinition",
  "id": "path-lm-Patient",
  "text": {
    "status": "empty",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-be-target"
    }
  ],
  "url": "http://medmij.nl/fhir/StructureDefinition/path-lm-Patient",
  "identifier": [
    {
      "use": "official",
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.528.1.1023.3.5.1"
    }
  ],
  "name": "PathLmPatient",
  "title": "Patient",
  "status": "draft",
  "publisher": "MedMij",
  "contact": [
    {
      "name": "MedMij",
      "telecom": [
        {
          "system": "email",
          "value": "info@medmij.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "The person whose human tissue is analyzed in a pathology study.",
  "purpose": "This LogicalModel represents the Patient Clinical Information Model (CIM) for patient use cases in the context of Pathology. It is based on the Patient CIM defined within MedMij Core.",
  "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": "mercurius-core-dataset-2-0",
      "name": "Mercurius Core Dataset 2.0"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://medmij.nl/fhir/StructureDefinition/path-lm-Patient",
  "baseDefinition": "http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-Patient",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "path-lm-Patient",
        "path": "path-lm-Patient",
        "definition": "The person whose human tissue is analyzed in a pathology study."
      },
      {
        "id": "path-lm-Patient.NameInformation",
        "path": "path-lm-Patient.NameInformation",
        "min": 1
      },
      {
        "id": "path-lm-Patient.NameInformation.FirstNames",
        "path": "path-lm-Patient.NameInformation.FirstNames",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.NameInformation.Initials",
        "path": "path-lm-Patient.NameInformation.Initials",
        "definition": "Initials of the patient in capitals, divided by dots.",
        "alias": [
          "Voorletters"
        ],
        "min": 1,
        "mapping": [
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-9",
            "comment": "voorletters"
          }
        ]
      },
      {
        "id": "path-lm-Patient.NameInformation.GivenName",
        "path": "path-lm-Patient.NameInformation.GivenName",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.NameInformation.NameUsage",
        "path": "path-lm-Patient.NameInformation.NameUsage",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.NameInformation.LastName",
        "path": "path-lm-Patient.NameInformation.LastName",
        "min": 1
      },
      {
        "id": "path-lm-Patient.NameInformation.LastName.Prefix",
        "path": "path-lm-Patient.NameInformation.LastName.Prefix",
        "mapping": [
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-6",
            "comment": "vvnaamman"
          },
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-8",
            "comment": "vvnaamvrouw"
          }
        ]
      },
      {
        "id": "path-lm-Patient.NameInformation.LastName.LastName",
        "path": "path-lm-Patient.NameInformation.LastName.LastName",
        "mapping": [
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-5",
            "comment": "naamman"
          },
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-7",
            "comment": "naamvrouw"
          }
        ]
      },
      {
        "id": "path-lm-Patient.NameInformation.LastNamePartner",
        "path": "path-lm-Patient.NameInformation.LastNamePartner",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.NameInformation.Titles",
        "path": "path-lm-Patient.NameInformation.Titles",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.AddressInformation",
        "path": "path-lm-Patient.AddressInformation",
        "max": "1"
      },
      {
        "id": "path-lm-Patient.AddressInformation.Street",
        "path": "path-lm-Patient.AddressInformation.Street",
        "mapping": [
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-16",
            "comment": "straat"
          }
        ]
      },
      {
        "id": "path-lm-Patient.AddressInformation.HouseNumber",
        "path": "path-lm-Patient.AddressInformation.HouseNumber",
        "mapping": [
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-17",
            "comment": "huisnummer"
          }
        ]
      },
      {
        "id": "path-lm-Patient.AddressInformation.HouseNumberLetter",
        "path": "path-lm-Patient.AddressInformation.HouseNumberLetter",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.AddressInformation.HouseNumberAddition",
        "path": "path-lm-Patient.AddressInformation.HouseNumberAddition",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.AddressInformation.HouseNumberIndication",
        "path": "path-lm-Patient.AddressInformation.HouseNumberIndication",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.AddressInformation.Postcode",
        "path": "path-lm-Patient.AddressInformation.Postcode",
        "comment": "Dutch postal codes contain 4 numerical characters, a space and 2 letters in uppercase (_nnnn AA_). Codes attain values between 1000 and 9999. If the postal code is unknown, the dummy _0000 XX_ is used in Mercurius.\n\nForeign postal codes are expressed in free text. If the postal code is unknown, the dummy _0009 XX_ is used in Mercurius.\n\nIf the postal code retrieved from Mercurius (i.e. either _postcode_, mercurius-core-rubriek-18, or _postcodebuitenland_, mercurius-core-rubriek-20) attains one of the dummy values indicated above, this element SHALL be omitted.",
        "mapping": [
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-18",
            "comment": "postcode"
          },
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-20",
            "comment": "postcodebuitenland"
          }
        ]
      },
      {
        "id": "path-lm-Patient.AddressInformation.PlaceOfResidence",
        "path": "path-lm-Patient.AddressInformation.PlaceOfResidence",
        "mapping": [
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-19",
            "comment": "woonplaats"
          }
        ]
      },
      {
        "id": "path-lm-Patient.AddressInformation.Municipality",
        "path": "path-lm-Patient.AddressInformation.Municipality",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.AddressInformation.Country",
        "path": "path-lm-Patient.AddressInformation.Country",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.AddressInformation.AdditionalInformation",
        "path": "path-lm-Patient.AddressInformation.AdditionalInformation",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.AddressInformation.AddressType",
        "path": "path-lm-Patient.AddressInformation.AddressType",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.ContactInformation",
        "path": "path-lm-Patient.ContactInformation",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.PatientIdentificationNumber",
        "path": "path-lm-Patient.PatientIdentificationNumber",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.DateOfBirth",
        "path": "path-lm-Patient.DateOfBirth",
        "comment": "If the birth date retrieved from Mercurius (i.e. _geboortedatum_, mercurius-core-rubriek-11) has the form YY-MM-DD, the birth century (i.e. _geboorteeeuw_, mercurius-core-rubriek-13) SHALL be used to convert this date to a date of the form YYYY-MM-DD.",
        "min": 1,
        "mapping": [
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-11",
            "comment": "geboortedatum"
          },
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-13",
            "comment": "geboorteeeuw (implicit)"
          }
        ]
      },
      {
        "id": "path-lm-Patient.Gender",
        "path": "path-lm-Patient.Gender",
        "comment": "In Mercurius, codes from the MercuriusGender code system are used to convey the gender of the patient.",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.0.1.1--20200901000000",
          "_valueSet": {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap",
                "valueCanonical": "http://medmij.nl/fhir/ConceptMap/MercuriusGender-to-GeslachtCodelijst"
              }
            ]
          },
          "description": "Use ConceptMap MercuriusGender-to-GeslachtCodelijst to translate terminology from the Mercurius model to zib terminology in ValueSet GeslachtCodelijst."
        },
        "mapping": [
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-10",
            "comment": "geslacht"
          }
        ]
      },
      {
        "id": "path-lm-Patient.MultipleBirthIndicator",
        "path": "path-lm-Patient.MultipleBirthIndicator",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.DeathIndicator",
        "path": "path-lm-Patient.DeathIndicator",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.DateOfDeath",
        "path": "path-lm-Patient.DateOfDeath",
        "max": "0"
      },
      {
        "id": "path-lm-Patient.BirthPlace",
        "path": "path-lm-Patient.BirthPlace",
        "short": "Birth place",
        "definition": "Place of birth.",
        "comment": "The place of birth is part of the CIS personalia as delivered by the CIS-GBA.",
        "alias": [
          "Geboorteplaats"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-14",
            "comment": "geboorteplaats"
          }
        ]
      },
      {
        "id": "path-lm-Patient.BirthCountry",
        "path": "path-lm-Patient.BirthCountry",
        "short": "Birth country",
        "definition": "Country of birth.",
        "alias": [
          "Geboorteland"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "mercurius-core-dataset-2-0",
            "map": "mercurius-core-rubriek-15",
            "comment": "geboorteland"
          }
        ]
      }
    ]
  }
}