POST api/v1/diagnosis?domain={domain}&key={key}&provider_unit={provider_unit}&roles={roles}
Insert new diagnosis for patient. New in 8.12.10.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
domain |
The domain ID. This is the name of the municipality's meta domain that the API is reading writing data to. |
string |
Required |
key |
The API license key. |
string |
Required |
provider_unit |
Not in use |
string |
None. |
roles |
Not in use |
string |
None. |
Body Parameters
DiagnosisName | Description | Type | Additional information |
---|---|---|---|
PatientId |
Patient id (Gerica id or national identity number) |
string |
None. |
EmployeeId |
Employee id (Gerica id or national identity number). |
string |
None. |
Classification |
Diagnosis registry for this diagnosis |
DiagnosisClassification |
None. |
Code |
Diagnosis code within ICPC2 or ICD10 |
string |
None. |
StartTime |
Time of diagnosis |
date |
None. |
EndTime |
End time of diagnosis (can be null) |
date |
None. |
Text |
Free text (can be null) |
string |
None. |
Physician |
Lege, HPR-nummer (can be null). If doctor is not found by HPR number search, this will be unset. A flag will be set in the response to indicate this error. |
string |
None. |
Locked |
Locked journal entry? |
boolean |
None. |
Request Formats
application/json, text/json
{ "PatientId": "sample string 1", "EmployeeId": "sample string 2", "Classification": "Icpc2", "Code": "sample string 3", "StartTime": "2024-11-22T19:53:53.7114104+01:00", "EndTime": "2024-11-22T19:53:53.7114104+01:00", "Text": "sample string 4", "Physician": "sample string 5", "Locked": true }
application/xml, text/xml
<Diagnosis xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://lifecare.tieto.com/ec/no/v1"> <Classification>Icpc2</Classification> <Code>sample string 3</Code> <EmployeeId>sample string 2</EmployeeId> <EndTime>2024-11-22T19:53:53.7114104+01:00</EndTime> <Locked>true</Locked> <PatientId>sample string 1</PatientId> <Physician>sample string 5</Physician> <StartTime>2024-11-22T19:53:53.7114104+01:00</StartTime> <Text>sample string 4</Text> </Diagnosis>
Response Information
Resource Description
Insert new diagnosis for patient. New in 8.12.10.
CreateDiagnosisResponseName | Description | Type | Additional information |
---|---|---|---|
DiagnosisId |
Journal id of the new diagnosis. Use to update diagnosis later. |
integer |
None. |
PhysicianFound |
True iff the doctor is found using HPR number search. |
boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.