-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#450: Consider changes in the CH:PPQm profile
- Loading branch information
Showing
14 changed files
with
164 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file added
BIN
+669 KB
commons/ihe/fhir/r4/chppqm/src/main/resources/igs/ch-epr-fhir-4.0.1-ballot.tgz
Binary file not shown.
Binary file removed
BIN
-72.5 KB
commons/ihe/fhir/r4/chppqm/src/main/resources/igs/ch-ppqm-2.0.0.tgz
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 89 additions & 0 deletions
89
commons/ihe/xacml20/impl/src/main/resources/templates/policy-set-template-304.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<!-- Template 304 --> | ||
<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" | ||
PolicySetId="${id}" | ||
PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:deny-overrides"> | ||
<Description> | ||
Patient specific PolicySet for User Assignment 304 - allowing a user (health professional) to access the patient's EPD according to the scope of the referenced access level (PolicySetIdReference below) | ||
with the possibility of delegation | ||
</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">${gln}</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:gs1:gln</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="HCP" 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> | ||
#if ($startDate) | ||
<ResourceMatch | ||
MatchId="urn:oasis:names:tc:xacml:1.0:function:date-less-than-or-equal"> | ||
<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#date">${startDate}</AttributeValue> | ||
<ResourceAttributeDesignator | ||
AttributeId="urn:e-health-suisse:2023:policy-attributes:start-date" | ||
DataType="http://www.w3.org/2001/XMLSchema#date"/> | ||
</ResourceMatch> | ||
#end | ||
<ResourceMatch | ||
MatchId="urn:oasis:names:tc:xacml:1.0:function:date-greater-than-or-equal"> | ||
<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#date">${endDate}</AttributeValue> | ||
<ResourceAttributeDesignator | ||
AttributeId="urn:e-health-suisse:2023:policy-attributes:end-date" | ||
DataType="http://www.w3.org/2001/XMLSchema#date"/> | ||
</ResourceMatch> | ||
</Resource> | ||
</Resources> | ||
<Environments> | ||
<Environment> | ||
#if ($startDate) | ||
<EnvironmentMatch | ||
MatchId="urn:oasis:names:tc:xacml:1.0:function:date-less-than-or-equal"> | ||
<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#date">${startDate}</AttributeValue> | ||
<EnvironmentAttributeDesignator | ||
AttributeId="urn:oasis:names:tc:xacml:1.0:environment:current-date" | ||
DataType="http://www.w3.org/2001/XMLSchema#date"/> | ||
</EnvironmentMatch> | ||
#end | ||
<EnvironmentMatch | ||
MatchId="urn:oasis:names:tc:xacml:1.0:function:date-greater-than-or-equal"> | ||
<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#date">${endDate}</AttributeValue> | ||
<EnvironmentAttributeDesignator | ||
AttributeId="urn:oasis:names:tc:xacml:1.0:environment:current-date" | ||
DataType="http://www.w3.org/2001/XMLSchema#date"/> | ||
</EnvironmentMatch> | ||
</Environment> | ||
</Environments> | ||
</Target> | ||
<PolicySetIdReference> | ||
${policyIdReference} | ||
</PolicySetIdReference> | ||
</PolicySet> |