R4 Condition
The Condition resource provides a "clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern." (HL7 FHIR R4 Condition)
Supported Profiles
This API supports the following FHIR profiles:
Operations
info
Support for the different types of Conditions may vary by CareRecord. Please consult your target solution's documentation for more information.
The General Purpose FHIR R4 Patient resource supports the following standard operations. However, support varies by the targeted CareRecord or solution.
| CareRecord / Solution | Create | Read | Update | Search |
|---|---|---|---|---|
| GEHRIMED | - | Yes | - | Yes |
| myAvatar | Yes | Yes | Yes | Yes |
| myEvolv | - | Yes | - | Yes |
| myUnity | - | Yes | - | Yes |
| Referral Manager | - | - | - | - |
Search
This resource supports a combination of standard and custom search parameters in addition to the common parameters.
Standard Parameters
| Name | Type | Description |
|---|---|---|
| category | token | Category of the Condition. Possible values are: pregnancy, encounter-diagnosis, health-concern (to obtain the "Health Concern" segment of the CCD), and problem-list-item. |
| encounter | reference | Unique identifier of the encounter. |
| onset-date | date | Date related onsets (dateTime and Period) of Condition. |
| patient | reference | Unique identifier of the patient. |
| recorded-date | date | Assessment/Recorded Date of Condition |
Custom Parameters
| Name | Type | Description |
|---|---|---|
| end | date | Deprecated. Use recorded-date parameter with le prefix instead. |
| ids | string | This is use to request a list of Conditions by their id. Must be used with the category parameter and cannot be used with other parameters. |
| practitioner | id | Unique identifier of the Practitioner. |
| start | date | Deprecated. Use recorded-date parameter with ge prefix instead. |
Search Examples
The POST method is recommended as it keeps health information out of the URL.
- Production
- Preview
Search by Patient and Condition Category
curl -X POST https://fhir.netsmartcloud.com/v4/Condition/_search \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json" \
-H "Content-Type: application/x-form-urlencoded" \
-d "patient=Patient/234" \
-d "category=encounter-diagnosis"
Search by IDs
curl -X POST https://fhir.netsmartcloud.com/v4/Condition/_search \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json" \
-H "Content-Type: application/x-form-urlencoded" \
-d "category=encounter-diagnosis" \
-d "ids=98765"
-d "ids=45678"
Search by Patient and Condition Category
curl -X POST https://fhirtest.netsmartcloud.com/v4/Condition/_search \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json" \
-H "Content-Type: application/x-form-urlencoded" \
-d "patient=Patient/234" \
-d "category=encounter-diagnosis"
Search by IDs
curl -X POST https://fhirtest.netsmartcloud.com/v4/Condition/_search \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json" \
-H "Content-Type: application/x-form-urlencoded" \
-d "category=encounter-diagnosis" \
-d "ids=98765"
-d "ids=45678"