POST API/V1/Patients/{patientId}/LabsReviewed

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patientId

integer

Required

Body Parameters

Collection of iMDsoft.API.Metavision.Data.Mobile.Messaging.ValidateLabResultsData
NameDescriptionTypeAdditional information
LabResultTime

Lab result time

date

None.

ValidationTime

Validation time

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "labResultTime": "2024-09-22T13:13:14.242728+03:00",
    "validationTime": "2024-09-22T13:13:14.242728+03:00"
  },
  {
    "labResultTime": "2024-09-22T13:13:14.242728+03:00",
    "validationTime": "2024-09-22T13:13:14.242728+03:00"
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

Collection of iMDsoft.API.Metavision.Data.Mobile.Messaging.MessageResultOfiMDsoft.API.Metavision.Data.Mobile.Messaging.LabResult
NameDescriptionTypeAdditional information
DoseData

iMDsoft.API.Metavision.Data.Mobile.Messaging.LabResult

None.

ValidationErrors

Collection of iMDsoft.API.Metavision.Data.Mobile.ValidationError

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "doseData": {
      "patientId": 1,
      "parameterId": 2,
      "parameterName": "sample string 3",
      "abbreviation": "sample string 4",
      "type": "MvNumeric",
      "value": "sample string 5",
      "unit": {
        "id": 1,
        "code": "sample string 1",
        "description": "sample string 2"
      },
      "formattedValue": "sample string 6",
      "time": "2024-09-22T13:13:14.242728+03:00",
      "validated": true,
      "isError": true,
      "hasWarning": true,
      "comment": "sample string 11",
      "normalHigh": 1.0,
      "normalLow": 1.0,
      "outOfNormalValues": true,
      "dbTimeStamp": "QEA="
    },
    "validationErrors": [
      {
        "validationErrorId": 0,
        "description": "sample string 1",
        "type": 0
      },
      {
        "validationErrorId": 0,
        "description": "sample string 1",
        "type": 0
      }
    ],
    "isSuccess": true
  },
  {
    "doseData": {
      "patientId": 1,
      "parameterId": 2,
      "parameterName": "sample string 3",
      "abbreviation": "sample string 4",
      "type": "MvNumeric",
      "value": "sample string 5",
      "unit": {
        "id": 1,
        "code": "sample string 1",
        "description": "sample string 2"
      },
      "formattedValue": "sample string 6",
      "time": "2024-09-22T13:13:14.242728+03:00",
      "validated": true,
      "isError": true,
      "hasWarning": true,
      "comment": "sample string 11",
      "normalHigh": 1.0,
      "normalLow": 1.0,
      "outOfNormalValues": true,
      "dbTimeStamp": "QEA="
    },
    "validationErrors": [
      {
        "validationErrorId": 0,
        "description": "sample string 1",
        "type": 0
      },
      {
        "validationErrorId": 0,
        "description": "sample string 1",
        "type": 0
      }
    ],
    "isSuccess": true
  }
]