Skip to content

Commit

Permalink
minor format fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
declankieran-nhsd committed Mar 21, 2024
1 parent 13a44bd commit ff6b9dd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
24 changes: 11 additions & 13 deletions input/pagecontent/remove-reasonable-adjustment-record.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@ If a patient denys consent, then this must be recorded and all adjustment record
#### Scenarios

```gherkin
Given a patient or their advocate revokes consent
And the consent is for reasonable adjustments
When a practioner records the consent
Then consent will be marked as inactive
And all flags will be deleted
And all conditions will be deleted
```


#### Workflow
<p>

Expand All @@ -50,20 +47,21 @@ In the following sequence diagram, a patient revokes consent. The Consent resou

</div>

The following resources will be deleted from the record if consent is not granted i.e.
The following resource types will be deleted from the record if consent is not granted i.e.

* [Patient Flag](Flag-RAPatientFlagExample1.html) resources
* [Condition Flag](Condition-RAConditionExample1.html) resources
* [Patient Flag](StructureDefinition-PatientFlag.html)
* [Programme Flag](StructureDefinition-ProgrammeFlag.html)
* [Condition Flag](StructureDefinition-FlagCondition.html)

#### Example

for the delete transaction example provided below, the following query will performed (dynamically during the IG build)
Multiple resources can be deleteed using a transaction bundle. With this [example delete transaction Bundle](Bundle-RemoveRARecordExample.html), the following resources can be deleted.

```
POST /
```
* [Patient Flag](Flag-RAPatientFlagExample1.html) example.
* [Programme Flag](Flag-RAFlagExample1.html) example.
* [Condition Flag](Condition-RAConditionExample1.html) example.

The following resources can be deleted using a [Transaction Bundle](Bundle-RemoveRARecordExample.html)
### Relevant Documentation

* [Patient Flag](Flag-RAPatientFlagExample1.html) resources
* [Condition Flag](Condition-RAConditionExample1.html) resources
[Bundles](https://hl7.org/fhir/r4/bundle.html)
[Transactions](https://hl7.org/fhir/r4/http.html#transaction)
5 changes: 4 additions & 1 deletion input/pagecontent/retrieve-reasonable-adjustment-record.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ After obtaining consent from a patient, a Reasonable Adjustment Record may be re

### Workflow

A practitioner confirms that a patient consents to share information about Reasonable Adjustment records. A patient may revoke consent to share information about Reasonable Adjustment records and if they do, all records should be removed.
A practitioner confirms that a patient consents to share information about Reasonable Adjustment records. A patient may revoke consent to share information about Reasonable Adjustment records and if they do, all records must be removed.

<div>
<img style="max-width: 70%" alt="Activity created in draw.io!" src="retrieve-record-workflow.svg"/>
Expand Down Expand Up @@ -113,3 +113,6 @@ This includes the associated patient resource.
&_include=Flag:patient
```

### Relevant Documentation

[FHIR Search](http://www.hl7.org/fhir/R4/search.html)

0 comments on commit ff6b9dd

Please sign in to comment.