<commit_before>---
title: AccessRecord Resources
keywords: development
sidebar: accessrecord_sidebar
toc: false
permalink: datalibraryaccessRecord.html
summary: "The FHIR&reg; profles and interactions required for the AccessRecord capability"
---

The following profiled FHIR resources are used in the current version of the AccessRecord capability, see 'API Use Cases' in the menu on the left. Full details of profiled FHIR resources and worked examples are available on the [Access Record HTML DMS Bundle](http://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/index.html).

---
## ***AccessRecord HTML*** ##
### Request ###
* [gpconnect-carerecord-operation-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryRequest/gpconnect-carerecord-operation-1.html) (based on [FHIR parameters](https://www.hl7.org/fhir/DSTU2/parameters.html))

### Response ###
* [gpconnect-searchset-bundle-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-searchset-bundle-1.html) (based on [FHIR bundle](https://www.hl7.org/fhir/DSTU2/bundle.html))
  * [gpconnect-carerecord-composition-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-carerecord-composition-1.html) (based on [FHIR composition](https://www.hl7.org/fhir/DSTU2/composition.html))
  * [gpconnect-patient-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-patient-1.html) (based on [FHIR patient](https://www.hl7.org/fhir/DSTU2/patient.html))
  * [gpconnect-practitioner-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-practitioner-1.html) (based on [FHIR practitioner](https://www.hl7.org/fhir/DSTU2/practitioner.html))
  * [gpconnect-organization-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-organization-1.html) (based on [FHIR organization](https://www.hl7.org/fhir/DSTU2/organization.html))
  * [gpconnect-location-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-location-1.html) (based on [FHIR location](https://www.hl7.org/fhir/DSTU2/location.html))
  * [gpconnect-device-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-device-1.html) (based on [FHIR device](https://www.hl7.org/fhir/DSTU2/device.html))

---
## ***Errors*** ##

If there is a problem with the request or an error occurs during processing of the request then the provider should return an HTTP error along with an 'OperationOutcome' resource within the response payload. Details of the required error responses are available on the [Error handling guidance](/development_fhir_error_handling_guidance.html) page.

### Response ###
* [gpconnect-operationoutcome-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-operationoutcome-1.html) (based on [FHIR OperationOutcome](https://www.hl7.org/fhir/DSTU2/operationoutcome.html))<commit_msg>Update accessrecord_datalibrary.md<commit_after>---
title: Access Record resources
keywords: development
sidebar: accessrecord_sidebar
toc: false
permalink: datalibraryaccessRecord.html
summary: "The FHIR&reg; profiles and interactions required for the Access Record capability"
---

The following profiled FHIR resources are used in the current version of the Access Record capability (see 'API use cases' in the menu on the left). Full details of profiled FHIR resources and worked examples are available on the [Access Record HTML DMS Bundle](http://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/index.html).

---
## ***AccessRecord HTML*** ##
### Request ###
* [gpconnect-carerecord-operation-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryRequest/gpconnect-carerecord-operation-1.html) (based on [FHIR parameters](https://www.hl7.org/fhir/DSTU2/parameters.html))

### Response ###
* [gpconnect-searchset-bundle-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-searchset-bundle-1.html) (based on [FHIR bundle](https://www.hl7.org/fhir/DSTU2/bundle.html))
  * [gpconnect-carerecord-composition-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-carerecord-composition-1.html) (based on [FHIR composition](https://www.hl7.org/fhir/DSTU2/composition.html))
  * [gpconnect-patient-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-patient-1.html) (based on [FHIR patient](https://www.hl7.org/fhir/DSTU2/patient.html))
  * [gpconnect-practitioner-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-practitioner-1.html) (based on [FHIR practitioner](https://www.hl7.org/fhir/DSTU2/practitioner.html))
  * [gpconnect-organization-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-organization-1.html) (based on [FHIR organization](https://www.hl7.org/fhir/DSTU2/organization.html))
  * [gpconnect-location-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-location-1.html) (based on [FHIR location](https://www.hl7.org/fhir/DSTU2/location.html))
  * [gpconnect-device-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-device-1.html) (based on [FHIR device](https://www.hl7.org/fhir/DSTU2/device.html))

---
## ***Errors*** ##

If there's a problem with the request or an error occurs during processing of the request then the provider should return an HTTP error along with an 'OperationOutcome' resource within the response payload. Details of the required error responses are available on the [Error handling guidance](/development_fhir_error_handling_guidance.html) page.

### Response ###
* [gpconnect-operationoutcome-1](https://data.developer.nhs.uk/fhir/candidaterelease-170816-getrecord/Profile.GetRecordQueryResponse-HTMLView/gpconnect-operationoutcome-1.html) (based on [FHIR OperationOutcome](https://www.hl7.org/fhir/DSTU2/operationoutcome.html))
{'fraction_non_alphanumeric': 0.1368102796674225, 'fraction_numerical': 0.029024943310657598, 'mean_word_length': 5.956887486855941, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 36, 'lorem ipsum': 0, 'www.': 18, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5928124', 'n_tokens_mistral': 2272, 'n_tokens_neox': 2099, 'n_words': 332}