<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="medmij-core-ASAScore" />
  <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-ASAScore" />
  <name value="MedMijCoreASAScore" />
  <title value="medmij core ASAScore" />
  <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="Classification of physical condition according to the American Society of Anesthesiologists (ASA)." />
  <purpose value="This Observation resource represents the ASAScore Clinical Information Model (CIM) for patient use cases in the context of MedMij." />
  <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="medmij-core-dataset-120-20260923" />
    <name value="Dataset MedMij R4 Core 1.2.0 20260923" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <short value="ASAScore" />
      <definition value="Classification of physical condition according to the American Society of Anesthesiologists (ASA)." />
      <alias value="ASAScore" />
      <alias value="Measurement" />
      <alias value="Results" />
      <alias value="Tests" />
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-1" />
        <comment value="ASAScore" />
      </mapping>
    </element>
    <element id="Observation.meta.tag">
      <path value="Observation.meta.tag" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.meta.tag:careType">
      <path value="Observation.meta.tag" />
      <sliceName value="careType" />
      <short value="CareType" />
      <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="*" />
      <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>
    <element id="Observation.identifier">
      <path value="Observation.identifier" />
      <short value="IdentificationNumber" />
      <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" />
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-115" />
        <comment value="IdentificationNumber" />
      </mapping>
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://snomed.info/sct" />
          <code value="413347006" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <short value="Patient" />
      <definition value="The patient as subject of the information." />
      <alias value="Patiënt" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient" />
      </type>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-116" />
        <comment value="Patient" />
      </mapping>
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.effective[x]:effectiveDateTime">
      <path value="Observation.effective[x]" />
      <sliceName value="effectiveDateTime" />
      <short value="EffectiveDateTime" />
      <definition value="The date and time at which the ASA score was determined." />
      <alias value="Tijdsindicatie" />
      <alias value="DatumTijd" />
      <alias value="ASAScoreDatumTijd" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-119" />
        <comment value="EffectiveDateTime" />
      </mapping>
    </element>
    <element id="Observation.performer">
      <path value="Observation.performer" />
      <short value="Performer" />
      <definition value="The health professional who determined the ASA score." />
      <comment value="Each occurrence of the zib HealthProfessional is normally represented by _two_ FHIR resources: a PractitionerRole resource (instance of [nl-core-HealthProfessional-PractitionerRole](http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-PractitionerRole)) and a Practitioner resource (instance of [nl-core-HealthProfessional-Practitioner](http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-Practitioner)). The Practitioner resource is referenced from the PractitionerRole instance. For this reason, sending systems should fill the reference to the PractitionerRole instance here, and not the Practitioner resource. Receiving systems can then retrieve the reference to the Practitioner resource from that PractitionerRole instance.&#xA;&#xA;In rare circumstances, there is only a Practitioner instance, in which case it is that instance which will be referenced here. However, since this should be the exception, the nl-core-HealthProfessional-Practitioner profile is not explicitly mentioned as a target profile." />
      <alias value="Uitvoerder" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-PractitionerRole" />
      </type>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-4" />
        <comment value="Performer" />
      </mapping>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-117" />
        <comment value="HealthcareProvider (implicit, actual mapping is on PractitionerRole.organization)" />
      </mapping>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="Observation.value[x]:valueCodeableConcept">
      <path value="Observation.value[x]" />
      <sliceName value="valueCodeableConcept" />
      <short value="ASAScoreValue" />
      <definition value="The value of the ASA score." />
      <alias value="ASAScoreWaarde" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://medmij.nl/fhir/ValueSet/ASAScore" />
      </binding>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-3" />
        <comment value="ASAScoreValue" />
      </mapping>
    </element>
    <element id="Observation.note.text">
      <path value="Observation.note.text" />
      <short value="Comment" />
      <definition value="Comment on the ASA score, including comments on for example the circumstances and/or disruptive factors that may influence the result." />
      <alias value="Toelichting" />
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-5" />
        <comment value="Comment" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>