DDCCCoreDataSetTR
type: StructureDefinition
node role: treeRoot
id:
  v: DDCCCoreDataSetTR
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition DDCCCoreDataSetTR Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> DDCCCoreDataSet 0..* DDCCCoreDataSet This is an abstract type. Elements defined in Ancestors:name, birthDate, identifier, certificate DDCC Core Data Set Logical Model for Test Result #xD; test Σ 1..1 BackboneElement Test Event #xD; pathogen Σ 1..1 Coding Pathogen targeted Binding: WHO Agent Targeted (COVID-19) (preferred) #xD; type Σ 1..1 Coding Type of test Binding: WHO Type of Covid-19 Test (preferred) #xD; brand Σ 0..1 Coding Test brand #xD; manufacturer Σ 0..1 Coding Test manufacturer #xD; origin Σ 0..1 Coding Specimen Sample Origin Binding: WHO Speciman Sample Origin (COVID-19) (preferred) #xD; date Σ 1..1 dateTime Date and time of sample collection #xD; result 0..1 Coding Test result Binding: WHO Test Result (COVID-19) (preferred) #xD; centre 0..1 Coding Test centre or facility name #xD; country Σ 1..1 Coding Test centre country Binding: Iso3166-1-3 (preferred) #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSetTR
version:
  v: 1.0.0
name:
  v: DDCCCoreDataSetTR
title:
  v: DDCC Core Data Set Logical Model for Test Result
status:
  v: draft
date:
  v: 2025-09-23T10:33:16+00:00
publisher:
  v: WHO
contact:
  name:
    v: WHO
  telecom:
    system:
      v: url
    value:
      v: http://who.int
description:
  v: Data elements for the DDCC Core Data Set for Test Result.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 001
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: ddcc-observation
  uri:
    v: http://smart.who.int/ddcc/StructureDefinition/DDCCObservation
  name:
    v: WHO Digital Documentation of COVID Certificates
mapping:
  identity:
    v: ddcc-specimen
  uri:
    v: http://smart.who.int/ddcc/StructureDefinition/DDCCSpecimen
  name:
    v: WHO Digital Documentation of COVID Certificates
mapping:
  identity:
    v: ddcc-test
  uri:
    v: http://smart.who.int/ddcc/StructureDefinition/DDCCTest
  name:
    v: WHO Digital Documentation of COVID Certificates
mapping:
  identity:
    v: ddcc-diagnostic-report
  uri:
    v: http://smart.who.int/ddcc/StructureDefinition/DDCCDiagnosticReport
  name:
    v: WHO Digital Documentation of COVID Certificates
mapping:
  identity:
    v: ddcc-procedure
  uri:
    v: http://smart.who.int/ddcc/StructureDefinition/DDCCProcedure
  name:
    v: WHO Digital Documentation of COVID Certificates
mapping:
  identity:
    v: ddcc-composition
  uri:
    v: http://smart.who.int/ddcc/StructureDefinition/DDCCComposition
  name:
    v: WHO Digital Documentation of COVID Certificates
mapping:
  identity:
    v: ddcc-patient
  uri:
    v: http://smart.who.int/ddcc/StructureDefinition/DDCCPatient
  name:
    v: WHO Digital Documentation of COVID Certificates
kind:
  v: logical
abstract:
  v: true
type:
  v: http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet
