full diff

health.hats.answerAsk

hats.health +2 −0
From
bafyreic2r3ybtfoxg3uvferr3xcewr34mus3tlkj7ak4l5pwmcnffxzcve indexed 2026-11-01 20:25 UTC View this version
To
bafyreibqv5gygowhofxp6lofe4rn6cecmoeqppt5ptoxfpxqtn4ye6xdau indexed 2026-11-02 15:33 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "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).",
66 "errors": [
77 {
88 "description": "No open ask under that id is addressed to the caller.",
99 "name": "AskNotOpen"
1010 }
1111 ],
1212 "input": {
1313 "encoding": "application/json",
1414 "schema": {
1515 "properties": {
1616 "answer": {
1717 "description": "Required to decline: the reason, which stays with the record beside the patient's statement.",
1818 "type": "string"
1919 },
2020 "id": {
21 "description": "The ask's id, from listAsks.",
2122 "type": "string"
2223 },
2324 "outcome": {
2425 "knownValues": [
2526 "done",
2627 "declined"
2728 ],
2829 "type": "string"
2930 },
3031 "patient": {
32 "description": "The patient who asked.",
3133 "format": "did",
3234 "type": "string"
3335 }
3436 },
3537 "required": [
3638 "patient",
3739 "id",
3840 "outcome"
3941 ],
4042 "type": "object"
4143 }
4244 },
4345 "output": {
4446 "encoding": "application/json",
4547 "schema": {
4648 "properties": {
4749 "status": {
4850 "type": "string"
4951 }
5052 },
5153 "required": [
5254 "status"
5355 ],
5456 "type": "object"
5557 }
5658 },
5759 "type": "procedure"
5860 }
5961 },
6062 "id": "health.hats.answerAsk",
6163 "lexicon": 1
6264}

Compare other versions