#### Permission Ticket Artifact

##### Header

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

##### Payload (Claims)

    {
      "iss": "https://referring-ehr.org",
      "sub": "specialist-app",
      "aud": "https://referring-ehr.org",
      "ticket_context": {
        "subject": {
          "resourceType": "Patient",
          "reference": "Patient/999"
        },
        "actor": {
          "resourceType": "Practitioner",
          "identifier": [
            {
              "system": "http://hl7.org/fhir/sid/us-npi",
              "value": "1112223333"
            }
          ],
          "name": [
            {
              "family": "Heart",
              "given": [
                "A."
              ]
            }
          ]
        },
        "context": {
          "type": {
            "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
            "code": "REFER",
            "display": "Referral"
          },
          "focus": {
            "system": "http://snomed.info/sct",
            "code": "49436004",
            "display": "Atrial fibrillation"
          }
        },
        "capability": {
          "scopes": [
            "patient/*.read"
          ]
        }
      },
      "iat": 1763662289,
      "exp": 1763665889
    }

Raw Signed JWT

    eyJhbGciOiJFUzI1NiIsImtpZCI6Im52T0dSQ3NUejJRSVFMc2JsMFpRX3V4MHRmeWg1aWF2ZS1qdk5zQU5XdjgifQ. .O-uBbmhC48zFPz-M71dvfXqdTQbOsafRpTiTo_365ZR9vJiOU59i8yWBax470GLIe8NkUU570FgWiIUcmhL0aQ