health.hats.provider.grant

A request for access and its answer: a FHIR R4 Consent in the patient's health.hats.audit.log space. A request is status proposed, in the asker's own repo, naming the sections, the purpose, and the asker's role. The answer is in the patient's repo, or a parent's for a child at n, citing the request: active (a yes, with a nested permit per section, the role it holds for, and its kind, this stay citing the Encounter or until revoked, with any end date), rejected (a no), or a later version inactive (revoked). The patient's managing app decides each access from these.

Repository @hats.health did:plc:uvvhtareovj2oaregs7vsibv namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityprovider.hats.health
Commit rev3n23jgur7w2ho
Indexed
cid bafyreieb3d4gpqdpd7a3tbuu5sfv74hf5iomcvdyoiia5fjl6ytvbvtk6q

Checks

Valid
  • unlimited-string defs.main.record.properties.resourceTypeNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A request for access and its answer: a FHIR R4 Consent in the patient's health.hats.audit.log space. A request is status proposed, in the asker's own repo, naming the sections, the purpose, and the asker's role. The answer is in the patient's repo, or a parent's for a child at n, citing the request: active (a yes, with a nested permit per section, the role it holds for, and its kind, this stay citing the Encounter or until revoked, with any end date), rejected (a no), or a later version inactive (revoked). The patient's managing app decides each access from these.",
      "key": "tid",
      "record": {
        "properties": {
          "prev": {
            "ref": "health.hats.defs#prev",
            "type": "ref"
          },
          "resourceType": {
            "const": "Consent",
            "description": "FHIR resource type.",
            "type": "string"
          },
          "signatures": {
            "ref": "health.hats.defs#signatures",
            "type": "ref"
          }
        },
        "required": [
          "resourceType"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "health.hats.provider.grant",
  "lexicon": 1
}