base definition:
  v: http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet
  link: http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 1.0.0
  element:
    id:
      v: DDCCCoreDataSet
    path:
      v: DDCCCoreDataSet
    short:
      v: DDCC Core Data Set Logical Model for Test Result
    definition:
      v: Data elements for the DDCC Core Data Set for Test Result.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: DDCCCoreDataSet.name
    path:
      v: DDCCCoreDataSet.name
    short:
      v: Name
    definition:
      v: The full name of the person.
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: DDCCCoreDataSet.name
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: string
    is summary:
      v: true
    mapping:
      identity:
        v: ddcc-patient
      map:
        v: Patient.name.text
  element:
    id:
      v: DDCCCoreDataSet.birthDate
    path:
      v: DDCCCoreDataSet.birthDate
    short:
      v: Date of birth
    definition:
      v: The person's date of birth (DOB) if known. If unknown, use given DOB for administrative purposes
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: DDCCCoreDataSet.birthDate
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: date
    is summary:
      v: true
    mapping:
      identity:
        v: ddcc-patient
      map:
        v: Patient.birthDate
  element:
    id:
      v: DDCCCoreDataSet.identifier
    path:
      v: DDCCCoreDataSet.identifier
    short:
      v: Unique identifier
    definition:
      v: Unique identifier for the person, according to the policies applicable to each country. There can be more than one unique identifier used to link records. (e.g. national ID, health ID, immunization information system ID, medical record ID).
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: DDCCCoreDataSet.identifier

v: 0

v: 1

code:
  v: Identifier

v: true

identity:
  v: ddcc-patient
map:
  v: Patient.identifier

id:
  v: DDCCCoreDataSet.certificate
path:
  v: DDCCCoreDataSet.certificate
short:
  v: Certificate Metadata
definition:
  v: Metadata associated with the certificate
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.certificate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is summary:
  v: true

id:
  v: DDCCCoreDataSet.certificate.id
path:
  v: DDCCCoreDataSet.certificate.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DDCCCoreDataSet.certificate.extension
path:
  v: DDCCCoreDataSet.certificate.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DDCCCoreDataSet.certificate.modifierExtension
path:
  v: DDCCCoreDataSet.certificate.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: DDCCCoreDataSet.certificate.issuer
path:
  v: DDCCCoreDataSet.certificate.issuer
short:
  v: Certificate issuer
definition:
  v: Certificate issuer.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.certificate.issuer
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://smart.who.int/ddcc/StructureDefinition/DDCCOrganization
    link: http://smart.who.int/ddcc/StructureDefinition/DDCCOrganization
is summary:
  v: true
mapping:
  identity:
    v: ddcc-composition
  map:
    v: Composition.author.identifier

id:
  v: DDCCCoreDataSet.certificate.kid
path:
  v: DDCCCoreDataSet.certificate.kid
short:
  v: Key ID used to verify the signature of the certificate
definition:
  v: Key ID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.certificate.kid
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: DDCCCoreDataSet.certificate.hcid
path:
  v: DDCCCoreDataSet.certificate.hcid
short:
  v: Health certificate identifier (HCID)
definition:
  v: Health certificate identifier (HCID).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.certificate.hcid
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
is summary:
  v: true

id:
  v: DDCCCoreDataSet.certificate.ddccid
path:
  v: DDCCCoreDataSet.certificate.ddccid
short:
  v: DDCC Identifier
definition:
  v: DDCC Identifier
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.certificate.ddccid
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
is summary:
  v: true

id:
  v: DDCCCoreDataSet.certificate.version
path:
  v: DDCCCoreDataSet.certificate.version
short:
  v: Certificate schema version
definition:
  v: Certificate schema version
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.certificate.version
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
is summary:
  v: true

id:
  v: DDCCCoreDataSet.certificate.period
path:
  v: DDCCCoreDataSet.certificate.period
short:
  v: Certificate Validity Period
definition:
  v: Certificate validity period.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.certificate.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: per-1
  severity:
    v: error
  human:
    v: If present, start SHALL have a lower value than end
  expression:
    v: start.hasValue().not() or end.hasValue().not() or (start <= end)
  xpath:
    v: not(exists(f:start/@value)) or not(exists(f:end/@value)) or (xs:dateTime(f:start/@value) <= xs:dateTime(f:end/@value))
  source:
    v: http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet
    link: http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet
mapping:
  identity:
    v: ddcc-composition
  map:
    v: Composition.event.period

id:
  v: DDCCCoreDataSet.certificate.period.id
path:
  v: DDCCCoreDataSet.certificate.period.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DDCCCoreDataSet.certificate.period.extension
path:
  v: DDCCCoreDataSet.certificate.period.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DDCCCoreDataSet.certificate.period.start
