PackagesCanonicalsLogsProblems
    Packages
    de.basisprofil.r4@1.5.1-beta2
    http://fhir.de/StructureDefinition/observation-de-vitalsign
{
  "description": "Observation-Profil VitalSignDE ist das Parentprofil der restlichen Vitalsignprofile",
  "_filename": "StructureDefinition-observation-de-vitalsign.json",
  "package_name": "de.basisprofil.r4",
  "date": "2023-11-30",
  "derivation": "constraint",
  "publisher": "HL7 Deutschland e.V. (Technisches Komitee FHIR)",
  "fhirVersion": "4.0.1",
  "name": "VitalSignDE",
  "abstract": true,
  "type": "Observation",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": "Observation-Profil VitalSignDE",
  "package_version": "1.5.1-beta2",
  "status": "active",
  "id": "aadc3e73-25e0-4478-9353-1fd8ed6bc762",
  "kind": "resource",
  "url": "http://fhir.de/StructureDefinition/observation-de-vitalsign",
  "version": "1.5.1",
  "differential": {
    "element": [ {
      "id": "Observation",
      "path": "Observation",
      "constraint": [ {
        "key": "vs-de-2",
        "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present",
        "source": "http://fhir.de/StructureDefinition/observation-de-vitalsign",
        "severity": "error",
        "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())"
      } ]
    }, {
      "id": "Observation.category",
      "min": 1,
      "path": "Observation.category",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "pattern"
        } ]
      }
    }, {
      "id": "Observation.category:VSCat",
      "max": "1",
      "min": 1,
      "path": "Observation.category",
      "sliceName": "VSCat",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "vital-signs",
          "system": "http://terminology.hl7.org/CodeSystem/observation-category"
        } ]
      }
    }, {
      "id": "Observation.code.coding",
      "min": 1,
      "path": "Observation.code.coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "pattern"
        } ]
      }
    }, {
      "id": "Observation.code.coding.system",
      "min": 1,
      "path": "Observation.code.coding.system"
    }, {
      "id": "Observation.code.coding.code",
      "min": 1,
      "path": "Observation.code.coding.code"
    }, {
      "id": "Observation.code.coding:loinc",
      "max": "1",
      "min": 1,
      "path": "Observation.code.coding",
      "sliceName": "loinc"
    }, {
      "id": "Observation.subject",
      "min": 1,
      "path": "Observation.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ]
      } ]
    }, {
      "id": "Observation.effective[x]",
      "min": 1,
      "path": "Observation.effective[x]",
      "type": [ {
        "code": "dateTime"
      }, {
        "code": "Period"
      } ],
      "constraint": [ {
        "key": "vs-de-1",
        "human": "If Observation.effective[x] has a value then that value shall be precise to the day",
        "source": "http://fhir.de/StructureDefinition/observation-de-vitalsign",
        "severity": "error",
        "expression": "(($this is dateTime) implies ($this as dateTime).toString().length() >= 10) and ($this.start.exists() implies ($this.start as dateTime).toString().length() >= 10) and ($this.end.exists() implies ($this.end as dateTime).toString().length() >= 10)"
      } ]
    }, {
      "id": "Observation.value[x]",
      "path": "Observation.value[x]",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "Observation.value[x]:valueQuantity",
      "max": "1",
      "min": 0,
      "path": "Observation.value[x]",
      "type": [ {
        "code": "Quantity"
      } ],
      "sliceName": "valueQuantity"
    }, {
      "id": "Observation.value[x]:valueQuantity.value",
      "min": 1,
      "path": "Observation.value[x].value"
    }, {
      "id": "Observation.value[x]:valueQuantity.unit",
      "min": 1,
      "path": "Observation.value[x].unit"
    }, {
      "id": "Observation.value[x]:valueQuantity.system",
      "min": 1,
      "path": "Observation.value[x].system",
      "patternUri": "http://unitsofmeasure.org"
    }, {
      "id": "Observation.value[x]:valueQuantity.code",
      "min": 1,
      "path": "Observation.value[x].code",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.de/ValueSet/UcumVitalsCommonDE"
      }
    }, {
      "id": "Observation.component",
      "path": "Observation.component",
      "constraint": [ {
        "key": "vs-de-3",
        "human": "If there is no a value a data absent reason must be present",
        "source": "http://fhir.de/StructureDefinition/observation-de-vitalsign",
        "severity": "error",
        "expression": "value.exists() xor dataAbsentReason.exists()"
      } ]
    }, {
      "id": "Observation.component.value[x]",
      "path": "Observation.component.value[x]",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "Observation.component.value[x]:valueQuantity",
      "max": "1",
      "min": 0,
      "path": "Observation.component.value[x]",
      "type": [ {
        "code": "Quantity"
      } ],
      "sliceName": "valueQuantity"
    }, {
      "id": "Observation.component.value[x]:valueQuantity.value",
      "min": 1,
      "path": "Observation.component.value[x].value"
    }, {
      "id": "Observation.component.value[x]:valueQuantity.unit",
      "min": 1,
      "path": "Observation.component.value[x].unit"
    }, {
      "id": "Observation.component.value[x]:valueQuantity.system",
      "min": 1,
      "path": "Observation.component.value[x].system",
      "patternUri": "http://unitsofmeasure.org"
    }, {
      "id": "Observation.component.value[x]:valueQuantity.code",
      "min": 1,
      "path": "Observation.component.value[x].code"
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://hl7.de/technische-komitees/fhir/",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation"
}