Condition

The FHIR R4 Condition resource is used to document a patient's health conditions, including diagnoses, diseases, and other medical problems. It provides a structured way to record and track clinical conditions throughout a patient's care journey.

Use Cases

  • Retrieve a patient's active, resolved, or past medical conditions
  • Add new diagnoses to a patient's problem list
  • Update the verification or clinical status of an existing condition
  • Subscribe to webhook alerts for new or modified diagnoses

Base URLs

  • Production: https://api.healthgorilla.com/fhir/R4/Condition
  • Sandbox: https://sandbox.healthgorilla.com/fhir/R4/Condition

Authentication

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

Required Scopes

  • condition.read – Required to read condition records via GET
  • condition.write – Required to create, update, or delete via POST, PUT, DELETE

For more information, go to: OAuth 2.0 Authentication.

Supported Methods

MethodOperationDescription
GETRead ConditionRetrieves a specific Condition record by its FHIR ID.
GETSearch ConditionSearches for Condition records for a specified patient.
POSTCreate ConditionSubmits a new Condition record to the Health Gorilla FHIR server.
PUTUpdate ConditionUpdates an existing Condition record by full resource replacement.
DELETEDelete ConditionRemoves an existing Condition record from the system by full resource deletion.

Frequently Used Search Parameters

ParameterTypeRequiredDescription
patientstringYesFilters by patient ID (Patient/{id})
clinicalStatusstringNoFilters by condition status (ConditionClinicalStatusCodes)
verificationStatusstringNoFilters by verification level (ConditionVerificationStatus)
categorystringNoFilters by category (ConditionCategoryCodes)
onset-datedateNoFilters by onset date (ISO 8601 format)

Commonly Returned Resource Attributes

AttributeDescriptionExample ValuesFHIR Data TypeRequired
idLogical ID of the condition resourceCondition/12345idYes
clinicalStatusThe current status of the conditionactive, resolvedCodeableConceptYes
verificationStatusCertainty about the presence of the conditionconfirmed, refuted, unconfirmedCodeableConceptNo
categoryCategory of the conditionproblem-list-item, encounter-diagnosisCodeableConcept[]No
codeSNOMED CT or ICD-10 code for the condition44054006 (Diabetes mellitus type 2)CodeableConceptYes
subjectPatient associated with the conditionPatient/67890Reference(Patient)Yes
onsetDateTimeWhen the condition first presented2023-05-01dateTimeNo
abatementDateTimeWhen the condition resolved or was no longer present2023-10-01dateTimeNo
recordedDateDate the condition was recorded2023-05-03dateTimeNo
asserterWho asserted the conditionPractitioner/78901Reference(Practitioner)No

Webhooks

Clients can subscribe to receive notifications when new conditions are added or existing diagnoses are updated. For more information, go to: Webhooks & Polling.

Error Handling

All Condition operations follow Health Gorilla's standard error handling using FHIR OperationOutcome structures. For more information, go to: Error Handling.

Additional Resources

FHIR R4: Condition