#### Permission Ticket Artifact

##### Header

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

##### Payload (Claims)

    {
      "iss": "https://consent-platform.org",
      "sub": "research-app",
      "aud": "https://hospital.com",
      "ticket_context": {
        "subject": {
          "resourceType": "Patient",
          "identifier": [
            {
              "value": "MRN-123"
            }
          ]
        },
        "actor": {
          "resourceType": "Organization",
          "name": "Oncology Research Institute",
          "identifier": [
            {
              "value": "research-org-id"
            }
          ]
        },
        "context": {
          "type": {
            "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
            "code": "RESCH",
            "display": "Biomedical Research"
          },
          "focus": {
            "system": "http://snomed.info/sct",
            "code": "363358000",
            "display": "Malignant tumor of lung"
          }
        },
        "capability": {
          "scopes": [
            "patient/*.read"
          ],
          "periods": [
            {
              "start": "2020-01-01",
              "end": "2025-01-01"
            }
          ]
        }
      },
      "iat": 1763662289,
      "exp": 1763665889
    }

Raw Signed JWT

    eyJhbGciOiJFUzI1NiIsImtpZCI6Im52T0dSQ3NUejJRSVFMc2JsMFpRX3V4MHRmeWg1aWF2ZS1qdk5zQU5XdjgifQ. .kFM03hJtL_HhT4zAUFD3MOjY6LKP4fMLCdDLfwC4erA2mOppdOFQ9brJkcmBe0svxZbnbp-wqmx_AgU76ASm-A