> ## Documentation Index
> Fetch the complete documentation index at: https://docs.metriport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# servicerequest

A record of a request for service such as diagnostic investigations, treatments, or operations to be performed. See the [HL7 FHIR R4 spec](https://hl7.org/fhir/R4/servicerequest.html) for full details.

**Tables in this resource:**

* **servicerequest** – Main service request record (this page)
* [servicerequest\_code\_coding](/medical-api/handling-data/schema-v100/servicerequest/code_coding)
* [servicerequest\_extension](/medical-api/handling-data/schema-v100/servicerequest/extension)
* [servicerequest\_extension\_vcc\_coding](/medical-api/handling-data/schema-v100/servicerequest/extension_vcc_coding)
* **servicerequest\_references** – Normalized references; see [Reference Tables](/medical-api/handling-data/schema-v100/reference_tables)

**Primary Keys:**

* servicerequest\_id

**Foreign Keys:**

* patient\_id - links to the [patient](/medical-api/handling-data/schema-v100/patient/base) table (subject)

<div style={{textAlign: 'right'}}><sub>† Metriport Platform added</sub></div>

| Column                 | Data Type | Description                                                                                |
| ---------------------- | --------- | ------------------------------------------------------------------------------------------ |
| servicerequest\_id     | varchar   | Unique identifier for the service request                                                  |
| patient\_id            | varchar   | Unique identifier for the patient (subject)                                                |
| status                 | varchar   | Status of the request                                                                      |
| occurrencedatetime     | datetime  | When the service should occur, if given as date/time (`ServiceRequest.occurrenceDateTime`) |
| code\_text             | varchar   | Free-text description of the requested service                                             |
| code\_cpt\_code†       | varchar   | CPT code for the requested service                                                         |
| code\_cpt\_display†    | varchar   | Human-readable CPT description                                                             |
| code\_snomed\_code†    | varchar   | SNOMED CT code for the requested service                                                   |
| code\_snomed\_display† | varchar   | Human-readable SNOMED CT description                                                       |
| intent                 | varchar   | Intent of the request (e.g. order, plan)                                                   |
| priority               | varchar   | Request priority (`ServiceRequest.priority`)                                               |
| meta\_source           | varchar   | Source document filename from FHIR meta.source                                             |
| data\_source\_ext†     | varchar   | Integration source of the data, derived from FHIR extension                                |

**Related Tables:**

**Parent:**

* [patient](/medical-api/handling-data/schema-v100/patient/base)

**Child:**

* [servicerequest\_code\_coding](/medical-api/handling-data/schema-v100/servicerequest/code_coding)
* [servicerequest\_extension](/medical-api/handling-data/schema-v100/servicerequest/extension)
