description: The Care Reporting Year package_name: synapxe.hsar derivation: constraint name: extension-Composition-careReportYear type: Extension elements: id: {index: 0} url: pattern: {type: Uri, value: 'http://ihis.sg/extension/care-report-year'} index: 1 value: choices: [] index: 3 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: constraint: care-report-year-format: {human: Care Report Year must be in YYYY format, severity: error, expression: '$this.matches(''^[0-9]{4}$'')'} choices: [valueString] index: 5 valueString: constraint: care-report-year-format: {human: Care Report Year must be in YYYY format, severity: error, expression: '$this.matches(''^[0-9]{4}$'')'} type: string choiceOf: value index: 6 slicing: slices: valueString: match: {} schema: constraint: care-report-year-format: {human: Care Report Year must be in YYYY format, severity: error, expression: '$this.matches(''^[0-9]{4}$'')'} type: string choiceOf: value index: 6 package_version: 1.0.0 class: extension kind: complex-type url: http://ihis.sg/extension/care-report-year base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.1.0 required: [value]