Access Document FHIR examples
The following is a set of request/response examples for Access Document:
Search for a patient's documents
Request
Example of a search for a list of a patient's documents:
Request
GET http://exampleGPSystem.co.uk/GP0001/STU3/1/gpconnect/documents/Patient/04603d77-1a4e-4d63-b246-d7504f8bd833/DocumentReference?created=ge2019-06-24&_include=DocumentReference:subject:Patient&_include=DocumentReference:custodian:Organization&_include=DocumentReference:author:Organization&_include=DocumentReference:author:Practitioner&_revinclude:recurse=PractitionerRole:practitioner&author=https://fhir.nhs.uk/Id/sds-user-id|G13579135
Response payload
Retrieve a document
Request
Example of a request to retrieve a document:
Request
GET http://exampleGPSystem.co.uk/GP0001/STU3/1/gpconnect/documents/Binary/07a6483f-732b-461e-86b6-edb665c45510
Response payload