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

# Procedure

> The FHIR Procedure resource as produced by Connective Health

[FHIR R4 Procedure](https://www.hl7.org/fhir/R4/procedure.html) ·
[US Core Procedure](https://hl7.org/fhir/us/core/STU9/StructureDefinition-us-core-procedure.html)

<Info>
  This resource is produced for the [Patient Everything](/fhir/patient-everything-bundle) and
  [Patient Summary](/fhir/patient-summary-bundle) bundles. It is not produced for
  [Bulk Medication History](/fhir/bulk-medication-history-bundle).
</Info>

# Stable ID

The `id` is derived from the patient, the date the procedure was performed, and the procedure code.

<Note>
  The encounter link described below is **not** part of the `id`, so the same procedure carries the same `id` in
  both bundles.
</Note>

<Warning>
  Because only date and code identify a procedure, two genuinely distinct occurrences of the same procedure on the
  same day are indistinguishable and collapse into a single `Procedure` resource.
</Warning>

# Fields

| Field               | Cardinality | Notes                                                                                                                                                                     |
| ------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `meta.profile`      | 1..1        | Always set to the US Core Procedure profile URL.                                                                                                                          |
| `status`            | 1..1        | Always `completed`. Only performed procedures are published -- planned, cancelled, and in-progress procedures do not appear.                                              |
| `subject`           | 1..1        | Reference to the [Patient](/fhir/resources/patient).                                                                                                                      |
| `code`              | 1..1        | A single coding for the procedure performed.                                                                                                                              |
| `performedDateTime` | 0..1        | The date the procedure was performed.                                                                                                                                     |
| `performer.actor`   | 0..1        | Contained [PractitionerRole](/fhir/resources/practitioner-role) built from the procedure's provider and facility. Omitted when neither is known.                          |
| `encounter`         | 0..1        | **Patient Summary only.** References the [Encounter](/fhir/resources/encounter) for the visit the procedure was performed at. Never set in the Patient Everything bundle. |

<Note>
  `category`, `bodySite`, `reasonCode`, `outcome`, and `note` are not populated.
</Note>

# Procedure sourcing

| Bundle                                                | Where procedures come from                                                                                                                                      |
| ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Patient Everything](/fhir/patient-everything-bundle) | All procedures on the patient's record, independent of any visit.                                                                                               |
| [Patient Summary](/fhir/patient-summary-bundle)       | Only procedures attached to a visit that was selected for the summary -- including procedures on follow-up visits. Each is linked to its visit via `encounter`. |
