Ver código fonte

fix(report): pass correct patient name to service instead of former name in diagnostic report

sw 3 semanas atrás
pai
commit
c00a585f7e

+ 1 - 1
src/states/patient/DiagnosticReport/saveReportThunk.ts

@@ -9,7 +9,7 @@ export const saveReportThunk = createAsyncThunk(
     const state = getState() as RootState;
     const report = {
       headers: {
-        name: state.baseInfo.usedName,
+        name: state.baseInfo.patientName,
         sex: state.baseInfo.gender,
         age: state.baseInfo.age,
         medical_record_number: state.baseInfo.patientNo,