Search
API LabCases
See Lab Case for more information.
Version Added: 24.2.28
Gets a single labcase.
LabCaseNum: Required in URL.
Example Request:
GET /labcases/1
Example Response:
{
"LabCaseNum": 1,
"PatNum": 33,
"LaboratoryNum": 1,
"AptNum": 6994,
"PlannedAptNum": 0,
"DateTimeDue": "0001-01-01 00:00:00",
"DateTimeCreated": "0001-01-01 00:00:00",
"DateTimeSent": "2000-01-01 00:00:00",
"DateTimeRecd": "2000-01-01 00:00:00",
"DateTimeChecked": "0001-01-01 00:00:00",
"ProvNum": 1,
"Instructions": "",
"LabFee": 0.0,
"DateTStamp": "2022-09-30 14:23:12",
"InvoiceNum": ""
}
200 OK
404 NotFound (with explanation)
Version Added: 24.2.28
Gets a list of labcases.
Parameters: All optional.
PatNum: FK to patient.PatNum.
LaboratoryNum: FK to laboratory.LaboratoryNum. The lab that the case gets sent to.
AptNum: FK to appointment.AptNum.
PlannedAptNum: FK to appointment.AptNum.
ProvNum : FK to provider.ProvNum.
Example Requests:
GET /labcases
GET /labcases?PatNum=1
GET /labcases?LaboratoryNum=5
GET /labcases?AptNum=143
GET /labcases?PlannedAptNum=357
GET /labcases?AptNum=143&ProvNum=3
Example Responses:
[
{
"LabCaseNum": 226,
"PatNum": 33,
"LaboratoryNum": 1,
"AptNum": 143,
"PlannedAptNum": 0,
"DateTimeDue": "0001-01-01 00:00:00",
"DateTimeCreated": "2022-09-30 14:23:12",
"DateTimeSent": "2022-10-03 14:24:12",
"DateTimeRecd": "2022-10-04 14:24:12",
"DateTimeChecked": "2022-10-05 14:24:12",
"ProvNum": 3,
"Instructions": "Repair clasps on Max partial",
"LabFee": 0.0,
"DateTStamp": "2022-10-05 14:24:12",
"InvoiceNum": ""
},
{
"LabCaseNum": 227,
"PatNum": 33,
"LaboratoryNum": 1,
"AptNum": 143,
"PlannedAptNum": 0,
"DateTimeDue": "0001-01-01 00:00:00",
"DateTimeCreated": "2022-09-30 14:24:12",
"DateTimeSent": "2022-09-30 14:24:12",
"DateTimeRecd": "2022-10-03 14:24:12",
"DateTimeChecked": "2022-10-04 14:24:12",
"ProvNum": 3,
"Instructions": "",
"LabFee": 0.0,
"DateTStamp": "2022-10-04 14:24:12",
"InvoiceNum": ""
},
etc...
]
200 OK
400 BadRequest (with explanation)
404 NotFound (with explanation)