| home | specifications | WIJIS URIs | gateway | CDCL | GJXDM example | warrants/po exchange | wijis articles |
OASIS Example 2: “A person may read any medical record in the http://www.med.example.com/schemas/record.xsd namespace for which he or she is the designated parent or guardian, and for which the patient is under 16 years of age.” [This rulesheet would be identified by a composite key that included a problem space of “http://www.med.example.com/schemas/record.xsd”. Of course, the same stakeholder cannot have a rulesheet identified this way along with a rulesheet for example 1 above; they're both identified by the same composite key. So, a single stakeholder could certainly combine the policies into a single rulesheet.]
default-rule id: 1 apply-outcomes: mask rule id: 2 apply-outcomes: disclose for-content: * present-item has-caption “/md:record” for-conditions: * all-true * these-have-every-value-in-common * “/md:record/md:parentGuardian/md:parentGuardianId” being-captions-within present-document * “parent-guardian-id” being-captions-within user's-identity-attributes * present-document contains-something-with-caption “/md:record/md:patient/md:patientDoB” * today isn't-later-than that-item plus-16-yearsHowever, WIJIS suggest a more prudent expression involves semantics and would be:
default-rule id: 1 apply-outcomes: mask rule id: 2 apply-outcomes: disclose for-content: * all-true * present-item has-similar-caption-with “/md:record” * present-item contains-something-that-means juvenile-patient * these-have-every-value-in-common * “/md:record/md:parentGuardian/md:parentGuardianId” being-captions-within present-item * “parent-guardian-id” being-captions-within user's-identity-attributes for-conditions: * all-conditions alias replace: juvenile-patient with: “http://registry/semantics/juvenile/patient”