All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.policy-set-template-201.xml Maven / Gradle / Ivy

The newest version!
<!-- Template 201 -->
<PolicySet
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:hl7="urn:hl7-org:v3"
	xmlns="urn:oasis:names:tc:xacml:2.0:policy:schema:os"
	PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:deny-overrides"
	PolicySetId="${id}">
	<Description>
		Patient specific PolicySet for EPD Setup 201 - granting full access to a patient at EPD setup
	</Description>
	<Target>
		<Subjects>
			<Subject>
				<SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
					<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">${eprSpid}</AttributeValue>
					<SubjectAttributeDesignator
						AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id"
					DataType="http://www.w3.org/2001/XMLSchema#string" />
				</SubjectMatch>
				<SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
					<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">urn:e-health-suisse:2015:epr-spid</AttributeValue>
					<SubjectAttributeDesignator
						AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id-qualifier"
					DataType="http://www.w3.org/2001/XMLSchema#string" />
				</SubjectMatch>
				<SubjectMatch MatchId="urn:hl7-org:v3:function:CV-equal">
					<AttributeValue DataType="urn:hl7-org:v3#CV">
						<hl7:CodedValue code="PAT" codeSystem="2.16.756.5.30.1.127.3.10.6" />
					</AttributeValue>
					<SubjectAttributeDesignator
						DataType="urn:hl7-org:v3#CV"
					AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role" />
				</SubjectMatch>
			</Subject>
		</Subjects>
		<Resources>
			<Resource>
				<ResourceMatch MatchId="urn:hl7-org:v3:function:II-equal">
					<AttributeValue DataType="urn:hl7-org:v3#II">
						<hl7:InstanceIdentifier root="2.16.756.5.30.1.127.3.10.3" extension="${eprSpid}"/>
					</AttributeValue>
					<ResourceAttributeDesignator
						DataType="urn:hl7-org:v3#II"
					AttributeId="urn:e-health-suisse:2015:epr-spid"/>
				</ResourceMatch>
			</Resource>
		</Resources>
	</Target>
	<PolicySetIdReference>
		urn:e-health-suisse:2015:policies:access-level:full
	</PolicySetIdReference>
</PolicySet>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy