health.hats.ask

A patient asks one named clinician to correct a record they wrote, or to verify one the patient wrote. Asking is consent: the clinician may read and write that record's section, and record those reads in the audit log, under PATRQT until they answer or the ask is due, 60 days on (45 CFR 164.526(b)(2)). Authenticated as the patient (service auth).

Repository @hats.health did:plc:uvvhtareovj2oaregs7vsibv not from the namespace authority
Details · procedure
Kindprocedure
Authorityhats.health
Indexed
cid bafyreidky6utbua5dqcuxqssbgvohpwlbpwndriemhidynllt735cxopyu

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.kindNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.idNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A patient asks one named clinician to correct a record they wrote, or to verify one the patient wrote. Asking is consent: the clinician may read and write that record's section, and record those reads in the audit log, under PATRQT until they answer or the ask is due, 60 days on (45 CFR 164.526(b)(2)). Authenticated as the patient (service auth).",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "clinician": {
              "format": "did",
              "type": "string"
            },
            "kind": {
              "knownValues": [
                "correct",
                "verify"
              ],
              "type": "string"
            },
            "target": {
              "description": "The record it's about, in one of the patient's own record sections.",
              "format": "at-uri",
              "type": "string"
            },
            "task": {
              "description": "The patient's FHIR Task asking, in the same section: code change for a correction, approve for a verification.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "clinician",
            "kind",
            "target",
            "task"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "dueAt": {
              "format": "datetime",
              "type": "string"
            },
            "id": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "dueAt"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "health.hats.ask",
  "lexicon": 1
}