health.hats.answerAsk

The asked clinician answers: done, after correcting or verifying the record in their own repo, or declined with a reason. Either ends the access the ask opened. Authenticated as the clinician (service auth).

Repository @hats.health did:plc:uvvhtareovj2oaregs7vsibv namespace authority
Details · procedure
Kindprocedure
Authorityhats.health
Indexed

Procedure

procedure · POST

Input

application/json

answer

string

Required to decline: the reason, which stays with the record beside the patient's statement.

id

requiredstring

The ask's id, from listAsks.

outcome

requiredstring
  • knownValues: done | declined

patient

requiredstring · did

The patient who asked.

Output

application/json

status

requiredstring

Errors

AskNotOpen

No open ask under that id is addressed to the caller.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • health.hats.listAsks

    query not from the namespace authority

    Asks the caller made, as a patient, and was asked, as a clinician, newest first. Service auth, so each caller sees only their own.

  • health.hats.ask

    procedure not from the namespace authority

    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).

  • health.hats.answerRequest

    procedure not from the namespace authority

    Approve or decline one waiting request. Approving names the grant record the patient wrote to their health.hats.audit.log space and how long it lasts; the coordinator then grants exactly what was picked, until then. Authenticated as the patient (service auth).