PermissionTicket
type: StructureDefinition
node role: treeRoot
id:
  v: PermissionTicket
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition PermissionTicket Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> PermissionTicket 0..* Base Permission Ticket (JWT Payload) #xD; iss 1..1 string Issuer (Trust Broker URL) #xD; sub 1..1 string Subject (Client ID) #xD; aud 1..1 string Audience (Network/Data Holder) #xD; exp 0..1 integer Expiration Timestamp #xD; jti 0..1 string Unique Ticket ID #xD; ticket_context 1..1 BackboneElement Permission Details #xD; subject 1..1 BackboneElement The Patient or Subject of the data #xD; type 0..1 code Type of subject match (e.g., 'match' or 'reference') #xD; traits 0..1 Patient Demographic traits for matching #xD; resourceType 0..1 string Resource Type (e.g. Patient) #xD; @id 0..1 string Resource ID #xD; identifier 0..* Identifier Business Identifier #xD; actor 0..1 BackboneElement The Requesting Agent #xD; resourceType 1..1 string Type of actor (PractitionerRole, RelatedPerson, Organization) #xD; name 0..* HumanName Name of the actor #xD; telecom 0..* ContactPoint Contact details #xD; identifier 0..* Identifier Actor identifiers (NPI, etc) #xD; relationship 0..* CodeableConcept Relationship to subject #xD; type 0..* CodeableConcept Organization type #xD; contained 0..* Resource Embedded resources #xD; context 0..1 BackboneElement The Trigger Event #xD; type 1..1 Coding Type of context (e.g. ActReason) #xD; focus 0..1 Coding Clinical Focus (e.g. Condition) #xD; identifier 0..* Identifier Issuer-specific identifiers (Case ID, etc) #xD; capability 1..1 BackboneElement Access Capabilities #xD; scopes 0..* string SMART Scopes (e.g. patient/Immunization.read) #xD; periods 0..* Period Time restrictions (Service Date) #xD; locations 0..* Address Allowed Locations (Jurisdictions) #xD; organizations 0..* Organization Allowed Organizations #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: http://smarthealthit.org/ig/permission-tickets/StructureDefinition/PermissionTicket
  l: PermissionTicket
version:
  v: 0.1.0
name:
  v: PermissionTicket
title:
  v: Permission Ticket (JWT Payload)
status:
  v: draft
date:
  v: 2025-11-20T22:44:35+00:00
description:
  v: The full payload of a Permission Ticket, including standard JWT claims and the custom permission object.
fhir version:
  v: 4.0.1
kind:
  v: logical
abstract:
  v: false
type:
  v: http://smarthealthit.org/ig/permission-tickets/StructureDefinition/PermissionTicket
  l: PermissionTicket
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  l: Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: PermissionTicket
    path:
      v: PermissionTicket
    short:
      v: Permission Ticket (JWT Payload)
    definition:
      v: The full payload of a Permission Ticket, including standard JWT claims and the custom permission object.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: PermissionTicket.iss
    path:
      v: PermissionTicket.iss
    short:
      v: Issuer (Trust Broker URL)
    definition:
      v: Issuer (Trust Broker URL)
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: PermissionTicket.iss
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: string
        l: string
  element:
    id:
      v: PermissionTicket.sub
    path:
      v: PermissionTicket.sub
    short:
      v: Subject (Client ID)
    definition:
      v: Subject (Client ID)
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: PermissionTicket.sub
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: string
        l: string
  element:
    id:
      v: PermissionTicket.aud
    path:
      v: PermissionTicket.aud
    short:
      v: Audience (Network/Data Holder)
    definition:
      v: Audience (Network/Data Holder)
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: PermissionTicket.aud
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: string
        l: string
  element:
    id:
      v: PermissionTicket.exp
    path:
      v: PermissionTicket.exp
    short:
      v: Expiration Timestamp
    definition:
      v: Expiration Timestamp
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: PermissionTicket.exp
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: integer
        l: integer
  element:
    id:
      v: PermissionTicket.jti
    path:
      v: PermissionTicket.jti
    short:
      v: Unique Ticket ID
    definition:
      v: Unique Ticket ID
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: PermissionTicket.jti
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: string
        l: string
  element:
    id:
      v: PermissionTicket.ticket-context
    path:
      v: PermissionTicket.ticket_context
    short:
      v: Permission Details
    definition:
      v: Permission Details
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: PermissionTicket.ticket_context

