#### Permission Ticket Artifact

##### Header

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

##### Payload (Claims)

    {
      "iss": "https://hospital-a.com",
      "sub": "pha-app-client-id",
      "aud": "https://hospital-a.com",
      "ticket_context": {
        "subject": {
          "resourceType": "Patient",
          "id": "local-patient-123"
        },
        "actor": {
          "resourceType": "Organization",
          "name": "State Dept of Health",
          "identifier": [
            {
              "system": "urn:ietf:rfc:3986",
              "value": "https://doh.state.gov"
            }
          ],
          "type": [
            {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/organization-type",
                  "code": "govt"
                }
              ]
            }
          ]
        },
        "context": {
          "type": {
            "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
            "code": "PUBHLTH",
            "display": "Public Health"
          },
          "focus": {
            "system": "http://snomed.info/sct",
            "code": "56717001",
            "display": "Tuberculosis"
          },
          "identifier": [
            {
              "system": "https://doh.wa.gov/cases",
              "value": "CASE-2024-999"
            }
          ]
        },
        "capability": {
          "scopes": [
            "patient/*.read"
          ],
          "periods": [
            {
              "start": "2025-01-01",
              "end": "2026-01-01"
            }
          ]
        }
      },
      "iat": 1763662289,
      "exp": 1763665889
    }

Raw Signed JWT

    eyJhbGciOiJFUzI1NiIsImtpZCI6Im52T0dSQ3NUejJRSVFMc2JsMFpRX3V4MHRmeWg1aWF2ZS1qdk5zQU5XdjgifQ. .XAJFuGmaQFEM4Hj5WQz81lmQK3P9OmhxrGkURQ9ZSnfXM_5zYWxWFW3M6jBFjIE5llyqzA2dI6Rg9M54ALeO5w