CWT
type: StructureDefinition
node role: treeRoot
id:
  v: CWT
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition CWT Name Flags Card. Type Description & Constraints CWT 0..* Base This is an abstract type. CBOR Web Token (CWT) Claim #xD; header 1..1 COSEHeader COSE Header #xD; payload 1..1 CWTPayload CWT Payload #xD; signature 1..1 string Signature #xD; Documentation for this format
url:
  v: http://smart.who.int/trust/StructureDefinition/CWT
version:
  v: 1.6.0
name:
  v: CWT
title:
  v: CBOR Web Token (CWT) Claim
status:
  v: active
date:
  v: 2026-07-06T11:47:47+00:00
publisher:
  v: WHO
contact:
  name:
    v: WHO
  telecom:
    system:
      v: url
    value:
      v: http://who.int
description:
  v: Logical Model for Data elements in CBOR Web Token (CWT) https://www.iana.org/assignments/cwt/cwt.xhtml
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 001
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: true
type:
  v: http://smart.who.int/trust/StructureDefinition/CWT
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 5.0.0
  element:
    id:
      v: CWT
    path:
      v: CWT
    short:
      v: CBOR Web Token (CWT) Claim
    definition:
      v: Logical Model for Data elements in CBOR Web Token (CWT) https://www.iana.org/assignments/cwt/cwt.xhtml
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: CWT.header
    path:
      v: CWT.header
    short:
      v: COSE Header
    definition:
      v: Header
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: CWT.header
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: http://smart.who.int/trust/StructureDefinition/COSEHeader
  element:
    id:
      v: CWT.payload
    path:
      v: CWT.payload
    short:
      v: CWT Payload
    definition:
      v: Payload
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: CWT.payload
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: http://smart.who.int/trust/StructureDefinition/CWTPayload
  element:
    id:
      v: CWT.signature
    path:
      v: CWT.signature
    short:
      v: Signature
    definition:
      v: Signature
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: CWT.signature
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: string
differential:
  element:
    id:
      v: CWT
    path:
      v: CWT
    short:
      v: CBOR Web Token (CWT) Claim
    definition:
      v: Logical Model for Data elements in CBOR Web Token (CWT) https://www.iana.org/assignments/cwt/cwt.xhtml
  element:
    id:
      v: CWT.header
    path:
      v: CWT.header
    short:
      v: COSE Header
    definition:
      v: Header
    min:
      v: 1
    max:
      v: 1
    type:
      code:
        v: http://smart.who.int/trust/StructureDefinition/COSEHeader
  element:
    id:
      v: CWT.payload
    path:
      v: CWT.payload
    short:
      v: CWT Payload
    definition:
      v: Payload
    min:
      v: 1
    max:
      v: 1
    type:
      code:
        v: http://smart.who.int/trust/StructureDefinition/CWTPayload

id:
  v: CWT.signature
path:
  v: CWT.signature
short:
  v: Signature
definition:
  v: Signature
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string