v: 1

v: 1

code:
  v: BackboneElement
  l: BackboneElement

key:
  v: ele-1
severity:
  v: error
human:
  v: All FHIR elements must have a @value or children
expression:
  v: hasValue() or (children().count() > id.count())
xpath:
  v: @value|f:*|h:div
source:
  v: http://hl7.org/fhir/StructureDefinition/Element
  l: Element

id:
  v: PermissionTicket.ticket-context.id
path:
  v: PermissionTicket.ticket_context.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PermissionTicket.ticket-context.extension
path:
  v: PermissionTicket.ticket_context.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PermissionTicket.ticket-context.modifierExtension
path:
  v: PermissionTicket.ticket_context.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: PermissionTicket.ticket-context.subject
path:
  v: PermissionTicket.ticket_context.subject
short:
  v: The Patient or Subject of the data
definition:
  v: The Patient or Subject of the data
min:
  v: 1
max:
  v: 1
base:
  path:
    v: PermissionTicket.ticket_context.subject
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: PermissionTicket.ticket-context.subject.id
path:
  v: PermissionTicket.ticket_context.subject.id
representation:
  v: xmlAttr
short:
  v: Resource ID
definition:
  v: Resource ID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PermissionTicket.ticket-context.subject.extension
path:
  v: PermissionTicket.ticket_context.subject.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PermissionTicket.ticket-context.subject.modifierExtension
path:
  v: PermissionTicket.ticket_context.subject.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: PermissionTicket.ticket-context.subject.type
path:
  v: PermissionTicket.ticket_context.subject.type
short:
  v: Type of subject match (e.g., 'match' or 'reference')
definition:
  v: Type of subject match (e.g., 'match' or 'reference')
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PermissionTicket.ticket_context.subject.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: PermissionTicket.ticket-context.subject.traits
path:
  v: PermissionTicket.ticket_context.subject.traits
short:
  v: Demographic traits for matching
definition:
  v: Demographic traits for matching
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PermissionTicket.ticket_context.subject.traits
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Patient
    l: Patient

id:
  v: PermissionTicket.ticket-context.subject.resourceType
path:
  v: PermissionTicket.ticket_context.subject.resourceType
short:
  v: Resource Type (e.g. Patient)
definition:
  v: Resource Type (e.g. Patient)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PermissionTicket.ticket_context.subject.resourceType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: PermissionTicket.ticket-context.subject.identifier
path:
  v: PermissionTicket.ticket_context.subject.identifier
short:
  v: Business Identifier
definition:
  v: Business Identifier
min:
  v: 0
max:
  v: *
base:
  path:
    v: PermissionTicket.ticket_context.subject.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: PermissionTicket.ticket-context.actor
path:
  v: PermissionTicket.ticket_context.actor
short:
  v: The Requesting Agent
definition:
  v: The Requesting Agent
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PermissionTicket.ticket_context.actor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: PermissionTicket.ticket-context.actor.id
path:
  v: PermissionTicket.ticket_context.actor.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PermissionTicket.ticket-context.actor.extension
path:
  v: PermissionTicket.ticket_context.actor.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PermissionTicket.ticket-context.actor.modifierExtension
path:
  v: PermissionTicket.ticket_context.actor.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: PermissionTicket.ticket-context.actor.resourceType
path:
  v: PermissionTicket.ticket_context.actor.resourceType
short:
  v: Type of actor (PractitionerRole, RelatedPerson, Organization)
definition:
  v: Type of actor (PractitionerRole, RelatedPerson, Organization)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: PermissionTicket.ticket_context.actor.resourceType
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: PermissionTicket.ticket-context.actor.name
path:
  v: PermissionTicket.ticket_context.actor.name
short:
  v: Name of the actor
definition:
  v: Name of the actor
min:
  v: 0
max:
  v: *
base:
  path:
    v: PermissionTicket.ticket_context.actor.name
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: HumanName
    l: HumanName

id:
  v: PermissionTicket.ticket-context.actor.telecom