path:
  v: DDCCCoreDataSet.certificate.period.start
short:
  v: Certificate valid from
definition:
  v: Start date of certificate validity.
comment:
  v: If the low element is missing, the meaning is that the low boundary is not known.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Period.start
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
condition:
  v: per-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: DR.1
mapping:
  identity:
    v: rim
  map:
    v: ./low

id:
  v: DDCCCoreDataSet.certificate.period.end
path:
  v: DDCCCoreDataSet.certificate.period.end
short:
  v: Certificate valid until
definition:
  v: End date of certificate validity.
comment:
  v: The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Period.end
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
meaning when missing:
  v: If the end of the period is missing, it means that the period is ongoing
condition:
  v: per-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: DR.2
mapping:
  identity:
    v: rim
  map:
    v: ./high

id:
  v: DDCCCoreDataSet.test
path:
  v: DDCCCoreDataSet.test
short:
  v: Test Event
definition:
  v: A test event.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.test
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is summary:
  v: true

id:
  v: DDCCCoreDataSet.test.id
path:
  v: DDCCCoreDataSet.test.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DDCCCoreDataSet.test.extension
path:
  v: DDCCCoreDataSet.test.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DDCCCoreDataSet.test.modifierExtension
path:
  v: DDCCCoreDataSet.test.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: DDCCCoreDataSet.test.pathogen
path:
  v: DDCCCoreDataSet.test.pathogen
short:
  v: Pathogen targeted
definition:
  v: Name of the pathogen being tested for (such as SARS-CoV-2).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.test.pathogen
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Coding
is summary:
  v: true
binding:
  strength:
    v: preferred
  value set:
    v: http://smart.who.int/ddcc/ValueSet/WHODDCCAgentTargetedCOVID19
    link: http://smart.who.int/ddcc/ValueSet/WHODDCCAgentTargetedCOVID19
mapping:
  identity:
    v: ddcc-test
  map:
    v: Device.property.valueCode

id:
  v: DDCCCoreDataSet.test.type
path:
  v: DDCCCoreDataSet.test.type
short:
  v: Type of test
definition:
  v: Name of the type of test that was conducted e.g. NAAT.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.test.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Coding
is summary:
  v: true
binding:
  strength:
    v: preferred
  value set:
    v: http://smart.who.int/ddcc/ValueSet/WHODDCCTypeofTestCOVID19
    link: http://smart.who.int/ddcc/ValueSet/WHODDCCTypeofTestCOVID19
mapping:
  identity:
    v: ddcc-observation
  map:
    v: Observation.code
mapping:
  identity:
    v: ddcc-test
  map:
    v: Device.type
mapping:
  identity:
    v: ddcc-diagnostic-report
  map:
    v: DiagnosticReport.code

id:
  v: DDCCCoreDataSet.test.brand
path:
  v: DDCCCoreDataSet.test.brand
short:
  v: Test brand
definition:
  v: The brand or trade name used to refer to the test conducted.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.test.brand
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
is summary:
  v: true
mapping:
  identity:
    v: ddcc-test
  map:
    v: Device.property.valueCode

id:
  v: DDCCCoreDataSet.test.manufacturer
path:
  v: DDCCCoreDataSet.test.manufacturer
short:
  v: Test manufacturer
definition:
  v: Name of the manufacturer of the test conducted.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.test.manufacturer
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
is summary:
  v: true
mapping:
  identity:
    v: ddcc-test
  map:
    v: Device.manufacturer

id:
  v: DDCCCoreDataSet.test.origin
path:
  v: DDCCCoreDataSet.test.origin
short:
  v: Specimen Sample Origin
definition:
  v: The type of sample that was taken e.g. Nasopharyngeal swab or Saliva specimen.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.test.origin
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
is summary:
  v: true
binding:
  strength:
    v: preferred
  value set:
    v: http://smart.who.int/ddcc/ValueSet/WHODDCCSampleOriginCOVID19
    link: http://smart.who.int/ddcc/ValueSet/WHODDCCSampleOriginCOVID19
