POST api/v1/healthprofessional/patient/{patientId}/observation/update

Deletes the observation based on raw observation id.

Request Information

Headers

URI Parameters

NameDescriptionTypeAdditional information
patientId

string

Required

Body Parameters

ObservationWithId
NameDescriptionTypeAdditional information
Id

Gets or sets the identifier.

integer

None.

Typeid

The type identifier for the observation

DeviceType

Required

Timestamp

Timestamp for when the observation are taken

string

Required

Inputtype

Input type used for the observation {AUTO, MANUAL, TEST}

string

Required

Source

string

None.

Equipmentid

{Optional} - Equipment identifier of the device used in the observation.

string

None.

Measurements

Collection of zero or more repetitions

Collection of Measurement

Required

Comment

{Optional} - A custom plain text comment belonging to the observation

string

None.

Contexts

{Optional} - Collection of zero or more repetitions

Collection of ContextInformation

None.

Request Formats

application/json

Sample:
{
  "Id": 1,
  "Typeid": 528388,
  "Timestamp": "sample string 2",
  "Inputtype": "sample string 3",
  "Source": "sample string 4",
  "Equipmentid": "sample string 5",
  "Measurements": [
    {
      "TypeId": 68185,
      "Value": "sample string 1",
      "UnitCode": 262656
    },
    {
      "TypeId": 68185,
      "Value": "sample string 1",
      "UnitCode": 262656
    }
  ],
  "Comment": "sample string 6",
  "Contexts": [
    {
      "TypeId": 29152,
      "Context": "sample string 1"
    },
    {
      "TypeId": 29152,
      "Context": "sample string 1"
    }
  ]
}

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"
}