description: The profile establishes the core elements, extensions, vocabularies and value sets for representing de-identified Allergies and Intolerances. package_name: hl7.fhir.us.dapl derivation: constraint name: DAPLDeidentifiedAllergyIntolerance type: AllergyIntolerance elements: patient: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-deidentified-patient'] index: 9 elements: display: {mustSupport: false, index: 10} onset: constraint: dapl-date-1: {human: All dateTime data elements should be truncated to a year only for de-identified resources., severity: error, expression: $this is dateTime implies $this.toString().length() = 4} dapl-date-1a: {human: All dateTime data elements should have valid year > 1900, severity: error, expression: $this is dateTime implies $this.toString() >= '1900'} mustSupport: true choices: [onsetDateTime, onsetAge] index: 12 category: {mustSupport: true, array: true, index: 6} criticality: {mustSupport: true, index: 7} clinicalStatus: {mustSupport: true, index: 3} onsetAge: type: Age constraint: dapl-date-1: {human: All dateTime data elements should be truncated to a year only for de-identified resources., severity: error, expression: $this is dateTime implies $this.toString().length() = 4} dapl-date-1a: {human: All dateTime data elements should have valid year > 1900, severity: error, expression: $this is dateTime implies $this.toString() >= '1900'} mustSupport: true choiceOf: onset index: 14 type: {mustSupport: true, index: 5} asserter: elements: display: {index: 17} note: {index: 19} contained: {short: Cannot include any contained resources in the resource as part of the de-identified or anonymized data., mustSupport: false, index: 2} recordedDate: type: dateTime constraint: dapl-date-2: {human: All dateTime data elements should be truncated to a year only for de-identified resources., severity: error, expression: $this is dateTime implies $this.toString().length() = 4} dapl-date-2a: {human: All dateTime data elements should have valid year > 1900, severity: error, expression: $this is dateTime implies $this.toString() >= '1900'} mustSupport: true index: 15 id: {short: The AllergyIntolerance identifier generated by the DARTS de-identification service, mustSupport: true, index: 0} recorder: elements: display: {index: 16} code: binding: {strength: extensible, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.8|20240625'} mustSupport: true index: 8 onsetDateTime: type: dateTime constraint: dapl-date-1: {human: All dateTime data elements should be truncated to a year only for de-identified resources., severity: error, expression: $this is dateTime implies $this.toString().length() = 4} dapl-date-1a: {human: All dateTime data elements should have valid year > 1900, severity: error, expression: $this is dateTime implies $this.toString() >= '1900'} mustSupport: true choiceOf: onset index: 13 lastOccurrence: constraint: dapl-date-3: {human: All dateTime data elements should be truncated to a year only for de-identified resources., severity: error, expression: $this is dateTime implies $this.toString().length() = 4} dapl-date-3a: {human: All dateTime data elements should have valid year > 1900, severity: error, expression: $this is dateTime implies $this.toString() >= '1900'} index: 18 verificationStatus: {mustSupport: true, index: 4} reaction: mustSupport: true array: true index: 20 elements: manifestation: {mustSupport: true, array: true, min: 1, index: 21} onset: constraint: dapl-date-4: {human: All dateTime data elements should be truncated to a year only for de-identified resources., severity: error, expression: $this is dateTime implies $this.toString().length() = 4} dapl-date-4a: {human: All dateTime data elements should have valid year > 1900, severity: error, expression: $this is dateTime implies $this.toString() >= '1900'} index: 22 severity: {mustSupport: true, index: 23} note: {index: 24} required: [manifestation] text: {short: Cannot include any text in the resource as part of the de-identified or anonymized data., mustSupport: false, index: 1} package_version: 1.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-deidentified-allergyintolerance base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance version: 1.0.0-ballot required: [patient, code]