Tietoevry is renewing Lifecare Open APIs. End of support is May 1, 2024. Information about new API solution is found at this location: https://apitest.weno.no/docs
This API is generated
- Version
- 9.5.0
- Date
- 2023-05-02 07:18:41Z
PatientV1
Patient API
API | Description |
---|---|
GET api/v1/patients/{id}?domain={domain}&key={key}&provider_unit={provider_unit}&roles={roles} |
Patient by the national identity number (fødselsnummer) or id |
GET api/v1/patients?domain={domain}&key={key}&provider_unit={provider_unit}&roles={roles}&geographicalLevel={geographicalLevel}&careServiceLevel={careServiceLevel}&activeOnDate={activeOnDate}&allowEmpty={allowEmpty} |
Patients based on the geographicalLevel filter |
GET api/v1/patients/{id}/careServices?activeOnDate={activeOnDate}&domain={domain}&key={key}&provider_unit={provider_unit}&roles={roles}&careserviceLevel={careserviceLevel}&allowEmpty={allowEmpty} |
Patient's care services |
POST api/v1/patients/{id}/journals?domain={domain}&key={key}&provider_unit={provider_unit}&roles={roles} |
Saves a new journal |
CareServiceV1
CareServices (tjenester/tiltak) API.
API | Description |
---|---|
GET api/v1/careServices?domain={domain}&key={key}&provider_unit={provider_unit}&roles={roles}&activeOnDate={activeOnDate}&topLevel={topLevel} |
Care services (no: tjenester/tiltak) registered in Gerica |
VisitV1
API for reading and submitting visits (besøk) to Gerica.
EmployeeV1
Employee API
API | Description |
---|---|
GET api/v1/employee/{id}?domain={domain}&key={key}&provider_unit={provider_unit}&roles={roles} |
Gets an employee by the social security number or Gerica internal id |
POST api/v1/employee?domain={domain}&key={key}&provider_unit={provider_unit}&roles={roles} |
Saves a new employee. Mandatory data on the employee input is: Ssn a valid norwegian national identity number (fødselsnummer), Employee Name value that differs from null, empty, or consists only of white-space characters. Unique UserName max 20 characters long. Named "Brukernavn" in Gerica. New in 9.1.4. |
POST api/v1/employee/{id}?domain={domain}&key={key}&provider_unit={provider_unit}&roles={roles} |
Saves a new employee. The id input needs to be a national identity number number that is valid and unique in the Gerica database. Mandatory data on the employee input is: Employee Name value that differs from null, empty, or consists only of white-space characters. Unique (domain) UserName, named "Brukernavn" in Gerica. Unique (domain) Initials. New in 9.1.4: Removed parameter Inactive, as it would always be ignored and set to true. |
PUT api/v1/employee/{id}?domain={domain}&key={key}&provider_unit={provider_unit}&roles={roles} |
Updates an existing employee to the new employee. Mandatory data on the employee input is: Employee Name value that differs from null, empty, or consists only of white-space characters. Unique (domain) UserName, named "Brukernavn" in Gerica. Unique (domain) Initials. If the employeeID is used to update, the social security number needs to be set as an unique valid number on the employee. NB! THIS FUNCTION WILL DELETE (OR SET TO DEFAULT) ALL DATA THAT IS NOT REPRESENTED ON THE NEW EMPLOYEE. |
PATCH api/v1/employee/{id}?domain={domain}&key={key}&provider_unit={provider_unit}&roles={roles} |
Updates an existing employee with new employee data. This function will only change data that is set on the employee input, not delete any existing data. The function will add items to "Communication List" not update existing, this is because the list does not have any uniqe idetifyer as input. If a "communication list item" is passed inn as a parameter, where all the data is the same as in an existing item, it wil not be added once more to the list. If given, UserName and Initials should be unique across domain. If given, the national identity number (ssn), needs to be set as a unique valid fødselsnummer on the employee. |
DiagnosisV1
Diagnosis API. This API is currently in beta version and unstable.
API | Description |
---|---|
POST api/v1/diagnosis?domain={domain}&key={key}&provider_unit={provider_unit}&roles={roles} |
Insert new diagnosis for patient. New in 8.12.10. |
PATCH api/v1/diagnosis/by-id/{diagnosisId}?domain={domain}&key={key}&provider_unit={provider_unit}&roles={roles} |
Update a given diagnosis for patient. New in 8.12.10. |