Log in Request access

Condition

Problems, diagnoses, and health concerns on the patient's record.

The problem list. Filter by clinical-status to separate active problems from resolved history, and by category for problem-list-item versus encounter-diagnosis entries.

Advertises a validated CA Core+ profile.

Access

Mode Interactions Scopes
App launch read + search patient/Condition.rs, user/Condition.rs
Backend services read + search system/Condition.rs

Search parameters

Search results are searchset Bundles; follow the Bundle's next link for cursor pagination.

Parameter Type Description
_id token Match a specific logical resource id.
_lastUpdated date Filter by last modification time; supports FHIR date prefixes such as ge and lt.
_count number Page size hint for the searchset Bundle.
_page_token string Opaque pagination cursor. Never construct one — follow the Bundle's next link.
patient reference Conditions for a specific Patient.
clinical-status token active, recurrence, remission, resolved, and other clinical statuses.
verification-status token confirmed, provisional, refuted, and other verification statuses.
category token problem-list-item or encounter-diagnosis.
code token The condition, by code.
onset-date date When the condition began; supports FHIR date prefixes.
recorded-date date When the condition was recorded; supports FHIR date prefixes.

Active problems for the launched patient

GET /Condition?patient={id}&clinical-status=active 200 OK
Request
curl "https://sandbox.avaemr.ca/fhir/r4/{partition_id}/Condition?patient=Patient/synthetic-patient-1&clinical-status=active" \
  -H "Authorization: Bearer $SMART_ACCESS_TOKEN" \
  -H "Accept: application/fhir+json"
Response · launch context
{
  "resourceType": "Bundle",
  "type": "searchset",
  "link": [
    { "relation": "self", "url": "https://sandbox.avaemr.ca/fhir/r4/{partition_id}/Condition?patient=Patient/synthetic-patient-1&clinical-status=active" }
  ],
  "entry": [
    {
      "resource": {
        "resourceType": "Condition",
        "id": "synthetic-condition-1",
        "clinicalStatus": { "coding": [{ "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", "code": "active" }] },
        "verificationStatus": { "coding": [{ "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", "code": "confirmed" }] },
        "category": [{ "coding": [{ "system": "http://terminology.hl7.org/CodeSystem/condition-category", "code": "problem-list-item" }] }],
        "code": { "coding": [{ "system": "http://snomed.info/sct", "code": "44054006", "display": "Diabetes mellitus type 2" }] },
        "subject": { "reference": "Patient/synthetic-patient-1" },
        "recordedDate": "2024-11-03"
      },
      "search": { "mode": "match" }
    }
  ]
}