The skill
holder-consent-to-shareas its source filesmart-trust-tools/skills/wallet/holder-consent-to-share.mdwrites it, rendered bygen-processes-viz.tsbecause it has no instruction page on this site — do not edit here. All processes
Consent to share a health link
Skill holder-consent-to-share: The holder decides what a health link (a Verifiable Health Link or a SMART Health Link) shares: which members’ records, protected by which passcode, until when. That choice is the holder’s consent, and the sharer issues nothing beyond it. Input is the records the sharer offers; output is the share request. Performed by a person.
Named by: J1 Issue the newborn’s birth-dose DVCs in Country A, J2 Discover and refer an unregistered infant in Country B, J3 Verify, import and schedule at the home clinic, J4.0 Issue the family’s records to one phone as VHLs, J4.1 Read a family member’s records at the point of care abroad
Performed by a person: the holder (IHE ITI VHL
VHL Holder). Role
vhl-holder. The sharer that acts on the answer is vhl-share for a VHL;
for a SMART Health Link it is the SHL sharer, which sets the link’s P flag and
exp from the same answer. Which kind of link is the sharer’s, not the
holder’s, choice.
Input and output
The contract is input.schema.json
and output.schema.json.
- In: the
offer: thememberswhose records the sharer holds and may share, with the documents each has (an IPS, vaccination certificates), and the longestmaxExpirythe sharer allows. - Out: the
sharerequest: the members (and documents) chosen, thepasscodethe holder sets, and theexpiry.
What the holder does
- Choose who is shared: one member, several, or none. Nothing is chosen by default.
- Set a passcode the holder can say aloud, and an expiry no later than the trip or visit needs.
- Confirm. Declining at any step shares nothing.
Success criteria
- The share request names only what the holder chose; the sharer issues
nothing else (
vhl-shareencrypts exactly those documents). - The passcode is handed to the sharer once, to protect the manifest, and is not printed on the QR.
- With nothing chosen, no link is issued.
Input and output contracts
What this skill takes and gives, as a class diagram drawn from its JSON Schema contracts by the schemas viewer’s own renderer. Each box links to its definition; each type to its specification.