{
  "resourceType": "StructureDefinition",
  "id": "medmij-core-lm-ASAScore",
  "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>"
  },
  "url": "http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-ASAScore",
  "identifier": [
    {
      "use": "official",
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.528.1.1023.3.6.1"
    }
  ],
  "name": "MedMijCoreLmASAScore",
  "title": "ASAScore",
  "status": "active",
  "publisher": "MedMij",
  "contact": [
    {
      "name": "MedMij",
      "telecom": [
        {
          "system": "email",
          "value": "info@medmij.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Classification of physical condition according to the American Society of Anesthesiologists (ASA).",
  "purpose": "This LogicalModel represents the ASAScore Clinical Information Model (CIM) for patient use cases in the context of MedMij. It is based on [this publication](https://www.asahq.org/standards-and-practice-parameters/statement-on-asa-physical-status-classification-system) by the American Society of Anesthesiologists (ASA), as well as a [Dutch version](https://anesthesia.help/nl/condition/praktische-anesthesiologie/asa-classificatie/) of the specification.",
  "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": "medmij-core-dataset-120-20260923",
      "name": "Dataset MedMij R4 Core 1.2.0 20260923"
    },
    {
      "identity": "SNOMED",
      "uri": "http://snomed.info/sct",
      "name": "SNOMED CT"
    },
    {
      "identity": "LOINC",
      "uri": "http://loinc.org",
      "name": "LOINC"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-ASAScore",
  "baseDefinition": "http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-Base",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "medmij-core-lm-ASAScore",
        "path": "medmij-core-lm-ASAScore",
        "short": "ASAScore",
        "definition": "Classification of physical condition according to the American Society of Anesthesiologists (ASA).",
        "alias": [
          "Basis",
          "ASAScore"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "medmij-core-lm-ASAScore",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "zib-basicelements-v1.0-2017EN",
            "map": "NL-CM:0.0.1",
            "comment": "HCIMRoot"
          },
          {
            "identity": "zib-registrationdata-v1.1.2-2024EN",
            "map": "NL-CM:22.1.1",
            "comment": "RegistrationData"
          },
          {
            "identity": "ehds-dataset-v1.0.0",
            "map": "EHDSDataSet",
            "comment": "EHDSDataSet"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-114",
            "comment": "Base"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-1",
            "comment": "ASAScore"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.id",
        "path": "medmij-core-lm-ASAScore.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.extension",
        "path": "medmij-core-lm-ASAScore.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.IdentificationNumber",
        "path": "medmij-core-lm-ASAScore.IdentificationNumber",
        "short": "Identification number",
        "definition": "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": [
          "Identificatienummer"
        ],
        "min": 1,
        "max": "*",
        "base": {
          "path": "medmij-core-lm-Base.IdentificationNumber",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
          },
          {
            "identity": "rim",
            "map": "II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]"
          },
          {
            "identity": "servd",
            "map": "Identifier"
          },
          {
            "identity": "zib-basicelements-v1.0-2017EN",
            "map": "NL-CM:0.0.6",
            "comment": "IdentificationNumber"
          },
          {
            "identity": "zib-registrationdata-v1.1.2-2024EN",
            "map": "NL-CM:22.1.12",
            "comment": "IdentificationNumber"
          },
          {
            "identity": "ehds-dataset-v1.0.0",
            "map": "EHDSDataSet.header.identifier",
            "comment": "identifier"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-115",
            "comment": "IdentificationNumber"
          },
          {
            "identity": "SNOMED",
            "map": "396278008",
            "comment": "identificatienummer"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Patient",
        "path": "medmij-core-lm-ASAScore.Patient",
        "short": "Patient",
        "definition": "The patient as subject of the information.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "alias": [
          "Patiënt"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "medmij-core-lm-Base.Patient",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-Patient"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "zib-basicelements-v1.0-2017EN",
            "map": "NL-CM:0.0.12",
            "comment": "Patient"
          },
          {
            "identity": "ehds-dataset-v1.0.0",
            "map": "EHDSDataSet.header.subject",
            "comment": "subject"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-116",
            "comment": "Patient"
          },
          {
            "identity": "SNOMED",
            "map": "131195008",
            "comment": "onderwerp van informatie"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.HealthcareProvider",
        "path": "medmij-core-lm-ASAScore.HealthcareProvider",
        "short": "Healthcare provider",
        "definition": "The healthcare provider where the information is recorded and/or that is responsible for the information.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "alias": [
          "Zorgaanbieder",
          "Zorgorganisatie"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "medmij-core-lm-Base.HealthcareProvider",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-HealthcareProvider"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "zib-basicelements-v1.0-2017EN",
            "map": "NL-CM:0.0.9",
            "comment": "HealthProfessionalAsAuthor (implicit, actual mapping is on HealthProfessionalAsAuthor::HealthProfessional.HealthcareProvider (NL-CM:17.1.6))"
          },
          {
            "identity": "zib-registrationdata-v1.1.2-2024EN",
            "map": "NL-CM:22.1.2",
            "comment": "Author (implicit, actual mapping is on Author::HealthProfessional.HealthcareProvider (NL-CM:17.1.6))"
          },
          {
            "identity": "ehds-dataset-v1.0.0",
            "map": "EHDSDataSet.header.authorEHDSOrganisation",
            "comment": "authorEHDSOrganisation"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-117",
            "comment": "HealthcareProvider"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Effective[x]",
        "path": "medmij-core-lm-ASAScore.Effective[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Effective",
        "definition": "The time or period the event to which the information relates took place. This is the medically relevant time or period.",
        "alias": [
          "Tijdsindicatie"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "medmij-core-lm-Base.Effective[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-118",
            "comment": "Effective"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Effective[x]:EffectiveDateTime",
        "path": "medmij-core-lm-ASAScore.Effective[x]",
        "sliceName": "EffectiveDateTime",
        "short": "ASA score date/time",
        "definition": "The date and time at which the ASA score was determined.",
        "alias": [
          "DatumTijd",
          "ASAScoreDatumTijd"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "medmij-core-lm-Base.Effective[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "zib-basicelements-v1.0-2017EN",
            "map": "NL-CM:0.0.14",
            "comment": "DateTime"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-119",
            "comment": "EffectiveDateTime"
          },
          {
            "identity": "SNOMED",
            "map": "439771001",
            "comment": "datum van gebeurtenis"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Effective[x]:EffectivePeriod",
        "path": "medmij-core-lm-ASAScore.Effective[x]",
        "sliceName": "EffectivePeriod",
        "short": "Effective period",
        "definition": "The period the event to which the information relates took place. This is the medically relevant period.",
        "comment": "A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. \"the patient was an inpatient of the hospital for this time range\") or one value from the range applies (e.g. \"give to the patient between these two times\").\n\nPeriod is not used for a duration (a measure of elapsed time). See [Duration](datatypes.html#Duration).",
        "alias": [
          "Periode"
        ],
        "min": 0,
        "max": "0",
        "base": {
          "path": "medmij-core-lm-Base.Effective[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "per-1",
            "severity": "error",
            "human": "If present, start SHALL have a lower value than end",
            "expression": "start.hasValue().not() or end.hasValue().not() or (start <= end)",
            "xpath": "not(exists(f:start/@value)) or not(exists(f:end/@value)) or (xs:dateTime(f:start/@value) <= xs:dateTime(f:end/@value))",
            "source": "http://hl7.org/fhir/StructureDefinition/Period"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "DR"
          },
          {
            "identity": "rim",
            "map": "IVL<TS>[lowClosed=\"true\" and highClosed=\"true\"] or URG<TS>[lowClosed=\"true\" and highClosed=\"true\"]"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-120",
            "comment": "EffectivePeriod"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Effective[x]:EffectivePeriod.id",
        "path": "medmij-core-lm-ASAScore.Effective[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Effective[x]:EffectivePeriod.extension",
        "path": "medmij-core-lm-ASAScore.Effective[x].extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Effective[x]:EffectivePeriod.start",
        "path": "medmij-core-lm-ASAScore.Effective[x].start",
        "short": "Start date time",
        "definition": "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": "The EffectivePeriod.start is often referred to as StartDateTime.",
        "alias": [
          "StartDatumTijd"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Period.start",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "condition": [
          "ele-1",
          "per-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "DR.1"
          },
          {
            "identity": "rim",
            "map": "./low"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-121",
            "comment": "StartDateTime"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Effective[x]:EffectivePeriod.end",
        "path": "medmij-core-lm-ASAScore.Effective[x].end",
        "short": "End date time",
        "definition": "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": "The EffectivePeriod.end is often referred to as EndDateTime.",
        "alias": [
          "EindDatumTijd"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Period.end",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "meaningWhenMissing": "If the end of the period is missing, it means that the period is ongoing",
        "condition": [
          "ele-1",
          "per-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "DR.2"
          },
          {
            "identity": "rim",
            "map": "./high"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-122",
            "comment": "EndDateTime"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.CareType",
        "path": "medmij-core-lm-ASAScore.CareType",
        "short": "Care type",
        "definition": "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.",
        "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
        "alias": [
          "Zorgtype"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "medmij-core-lm-Base.CareType",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.17.2.4--20200901000000"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CE/CNE/CWE"
          },
          {
            "identity": "rim",
            "map": "CD"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-123",
            "comment": "CareType"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.ASAScoreValue",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode": "4.0.0"
          }
        ],
        "path": "medmij-core-lm-ASAScore.ASAScoreValue",
        "short": "ASA score value",
        "definition": "The value of the ASA score.",
        "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
        "alias": [
          "ASAScoreWaarde"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "medmij-core-lm-ASAScore.ASAScoreValue",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://medmij.nl/fhir/ValueSet/ASAScore"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CE/CNE/CWE"
          },
          {
            "identity": "rim",
            "map": "CD"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-3",
            "comment": "ASAScoreValue"
          },
          {
            "identity": "SNOMED",
            "map": "413347006",
            "comment": "ASA-score"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Performer",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode": "4.0.0"
          }
        ],
        "path": "medmij-core-lm-ASAScore.Performer",
        "short": "Performer",
        "definition": "The health professional who determined the ASA score.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "alias": [
          "Uitvoerder"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "medmij-core-lm-ASAScore.Performer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-HealthProfessional"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-4",
            "comment": "Performer"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Comment",
        "path": "medmij-core-lm-ASAScore.Comment",
        "short": "Comment",
        "definition": "Comment on the ASA score, including comments on for example the circumstances and/or disruptive factors that may influence the result.",
        "comment": "Note that FHIR strings SHALL NOT exceed 1MB in size",
        "alias": [
          "Toelichting"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "medmij-core-lm-ASAScore.Comment",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-5",
            "comment": "Comment"
          },
          {
            "identity": "LOINC",
            "map": "48767-8",
            "comment": "Verklarend commentaar"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "medmij-core-lm-ASAScore",
        "path": "medmij-core-lm-ASAScore",
        "short": "ASAScore",
        "definition": "Classification of physical condition according to the American Society of Anesthesiologists (ASA).",
        "alias": [
          "ASAScore"
        ],
        "mapping": [
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-1",
            "comment": "ASAScore"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Effective[x]:EffectiveDateTime",
        "path": "medmij-core-lm-ASAScore.Effective[x]",
        "sliceName": "EffectiveDateTime",
        "short": "ASA score date/time",
        "definition": "The date and time at which the ASA score was determined.",
        "alias": [
          "ASAScoreDatumTijd"
        ],
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Effective[x]:EffectivePeriod",
        "path": "medmij-core-lm-ASAScore.Effective[x]",
        "sliceName": "EffectivePeriod",
        "max": "0",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.ASAScoreValue",
        "path": "medmij-core-lm-ASAScore.ASAScoreValue",
        "short": "ASA score value",
        "definition": "The value of the ASA score.",
        "alias": [
          "ASAScoreWaarde"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://medmij.nl/fhir/ValueSet/ASAScore"
        },
        "mapping": [
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-3",
            "comment": "ASAScoreValue"
          },
          {
            "identity": "SNOMED",
            "map": "413347006",
            "comment": "ASA-score"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Performer",
        "path": "medmij-core-lm-ASAScore.Performer",
        "short": "Performer",
        "definition": "The health professional who determined the ASA score.",
        "alias": [
          "Uitvoerder"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-HealthProfessional"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-4",
            "comment": "Performer"
          }
        ]
      },
      {
        "id": "medmij-core-lm-ASAScore.Comment",
        "path": "medmij-core-lm-ASAScore.Comment",
        "short": "Comment",
        "definition": "Comment on the ASA score, including comments on for example the circumstances and/or disruptive factors that may influence the result.",
        "alias": [
          "Toelichting"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "medmij-core-dataset-120-20260923",
            "map": "medmij-core-dataelement-5",
            "comment": "Comment"
          },
          {
            "identity": "LOINC",
            "map": "48767-8",
            "comment": "Verklarend commentaar"
          }
        ]
      }
    ]
  }
}