PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.dapl@1.0.0-ballot
    http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-deidentified-adverseevent
description: The profile establishes the core elements, extensions, vocabularies and value sets for representing de-identified Adverse events
package_name: hl7.fhir.us.dapl
derivation: constraint
name: DAPLDeidentifiedAdverseEvent
type: AdverseEvent
elements:
  category: {mustSupport: true, array: true, index: 4}
  actuality: {mustSupport: true, index: 3}
  date:
    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
    index: 8
  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-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'}
    mustSupport: true
    index: 10
  event: {mustSupport: true, index: 5}
  id: {short: The AdverseEvent identifier generated by the DARTS de-identification service, mustSupport: true, index: 0}
  recorder:
    elements:
      display: {index: 11}
  detected:
    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'}
    index: 9
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-deidentified-patient']
    index: 6
    elements:
      display: {mustSupport: false, index: 7}
  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-adverseevent
base: http://hl7.org/fhir/StructureDefinition/AdverseEvent
version: 1.0.0-ballot
required: [event, subject, actuality]