Skip to content

Commit

Permalink
Update retrieve-condition.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vickyjaiswal0308 authored Jan 31, 2024
1 parent 06a8f6c commit 45b2ab7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions input/pagecontent/retrieve-condition.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,19 @@ A patient presents to be examined by a practitioner. The Practioner perofrms an
</div>

#### Example

Below Listed some example of the retrieval of RA Record :

Based on the example transaction Bundles given in the use case [Add RA Record](add-ra-record.html#workflow), for each transaction, the following query will performed (dynamically during the IG build)

```
<base>/Patient?identifier=9912003888&_revinclude=Consent:patient&_revinclude=Flag:patient&_revinclude=Condition:patient
```

This query will return the Patient resource using the patients NHS number (TODO will be profiled to check for this, reference this later). The assocaited resources that make up the RA are also returned, which are all using default Patient SearchParameters define in the base specification for each resource.

For the [first transaction example](Bundle-0001-add-condition-transaction-example.html), this is the [output of the query](Bundle-QUERY-OUTPUT--0001-add-condition-transaction-example.1.html).

For the [second transaction example](Bundle-0002-add-condition-transaction-example.html), where a Condition and adjustment (Flag) is added, this is the [output of the query](Bundle-QUERY-OUTPUT--0002-add-condition-transaction-example.2.html).

See the [Data Model](data-model.html) for details on the relationships between the resources.

0 comments on commit 45b2ab7

Please sign in to comment.