description: The functional or mental status provides insight into the patient’s functional and mental limitations. package_name: nictiz.fhir.nl.r4.zib2020 derivation: constraint name: ZibFunctionalOrMentalStatus abstract: true type: Observation elements: category: constraint: zib-FunctionalOrMentalStatus-1: {human: Either a category for functional status finding or mental status finding is present., source: 'http://nictiz.nl/fhir/StructureDefinition/zib-FunctionalOrMentalStatus', 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: required, valueSet: 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.4--20200901000000'} 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.8.0-beta.1 class: profile kind: resource url: http://nictiz.nl/fhir/StructureDefinition/zib-FunctionalOrMentalStatus base: http://hl7.org/fhir/StructureDefinition/Observation version: null required: [category]