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: extension: type: Extension isModifier: false url: http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo index: 0 slicing: slices: medicalDevice: match: {} schema: type: Extension isModifier: false url: http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo index: 0 elements: value: short: MedicalDevice choices: [valueReference] index: 2 valueReference: short: MedicalDevice refers: ['http://hl7.org/fhir/StructureDefinition/Resource', 'http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDevice'] type: Reference choiceOf: value index: 3 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: 4 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: 5 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: 6 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: 7 effective: choices: [] index: 9 slicing: rules: open discriminator: - {path: $this, type: type} min: null slices: effectiveDateTime: match: {} schema: short: StatusDate choices: [effectiveDateTime] index: 11 effectiveDateTime: short: StatusDate type: dateTime choiceOf: effective index: 12 slicing: slices: effectiveDateTime: match: {} schema: {short: StatusDate, type: dateTime, choiceOf: effective, index: 12} value: choices: [] index: 14 slicing: rules: open discriminator: - {path: $this, type: type} min: null slices: valueCodeableConcept: match: {} schema: short: StatusValue choices: [valueCodeableConcept] index: 16 valueCodeableConcept: short: StatusValue type: CodeableConcept choiceOf: value index: 17 slicing: slices: valueCodeableConcept: match: {} schema: {short: StatusValue, type: CodeableConcept, choiceOf: value, index: 17} note: index: 18 elements: text: {short: Comment, index: 19} package_version: 0.12.0-beta.3 extensions: medicalDevice: url: http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo type: Extension isModifier: false index: 0 elements: value: short: MedicalDevice choices: [valueReference] index: 2 valueReference: short: MedicalDevice refers: ['http://hl7.org/fhir/StructureDefinition/Resource', 'http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDevice'] type: Reference choiceOf: value index: 3 class: profile kind: resource url: http://nictiz.nl/fhir/StructureDefinition/zib-FunctionalOrMentalStatus base: http://hl7.org/fhir/StructureDefinition/Observation version: null required: [category]