description: Observation-Profil VitalSignDE ist das Parentprofil der restlichen Vitalsignprofile package_name: de.basisprofil.r4 derivation: constraint name: VitalSignDE abstract: true type: Observation elements: category: index: 0 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: VSCat: match: coding: - {code: vital-signs, system: 'http://terminology.hl7.org/CodeSystem/observation-category'} schema: pattern: type: CodeableConcept value: coding: - {code: vital-signs, system: 'http://terminology.hl7.org/CodeSystem/observation-category'} _required: true index: 1 min: 1 max: 1 value[x]: elements: value: {index: 16} unit: {index: 17} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} index: 18 code: binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/UcumVitalsCommonDE'} index: 19 required: [value, unit, system, code] valueQuantity: type: Quantity choiceOf: value index: 15 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, choiceOf: value, index: 15} min: 0 max: 1 value: choices: [] index: 12 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueQuantity: match: {} schema: choices: [valueQuantity] index: 14 min: 0 max: 1 component: constraint: 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()} index: 20 elements: value: choices: [] index: 22 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueQuantity: match: {} schema: choices: [valueQuantity] index: 24 min: 0 max: 1 valueQuantity: type: Quantity choiceOf: value index: 25 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, choiceOf: value, index: 25} min: 0 max: 1 value[x]: elements: value: {index: 26} unit: {index: 27} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} index: 28 code: {index: 29} required: [value, unit, system, code] effectiveDateTime: type: dateTime constraint: 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)} choiceOf: effective index: 9 effective: constraint: 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)} choices: [effectiveDateTime, effectivePeriod] index: 8 code: elements: coding: index: 2 elements: system: {index: 3} code: {index: 4} required: [system, code] slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: loinc: match: {} schema: {_required: true, index: 5} min: 1 max: 1 required: [coding] subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 6 effectivePeriod: type: Period constraint: 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)} choiceOf: effective index: 10 package_version: 1.5.1-beta1 class: profile kind: resource url: http://fhir.de/StructureDefinition/observation-de-vitalsign base: http://hl7.org/fhir/StructureDefinition/Observation version: 1.5.1 required: [effectiveDateTime, effectivePeriod, subject, category, effective]