POST api/v1/healthprofessional/patient/update

Updates the information of the patient

Request Information

Headers

URI Parameters

None.

Body Parameters

PatientDemographics
NameDescriptionTypeAdditional information
UserAccountId

Gets or sets the user account identifier.

integer

None.

Patient

Gets or sets the patient.

Patient

None.

Person

Gets or sets the person.

Person

None.

ManualInput

Enable patient to use manual input

boolean

None.

ManualDevice

Enable the patient to create own devices.

boolean

None.

Diabetes

Information about diabetes. 0 = no diabetes, 1 = type 1 and 2 = type 2

integer

None.

Smoker

Value indicating whether this <see cref="T:LinkWatch.DataModel.PatientDemographics" /> is smoker.

boolean

None.

Site

The name of the site the patient belongs to.

string

None.

Language

Prefered language used on with GUI components

string

None.

Times

Times defined for the patient such as sleep (asleep, wake) and meal (breakfast, lunch, dinner).

PatientTimes

None.

Reminders

Used to handle on/off for reminders set for a patient.

PatientReminders

None.

Request Formats

application/json

Sample:
{
  "UserAccountId": 1,
  "Patient": {
    "PatientId": "sample string 1",
    "DateOfBirth": "2025-02-03T10:59:02.8895538+00:00",
    "Gender": "sample string 2",
    "Height": 1,
    "Status": "sample string 3",
    "Age": 1
  },
  "Person": {
    "FirstName": "sample string 1",
    "LastName": "sample string 2",
    "Phone": "sample string 3",
    "MobilePhone": "sample string 4",
    "Email": "sample string 5",
    "Address": "sample string 6"
  },
  "ManualInput": true,
  "ManualDevice": true,
  "Diabetes": 1,
  "Smoker": true,
  "Site": "sample string 1",
  "Language": "sample string 2",
  "Times": {
    "sleep_time": {
      "fall_asleep": "sample string 1",
      "awake": "sample string 2"
    },
    "meal_time": {
      "breakfast": "sample string 1",
      "lunch": "sample string 2",
      "dinner": "sample string 3"
    }
  },
  "Reminders": {
    "Questionnaire": true,
    "Medication": true,
    "Measurement": true
  }
}

Response Information

Headers

Resource Description

Response
NameDescriptionTypeAdditional information
Result

Result of the response

string

None.

Message

Additional information of the response

string

None.

Response Formats

application/json

Sample:
{
  "Result": "sample string 1",
  "Message": "sample string 2"
}