mapping:
  identity:
    v: ddcc-observation
  map:
    v: Observation.method
mapping:
  identity:
    v: ddcc-specimen
  map:
    v: Specimen.code

id:
  v: DDCCCoreDataSet.test.date
path:
  v: DDCCCoreDataSet.test.date
short:
  v: Date and time of sample collection
definition:
  v: Date and time when sample was collected.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.test.date
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
is summary:
  v: true
mapping:
  identity:
    v: ddcc-observation
  map:
    v: Observation.effective
mapping:
  identity:
    v: ddcc-specimen
  map:
    v: Specimen.collection.collected
mapping:
  identity:
    v: ddcc-diagnostic-report
  map:
    v: DiagnosticReport.effective
mapping:
  identity:
    v: ddcc-procedure
  map:
    v: Procedure.performed

id:
  v: DDCCCoreDataSet.test.result
path:
  v: DDCCCoreDataSet.test.result
short:
  v: Test result
definition:
  v: Detected or Not detected presence of SARS-CoV-2 infection.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.test.result
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
binding:
  strength:
    v: preferred
  value set:
    v: http://smart.who.int/ddcc/ValueSet/who-ddcc-test-result-covid-19
    link: http://smart.who.int/ddcc/ValueSet/who-ddcc-test-result-covid-19
mapping:
  identity:
    v: ddcc-observation
  map:
    v: Observation.value

id:
  v: DDCCCoreDataSet.test.centre
path:
  v: DDCCCoreDataSet.test.centre
short:
  v: Test centre or facility name
definition:
  v: A codable name or identifier of the facility responsible for conducting the test.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.test.centre
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
mapping:
  identity:
    v: ddcc-procedure
  map:
    v: Procedure.location

id:
  v: DDCCCoreDataSet.test.country
path:
  v: DDCCCoreDataSet.test.country
short:
  v: Test centre country
definition:
  v: The country in which the individual has been tested.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DDCCCoreDataSet.test.country
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Coding
is summary:
  v: true
binding:
  strength:
    v: preferred
  value set:
    v: http://hl7.org/fhir/ValueSet/iso3166-1-3
    link: http://hl7.org/fhir/ValueSet/iso3166-1-3
