description: 'Readiness: [In development](https://simplifier.net/guide/Visual-overview/Home/Review-status-and-releases.page.md?version=current#readiness-patient-health-group).\n\nDraft repeatable Patient extension for one selected health-group classification and the calendar-date period in which it applies. Multiple non-overlapping periods preserve classification history independently of resource versions.' package_name: novari.digidot derivation: constraint name: DigidotPatientHealthGroupNo type: Extension elements: extension: array: true min: 2 max: 2 index: 0 slicing: rules: closed discriminator: - {path: url, type: value} min: 2 max: 2 slices: group: match: {url: group} schema: short: Coded health group _required: true index: 1 elements: url: pattern: {type: Uri, value: group} index: 2 value: choices: [valueCodeableConcept] index: 4 valueCodeableConcept: type: CodeableConcept choiceOf: value index: 5 elements: coding: index: 6 elements: system: {index: 7} code: {index: 8} required: [system, code] required: [coding] required: [value, valueCodeableConcept] period: match: {url: period} schema: short: Period during which classification applies _required: true index: 9 elements: url: pattern: {type: Uri, value: period} index: 10 value: constraint: patient-health-group-full-dates: {human: 'The start and any supplied end must be full calendar dates (YYYY-MM-DD), without a time.', source: 'https://novari.no/fhir/digidot/StructureDefinition/digidot-PatientHealthGroup-no', severity: error, expression: 'start.hasValue() and start.toString().matches(''^[0-9]{4}-[0-9]{2}-[0-9]{2}$'') and (end.empty() or (end.hasValue() and end.toString().matches(''^[0-9]{4}-[0-9]{2}-[0-9]{2}$'')))'} choices: [valuePeriod] index: 12 valuePeriod: type: Period constraint: patient-health-group-full-dates: {human: 'The start and any supplied end must be full calendar dates (YYYY-MM-DD), without a time.', source: 'https://novari.no/fhir/digidot/StructureDefinition/digidot-PatientHealthGroup-no', severity: error, expression: 'start.hasValue() and start.toString().matches(''^[0-9]{4}-[0-9]{2}-[0-9]{2}$'') and (end.empty() or (end.hasValue() and end.toString().matches(''^[0-9]{4}-[0-9]{2}-[0-9]{2}$'')))'} choiceOf: value index: 13 elements: start: {short: First calendar date on which this classification applies (inclusive), index: 14} end: {short: Last applicable calendar date (inclusive); absent when no end is known or planned, index: 15} required: [start] required: [valuePeriod, value] url: pattern: {type: Uri, value: 'https://novari.no/fhir/digidot/StructureDefinition/digidot-PatientHealthGroup-no'} index: 16 value: choices: [] index: 18 package_version: 0.3.0 extensions: group: url: group short: Coded health group _required: true index: 1 elements: url: pattern: {type: Uri, value: group} index: 2 value: choices: [valueCodeableConcept] index: 4 valueCodeableConcept: type: CodeableConcept choiceOf: value index: 5 elements: coding: index: 6 elements: system: {index: 7} code: {index: 8} required: [system, code] required: [coding] required: [value, valueCodeableConcept] period: url: period short: Period during which classification applies _required: true index: 9 elements: url: pattern: {type: Uri, value: period} index: 10 value: constraint: patient-health-group-full-dates: {human: 'The start and any supplied end must be full calendar dates (YYYY-MM-DD), without a time.', source: 'https://novari.no/fhir/digidot/StructureDefinition/digidot-PatientHealthGroup-no', severity: error, expression: 'start.hasValue() and start.toString().matches(''^[0-9]{4}-[0-9]{2}-[0-9]{2}$'') and (end.empty() or (end.hasValue() and end.toString().matches(''^[0-9]{4}-[0-9]{2}-[0-9]{2}$'')))'} choices: [valuePeriod] index: 12 valuePeriod: type: Period constraint: patient-health-group-full-dates: {human: 'The start and any supplied end must be full calendar dates (YYYY-MM-DD), without a time.', source: 'https://novari.no/fhir/digidot/StructureDefinition/digidot-PatientHealthGroup-no', severity: error, expression: 'start.hasValue() and start.toString().matches(''^[0-9]{4}-[0-9]{2}-[0-9]{2}$'') and (end.empty() or (end.hasValue() and end.toString().matches(''^[0-9]{4}-[0-9]{2}-[0-9]{2}$'')))'} choiceOf: value index: 13 elements: start: {short: First calendar date on which this classification applies (inclusive), index: 14} end: {short: Last applicable calendar date (inclusive); absent when no end is known or planned, index: 15} required: [start] required: [valuePeriod, value] class: extension kind: complex-type url: https://novari.no/fhir/digidot/StructureDefinition/digidot-PatientHealthGroup-no base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.3.0