Stream: implementers
Topic: Sign documents
ahid (Sep 18 2018 at 05:45):
Hi, everybody!
We want to use Bundle with type=document for sending patient documents to doctors and organizations for view and sign.
What resource idiomatic suitable for this task - CommunicationRequest or Task?
Thank you for any ideas)
Lloyd McKenzie (Sep 18 2018 at 06:57):
Communication lets you say "I shared" or "here you are". CommunicationRequest lets you say "Please share". Both really only deal with "The recipient received this information" - there's nothing about signing or taking any other sort of action. If you want that, you want Task because it lets you specify what you want done. (It also provides for the possibility of the recipient marking the Task as "done" and providing back the result.
ahid (Sep 18 2018 at 08:00):
Thank you for detailed answer
John Moehrke (Sep 18 2018 at 12:42):
The Provenance resource is used when one wants to sign a bunch of Resources (may be a bundle, but might just be a bunch). There would be one Provenance that points at all the things to be signed (Provenance.target), and the signature would be carried in Provenance.signature. There is known issues around digital signatures, however if you have a Document you avoid them by signing the Document Bundle where everything is included. The Provenance.signature would explain 'why' the signature exists.
Last updated: Apr 12 2022 at 19:14 UTC