OASIS Example 1: “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 patient.”
[This rulesheet would be identified by a composite key that included a problem space of “http://www.med.example.com/schemas/record.xsd”.]

default-rule
	id:
		1
	apply-outcomes:
		mask

rule
	id:
		2
	apply-outcomes:
		disclose
	for-content:
		* present-item has-caption “/md:record”
	for-conditions:
		* these-have-every-value-in-common
			* “/md:record/md:patient/md:patient-number” being-captions-within present-document
			* “patient-number” being-captions-within user's-identity-attributes