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

This is the continuous build for version 1.0.0. This version is based on the current content of https://github.com/WorldHealthOrganization/ddcc and changes regularly.

Logical Model: DDCCCoreDataSet_VS_PoV - XML Profile

Draft as of 2024-01-19

XML representation of the DDCCCoreDataSet.VS.PoV logical model.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="DDCCCoreDataSet.VS.PoV"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-DDCCCoreDataSet.VS.PoV-definitions.html#DDCCCoreDataSet" title="Data elements for the DDCC Core Data Set - Vaccination Status - Proof of Vaccination.">DDCCCoreDataSet</a><a name="DDCCCoreDataSet"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-DDCCCoreDataSet.VS.html">DDCCCoreDataSet_VS</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><br/>Elements defined in Ancestors: <a href="StructureDefinition-DDCCCoreDataSet.html" title="The full name of the person.">name</a>, <a href="StructureDefinition-DDCCCoreDataSet.html" title="The person's date of birth (DOB) if known. If unknown, use given DOB for administrative purposes">birthDate</a>, <a href="StructureDefinition-DDCCCoreDataSet.html" title="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).">identifier</a>, <a href="StructureDefinition-DDCCCoreDataSet.html" title="Metadata associated with the certificate">certificate</a>, <a href="StructureDefinition-DDCCCoreDataSet.VS.html" title="A vaccination event.">vaccination</a><br/>DDCC Core Data Set Logical Model - Vaccination Status - Proof of Vaccination<br/><span style="font-weight:bold">Instances of this logical model are not marked to be the target of a Reference</span></td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <url
       value="http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet.VS.PoV"/>
  <version value="1.0.0"/>
  <name value="DDCCCoreDataSet_VS_PoV"/>
  <title
         value="DDCC Core Data Set Logical Model - Vaccination Status - Proof of Vaccination"/>
  <status value="draft"/>
  <date value="2024-01-19T16:18:21+00:00"/>
  <publisher value="WHO"/>
  <contact>
    <name value="WHO"/>
    <telecom>
      <system value="url"/>
      <value value="http://who.int"/>
    </telecom>
  </contact>
  <description
               value="Data elements for the DDCC Core Data Set - Vaccination Status - Proof of Vaccination."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <fhirVersion value="4.0.1"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <mapping>
    <identity value="ddcc-immunization"/>
    <uri
         value="http://smart.who.int/ddcc/StructureDefinition/DDCCImmunization"/>
    <name value="WHO Digital Documentation of COVID Certificates"/>
  </mapping>
  <mapping>
    <identity value="ddcc-immunization-recommendation"/>
    <uri
         value="http://smart.who.int/ddcc/StructureDefinition/DDCCImmunizationRecommendation"/>
    <name value="WHO Digital Documentation of COVID Certificates"/>
  </mapping>
  <mapping>
    <identity value="ddcc-composition"/>
    <uri
         value="http://smart.who.int/ddcc/StructureDefinition/DDCCComposition"/>
    <name value="WHO Digital Documentation of COVID Certificates"/>
  </mapping>
  <mapping>
    <identity value="ddcc-patient"/>
    <uri value="http://smart.who.int/ddcc/StructureDefinition/DDCCPatient"/>
    <name value="WHO Digital Documentation of COVID Certificates"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type value="DDCCCoreDataSet"/>
  <baseDefinition
                  value="http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet.VS"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="DDCCCoreDataSet">
      <path value="DDCCCoreDataSet"/>
      <short
             value="DDCC Core Data Set Logical Model - Vaccination Status - Proof of Vaccination"/>
      <definition
                  value="Data elements for the DDCC Core Data Set - Vaccination Status - Proof of Vaccination."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
    </element>
    <element id="DDCCCoreDataSet.name">
      <path value="DDCCCoreDataSet.name"/>
      <short value="Name"/>
      <definition value="The full name of the person."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.name"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="ddcc-patient"/>
        <map value="Patient.name.text"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.birthDate">
      <path value="DDCCCoreDataSet.birthDate"/>
      <short value="Date of birth"/>
      <definition
                  value="The person's date of birth (DOB) if known. If unknown, use given DOB for administrative purposes"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.birthDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="ddcc-patient"/>
        <map value="Patient.birthDate"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.identifier">
      <path value="DDCCCoreDataSet.identifier"/>
      <short value="Unique identifier"/>
      <definition
                  value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.identifier"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="ddcc-patient"/>
        <map value="Patient.identifier"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.certificate">
      <path value="DDCCCoreDataSet.certificate"/>
      <short value="Certificate Metadata"/>
      <definition value="Metadata associated with the certificate"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.certificate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="DDCCCoreDataSet.certificate.id">
      <path value="DDCCCoreDataSet.certificate.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.certificate.extension">
      <path value="DDCCCoreDataSet.certificate.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="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
               value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.certificate.modifierExtension">
      <path value="DDCCCoreDataSet.certificate.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="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
               value="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
                    value="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 value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.certificate.issuer">
      <path value="DDCCCoreDataSet.certificate.issuer"/>
      <short value="Certificate issuer"/>
      <definition value="Certificate issuer."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.certificate.issuer"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://smart.who.int/ddcc/StructureDefinition/DDCCOrganization"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="ddcc-composition"/>
        <map value="Composition.author.identifier"/>
      </mapping>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map value="Immunization.protocolApplied.authority.identifier"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.certificate.kid">
      <path value="DDCCCoreDataSet.certificate.kid"/>
      <short value="Key ID used to verify the signature of the certificate"/>
      <definition value="Key ID"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.certificate.kid"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="DDCCCoreDataSet.certificate.hcid">
      <path value="DDCCCoreDataSet.certificate.hcid"/>
      <short value="Health certificate identifier (HCID)"/>
      <definition value="Health certificate identifier (HCID)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.certificate.hcid"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="DDCCCoreDataSet.certificate.ddccid">
      <path value="DDCCCoreDataSet.certificate.ddccid"/>
      <short value="DDCC Identifier"/>
      <definition value="DDCC Identifier"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.certificate.ddccid"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="DDCCCoreDataSet.certificate.version">
      <path value="DDCCCoreDataSet.certificate.version"/>
      <short value="Certificate schema version"/>
      <definition value="Certificate schema version"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.certificate.version"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="DDCCCoreDataSet.certificate.period">
      <path value="DDCCCoreDataSet.certificate.period"/>
      <short value="Certificate Validity Period"/>
      <definition value="Certificate validity period."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.certificate.period"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="per-1"/>
        <severity value="error"/>
        <human value="If present, start SHALL have a lower value than end"/>
        <expression
                    value="start.hasValue().not() or end.hasValue().not() or (start &lt;= end)"/>
        <xpath
               value="not(exists(f:start/@value)) or not(exists(f:end/@value)) or (xs:dateTime(f:start/@value) &lt;= xs:dateTime(f:end/@value))"/>
        <source
                value="http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet"/>
      </constraint>
      <mapping>
        <identity value="ddcc-composition"/>
        <map value="Composition.event.period"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.certificate.period.id">
      <path value="DDCCCoreDataSet.certificate.period.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.certificate.period.extension">
      <path value="DDCCCoreDataSet.certificate.period.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="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
               value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.certificate.period.start">
      <path value="DDCCCoreDataSet.certificate.period.start"/>
      <short value="Certificate valid from"/>
      <definition value="Start date of certificate validity."/>
      <comment
               value="If the low element is missing, the meaning is that the low boundary is not known."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Period.start"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <condition value="per-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="DR.1"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./low"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.certificate.period.end">
      <path value="DDCCCoreDataSet.certificate.period.end"/>
      <short value="Certificate valid until"/>
      <definition value="End date of certificate validity."/>
      <comment
               value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="Period.end"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <meaningWhenMissing
                          value="If the end of the period is missing, it means that the period is ongoing"/>
      <condition value="per-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="DR.2"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./high"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination">
      <path value="DDCCCoreDataSet.vaccination"/>
      <short value="Vaccination Event"/>
      <definition value="A vaccination event."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="who-ddcc-data-1"/>
        <severity value="error"/>
        <human
               value="Manufacturer or Market Authorization Holder SHALL be present"/>
        <expression value="manufacturer.exists() or maholder.exists()"/>
        <source
                value="http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet.VS"/>
      </constraint>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="DDCCCoreDataSet.vaccination.id">
      <path value="DDCCCoreDataSet.vaccination.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.extension">
      <path value="DDCCCoreDataSet.vaccination.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="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
               value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.modifierExtension">
      <path value="DDCCCoreDataSet.vaccination.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="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
               value="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
                    value="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 value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.vaccine">
      <path value="DDCCCoreDataSet.vaccination.vaccine"/>
      <short value="Vaccine or prophylaxis"/>
      <definition
                  value="Generic description of the vaccine or vaccine sub-type. e.g. COVID-19 mRNA vaccine, HPV vaccine."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.vaccine"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <strength value="preferred"/>
        <valueSet
                  value="http://smart.who.int/ddcc/ValueSet/who-ddcc-vaccines-covid-19"/>
      </binding>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map value="Immunization.vaccineCode"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.brand">
      <path value="DDCCCoreDataSet.vaccination.brand"/>
      <short value="Vaccine brand"/>
      <definition
                  value="The brand or trade name used to refer to the vaccine received."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.brand"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map
             value="Immunization.extension[https://smart.who.int/ddcc/StructureDefinition/DDCCEventBrand]"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.manufacturer">
      <path value="DDCCCoreDataSet.vaccination.manufacturer"/>
      <short value="Vaccine manufacturer"/>
      <definition
                  value="Name of the manufacturer of the vaccine received. e.g. Serum institute of India, AstraZeneca. If vaccine manufacturer is unknown, market authorization holder is REQUIRED."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.manufacturer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map value="Immunization.manufacturer"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.maholder">
      <path value="DDCCCoreDataSet.vaccination.maholder"/>
      <short value="Vaccine market authorization holder"/>
      <definition
                  value="Name of the market authorization holder of the vaccine received. If market authorization holder is unknown, vaccine manufacturer is REQUIRED."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.maholder"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map
             value="Immunization.extension[https://smart.who.int/ddcc/StructureDefinition/DDCCVaccineMarketAuthorization]"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.lot">
      <path value="DDCCCoreDataSet.vaccination.lot"/>
      <short value="Vaccine lot number"/>
      <definition value="Lot number or batch number of vaccination."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.lot"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map value="Immunization.lotNumber"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.date">
      <path value="DDCCCoreDataSet.vaccination.date"/>
      <short value="Date of vaccination"/>
      <definition value="Date in which the vaccine was provided."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.date"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map value="Immunization.occurrence"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.validFrom">
      <path value="DDCCCoreDataSet.vaccination.validFrom"/>
      <short value="Vaccination valid from"/>
      <definition
                  value="Date upon which provided vaccination is considered valid."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.validFrom"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map
             value="Immunization.extension[https://smart.who.int/ddcc/StructureDefinition/DDCCVaccineValidFrom]"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.dose">
      <path value="DDCCCoreDataSet.vaccination.dose"/>
      <short value="Dose number"/>
      <definition value="Vaccine dose number."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.dose"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="positiveInt"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map value="Immunization.protocolApplied.doseNumber"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.totalDoses">
      <path value="DDCCCoreDataSet.vaccination.totalDoses"/>
      <short value="Total doses"/>
      <definition
                  value="Total expected doses as defined by Member State care plan and immunization programme policies."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.totalDoses"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="positiveInt"/>
      </type>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map value="Immunization.protocolApplied.seriesDoses"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.country">
      <path value="DDCCCoreDataSet.vaccination.country"/>
      <short value="Country of vaccination"/>
      <definition
                  value="The country in which the individual has been vaccinated."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.country"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <strength value="preferred"/>
        <valueSet value="http://hl7.org/fhir/ValueSet/iso3166-1-3"/>
      </binding>
      <mapping>
        <identity value="ddcc"/>
        <map
             value="Immunization.extension.where(url='https://smart.who.int/ddcc/StructureDefinition/DDCCCountryOfVaccination')"/>
      </mapping>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map
             value="Immunization.extension[https://smart.who.int/ddcc/StructureDefinition/DDCCCountryOfEvent]"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.centre">
      <path value="DDCCCoreDataSet.vaccination.centre"/>
      <short value="Administering centre"/>
      <definition
                  value="The name or identifier of the vaccination facility responsible for providing the vaccination."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.centre"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map value="Immunization.location"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.signature">
      <path value="DDCCCoreDataSet.vaccination.signature"/>
      <short value="Signature of health worker"/>
      <definition
                  value="REQUIRED for PAPER vaccination certificates ONLY. The health worker who provided the vaccination or the supervising clinician's hand-written signature."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.signature"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Signature"/>
      </type>
    </element>
    <element id="DDCCCoreDataSet.vaccination.practitioner">
      <path value="DDCCCoreDataSet.vaccination.practitioner"/>
      <short value="Health worker identifier"/>
      <definition
                  value="OPTIONAL for DIGITAL and PAPER vaccination certificates. The unique identifier for the health worker as determined by the member state. There can be more than one unique identifier used. (e.g. system generated ID, health profession number, cryptographic signature, or any other form of health worker unique identifier). This can be used in lieu of a paper-based signature."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.practitioner"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map value="Immunization.performer.actor"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.disease">
      <path value="DDCCCoreDataSet.vaccination.disease"/>
      <short value="Disease or agent targeted"/>
      <definition
                  value="Name of disease vaccinated against (such as COVID-19)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.disease"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <valueSet
                  value="http://smart.who.int/ddcc/ValueSet/who-ddcc-disease-targeted-covid-19"/>
      </binding>
      <mapping>
        <identity value="ddcc-immunization"/>
        <map value="Immunization.protocolApplied.targetDisease"/>
      </mapping>
    </element>
    <element id="DDCCCoreDataSet.vaccination.nextDose">
      <path value="DDCCCoreDataSet.vaccination.nextDose"/>
      <short value="Due date of next dose"/>
      <definition
                  value="Date on which the next vaccination should be administered, if a next dose is REQUIRED."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DDCCCoreDataSet.vaccination.nextDose"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="ddcc-immunization-recommendation"/>
        <map value="ImmunizationRecommendation.dateCriterion.value"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="DDCCCoreDataSet">
      <path value="DDCCCoreDataSet"/>
      <short
             value="DDCC Core Data Set Logical Model - Vaccination Status - Proof of Vaccination"/>
      <definition
                  value="Data elements for the DDCC Core Data Set - Vaccination Status - Proof of Vaccination."/>
    </element>
  </differential>
</StructureDefinition>