Condition
Semantical type
The “code” field of the resource is used to determine the semantical type of the resource. It is mandantory. Look at the List of registered codes for a complete list of codes registered in MIDATA. Include the required codes into your applications access filter if you need to use this resource.
Resource owner
If the resource contains a subject which is a Patient or Practitioner that user is the owner of the resource. Otherwise the creator of the resource is the owner.
Default value for “subject”
If a resource with no subject field is send to MIDATA, the backend will set the subject to the current user.
Read
Read a single Condition by id.
Request:
[GET] /fhir/Condition/<id>
Read specific version
Read a specific version of a single Condition by id.
Request:
[GET] /fhir/Condition/<id>/_history/<version>
Retrieve history
Retrieve all versions of a single resource.
Request:
[GET] /fhir/Condition/<id>/_history
Search
Search for resources of type Condition
Request:
[GET] /fhir/Condition?searchParams
List of supported search parameters:
Supported query parameters:
| Name | Type | Description |
|---|---|---|
| _id | string | The resource identity |
| _lastUpdated | date | Only return resources which were last updated as specified by the given range |
| _page | string | |
| abatement-age | quantity | Abatement as age or age range |
| abatement-date | date | Date-related abatements (dateTime and period) |
| abatement-string | string | Abatement as a string |
| asserter | reference | Person who asserts this condition |
| body-site | token | Anatomical location, if relevant |
| category | token | The category of the condition |
| clinical-status | token | The clinical status of the condition |
| code | token | Code for the condition |
| encounter | reference | Encounter created as part of |
| evidence | token | Manifestation/symptom |
| evidence-detail | reference | Supporting information found elsewhere |
| identifier | token | A unique identifier of the condition record |
| onset-age | quantity | Onsets as age or age range |
| onset-date | date | Date related onsets (dateTime and Period) |
| onset-info | string | Onsets as a string |
| patient | reference | Who has the condition? |
| recorded-date | date | Date record was first recorded |
| severity | token | The severity of the condition |
| stage | token | Simple summary (disease specific) |
| subject | reference | Who has the condition? |
| verification-status | token | unconfirmed - provisional - differential - confirmed - refuted - entered-in-error |
Create
Create a new resource of type Condition.
Request:
[POST] /fhir/Condition
Update
Updates a resource of type Condition.
Request:
[PUT] /fhir/Condition/<id>