mapping:
  identity:
    v: ddcc-procedure
  map:
    v: Procedure.extension[https://smart.who.int/ddcc/StructureDefinition/DDCCCountryOfEvent]

element:
  id:
    v: DDCCCoreDataSet
  path:
    v: DDCCCoreDataSet
  short:
    v: DDCC Core Data Set Logical Model for Test Result
  definition:
    v: Data elements for the DDCC Core Data Set for Test Result.
element:
  id:
    v: DDCCCoreDataSet.test
  path:
    v: DDCCCoreDataSet.test
  short:
    v: Test Event
  definition:
    v: A test event.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
  is summary:
    v: true
element:
  id:
    v: DDCCCoreDataSet.test.pathogen
  path:
    v: DDCCCoreDataSet.test.pathogen
  short:
    v: Pathogen targeted
  definition:
    v: Name of the pathogen being tested for (such as SARS-CoV-2).
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Coding
  is summary:
    v: true
  binding:
    strength:
      v: preferred
    value set:
      v: http://smart.who.int/ddcc/ValueSet/WHODDCCAgentTargetedCOVID19
      link: http://smart.who.int/ddcc/ValueSet/WHODDCCAgentTargetedCOVID19
  mapping:
    identity:
      v: ddcc-test
    map:
      v: Device.property.valueCode
element:
  id:
    v: DDCCCoreDataSet.test.type
  path:
    v: DDCCCoreDataSet.test.type
  short:
    v: Type of test
  definition:
    v: Name of the type of test that was conducted e.g. NAAT.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Coding
  is summary:
    v: true
  binding:
    strength:
      v: preferred
    value set:
      v: http://smart.who.int/ddcc/ValueSet/WHODDCCTypeofTestCOVID19
      link: http://smart.who.int/ddcc/ValueSet/WHODDCCTypeofTestCOVID19
  mapping:
    identity:
      v: ddcc-observation
    map:
      v: Observation.code
  mapping:
    identity:
      v: ddcc-test
    map:
      v: Device.type
  mapping:
    identity:
      v: ddcc-diagnostic-report
    map:
      v: DiagnosticReport.code
element:
  id:
    v: DDCCCoreDataSet.test.brand
  path:
    v: DDCCCoreDataSet.test.brand
  short:
    v: Test brand
  definition:
    v: The brand or trade name used to refer to the test conducted.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Coding
  is summary:
    v: true
  mapping:
    identity:
      v: ddcc-test
    map:
      v: Device.property.valueCode
element:
  id:
    v: DDCCCoreDataSet.test.manufacturer
  path:
    v: DDCCCoreDataSet.test.manufacturer
  short:
    v: Test manufacturer
  definition:
    v: Name of the manufacturer of the test conducted.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Coding
  is summary:
    v: true
  mapping:
    identity:
      v: ddcc-test
    map:
      v: Device.manufacturer
element:
  id:
    v: DDCCCoreDataSet.test.origin
  path:
    v: DDCCCoreDataSet.test.origin
  short:
    v: Specimen Sample Origin
  definition:
    v: The type of sample that was taken e.g. Nasopharyngeal swab or Saliva specimen.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Coding
  is summary:
    v: true
  binding:
    strength:
      v: preferred
    value set:
      v: http://smart.who.int/ddcc/ValueSet/WHODDCCSampleOriginCOVID19
      link: http://smart.who.int/ddcc/ValueSet/WHODDCCSampleOriginCOVID19
  mapping:
    identity:
      v: ddcc-observation
    map:
      v: Observation.method
  mapping:
    identity:
      v: ddcc-specimen
    map:
      v: Specimen.code
element:
  id:
    v: DDCCCoreDataSet.test.date
  path:
    v: DDCCCoreDataSet.test.date
  short:
    v: Date and time of sample collection
  definition:
    v: Date and time when sample was collected.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
  is summary:
    v: true
  mapping:
    identity:
      v: ddcc-observation
    map:
      v: Observation.effective
  mapping:
    identity:
      v: ddcc-specimen
    map:
      v: Specimen.collection.collected

identity:
  v: ddcc-diagnostic-report
map:
  v: DiagnosticReport.effective

identity:
  v: ddcc-procedure
map:
  v: Procedure.performed

id:
  v: DDCCCoreDataSet.test.result
path:
  v: DDCCCoreDataSet.test.result
short:
  v: Test result
definition:
  v: Detected or Not detected presence of SARS-CoV-2 infection.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Coding
binding:
  strength:
    v: preferred
  value set:
    v: http://smart.who.int/ddcc/ValueSet/who-ddcc-test-result-covid-19
    link: http://smart.who.int/ddcc/ValueSet/who-ddcc-test-result-covid-19
mapping:
  identity:
    v: ddcc-observation
  map:
    v: Observation.value

id:
  v: DDCCCoreDataSet.test.centre
path:
  v: DDCCCoreDataSet.test.centre
short:
  v: Test centre or facility name
definition:
  v: A codable name or identifier of the facility responsible for conducting the test.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Coding
mapping:
  identity:
    v: ddcc-procedure
  map:
    v: Procedure.location

id:
  v: DDCCCoreDataSet.test.country
path:
  v: DDCCCoreDataSet.test.country
short:
  v: Test centre country
definition:
  v: The country in which the individual has been tested.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Coding
is summary:
  v: true
binding:
  strength:
    v: preferred
  value set:
    v: http://hl7.org/fhir/ValueSet/iso3166-1-3
    link: http://hl7.org/fhir/ValueSet/iso3166-1-3
mapping:
  identity:
    v: ddcc-procedure
  map:
    v: Procedure.extension[https://smart.who.int/ddcc/StructureDefinition/DDCCCountryOfEvent]