PackagesCanonicalsLogsProblems
    Packages
    de.basisprofil.r4@1.4.0
    http://fhir.de/StructureDefinition/observation-de-vitalsign
{
  "description": null,
  "_filename": "Profile-observation-VitalSignDE.StructureDefinition.json",
  "package_name": "de.basisprofil.r4",
  "date": "2020-05-14",
  "derivation": "constraint",
  "publisher": "HL7 Deutschland e.V. (Technisches Komitee FHIR)",
  "fhirVersion": "4.0.1",
  "name": "VitalSignDE",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://snomed.info/conceptdomain",
    "name": "SNOMED CT Concept Domain Binding",
    "identity": "sct-concept"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "uri": "http://snomed.org/attributebinding",
    "name": "SNOMED CT Attribute Binding",
    "identity": "sct-attr"
  } ],
  "abstract": false,
  "copyright": "HL7 Deutschland e.V.",
  "type": "Observation",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.4.0",
  "status": "active",
  "id": "77fe2c68-7a63-4298-a2d3-abf053d014de",
  "kind": "resource",
  "url": "http://fhir.de/StructureDefinition/observation-de-vitalsign",
  "version": "1.4.0",
  "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:vs-cat",
      "max": "1",
      "min": 1,
      "path": "Observation.category",
      "sliceName": "vs-cat",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "vital-signs",
          "system": "http://terminology.hl7.org/CodeSystem/observation-category"
        } ]
      }
    }, {
      "id": "Observation.subject",
      "min": 1,
      "path": "Observation.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Group" ]
      } ]
    }, {
      "id": "Observation.effective[x]",
      "min": 1,
      "path": "Observation.effective[x]",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "Observation.effective[x]:effectiveDateTime",
      "path": "Observation.effective[x]",
      "type": [ {
        "code": "dateTime"
      } ],
      "sliceName": "effectiveDateTime",
      "constraint": [ {
        "key": "vs-de-1",
        "human": "If Observation.effective[x] is dateTime and has a value then that value shall be precise to the day",
        "source": "http://fhir.de/StructureDefinition/observation-de-vitalsign",
        "severity": "error",
        "expression": "$this.toString().length() >= 8"
      } ]
    }, {
      "id": "Observation.value[x]",
      "path": "Observation.value[x]",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "Observation.value[x]:valueQuantity",
      "path": "Observation.value[x]",
      "type": [ {
        "code": "Quantity"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.de/ValueSet/UcumVitalsCommonDE"
      },
      "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"
    }, {
      "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",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "Observation.component.value[x]:valueQuantity",
      "path": "Observation.component.value[x]",
      "type": [ {
        "code": "Quantity"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.de/ValueSet/UcumVitalsCommonDE"
      },
      "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"
}