description: The date that a diagnosis was recorded. (HIxx-4) package_name: hl7.fhir.us.davinci-pas derivation: constraint name: DiagnosisRecordedDate type: Extension elements: extension: {index: 0} url: pattern: {type: Uri, value: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate'} index: 1 value: constraint: FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate', severity: error, expression: $this.toString().length() = 10} choices: [valueDate] index: 3 valueDate: type: date constraint: FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate', severity: error, expression: $this.toString().length() = 10} choiceOf: value index: 4 package_version: 2.1.0 extensions: {} class: extension kind: complex-type url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate base: http://hl7.org/fhir/StructureDefinition/Extension version: 2.1.0