182 lines
7.2 KiB
Bash
182 lines
7.2 KiB
Bash
curl --location --request PUT 'https://datacollection.micropcr.com/api/deviceService/results/HPOS' \
|
|
--header 'Content-Type: application/json' \
|
|
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjIwLCJkZXZpY2VJZCI6MjEsInVzZXJuYW1lIjoiSFBQMS0wMTExLTAwMDEiLCJpYXQiOjE3MDYwMTIzMDksImV4cCI6MTcwNjA5ODcwOX0.ZOU75cx4gx1RiyXqOkd7S_t4OvH7UqzyeJb-xjQebyI' \
|
|
--data '{
|
|
"results": [
|
|
{
|
|
"analysisId": "1",
|
|
"analysisType": "HPOS",
|
|
"analysisDate": "2023-12-14 14:35:00",
|
|
"analysisStatus": "NORMAL",
|
|
"deviceName": "HPOS",
|
|
"thresholds": "23",
|
|
"coefficients": [
|
|
22,
|
|
22
|
|
],
|
|
"curveFitting": "linear",
|
|
"interpretation": "LOW",
|
|
"analysisTypeMethod": "MANUAL",
|
|
"recommendation": "NA",
|
|
"testId": "211",
|
|
"testTime": "2023-12-14 14:35:00",
|
|
"testType": "HPOS",
|
|
"testResult": "NORMAL",
|
|
"rawData": {
|
|
"_id": "1704263023SMIBLR",
|
|
"abhaId": "12434949797979",
|
|
"abs1": 0.3896290704962385,
|
|
"abs2": 0.2257971130502937,
|
|
"abs3": 0.0814682360961598,
|
|
"abs4": 0.3371514919464704,
|
|
"appVersion": "2.1.56",
|
|
"batteryCapacity": "147483648",
|
|
"batteryLevel": "100.0",
|
|
"batteryMaxCapacity": "100.0",
|
|
"batteryTemperature": "42.4",
|
|
"batteryVoltage": "0.0",
|
|
"birthYear": "2000",
|
|
"bloodGroup": "A+",
|
|
"calculatedRatio": 0.36855313233502013,
|
|
"classificationResult": "Inconclusive. Repeat with test with lower volume of blood",
|
|
"coefficients": "1.0, 0.0",
|
|
"deviceId": "HCV-000-3001",
|
|
"deviceRatio": 0.36855313233502013,
|
|
"deviceSerialNumber": "HCV-000-3001",
|
|
"deviceType": "HEMOCUBE",
|
|
"errorMessages": "",
|
|
"gender": "Male",
|
|
"incubationTime": "2024-01-03 11:54:45",
|
|
"kitSerial": "SMI/SC/091/93/939",
|
|
"led1Average": 0.9745842121068078,
|
|
"led1Buffer": 23777.0,
|
|
"led1Sample": 2521.0,
|
|
"led2Average": 1.394444481640434,
|
|
"led2Buffer": 24130.0,
|
|
"led2Sample": 973.0,
|
|
"led3Average": 0.35918606409622167,
|
|
"led3Buffer": 23442.0,
|
|
"led3Sample": 10252.0,
|
|
"led4Average": 0.3371514919464704,
|
|
"led4Buffer": 23945.0,
|
|
"led4Sample": 11017.0,
|
|
"localFlag": true,
|
|
"molbioFlag": false,
|
|
"name": "Mohamed Kaif",
|
|
"prdClassification": "Sickle Cell Trait",
|
|
"predictedDenovixRatio": 0.20909178052962119,
|
|
"reportUploadTime": "2024-01-03 11:54:45",
|
|
"resultData": "SNS HCV-000-3001",
|
|
"state": "Karnataka",
|
|
"testStatus": true,
|
|
"testTime": "2024-01-03 11:54:45",
|
|
"testType": "HEMOCUBE",
|
|
"userImageURL": "https://hpos-prod.web.app/logo.png"
|
|
},
|
|
"testStatus": "DONE",
|
|
"sampleId": "1632637372",
|
|
"sampleType": "",
|
|
"collectionTime": "2023-12-14 14:35:00",
|
|
"collectionLocation": [],
|
|
"collector": "",
|
|
"volume": 12,
|
|
"expiryTime": "2023-12-14 14:35:00",
|
|
"patientId": 21,
|
|
"age": 35,
|
|
"gender": "",
|
|
"pregnancy": false,
|
|
"underMedication": false,
|
|
"sickleCellHistory": false,
|
|
"bloodGroup": "",
|
|
"operator": ""
|
|
},
|
|
{
|
|
"analysisId": "1",
|
|
"analysisType": "HPOS",
|
|
"analysisDate": "2023-12-14 14:35:00",
|
|
"analysisStatus": "NORMAL",
|
|
"deviceName": "HPOS",
|
|
"thresholds": "23",
|
|
"coefficients": [
|
|
22,
|
|
22
|
|
],
|
|
"curveFitting": "polynomial",
|
|
"interpretation": "LOW",
|
|
"analysisTypeMethod": "MANUAL",
|
|
"recommendation": "NA",
|
|
"testId": "211",
|
|
"testTime": "2023-12-14 14:35:00",
|
|
"testType": "HPOS",
|
|
"testResult": "NORMAL",
|
|
"rawData": {
|
|
"_id": "1704263023SMIBLR",
|
|
"abhaId": "12434949797979v",
|
|
"abs1": 0.3896290704962385,
|
|
"abs2": 0.2257971130502937,
|
|
"abs3": 0.0814682360961598,
|
|
"abs4": 0.3371514919464704,
|
|
"appVersion": "2.1.56",
|
|
"batteryCapacity": "-2147483648",
|
|
"batteryLevel": "100.0",
|
|
"batteryMaxCapacity": "100.0",
|
|
"batteryTemperature": "42.4",
|
|
"batteryVoltage": "0.0",
|
|
"birthYear": "2000",
|
|
"bloodGroup": "",
|
|
"calculatedRatio": 0.36855313233502013,
|
|
"classificationResult": "Inconclusive. Repeat with test with lower volume of blood",
|
|
"coefficients": "1.0, 0.0",
|
|
"deviceId": "HCV-000-3001",
|
|
"deviceRatio": 0.36855313233502013,
|
|
"deviceSerialNumber": "HCV-000-3001",
|
|
"deviceType": "HEMOCUBE",
|
|
"errorMessages": "",
|
|
"gender": "Male",
|
|
"incubationTime": "2024-01-03 11:54:45",
|
|
"kitSerial": "SMI/SC/091/93/939",
|
|
"led1Average": 0.9745842121068078,
|
|
"led1Buffer": 23777.0,
|
|
"led1Sample": 2521.0,
|
|
"led2Average": 1.394444481640434,
|
|
"led2Buffer": 24130.0,
|
|
"led2Sample": 973.0,
|
|
"led3Average": 0.35918606409622167,
|
|
"led3Buffer": 23442.0,
|
|
"led3Sample": 10252.0,
|
|
"led4Average": 0.3371514919464704,
|
|
"led4Buffer": 23945.0,
|
|
"led4Sample": 11017.0,
|
|
"localFlag": true,
|
|
"molbioFlag": false,
|
|
"name": "Mohamed Kaif",
|
|
"prdClassification": "Sickle Cell Trait ",
|
|
"predictedDenovixRatio": 0.20909178052962119,
|
|
"reportUploadTime": "2024-01-03 11:54:45",
|
|
"resultData": "SNS HCV-000-3001",
|
|
"state": "Karnataka",
|
|
"testStatus": true,
|
|
"testTime": "2024-01-03 11:54:45",
|
|
"testType": "HEMOCUBE",
|
|
"userImageURL": "https://hpos-prod.web.app/logo.png"
|
|
},
|
|
"testStatus": "",
|
|
"sampleId": "126363773",
|
|
"sampleType": "",
|
|
"collectionTime": "2023-12-14 14:35:00",
|
|
"collectionLocation": [],
|
|
"collector": "",
|
|
"volume": 12,
|
|
"expiryTime": "2023-12-14 14:35:00",
|
|
"patientId": 11,
|
|
"age": 35,
|
|
"gender": "",
|
|
"pregnancy": false,
|
|
"underMedication": false,
|
|
"sickleCellHistory": false,
|
|
"bloodGroup": "AB+",
|
|
"operator": ""
|
|
}
|
|
]
|
|
}'
|