description: The functional or mental status provides insight into the patient’s functional and mental limitations. package_name: healthdata.be.r4.cbb derivation: constraint name: HdBeFunctionalOrMentalStatus type: Observation elements: category: constraint: zib-FunctionalOrMentalStatus-1: {human: Either a category for functional status finding or mental status finding is present., severity: warning, expression: 'where(coding.system = ''http://snomed.info/sct'' and coding.code = ''118228005'').exists() xor where(coding.system = ''http://snomed.info/sct'' and coding.code = ''384821006'').exists()'} index: 0 slicing: rules: open discriminator: - {path: $this, type: value} min: 1 slices: functionalStatusFinding: match: coding: - {code: '118228005', system: 'http://snomed.info/sct'} schema: pattern: type: CodeableConcept value: coding: - {code: '118228005', system: 'http://snomed.info/sct'} index: 1 max: 1 mentalStatusFinding: match: coding: - {code: '384821006', system: 'http://snomed.info/sct'} schema: pattern: type: CodeableConcept value: coding: - {code: '384821006', system: 'http://snomed.info/sct'} index: 2 max: 1 code: short: StatusName binding: {strength: extensible, valueSet: 'https://fhir.healthdata.be/ValueSet/StatusName'} index: 3 effective: choices: [] index: 5 slicing: rules: open discriminator: - {path: $this, type: type} min: null slices: effectiveDateTime: match: {} schema: short: StatusDate choices: [effectiveDateTime] index: 7 effectiveDateTime: short: StatusDate type: dateTime choiceOf: effective index: 8 slicing: slices: effectiveDateTime: match: {} schema: {short: StatusDate, type: dateTime, choiceOf: effective, index: 8} value: choices: [] index: 10 slicing: rules: open discriminator: - {path: $this, type: type} min: null slices: valueCodeableConcept: match: {} schema: short: StatusValue choices: [valueCodeableConcept] index: 12 valueCodeableConcept: short: StatusValue type: CodeableConcept choiceOf: value index: 13 slicing: slices: valueCodeableConcept: match: {} schema: {short: StatusValue, type: CodeableConcept, choiceOf: value, index: 13} note: index: 14 elements: text: {short: Comment, index: 15} package_version: 0.14.0-beta class: profile kind: resource url: https://fhir.healthdata.be/StructureDefinition/HdBe-FunctionalOrMentalStatus base: http://hl7.org/fhir/StructureDefinition/Observation version: null required: [category]