full diff

health.hats.provider.grant

hats.health +1 −1
From
bafyreigkegf7hvwljr2ff5zfrv4jq5elspgwxz6hrtds2aojzlbugbj4fu indexed 2026-11-01 20:25 UTC View this version
To
bafyreieb3d4gpqdpd7a3tbuu5sfv74hf5iomcvdyoiia5fjl6ytvbvtk6q indexed 2026-11-12 03:24 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "A provider grant: a FHIR R4 Consent under the HATS profile (one flat provision: actor, class, code, securityLabel, action, purpose, period). Stored in the patient's health.hats.audit.log space. Counts only with an attestation from the patient or an act circle member; a grant carrying V counts only with the patient's own.",
5 "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.",
66 "key": "tid",
77 "record": {
88 "properties": {
99 "prev": {
1010 "ref": "health.hats.defs#prev",
1111 "type": "ref"
1212 },
1313 "resourceType": {
1414 "const": "Consent",
1515 "description": "FHIR resource type.",
1616 "type": "string"
1717 },
1818 "signatures": {
1919 "ref": "health.hats.defs#signatures",
2020 "type": "ref"
2121 }
2222 },
2323 "required": [
2424 "resourceType"
2525 ],
2626 "type": "object"
2727 },
2828 "type": "record"
2929 }
3030 },
3131 "id": "health.hats.provider.grant",
3232 "lexicon": 1
3333}

Compare other versions