PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.dapl@1.0.0-ballot
    http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-deidentified-instant-extension
description: Indicates the de-identified instant that can be used for any clinical event
package_name: hl7.fhir.us.dapl
derivation: constraint
name: DAPLDeIdentifiedInstantExtension
type: Extension
elements:
  url:
    type: uri
    pattern: {type: Uri, value: 'http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-deidentified-instant-extension'}
    index: 0
  value:
    constraint:
      dapl-datetime-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-datetime-1a: {human: All dateTime data elements should have valid year > 1900, severity: error, expression: $this is DateTime implies $this.toString() >= '1900'}
    choices: [valueDateTime]
    index: 2
  valueDateTime:
    type: dateTime
    constraint:
      dapl-datetime-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-datetime-1a: {human: All dateTime data elements should have valid year > 1900, severity: error, expression: $this is DateTime implies $this.toString() >= '1900'}
    choiceOf: value
    index: 3
package_version: 1.0.0-ballot
class: extension
kind: complex-type
url: http://hl7.org/fhir/us/dapl/StructureDefinition/dapl-deidentified-instant-extension
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0-ballot
required: [valueDateTime, value]