-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to maintain consent object for dissent/revoke and examples (#23)
Co-authored-by: Declan Kieran <[email protected]>
- Loading branch information
1 parent
518c608
commit 297acab
Showing
6 changed files
with
79 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Instance: RAConsentExampleDissent | ||
InstanceOf: Consent | ||
Title: "RA example of Consent resource where patient dissents to share information." | ||
Usage: #example | ||
* meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/FlagConsent" | ||
|
||
* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-ConsentCreateSummary" | ||
* extension[=].valueAnnotation.text = "Example of consent create summary extension text" | ||
* extension[+].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-ConsentRemoveSummary" | ||
* extension[=].valueAnnotation.text = "Example of consent remove summary extension text" | ||
|
||
* status = #active | ||
* scope = $consentscope#patient-privacy | ||
* category = PatientFlagCategory#NRAF "National Reasonable Adjustments Flag" | ||
* provision.purpose = RA-ConsentPurpose#RADISSENT "Reasonable Adjustments - Dissent to record Reasonable Adjustments" | ||
* patient = Reference(Patient/PatientExample1) | ||
* policy.authority = "https://www.gov.uk/" | ||
* policy.uri = "https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/535024/data-security-review.pdf" | ||
* policyRule = FlagProxyRole#001 | ||
|
||
* contained.resourceType = "Provenance" | ||
* contained.id = "4c75ce1f-1ad7-4391-b5f6-104754c7e904" | ||
* contained.target.reference = "#" | ||
* contained.recorded = "2024-01-01T11:00:00+00:00" | ||
* contained.activity = $v3-DataOperation#CREATE "create" | ||
* contained.agent.role = $CareConnect-SDSJobRoleName-1#R0260 "General Medical Practitioner" | ||
* contained.agent.who.reference = "https://sds.spineservices.nhs.uk/STU3/Practitioner/2ee4tr6a9" | ||
* contained.agent.onBehalfOf.reference = "https://directory.spineservices.nhs.uk/STU3/Organization/a3e5i7" |
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,28 @@ | ||
Instance: RAConsentExampleRevoked | ||
InstanceOf: Consent | ||
Title: "RA example of Consent resource where patient revokes consent." | ||
Usage: #example | ||
* meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/FlagConsent" | ||
|
||
* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-ConsentCreateSummary" | ||
* extension[=].valueAnnotation.text = "Example of consent create summary extension text" | ||
* extension[+].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-ConsentRemoveSummary" | ||
* extension[=].valueAnnotation.text = "Example of consent remove summary extension text" | ||
|
||
* status = #active | ||
* scope = $consentscope#patient-privacy | ||
* category = PatientFlagCategory#NRAF "National Reasonable Adjustments Flag" | ||
* provision.purpose = RA-ConsentPurpose#RAREVOKED "Reasonable Adjustments - Consent revoked to record Reasonable Adjustments" | ||
* patient = Reference(Patient/PatientExample1) | ||
* policy.authority = "https://www.gov.uk/" | ||
* policy.uri = "https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/535024/data-security-review.pdf" | ||
* policyRule = FlagProxyRole#001 | ||
|
||
* contained.resourceType = "Provenance" | ||
* contained.id = "4c75ce1f-1ad7-4391-b5f6-104754c7e904" | ||
* contained.target.reference = "#" | ||
* contained.recorded = "2024-01-01T11:00:00+00:00" | ||
* contained.activity = $v3-DataOperation#UPDATE "revise" | ||
* contained.agent.role = $CareConnect-SDSJobRoleName-1#R0260 "General Medical Practitioner" | ||
* contained.agent.who.reference = "https://sds.spineservices.nhs.uk/STU3/Practitioner/2ee4tr6a9" | ||
* contained.agent.onBehalfOf.reference = "https://directory.spineservices.nhs.uk/STU3/Organization/a3e5i7" |
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