Replying to Avatar Tim Bouma

Slowly realizing the killer use case for #nostr #safebox is storing personal funds AND personal prescriptions.

Peer-to-Peer Healthcare.

After playing with lazereyes built by nostr:nprofile1qqsyvrp9u6p0mfur9dfdru3d853tx9mdjuhkphxuxgfwmryja7zsvhqpzamhxue69uhhv6t5daezumn0wd68yvfwvdhk6tcpz9mhxue69uhkummnw3ezuamfdejj7qgwwaehxw309ahx7uewd3hkctcscpyug I realized it will be straightforward to provision a prescription directly into a #safebox from which it can be presented.

It will take me a few days to sort out the details, but the mechanisms are sound.

The implications for this are HUGE! It's all an open infrastructure. The optician need only to trust the npub of the optometrist, the infrastructure takes care of the rest.

The prescription event does not take up much storage and could probably be compressed and printed out as a QR and handed to the patient.

Or saved as a file on his phone/health insurance smart card.

To avoid double spends of the prescription, the optician or pharmacist could comment "dispensed" under the prescription event and publish to as many relays as he likes. Or better yet: publish an event of a new kind with the "dispensed" or "partially dispensed" tag and the prescription's event ID. That way the original prescription event never has to be published and patient data remains private.

But before dispensing the optician/pharmacist could look up the prescription's note ID for any dispensed events on any relay.

Double spends of drug prescription would be fixed, patient data never leaves the patients phone/health insurance card and could even work offline (except for the double spend protection if the pharmacist is offline too).

Reply to this note

Please Login to reply.

Discussion

Wow! Thanks for this. I never even considered eliminating prescription doublespends. It should be straightforward to implement once we agree on a scheme.

Uso da tecnologia para o bem dos pacientes e aumento de produtividade e confiabilidade dos agentes envolvidos