FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/DDCCCoreDataSetTR

Packagewho.ddcc
Resource TypeStructureDefinition
IdDDCCCoreDataSetTR
FHIR VersionR4
Sourcehttp://smart.who.int/ddcc/https://build.fhir.org/ig/WorldHealthOrganization/ddcc/StructureDefinition-DDCCCoreDataSetTR.html
URLhttp://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSetTR
Version1.0.0
Statusdraft
Date2025-06-24T09:07:32+00:00
NameDDCCCoreDataSetTR
TitleDDCC Core Data Set Logical Model for Test Result
Realmuv
Authoritywho
DescriptionData elements for the DDCC Core Data Set for Test Result.
Typehttp://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet
Kindlogical

Resources that use this resource

StructureDefinition
HCertHealth Certificate

Resources that this resource uses

StructureDefinition
DDCCCoreDataSetDDCC Core Data Set Logical Model
ValueSet
WHODDCCAgentTargetedCOVID19WHO Agent Targeted (COVID-19)
WHODDCCSampleOriginCOVID19WHO Speciman Sample Origin (COVID-19)
WHODDCCTypeofTestCOVID19WHO Type of Covid-19 Test
who-ddcc-test-result-covid-19WHO Test Result (COVID-19)

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition DDCCCoreDataSetTR

