<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="medmij-core-lm-Base" />
  <text>
    <status value="empty" />
    <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>
  </text>
  <url value="http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-Base" />
  <identifier>
    <use value="official" />
    <system value="urn:ietf:rfc:3986" />
    <value value="urn:oid:2.16.528.1.1023.3.6.5" />
  </identifier>
  <name value="MedMijCoreLmBase" />
  <title value="Base" />
  <status value="active" />
  <publisher value="MedMij" />
  <contact>
    <name value="MedMij" />
    <telecom>
      <system value="email" />
      <value value="info@medmij.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="All CIMs implicitly contain a number of basic concepts, such as an identification number or a reference to the patient the data belongs to. These are usually not included in the information models of the individual CIMs, but are supposed to be present. These are concepts that are of a more technical nature, sometimes have little or no clinical relevance, but are necessary for the sake of clarity and readability of the information. These basic concepts are collected in this Base model.&#xA;&#xA;Whenever similar concepts are in fact of clinical significance in the context of a certain CIM, they will be explicitly added in the information model of that CIM. An example of this is the inclusion of a healthcare provider reference to convey the relevant location in a CIM like Encounter or Procedure (next to the HealthcareProvider concept (medmij-core-dataelement-117) already present in this Base model), since the location where an encounter took place or where a procedure was carried out might be of clinical significance. Moreover, identification numbers with clinical significance such as AGB or UZI, might be added explicitly in certain CIMs (next to the IdentificationNumber concept (medmij-core-dataelement-115) already present in this Base model)." />
  <purpose value="This LogicalModel represents the base model for patient use cases in the context of MedMij. It takes inspiration from the Dutch zibs ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) [BasicElements v1.0 (2017)](https://zibs.nl/wiki/BasicElements-v1.0(2017EN)) and [RegistrationData v1.1.2 (2024)](https://www.zibs.nl/wiki/RegistrationData-v1.1.2(2024EN)), as well as the [EHDS DataSet model](https://www.xt-ehr.eu/fhir/models/1.0.0/en/StructureDefinition-EHDSDataSet.html), and is adjusted such that it is suitable for implementation purposes in the context of MedMij. Note that there is no zib in publication 2020 equivalent to the zib BasicElements from publication 2017 or the zib RegistrationData from publication 2024, hence a custom base model has been introduced." />
  <copyright value="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 value="4.0.1" />
  <mapping>
    <identity value="zib-basicelements-v1.0-2017EN" />
    <uri value="https://zibs.nl/wiki/BasicElements-v1.0(2017EN)" />
    <name value="zib BasicElements-v1.0(2017EN)" />
  </mapping>
  <mapping>
    <identity value="zib-registrationdata-v1.1.2-2024EN" />
    <uri value="https://www.zibs.nl/wiki/RegistrationData-v1.1.2(2024EN)" />
    <name value="zib RegistrationData-v1.1.2(2024EN)" />
  </mapping>
  <mapping>
    <identity value="ehds-dataset-v1.0.0" />
    <uri value="https://www.xt-ehr.eu/fhir/models/1.0.0/en/StructureDefinition-EHDSDataSet.html" />
    <name value="EHDS DataSet v1.0.0" />
  </mapping>
  <mapping>
    <identity value="medmij-core-dataset-120-20260923" />
    <name value="Dataset MedMij R4 Core 1.2.0 20260923" />
  </mapping>
  <mapping>
    <identity value="SNOMED" />
    <uri value="http://snomed.info/sct" />
    <name value="SNOMED CT" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-Base" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <differential>
    <element id="medmij-core-lm-Base">
      <path value="medmij-core-lm-Base" />
      <short value="Base" />
      <definition value="All CIMs implicitly contain a number of basic concepts, such as an identification number or a reference to the patient the data belongs to. These are usually not included in the information models of the individual CIMs, but are supposed to be present. These are concepts that are of a more technical nature, sometimes have little or no clinical relevance, but are necessary for the sake of clarity and readability of the information. These basic concepts are collected in this Base model.&#xA;&#xA;Whenever similar concepts are in fact of clinical significance in the context of a certain CIM, they will be explicitly added in the information model of that CIM. An example of this is the inclusion of a healthcare provider reference to convey the relevant location in a CIM like Encounter or Procedure (next to the HealthcareProvider concept (medmij-core-dataelement-117) already present in this Base model), since the location where an encounter took place or where a procedure was carried out might be of clinical significance. Moreover, identification numbers with clinical significance such as AGB or UZI, might be added explicitly in certain CIMs (next to the IdentificationNumber concept (medmij-core-dataelement-115) already present in this Base model)." />
      <alias value="Basis" />
      <mapping>
        <identity value="zib-basicelements-v1.0-2017EN" />
        <map value="NL-CM:0.0.1" />
        <comment value="HCIMRoot" />
      </mapping>
      <mapping>
        <identity value="zib-registrationdata-v1.1.2-2024EN" />
        <map value="NL-CM:22.1.1" />
        <comment value="RegistrationData" />
      </mapping>
      <mapping>
        <identity value="ehds-dataset-v1.0.0" />
        <map value="EHDSDataSet" />
        <comment value="EHDSDataSet" />
      </mapping>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-114" />
        <comment value="Base" />
      </mapping>
    </element>
    <element id="medmij-core-lm-Base.IdentificationNumber">
      <path value="medmij-core-lm-Base.IdentificationNumber" />
      <short value="Identification number" />
      <definition value="Globally unique number that identifies the instantiation of the CIM. The number is composed of an identification of the issuer organization and a unique number assigned by this organization." />
      <alias value="Identificatienummer" />
      <min value="1" />
      <max value="*" />
      <type>
        <code value="Identifier" />
      </type>
      <mapping>
        <identity value="zib-basicelements-v1.0-2017EN" />
        <map value="NL-CM:0.0.6" />
        <comment value="IdentificationNumber" />
      </mapping>
      <mapping>
        <identity value="zib-registrationdata-v1.1.2-2024EN" />
        <map value="NL-CM:22.1.12" />
        <comment value="IdentificationNumber" />
      </mapping>
      <mapping>
        <identity value="ehds-dataset-v1.0.0" />
        <map value="EHDSDataSet.header.identifier" />
        <comment value="identifier" />
      </mapping>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-115" />
        <comment value="IdentificationNumber" />
      </mapping>
      <mapping>
        <identity value="SNOMED" />
        <map value="396278008" />
        <comment value="identificatienummer" />
      </mapping>
    </element>
    <element id="medmij-core-lm-Base.Patient">
      <path value="medmij-core-lm-Base.Patient" />
      <short value="Patient" />
      <definition value="The patient as subject of the information." />
      <alias value="Patiënt" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-Patient" />
      </type>
      <mapping>
        <identity value="zib-basicelements-v1.0-2017EN" />
        <map value="NL-CM:0.0.12" />
        <comment value="Patient" />
      </mapping>
      <mapping>
        <identity value="ehds-dataset-v1.0.0" />
        <map value="EHDSDataSet.header.subject" />
        <comment value="subject" />
      </mapping>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-116" />
        <comment value="Patient" />
      </mapping>
      <mapping>
        <identity value="SNOMED" />
        <map value="131195008" />
        <comment value="onderwerp van informatie" />
      </mapping>
    </element>
    <element id="medmij-core-lm-Base.HealthcareProvider">
      <path value="medmij-core-lm-Base.HealthcareProvider" />
      <short value="Healthcare provider" />
      <definition value="The healthcare provider where the information is recorded and/or that is responsible for the information." />
      <alias value="Zorgaanbieder" />
      <alias value="Zorgorganisatie" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-HealthcareProvider" />
      </type>
      <mapping>
        <identity value="zib-basicelements-v1.0-2017EN" />
        <map value="NL-CM:0.0.9" />
        <comment value="HealthProfessionalAsAuthor (implicit, actual mapping is on HealthProfessionalAsAuthor::HealthProfessional.HealthcareProvider (NL-CM:17.1.6))" />
      </mapping>
      <mapping>
        <identity value="zib-registrationdata-v1.1.2-2024EN" />
        <map value="NL-CM:22.1.2" />
        <comment value="Author (implicit, actual mapping is on Author::HealthProfessional.HealthcareProvider (NL-CM:17.1.6))" />
      </mapping>
      <mapping>
        <identity value="ehds-dataset-v1.0.0" />
        <map value="EHDSDataSet.header.authorEHDSOrganisation" />
        <comment value="authorEHDSOrganisation" />
      </mapping>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-117" />
        <comment value="HealthcareProvider" />
      </mapping>
    </element>
    <element id="medmij-core-lm-Base.Effective[x]">
      <path value="medmij-core-lm-Base.Effective[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <short value="Effective" />
      <definition value="The time or period the event to which the information relates took place. This is the medically relevant time or period." />
      <alias value="Tijdsindicatie" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-118" />
        <comment value="Effective" />
      </mapping>
    </element>
    <element id="medmij-core-lm-Base.Effective[x]:EffectiveDateTime">
      <path value="medmij-core-lm-Base.Effective[x]" />
      <sliceName value="EffectiveDateTime" />
      <short value="Effective date time" />
      <definition value="The time the event to which the information relates took place. This is the medically relevant time." />
      <alias value="DatumTijd" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="zib-basicelements-v1.0-2017EN" />
        <map value="NL-CM:0.0.14" />
        <comment value="DateTime" />
      </mapping>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-119" />
        <comment value="EffectiveDateTime" />
      </mapping>
      <mapping>
        <identity value="SNOMED" />
        <map value="439771001" />
        <comment value="datum van gebeurtenis" />
      </mapping>
    </element>
    <element id="medmij-core-lm-Base.Effective[x]:EffectivePeriod">
      <path value="medmij-core-lm-Base.Effective[x]" />
      <sliceName value="EffectivePeriod" />
      <short value="Effective period" />
      <definition value="The period the event to which the information relates took place. This is the medically relevant period." />
      <alias value="Periode" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Period" />
      </type>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-120" />
        <comment value="EffectivePeriod" />
      </mapping>
    </element>
    <element id="medmij-core-lm-Base.Effective[x]:EffectivePeriod.start">
      <path value="medmij-core-lm-Base.Effective[x].start" />
      <short value="Start date time" />
      <definition value="The start date (and if possible start time) of the event to which the information relates. This is the medically relevant start date time." />
      <comment value="The EffectivePeriod.start is often referred to as StartDateTime." />
      <alias value="StartDatumTijd" />
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-121" />
        <comment value="StartDateTime" />
      </mapping>
    </element>
    <element id="medmij-core-lm-Base.Effective[x]:EffectivePeriod.end">
      <path value="medmij-core-lm-Base.Effective[x].end" />
      <short value="End date time" />
      <definition value="The end date (and if possible end time) of the event to which the information relates. This is the medically relevant end date time. If the event still continues, the end date is not populated." />
      <comment value="The EffectivePeriod.end is often referred to as EndDateTime." />
      <alias value="EindDatumTijd" />
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-122" />
        <comment value="EndDateTime" />
      </mapping>
    </element>
    <element id="medmij-core-lm-Base.CareType">
      <path value="medmij-core-lm-Base.CareType" />
      <short value="Care type" />
      <definition value="The type of the healthcare provider responsible for the delivered care, or more specifically, the specialty of the department and/or health professional that delivered care. It enables patients and systems to interpret the origin and context of medical data." />
      <alias value="Zorgtype" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.17.2.4--20200901000000" />
      </binding>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-123" />
        <comment value="CareType" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>