#### Permission Ticket Artifact

##### Header

    {
      "alg": "ES256",
      "kid": "nvOGRCsTz2QIQLsbl0ZQ_ux0tfyh5iave-jvNsANWv8"
    }

##### Payload (Claims)

    {
      "iss": "https://referring-ehr.org",
      "sub": "food-bank-app",
      "aud": "https://referring-ehr.org",
      "ticket_context": {
        "subject": {
          "resourceType": "Patient",
          "reference": "Patient/123"
        },
        "actor": {
          "resourceType": "PractitionerRole",
          "contained": [
            {
              "resourceType": "Practitioner",
              "id": "p1",
              "name": [
                {
                  "family": "Volunteer",
                  "given": [
                    "Alice"
                  ]
                }
              ],
              "telecom": [
                {
                  "system": "email",
                  "value": "alice@foodbank.org"
                }
              ]
            },
            {
              "resourceType": "Organization",
              "id": "o1",
              "name": "Downtown Food Bank"
            }
          ],
          "practitioner": {
            "reference": "#p1"
          },
          "organization": {
            "reference": "#o1"
          }
        },
        "context": {
          "type": {
            "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
            "code": "REFER",
            "display": "Referral"
          },
          "focus": {
            "system": "http://snomed.info/sct",
            "code": "733423003",
            "display": "Food insecurity"
          }
        },
        "capability": {
          "scopes": [
            "patient/ServiceRequest.read",
            "patient/ServiceRequest.write",
            "patient/Task.read",
            "patient/Task.write"
          ]
        }
      },
      "iat": 1763662289,
      "exp": 1763665889
    }

Raw Signed JWT

    eyJhbGciOiJFUzI1NiIsImtpZCI6Im52T0dSQ3NUejJRSVFMc2JsMFpRX3V4MHRmeWg1aWF2ZS1qdk5zQU5XdjgifQ. .wt_TBXhci1d1F_tdks1cHZZOQ4fq8XNqagvTu-63dJFj2UNi3J3yuOAKE5jBnSYTQZ9bUqYsWr7wPVCiolPAGw