diff --git a/input/pagecontent/retrieve-condition.md b/input/pagecontent/retrieve-condition.md index e57b4b6..c873700 100644 --- a/input/pagecontent/retrieve-condition.md +++ b/input/pagecontent/retrieve-condition.md @@ -18,3 +18,19 @@ A patient presents to be examined by a practitioner. The Practioner perofrms an #### 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) + +``` +/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.