path:
  v: PermissionTicket.ticket_context.actor.telecom
short:
  v: Contact details
definition:
  v: Contact details
min:
  v: 0
max:
  v: *
base:
  path:
    v: PermissionTicket.ticket_context.actor.telecom
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: ContactPoint
    l: ContactPoint

id:
  v: PermissionTicket.ticket-context.actor.identifier
path:
  v: PermissionTicket.ticket_context.actor.identifier
short:
  v: Actor identifiers (NPI, etc)
definition:
  v: Actor identifiers (NPI, etc)
min:
  v: 0
max:
  v: *
base:
  path:
    v: PermissionTicket.ticket_context.actor.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: PermissionTicket.ticket-context.actor.relationship
path:
  v: PermissionTicket.ticket_context.actor.relationship
short:
  v: Relationship to subject
definition:
  v: Relationship to subject
min:
  v: 0
max:
  v: *
base:
  path:
    v: PermissionTicket.ticket_context.actor.relationship
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: PermissionTicket.ticket-context.actor.type
path:
  v: PermissionTicket.ticket_context.actor.type
short:
  v: Organization type
definition:
  v: Organization type
min:
  v: 0
max:
  v: *
base:
  path:
    v: PermissionTicket.ticket_context.actor.type
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: PermissionTicket.ticket-context.actor.contained
path:
  v: PermissionTicket.ticket_context.actor.contained
short:
  v: Embedded resources
definition:
  v: Embedded resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: PermissionTicket.ticket_context.actor.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
    l: Resource

id:
  v: PermissionTicket.ticket-context.context
path:
  v: PermissionTicket.ticket_context.context
short:
  v: The Trigger Event
definition:
  v: The Trigger Event
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PermissionTicket.ticket_context.context
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: PermissionTicket.ticket-context.context.id
path:
  v: PermissionTicket.ticket_context.context.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PermissionTicket.ticket-context.context.extension
path:
  v: PermissionTicket.ticket_context.context.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PermissionTicket.ticket-context.context.modifierExtension
path:
  v: PermissionTicket.ticket_context.context.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: PermissionTicket.ticket-context.context.type
path:
  v: PermissionTicket.ticket_context.context.type
short:
  v: Type of context (e.g. ActReason)
definition:
  v: Type of context (e.g. ActReason)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: PermissionTicket.ticket_context.context.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding

id:
  v: PermissionTicket.ticket-context.context.focus
path:
  v: PermissionTicket.ticket_context.context.focus
short:
  v: Clinical Focus (e.g. Condition)
definition:
  v: Clinical Focus (e.g. Condition)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PermissionTicket.ticket_context.context.focus
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding

id:
  v: PermissionTicket.ticket-context.context.identifier
path:
  v: PermissionTicket.ticket_context.context.identifier
short:
  v: Issuer-specific identifiers (Case ID, etc)
definition:
  v: Issuer-specific identifiers (Case ID, etc)
min:
  v: 0
max:
  v: *
base:
  path:
    v: PermissionTicket.ticket_context.context.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: PermissionTicket.ticket-context.capability
path:
  v: PermissionTicket.ticket_context.capability
short:
  v: Access Capabilities
definition:
  v: Access Capabilities
min:
  v: 1
max:
  v: 1
base:
  path:
    v: PermissionTicket.ticket_context.capability
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: PermissionTicket.ticket-context.capability.id
path:
  v: PermissionTicket.ticket_context.capability.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PermissionTicket.ticket-context.capability.extension
path:
  v: PermissionTicket.ticket_context.capability.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PermissionTicket.ticket-context.capability.modifierExtension
path:
  v: PermissionTicket.ticket_context.capability.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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:
  v: 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:
  v: 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:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: PermissionTicket.ticket-context.capability.scopes
path:
  v: PermissionTicket.ticket_context.capability.scopes
short:
  v: SMART Scopes (e.g. patient/Immunization.read)
definition:
  v: SMART Scopes (e.g. patient/Immunization.read)
min:
  v: 0
max:
  v: *
base:
  path:
    v: PermissionTicket.ticket_context.capability.scopes
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string
    l: string

id:
  v: PermissionTicket.ticket-context.capability.periods
