Create Condition
POST {{baseUrl}}/api/v2/Condition?patient=<integer>&category=problem-list-item&practiceId=<integer>&departmentId=<integer>&third-party-user-name=<string>&patient-facing-call=<boolean>&include=<string>
Overview:
Adds new patient health condition records to the system, facilitating the seamless integration of updated health information and supporting efficient tracking and management of individual conditions within healthcare applications.
Use Cases:
Record New Diagnosis: Add new condition
External Records Integration: Ingest conditions from HIE
Update Following Encounter: Post conditions from hospital stay
Manage Chronic Diseases: Register new persistent condition
Clinical Trial Stratification: Categorize trial participants' conditions
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
patient | string | (Required) The patient identifier associated with the condition. | |
category | string | (Required) The category of the condition | |
practiceId | string | (Required) The practice identifier | |
departmentId | string | (Required) The department identifier | |
third-party-user-name | string | The third party user name | |
patient-facing-call | string | The patient facing call | |
include | string | Fields to include in the response |
Request Body
{"context"=>{"departmentId"=>"<string>"}, "data"=>{"resourceType"=>"Condition", "subject"=>{"reference"=>"<string>"}, "category"=>[{"coding"=>[{"code"=>"<string>"}, {"code"=>"<string>"}]}, {"coding"=>[{"code"=>"<string>"}, {"code"=>"<string>"}]}], "encounter"=>{"reference"=>"<string>"}, "code"=>{"coding"=>[{"system"=>"<string>", "code"=>"<string>", "display"=>"<string>"}, {"system"=>"<string>", "code"=>"<string>", "display"=>"<string>"}]}, "note"=>[{"text"=>"<string>"}, {"text"=>"<string>"}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-source-id | string | (Required) The source id provided for connecting to the data source | |
Content-Type | string | ||
Authorization | string |
RESPONSES
status: OK
[{"context":{"requestId":"\u003cstring\u003e","source":"\u003cstring\u003e","quorum":"\u003cboolean\u003e","notify":"\u003cboolean\u003e"},"data":{"id":"\u003cinteger\u003e","status":"\u003cstring\u003e"}},{"context":{"requestId":"\u003cstring\u003e","source":"\u003cstring\u003e","quorum":"\u003cboolean\u003e","notify":"\u003cboolean\u003e"},"data":{"id":"\u003cinteger\u003e","status":"\u003cstring\u003e"}}]