WHO SMART Trust
1.6.0 - active

WHO SMART Trust, published by WHO. This guide is not an authorized publication; it is the continuous build for version 1.6.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/WorldHealthOrganization/smart-trust/tree/v1.6.0-releasecandidate and changes regularly. See the Directory of published versions

## Logical Model: CWTPayload - TTL Profile

Active as of 2026-07-01

TTL representation of the CWTPayload logical model.

Raw ttl | Download

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

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

    <http://hl7.org/fhir/StructureDefinition/CWTPayload> a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "CWTPayload"] ; #
      fhir:text [
         fhir:status [ fhir:v "extensions" ] ;
         fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition CWTPayload</b></p><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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" 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, \" 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.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-CWTPayload-definitions.html#CWTPayload\" title=\"Logical Model for CBOR Web Token (CWT) Payload Logical Modelin CWT Payload https://www.iana.org/assignments/cwt/cwt.xhtml \">CWTPayload</a><a name=\"CWTPayload\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/types.html#Base\">Base</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">CBOR Web Token (CWT) Payload (Common)</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CWTPayload-definitions.html#CWTPayload.1\" title=\"Issuer\">1</a><a name=\"CWTPayload.1\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Issuer Code (iss)</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CWTPayload-definitions.html#CWTPayload.4\" title=\"Expiration Time\">4</a><a name=\"CWTPayload.4\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Expiration Date Time(exp)</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CWTPayload-definitions.html#CWTPayload.6\" title=\"Issued At\">6</a><a name=\"CWTPayload.6\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Issued At (iat)</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CWTPayload-definitions.html#CWTPayload.-260\" title=\"HCert\">-260</a><a name=\"CWTPayload.-260\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-HCert.html\">HCert</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Health Certificate</td></tr>#xD;\n<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, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:url [ fhir:v "http://smart.who.int/trust/StructureDefinition/CWTPayload"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "1.6.0"] ; #
      fhir:name [ fhir:v "CWTPayload"] ; #
      fhir:title [ fhir:v "CBOR Web Token (CWT) Payload (Common)"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:date [ fhir:v "2026-07-01T11:43:07+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "WHO"] ; #
      fhir:contact ( [
         fhir:name [ fhir:v "WHO" ] ;
         fhir:telecom ( [
           fhir:system [ fhir:v "url" ] ;
           fhir:value [ fhir:v "http://who.int" ]
         ] )
      ] ) ; #
      fhir:description [ fhir:v "Logical Model for CBOR Web Token (CWT) Payload Logical Modelin CWT Payload https://www.iana.org/assignments/cwt/cwt.xhtml "] ; #
      fhir:jurisdiction ( [
         fhir:coding ( [
           fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "001" ]
         ] )
      ] ) ; #
      fhir:fhirVersion [ fhir:v "5.0.0"] ; #
      fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
         fhir:name [ fhir:v "RIM Mapping" ]
      ] ) ; #
      fhir:kind [ fhir:v "logical"] ; #
      fhir:abstract [ fhir:v false] ; #
      fhir:type [ fhir:v "http://smart.who.int/trust/StructureDefinition/CWTPayload"^^xsd:anyURI] ; #
      fhir:baseDefinition [
         fhir:v "http://hl7.org/fhir/StructureDefinition/Base"^^xsd:anyURI ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Base>
      ] ; #
      fhir:derivation [ fhir:v "specialization"] ; #
      fhir:snapshot [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ] ;
           fhir:value [
             a fhir:string ;
             fhir:v "5.0.0"
           ]
         ] ) ;
         fhir:element ( [
           fhir:id [ fhir:v "CWTPayload" ] ;
           fhir:path [ fhir:v "CWTPayload" ] ;
           fhir:short [ fhir:v "CBOR Web Token (CWT) Payload (Common)" ] ;
           fhir:definition [ fhir:v "Logical Model for CBOR Web Token (CWT) Payload Logical Modelin CWT Payload https://www.iana.org/assignments/cwt/cwt.xhtml " ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Base" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "CWTPayload.1" ] ;
           fhir:path [ fhir:v "CWTPayload.1" ] ;
           fhir:short [ fhir:v "Issuer Code (iss)" ] ;
           fhir:definition [ fhir:v "Issuer" ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "CWTPayload.1" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [ fhir:v "Coding"^^xsd:anyURI ]
           ] )
         ] [
           fhir:id [ fhir:v "CWTPayload.4" ] ;
           fhir:path [ fhir:v "CWTPayload.4" ] ;
           fhir:short [ fhir:v "Expiration Date Time(exp)" ] ;
           fhir:definition [ fhir:v "Expiration Time" ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "CWTPayload.4" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]
           ] )
         ] [
           fhir:id [ fhir:v "CWTPayload.6" ] ;
           fhir:path [ fhir:v "CWTPayload.6" ] ;
           fhir:short [ fhir:v "Issued At (iat)" ] ;
           fhir:definition [ fhir:v "Issued At" ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "CWTPayload.6" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]
           ] )
         ] [
           fhir:id [ fhir:v "CWTPayload.-260" ] ;
           fhir:path [ fhir:v "CWTPayload.-260" ] ;
           fhir:short [ fhir:v "Health Certificate" ] ;
           fhir:definition [ fhir:v "HCert" ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "CWTPayload.-260" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [ fhir:v "http://smart.who.int/trust/StructureDefinition/HCert"^^xsd:anyURI ]
           ] )
         ] )
      ] ; #
      fhir:differential [
         fhir:element ( [
           fhir:id [ fhir:v "CWTPayload" ] ;
           fhir:path [ fhir:v "CWTPayload" ] ;
           fhir:short [ fhir:v "CBOR Web Token (CWT) Payload (Common)" ] ;
           fhir:definition [ fhir:v "Logical Model for CBOR Web Token (CWT) Payload Logical Modelin CWT Payload https://www.iana.org/assignments/cwt/cwt.xhtml " ]
         ] [
           fhir:id [ fhir:v "CWTPayload.1" ] ;
           fhir:path [ fhir:v "CWTPayload.1" ] ;
           fhir:short [ fhir:v "Issuer Code (iss)" ] ;
           fhir:definition [ fhir:v "Issuer" ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:type ( [
             fhir:code [ fhir:v "Coding"^^xsd:anyURI ]
           ] )
         ] [
           fhir:id [ fhir:v "CWTPayload.4" ] ;
           fhir:path [ fhir:v "CWTPayload.4" ] ;
           fhir:short [ fhir:v "Expiration Date Time(exp)" ] ;
           fhir:definition [ fhir:v "Expiration Time" ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:type ( [
             fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]
           ] )
         ] [
           fhir:id [ fhir:v "CWTPayload.6" ] ;
           fhir:path [ fhir:v "CWTPayload.6" ] ;
           fhir:short [ fhir:v "Issued At (iat)" ] ;
           fhir:definition [ fhir:v "Issued At" ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:type ( [
             fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]
           ] )
         ] [
           fhir:id [ fhir:v "CWTPayload.-260" ] ;
           fhir:path [ fhir:v "CWTPayload.-260" ] ;
           fhir:short [ fhir:v "Health Certificate" ] ;
           fhir:definition [ fhir:v "HCert" ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:type ( [
             fhir:code [ fhir:v "http://smart.who.int/trust/StructureDefinition/HCert"^^xsd:anyURI ]
           ] )
         ] )
      ] . #