NameFlagsCard.TypeDescription & Constraintsdoco
.. DDCCCoreDataSet 0..*DDCCCoreDataSetThis is an abstract type.
Elements defined in Ancestors:name, birthDate, identifier, certificate
DDCC Core Data Set Logical Model for Test Result
... test Σ1..1BackboneElementTest Event
.... pathogen Σ1..1CodingPathogen targeted
Binding: WHO Agent Targeted (COVID-19) (preferred)
.... type Σ1..1CodingType of test
Binding: WHO Type of Covid-19 Test (preferred)
.... brand Σ0..1CodingTest brand
.... manufacturer Σ0..1CodingTest manufacturer
.... origin Σ0..1CodingSpecimen Sample Origin
Binding: WHO Speciman Sample Origin (COVID-19) (preferred)
.... date Σ1..1dateTimeDate and time of sample collection
.... result 0..1CodingTest result
Binding: WHO Test Result (COVID-19) (preferred)
.... centre 0..1CodingTest centre or facility name
.... country Σ1..1CodingTest centre country
Binding: Iso3166-1-3 (preferred)

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "DDCCCoreDataSetTR",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSetTR",
  "version": "1.0.0",
  "name": "DDCCCoreDataSetTR",
  "title": "DDCC Core Data Set Logical Model for Test Result",
  "status": "draft",
  "date": "2025-06-24T09:07:32+00:00",
  "publisher": "WHO",
  "contact": [
    {
      "name": "WHO",
      "telecom": [
        {
          "system": "url",
          "value": "http://who.int"
        }
      ]
    }
  ],
  "description": "Data elements for the DDCC Core Data Set for Test Result.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "ddcc-observation",
      "uri": "http://smart.who.int/ddcc/StructureDefinition/DDCCObservation",
      "name": "WHO Digital Documentation of COVID Certificates"
    },
    {
      "identity": "ddcc-specimen",
      "uri": "http://smart.who.int/ddcc/StructureDefinition/DDCCSpecimen",
      "name": "WHO Digital Documentation of COVID Certificates"
    },
    {
      "identity": "ddcc-test",
      "uri": "http://smart.who.int/ddcc/StructureDefinition/DDCCTest",
      "name": "WHO Digital Documentation of COVID Certificates"
    },
    {
      "identity": "ddcc-diagnostic-report",
      "uri": "http://smart.who.int/ddcc/StructureDefinition/DDCCDiagnosticReport",
      "name": "WHO Digital Documentation of COVID Certificates"
    },
    {
      "identity": "ddcc-procedure",
      "uri": "http://smart.who.int/ddcc/StructureDefinition/DDCCProcedure",
      "name": "WHO Digital Documentation of COVID Certificates"
    },
    {
      "identity": "ddcc-composition",
      "uri": "http://smart.who.int/ddcc/StructureDefinition/DDCCComposition",
      "name": "WHO Digital Documentation of COVID Certificates"
    },
    {
      "identity": "ddcc-patient",
      "uri": "http://smart.who.int/ddcc/StructureDefinition/DDCCPatient",
      "name": "WHO Digital Documentation of COVID Certificates"
    }
  ],
  "kind": "logical",
  "abstract": true,
  "type": "http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet",
  "baseDefinition": "http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "1.0.0"
      }
    ],
    "element": [
      {
        "id": "DDCCCoreDataSet",
        "path": "DDCCCoreDataSet",
        "short": "DDCC Core Data Set Logical Model for Test Result",
        "definition": "Data elements for the DDCC Core Data Set for Test Result.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "DDCCCoreDataSet.name",
        "path": "DDCCCoreDataSet.name",
        "short": "Name",
        "definition": "The full name of the person.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "ddcc-patient",
            "map": "Patient.name.text"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.birthDate",
        "path": "DDCCCoreDataSet.birthDate",
        "short": "Date of birth",
        "definition": "The person's date of birth (DOB) if known. If unknown, use given DOB for administrative purposes",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.birthDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "ddcc-patient",
            "map": "Patient.birthDate"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.identifier",
        "path": "DDCCCoreDataSet.identifier",
        "short": "Unique identifier",
        "definition": "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": 0,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "ddcc-patient",
            "map": "Patient.identifier"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.certificate",
        "path": "DDCCCoreDataSet.certificate",
        "short": "Certificate Metadata",
        "definition": "Metadata associated with the certificate",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.certificate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isSummary": true
      },
      {
        "id": "DDCCCoreDataSet.certificate.id",
        "path": "DDCCCoreDataSet.certificate.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.certificate.extension",
        "path": "DDCCCoreDataSet.certificate.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.certificate.modifierExtension",
        "path": "DDCCCoreDataSet.certificate.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "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": "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": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.certificate.issuer",
        "path": "DDCCCoreDataSet.certificate.issuer",
        "short": "Certificate issuer",
        "definition": "Certificate issuer.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.certificate.issuer",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://smart.who.int/ddcc/StructureDefinition/DDCCOrganization"
            ]
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "ddcc-composition",
            "map": "Composition.author.identifier"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.certificate.kid",
        "path": "DDCCCoreDataSet.certificate.kid",
        "short": "Key ID used to verify the signature of the certificate",
        "definition": "Key ID",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.certificate.kid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.certificate.hcid",
        "path": "DDCCCoreDataSet.certificate.hcid",
        "short": "Health certificate identifier (HCID)",
        "definition": "Health certificate identifier (HCID).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.certificate.hcid",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true
      },
      {
        "id": "DDCCCoreDataSet.certificate.ddccid",
        "path": "DDCCCoreDataSet.certificate.ddccid",
        "short": "DDCC Identifier",
        "definition": "DDCC Identifier",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.certificate.ddccid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true
      },
      {
        "id": "DDCCCoreDataSet.certificate.version",
        "path": "DDCCCoreDataSet.certificate.version",
        "short": "Certificate schema version",
        "definition": "Certificate schema version",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.certificate.version",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "DDCCCoreDataSet.certificate.period",
        "path": "DDCCCoreDataSet.certificate.period",
        "short": "Certificate Validity Period",
        "definition": "Certificate validity period.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.certificate.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "per-1",
            "severity": "error",
            "human": "If present, start SHALL have a lower value than end",
            "expression": "start.hasValue().not() or end.hasValue().not() or (start <= end)",
            "xpath": "not(exists(f:start/@value)) or not(exists(f:end/@value)) or (xs:dateTime(f:start/@value) <= xs:dateTime(f:end/@value))",
            "source": "http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet"
          }
        ],
        "mapping": [
          {
            "identity": "ddcc-composition",
            "map": "Composition.event.period"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.certificate.period.id",
        "path": "DDCCCoreDataSet.certificate.period.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.certificate.period.extension",
        "path": "DDCCCoreDataSet.certificate.period.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.certificate.period.start",
        "path": "DDCCCoreDataSet.certificate.period.start",
        "short": "Certificate valid from",
        "definition": "Start date of certificate validity.",
        "comment": "If the low element is missing, the meaning is that the low boundary is not known.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Period.start",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "condition": [
          "per-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "DR.1"
          },
          {
            "identity": "rim",
            "map": "./low"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.certificate.period.end",
        "path": "DDCCCoreDataSet.certificate.period.end",
        "short": "Certificate valid until",
        "definition": "End date of certificate validity.",
        "comment": "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": 0,
        "max": "1",
        "base": {
          "path": "Period.end",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "meaningWhenMissing": "If the end of the period is missing, it means that the period is ongoing",
        "condition": [
          "per-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "DR.2"
          },
          {
            "identity": "rim",
            "map": "./high"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test",
        "path": "DDCCCoreDataSet.test",
        "short": "Test Event",
        "definition": "A test event.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.test",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isSummary": true
      },
      {
        "id": "DDCCCoreDataSet.test.id",
        "path": "DDCCCoreDataSet.test.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.extension",
        "path": "DDCCCoreDataSet.test.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.modifierExtension",
        "path": "DDCCCoreDataSet.test.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "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": "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": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.pathogen",
        "path": "DDCCCoreDataSet.test.pathogen",
        "short": "Pathogen targeted",
        "definition": "Name of the pathogen being tested for (such as SARS-CoV-2).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.test.pathogen",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "valueSet": "http://smart.who.int/ddcc/ValueSet/WHODDCCAgentTargetedCOVID19"
        },
        "mapping": [
          {
            "identity": "ddcc-test",
            "map": "Device.property.valueCode"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.type",
        "path": "DDCCCoreDataSet.test.type",
        "short": "Type of test",
        "definition": "Name of the type of test that was conducted e.g. NAAT.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.test.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "valueSet": "http://smart.who.int/ddcc/ValueSet/WHODDCCTypeofTestCOVID19"
        },
        "mapping": [
          {
            "identity": "ddcc-observation",
            "map": "Observation.code"
          },
          {
            "identity": "ddcc-test",
            "map": "Device.type"
          },
          {
            "identity": "ddcc-diagnostic-report",
            "map": "DiagnosticReport.code"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.brand",
        "path": "DDCCCoreDataSet.test.brand",
        "short": "Test brand",
        "definition": "The brand or trade name used to refer to the test conducted.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.test.brand",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "ddcc-test",
            "map": "Device.property.valueCode"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.manufacturer",
        "path": "DDCCCoreDataSet.test.manufacturer",
        "short": "Test manufacturer",
        "definition": "Name of the manufacturer of the test conducted.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.test.manufacturer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "ddcc-test",
            "map": "Device.manufacturer"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.origin",
        "path": "DDCCCoreDataSet.test.origin",
        "short": "Specimen Sample Origin",
        "definition": "The type of sample that was taken  e.g. Nasopharyngeal swab or Saliva specimen.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.test.origin",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "valueSet": "http://smart.who.int/ddcc/ValueSet/WHODDCCSampleOriginCOVID19"
        },
        "mapping": [
          {
            "identity": "ddcc-observation",
            "map": "Observation.method"
          },
          {
            "identity": "ddcc-specimen",
            "map": "Specimen.code"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.date",
        "path": "DDCCCoreDataSet.test.date",
        "short": "Date and time of sample collection",
        "definition": "Date and time when sample was collected.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.test.date",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "ddcc-observation",
            "map": "Observation.effective"
          },
          {
            "identity": "ddcc-specimen",
            "map": "Specimen.collection.collected"
          },
          {
            "identity": "ddcc-diagnostic-report",
            "map": "DiagnosticReport.effective"
          },
          {
            "identity": "ddcc-procedure",
            "map": "Procedure.performed"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.result",
        "path": "DDCCCoreDataSet.test.result",
        "short": "Test result",
        "definition": "Detected or Not detected presence of SARS-CoV-2 infection.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.test.result",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSet": "http://smart.who.int/ddcc/ValueSet/who-ddcc-test-result-covid-19"
        },
        "mapping": [
          {
            "identity": "ddcc-observation",
            "map": "Observation.value"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.centre",
        "path": "DDCCCoreDataSet.test.centre",
        "short": "Test centre or facility name",
        "definition": "A codable name or identifier of the facility responsible for conducting the test.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.test.centre",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "mapping": [
          {
            "identity": "ddcc-procedure",
            "map": "Procedure.location"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.country",
        "path": "DDCCCoreDataSet.test.country",
        "short": "Test centre country",
        "definition": "The country in which the individual has been tested.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DDCCCoreDataSet.test.country",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "valueSet": "http://hl7.org/fhir/ValueSet/iso3166-1-3"
        },
        "mapping": [
          {
            "identity": "ddcc-procedure",
            "map": "Procedure.extension[https://smart.who.int/ddcc/StructureDefinition/DDCCCountryOfEvent]"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "DDCCCoreDataSet",
        "path": "DDCCCoreDataSet",
        "short": "DDCC Core Data Set Logical Model for Test Result",
        "definition": "Data elements for the DDCC Core Data Set for Test Result."
      },
      {
        "id": "DDCCCoreDataSet.test",
        "path": "DDCCCoreDataSet.test",
        "short": "Test Event",
        "definition": "A test event.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isSummary": true
      },
      {
        "id": "DDCCCoreDataSet.test.pathogen",
        "path": "DDCCCoreDataSet.test.pathogen",
        "short": "Pathogen targeted",
        "definition": "Name of the pathogen being tested for (such as SARS-CoV-2). ",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "valueSet": "http://smart.who.int/ddcc/ValueSet/WHODDCCAgentTargetedCOVID19"
        },
        "mapping": [
          {
            "identity": "ddcc-test",
            "map": "Device.property.valueCode"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.type",
        "path": "DDCCCoreDataSet.test.type",
        "short": "Type of test",
        "definition": "Name of the type of test that was conducted e.g. NAAT.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "valueSet": "http://smart.who.int/ddcc/ValueSet/WHODDCCTypeofTestCOVID19"
        },
        "mapping": [
          {
            "identity": "ddcc-observation",
            "map": "Observation.code"
          },
          {
            "identity": "ddcc-test",
            "map": "Device.type"
          },
          {
            "identity": "ddcc-diagnostic-report",
            "map": "DiagnosticReport.code"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.brand",
        "path": "DDCCCoreDataSet.test.brand",
        "short": "Test brand",
        "definition": "The brand or trade name used to refer to the test conducted.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "ddcc-test",
            "map": "Device.property.valueCode"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.manufacturer",
        "path": "DDCCCoreDataSet.test.manufacturer",
        "short": "Test manufacturer",
        "definition": "Name of the manufacturer of the test conducted.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "ddcc-test",
            "map": "Device.manufacturer"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.origin",
        "path": "DDCCCoreDataSet.test.origin",
        "short": "Specimen Sample Origin",
        "definition": "The type of sample that was taken  e.g. Nasopharyngeal swab or Saliva specimen.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "valueSet": "http://smart.who.int/ddcc/ValueSet/WHODDCCSampleOriginCOVID19"
        },
        "mapping": [
          {
            "identity": "ddcc-observation",
            "map": "Observation.method"
          },
          {
            "identity": "ddcc-specimen",
            "map": "Specimen.code"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.date",
        "path": "DDCCCoreDataSet.test.date",
        "short": "Date and time of sample collection",
        "definition": "Date and time when sample was collected.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "ddcc-observation",
            "map": "Observation.effective"
          },
          {
            "identity": "ddcc-specimen",
            "map": "Specimen.collection.collected"
          },
          {
            "identity": "ddcc-diagnostic-report",
            "map": "DiagnosticReport.effective"
          },
          {
            "identity": "ddcc-procedure",
            "map": "Procedure.performed"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.result",
        "path": "DDCCCoreDataSet.test.result",
        "short": "Test result",
        "definition": "Detected or Not detected presence of SARS-CoV-2 infection.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSet": "http://smart.who.int/ddcc/ValueSet/who-ddcc-test-result-covid-19"
        },
        "mapping": [
          {
            "identity": "ddcc-observation",
            "map": "Observation.value"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.centre",
        "path": "DDCCCoreDataSet.test.centre",
        "short": "Test centre or facility name",
        "definition": "A codable name or identifier of the facility responsible for conducting the test.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "mapping": [
          {
            "identity": "ddcc-procedure",
            "map": "Procedure.location"
          }
        ]
      },
      {
        "id": "DDCCCoreDataSet.test.country",
        "path": "DDCCCoreDataSet.test.country",
        "short": "Test centre country",
        "definition": "The country in which the individual has been tested.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "valueSet": "http://hl7.org/fhir/ValueSet/iso3166-1-3"
        },
        "mapping": [
          {
            "identity": "ddcc-procedure",
            "map": "Procedure.extension[https://smart.who.int/ddcc/StructureDefinition/DDCCCountryOfEvent]"
          }
        ]
      }
    ]
  }
}