WHO Digital Documentation of COVID-19 Certificates (DDCC)
1.0.0 - CI Build International flag

This page is part of the WHO Digital Documentation of COVID-19 Certificates (DDCC) (v1.0.0: releases Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: DDCCTXSHEbundleexample1 - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "DDCCTXSHEbundleexample1"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCSubmitHealthEventRequest"^^xsd:anyURI ;
fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCSubmitHealthEventRequest>     ] )
  ] ; # 
  fhir:type [ fhir:v "batch"] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://www.example.org/fhir/Parameters/DDCCVSTXSHEParameters1"^^xsd:anyURI ] ;
    ( fhir:resource <http://www.example.org/fhir/Parameters/DDCCVSTXSHEParameters1> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "QuestionnaireResponse/$generateHealthCertificate"^^xsd:anyURI ]     ]
  ] ) . # 

<http://www.example.org/fhir/Parameters/DDCCVSTXSHEParameters1> a fhir:Parameters ;
  fhir:id [ fhir:v "DDCCVSTXSHEParameters1"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCGenerateHealthCertificateParameters"^^xsd:anyURI ;
fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCGenerateHealthCertificateParameters>     ] )
  ] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "response" ] ;
    ( fhir:Parameters.parameter.resource [
a fhir:QuestionnaireResponse ;
fhir:id [ fhir:v "DDCCVSQuestionnaireResponseExample" ] ;
fhir:meta [
        ( fhir:profile [
fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCQuestionnaireResponse"^^xsd:anyURI ;
fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCQuestionnaireResponse>         ] )       ] ;
fhir:questionnaire [
fhir:v "http://smart.who.int/ddcc/DDCCVSCoreDataSetQuestionnaire"^^xsd:anyURI ;
fhir:link <http://smart.who.int/ddcc/DDCCVSCoreDataSetQuestionnaire>       ] ;
fhir:status [ fhir:v "completed" ] ;
fhir:subject [
fhir:reference [ fhir:v "Patient/DDCCPatientEnglish" ]       ] ;
fhir:authored [ fhir:v "2021-04-01"^^xsd:date ] ;
      ( fhir:item [
fhir:linkId [ fhir:v "name" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "Aulus Agerius" ]         ] )       ] [
fhir:linkId [ fhir:v "birthDate" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "2003-03-03"^^xsd:date ]         ] )       ] [
fhir:linkId [ fhir:v "identifier" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "1234567890" ]         ] )       ] [
fhir:linkId [ fhir:v "sex" ] ;
        ( fhir:answer [
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://hl7.org/fhir/administrative-gender"^^xsd:anyURI ] ;
fhir:code [ fhir:v "male" ]           ]         ] )       ] [
fhir:linkId [ fhir:v "vaccine" ] ;
        ( fhir:answer [
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://id.who.int/icd11/mms"^^xsd:anyURI ] ;
fhir:code [ fhir:v "XM0GQ8" ]           ]         ] )       ] [
fhir:linkId [ fhir:v "brand" ] ;
        ( fhir:answer [
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://id.who.int/icd11/mms"^^xsd:anyURI ] ;
fhir:code [ fhir:v "XM3DT5" ]           ]         ] )       ] [
fhir:linkId [ fhir:v "manufacturer" ] ;
        ( fhir:answer [
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://smart.who.int/ddcc/CodeSystem/DDCCExampleTestCodeSystem"^^xsd:anyURI ] ;
fhir:code [ fhir:v "TEST" ]           ]         ] )       ] [
fhir:linkId [ fhir:v "ma_holder" ] ;
        ( fhir:answer [
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://smart.who.int/ddcc/CodeSystem/DDCCExampleTestCodeSystem"^^xsd:anyURI ] ;
fhir:code [ fhir:v "TEST" ]           ]         ] )       ] [
fhir:linkId [ fhir:v "lot" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "ER8732" ]         ] )       ] [
fhir:linkId [ fhir:v "date" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "2021-04-05"^^xsd:date ]         ] )       ] [
fhir:linkId [ fhir:v "vaccine_valid" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "2021-04-19"^^xsd:date ]         ] )       ] [
fhir:linkId [ fhir:v "dose" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "1"^^xsd:integer ]         ] )       ] [
fhir:linkId [ fhir:v "total_doses" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "2"^^xsd:integer ]         ] )       ] [
fhir:linkId [ fhir:v "country" ] ;
        ( fhir:answer [
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "USA" ]           ]         ] )       ] [
fhir:linkId [ fhir:v "centre" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "Vaccination Site" ]         ] )       ] [
fhir:linkId [ fhir:v "hw" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "lAH8TnzqAInqwkslHzOlSA" ]         ] )       ] [
fhir:linkId [ fhir:v "disease" ] ;
        ( fhir:answer [
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://id.who.int/icd11/mms"^^xsd:anyURI ] ;
fhir:code [ fhir:v "RA01" ]           ]         ] )       ] [
fhir:linkId [ fhir:v "due_date" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "2021-04-28"^^xsd:date ]         ] )       ] [
fhir:linkId [ fhir:v "pha" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "dPD2PfwzBQyphcjeUiAdRP" ]         ] )       ] [
fhir:linkId [ fhir:v "hcid" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "bMlJkAt0V92RYhhG3fNt" ]         ] )       ] [
fhir:linkId [ fhir:v "valid_from" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "2021-04-05"^^xsd:date ]         ] )       ] [
fhir:linkId [ fhir:v "valid_until" ] ;
        ( fhir:answer [
fhir:value [ fhir:v "2022-04-05"^^xsd:date ]         ] )       ] )     ] )
  ] ) . #