description: The profile establishes the core elements, extensions, vocabularies and value sets for representing deidentified encounters or visit information. package_name: hl7.fhir.us.dapl derivation: constraint name: DAPLEncounter type: Encounter elements: diagnosis: mustSupport: true array: true index: 17 elements: condition: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-diagnosis'] index: 18 use: {mustSupport: true, index: 19} rank: {mustSupport: true, index: 20} required: [condition] serviceProvider: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization'] index: 25 reasonCode: {mustSupport: true, array: true, index: 14} type: binding: {strength: extensible, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.23'} mustSupport: true array: true min: 1 index: 6 participant: mustSupport: true index: 9 elements: type: {mustSupport: true, array: true, index: 10} period: constraint: dapl-enc-1: {human: All Period.start data elements should be truncated to a year only for de-identified resources., severity: error, expression: $this is Period and $this.start.exists() implies $this.start.toString().length() = 4} dapl-enc-1a: {human: All Period.start data elements should have valid year > 1900, severity: error, expression: $this is Period and Period.start.exists() implies $this.start.toString() >= '1900'} dapl-enc-2: {human: All Period.emd data elements should be truncated to a year only for de-identified resources., severity: error, expression: $this is Period and $this.end.exists() implies $this.end.toString().length() = 4} uds-plus-enc-2a: {human: All Period.end data elements should have valid year > 1900, severity: error, expression: $this is Period and Period.end.exists() implies $this.end.toString() >= '1900'} mustSupport: true index: 11 individual: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner'] index: 12 extension: type: Extension short: Age of the Patient computed using birthDate and the visit dates of the encounter mustSupport: true url: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-age-extension index: 3 slicing: slices: dapl-age-extension: match: {} schema: {type: Extension, short: Age of the Patient computed using birthDate and the visit dates of the encounter, mustSupport: true, url: 'http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-age-extension', index: 3} min: 1 max: 1 contained: {short: Cannot include any contained resources in the resource as part of the deidentified data., mustSupport: false, index: 2} status: {mustSupport: true, index: 4} id: {short: The Encounter identifier generated by DARTS deidentification service, mustSupport: true, index: 0} class: {mustSupport: true, index: 5} hospitalization: mustSupport: true index: 21 elements: dischargeDisposition: binding: {strength: preferred, valueSet: 'http://terminology.hl7.org/ValueSet/v3-USEncounterDischargeDisposition|5.0.0'} mustSupport: true index: 22 period: constraint: dapl-enc-3: {human: All Period.start data elements should be truncated to a year only for de-identified resources., severity: error, expression: $this is Period and $this.start.exists() implies $this.start.toString().length() = 4} dapl-enc-3a: {human: All Period.start data elements should have valid year > 1900, severity: error, expression: $this is Period and Period.start.exists() implies $this.start.toString() >= '1900'} dapl-enc-4: {human: All Period.emd data elements should be truncated to a year only for de-identified resources., severity: error, expression: $this is Period and $this.end.exists() implies $this.end.toString().length() = 4} uds-plus-enc-4a: {human: All Period.end data elements should have valid year > 1900, severity: error, expression: $this is Period and Period.end.exists() implies $this.end.toString() >= '1900'} mustSupport: true index: 13 location: mustSupport: true array: true index: 23 elements: location: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-deidentified-location'] index: 24 required: [location] subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-deidentified-patient'] index: 7 elements: display: {mustSupport: false, index: 8} reasonReference: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-diagnosis'] array: true index: 15 elements: display: {mustSupport: false, index: 16} text: {short: Cannot include any text in the resource as part of the deidentified data., mustSupport: false, index: 1} package_version: 1.0.0-ballot extensions: dapl-age-extension: {url: 'http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-age-extension', min: 1, max: 1, type: Extension, short: Age of the Patient computed using birthDate and the visit dates of the encounter, mustSupport: true, index: 3} class: profile kind: resource url: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-deidentified-encounter base: http://hl7.org/fhir/StructureDefinition/Encounter version: 1.0.0-ballot required: [class, status, subject, type]