Procedure

The FHIR R4 Procedure resource represents an activity performed on or for a patient as part of the provision of care. It may include surgical operations, diagnostic testing, counseling, or other clinical interventions. In Health Gorilla, Procedure records are typically imported from external networks, EHRs, or encounter documentation.

Use Cases

  • View historical procedures performed during hospital visits or specialty care
  • Filter procedures by type (e.g., colonoscopy, biopsy)
  • Link procedures to specific encounters or diagnoses

Base URLs

Authentication

All requests require OAuth 2.0 authentication using a Bearer Token. Unauthorized requests return 401 Unauthorized responses.

Required Scopes

  • procedure.read for GET
  • procedure.write for POST, PUT, DELETE

For more information, go to: OAuth 2.0 Authentication.

Supported Methods

Procedure Methods

MethodOperationDescription
GETRead ProcedureRetrieves a specific Procedure record by its FHIR ID.
GETSearch ProcedureSearches for Procedure records for a specified patient.
POSTCreate ProcedureSubmits a new Procedure record to the Health Gorilla FHIR server.
PUTUpdate ProcedureUpdates an existing Procedure record by full resource replacement.
DELETEDelete ProcedureRemoves an existing Procedure record from the system by full resource deletion.

Frequently Used Search Parameters

ParameterDescriptionFHIR Value Set / Example ValuesFHIR Data TypeRequired
patientFilters by patient IDPatient/{id}ReferenceYes
statusFilters by current procedure statusProcedureStatus (completed, in-progress)tokenNo
dateFilters by the procedure's performed datege2023-01-01, le2023-12-31dateNo
codeFilters by procedure codeSNOMED CT or CPT (e.g., 80146002, 45378)tokenNo
encounterFilters by the encounter in which the procedure occurredEncounter/{id}ReferenceNo
performerFilters by practitioner or organization that performed itPractitioner/{id}, Organization/{id}ReferenceNo

Commonly Returned Resource Attributes

AttributeDescriptionExample ValuesFHIR Data TypeRequired
idUnique FHIR ID for the procedureprocedure-98765idYes
statusStatus of the procedure recordcompletedcodeYes
codeProcedure performed80146002 (Colonoscopy)CodeableConceptYes
subjectThe patient on whom the procedure was performedPatient/{id}Reference(Patient)Yes
performedDateTimeDate/time the procedure occurred2023-11-05T14:00:00-07:00dateTimeYes
encounterAssociated encounterEncounter/{id}Reference(Encounter)No
performerWho carried out the procedurePractitioner/{id}Procedure.Performer[]No
reasonCodeReason the procedure was performedScreening for colorectal cancerCodeableConcept[]No
noteComments or annotations"No complications observed."Annotation[]No
bodySiteLocation on the body where the procedure occurredcolon, left armCodeableConcept[]No

Webhooks

Clients can subscribe to webhook notifications when new Procedure records are imported into a patient’s chart, often following diagnostic or surgical encounters.

For more information, go to: Webhooks & Polling.

Error Handling

All Procedure operations follow standard Health Gorilla error handling, including use of FHIR OperationOutcome for structured responses.
For more information, go to: Error Handling.

Additional Resources

HL7 FHIR Procedure