path:
  v: PermissionTicket.ticket_context.capability.periods
short:
  v: Time restrictions (Service Date)
definition:
  v: Time restrictions (Service Date)
min:
  v: 0
max:
  v: *
base:
  path:
    v: PermissionTicket.ticket_context.capability.periods
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Period
    l: Period

id:
  v: PermissionTicket.ticket-context.capability.locations
path:
  v: PermissionTicket.ticket_context.capability.locations
short:
  v: Allowed Locations (Jurisdictions)
definition:
  v: Allowed Locations (Jurisdictions)
min:
  v: 0
max:
  v: *
base:
  path:
    v: PermissionTicket.ticket_context.capability.locations
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Address
    l: Address

id:
  v: PermissionTicket.ticket-context.capability.organizations
path:
  v: PermissionTicket.ticket_context.capability.organizations
short:
  v: Allowed Organizations
definition:
  v: Allowed Organizations
min:
  v: 0
max:
  v: *
base:
  path:
    v: PermissionTicket.ticket_context.capability.organizations
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Organization
    l: Organization

element:
  id:
    v: PermissionTicket
  path:
    v: PermissionTicket
  short:
    v: Permission Ticket (JWT Payload)
  definition:
    v: The full payload of a Permission Ticket, including standard JWT claims and the custom permission object.
element:
  id:
    v: PermissionTicket.iss
  path:
    v: PermissionTicket.iss
  short:
    v: Issuer (Trust Broker URL)
  definition:
    v: Issuer (Trust Broker URL)
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: PermissionTicket.sub
  path:
    v: PermissionTicket.sub
  short:
    v: Subject (Client ID)
  definition:
    v: Subject (Client ID)
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: PermissionTicket.aud
  path:
    v: PermissionTicket.aud
  short:
    v: Audience (Network/Data Holder)
  definition:
    v: Audience (Network/Data Holder)
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: PermissionTicket.exp
  path:
    v: PermissionTicket.exp
  short:
    v: Expiration Timestamp
  definition:
    v: Expiration Timestamp
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: integer
      l: integer
element:
  id:
    v: PermissionTicket.jti
  path:
    v: PermissionTicket.jti
  short:
    v: Unique Ticket ID
  definition:
    v: Unique Ticket ID
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: PermissionTicket.ticket-context
  path:
    v: PermissionTicket.ticket_context
  short:
    v: Permission Details
  definition:
    v: Permission Details
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: PermissionTicket.ticket-context.subject
  path:
    v: PermissionTicket.ticket_context.subject
  short:
    v: The Patient or Subject of the data
  definition:
    v: The Patient or Subject of the data
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: PermissionTicket.ticket-context.subject.type
  path:
    v: PermissionTicket.ticket_context.subject.type
  short:
    v: Type of subject match (e.g., 'match' or 'reference')
  definition:
    v: Type of subject match (e.g., 'match' or 'reference')
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: code
      l: code
element:
  id:
    v: PermissionTicket.ticket-context.subject.traits
  path:
    v: PermissionTicket.ticket_context.subject.traits
  short:
    v: Demographic traits for matching
  definition:
    v: Demographic traits for matching
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Patient
      l: Patient
element:
  id:
    v: PermissionTicket.ticket-context.subject.resourceType
  path:
    v: PermissionTicket.ticket_context.subject.resourceType
  short:
    v: Resource Type (e.g. Patient)
  definition:
    v: Resource Type (e.g. Patient)
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: PermissionTicket.ticket-context.subject.id
  path:
    v: PermissionTicket.ticket_context.subject.id
  short:
    v: Resource ID
  definition:
    v: Resource ID
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: PermissionTicket.ticket-context.subject.identifier
  path:
    v: PermissionTicket.ticket_context.subject.identifier

v: Business Identifier

v: Business Identifier

v: 0

v: *

code:
  v: Identifier
  l: Identifier

id:
  v: PermissionTicket.ticket-context.actor
path:
  v: PermissionTicket.ticket_context.actor
short:
  v: The Requesting Agent
definition:
  v: The Requesting Agent
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: PermissionTicket.ticket-context.actor.resourceType
path:
  v: PermissionTicket.ticket_context.actor.resourceType
