Update index.js
This commit is contained in:
parent
7f250d0668
commit
288f9abba6
@ -2230,6 +2230,7 @@ async function getYbReviewResult(ctx, db) {
|
||||
});
|
||||
|
||||
const medInfo = order.medInfo && typeof order.medInfo === "object" ? order.medInfo : {};
|
||||
const now = Date.now();
|
||||
const reviewData = {
|
||||
feeType: order.feeType,
|
||||
patientId: order.patientId,
|
||||
@ -2243,6 +2244,9 @@ async function getYbReviewResult(ctx, db) {
|
||||
doctorCode: order.doctorCode,
|
||||
diagnosisList,
|
||||
drugs: reviewDrugs,
|
||||
auditTime: now,
|
||||
prescriptionStartTime: now,
|
||||
prescriptionEndTime: now,
|
||||
};
|
||||
const payload = formatUploadRxData(reviewData);
|
||||
const { success, message } = await hnHis({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user