short:
  v: Type of actor (PractitionerRole, RelatedPerson, Organization)
definition:
  v: Type of actor (PractitionerRole, RelatedPerson, Organization)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: PermissionTicket.ticket-context.actor.name
path:
  v: PermissionTicket.ticket_context.actor.name
short:
  v: Name of the actor
definition:
  v: Name of the actor
min:
  v: 0
max:
  v: *
type:
  code:
    v: HumanName
    l: HumanName

id:
  v: PermissionTicket.ticket-context.actor.telecom
path:
  v: PermissionTicket.ticket_context.actor.telecom
short:
  v: Contact details
definition:
  v: Contact details
min:
  v: 0
max:
  v: *
type:
  code:
    v: ContactPoint
    l: ContactPoint

id:
  v: PermissionTicket.ticket-context.actor.identifier
path:
  v: PermissionTicket.ticket_context.actor.identifier
short:
  v: Actor identifiers (NPI, etc)
definition:
  v: Actor identifiers (NPI, etc)
min:
  v: 0
max:
  v: *
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: PermissionTicket.ticket-context.actor.relationship
path:
  v: PermissionTicket.ticket_context.actor.relationship
short:
  v: Relationship to subject
definition:
  v: Relationship to subject
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: PermissionTicket.ticket-context.actor.type
path:
  v: PermissionTicket.ticket_context.actor.type
short:
  v: Organization type
definition:
  v: Organization type
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: PermissionTicket.ticket-context.actor.contained
path:
  v: PermissionTicket.ticket_context.actor.contained
short:
  v: Embedded resources
definition:
  v: Embedded resources
min:
  v: 0
max:
  v: *
type:
  code:
    v: Resource
    l: Resource

id:
  v: PermissionTicket.ticket-context.context
path:
  v: PermissionTicket.ticket_context.context
short:
  v: The Trigger Event
definition:
  v: The Trigger Event
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: PermissionTicket.ticket-context.context.type
path:
  v: PermissionTicket.ticket_context.context.type
short:
  v: Type of context (e.g. ActReason)
definition:
  v: Type of context (e.g. ActReason)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Coding
    l: Coding

id:
  v: PermissionTicket.ticket-context.context.focus
path:
  v: PermissionTicket.ticket_context.context.focus
short:
  v: Clinical Focus (e.g. Condition)
definition:
  v: Clinical Focus (e.g. Condition)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Coding
    l: Coding

id:
  v: PermissionTicket.ticket-context.context.identifier
path:
  v: PermissionTicket.ticket_context.context.identifier
short:
  v: Issuer-specific identifiers (Case ID, etc)
definition:
  v: Issuer-specific identifiers (Case ID, etc)
min:
  v: 0
max:
  v: *
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: PermissionTicket.ticket-context.capability
path:
  v: PermissionTicket.ticket_context.capability
short:
  v: Access Capabilities
definition:
  v: Access Capabilities
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: PermissionTicket.ticket-context.capability.scopes
path:
  v: PermissionTicket.ticket_context.capability.scopes
short:
  v: SMART Scopes (e.g. patient/Immunization.read)
definition:
  v: SMART Scopes (e.g. patient/Immunization.read)
min:
  v: 0
max:
  v: *
type:
  code:
    v: string
    l: string

id:
  v: PermissionTicket.ticket-context.capability.periods
path:
  v: PermissionTicket.ticket_context.capability.periods
short:
  v: Time restrictions (Service Date)
definition:
  v: Time restrictions (Service Date)
min:
  v: 0
max:
  v: *
type:
  code:
    v: Period
    l: Period

id:
  v: PermissionTicket.ticket-context.capability.locations
path:
  v: PermissionTicket.ticket_context.capability.locations
short:
  v: Allowed Locations (Jurisdictions)
definition:
  v: Allowed Locations (Jurisdictions)
min:
  v: 0
max:
  v: *
type:
  code:
    v: Address
    l: Address

id:
  v: PermissionTicket.ticket-context.capability.organizations
path:
  v: PermissionTicket.ticket_context.capability.organizations
short:
  v: Allowed Organizations
definition:
  v: Allowed Organizations
min:
  v: 0
max:
  v: *
type:
  code:
    v: Organization
    l: Organization