Index: sources/gui/qml/pages/pretreatment/create/PreTreatmentCreateContent.qml =================================================================== diff -u -ra8ce0941b44e15fb7b9365f98d4656e232d4bf35 -rdc8969f6c7bbdb46d2de22622e58e457ceb37df4 --- sources/gui/qml/pages/pretreatment/create/PreTreatmentCreateContent.qml (.../PreTreatmentCreateContent.qml) (revision a8ce0941b44e15fb7b9365f98d4656e232d4bf35) +++ sources/gui/qml/pages/pretreatment/create/PreTreatmentCreateContent.qml (.../PreTreatmentCreateContent.qml) (revision dc8969f6c7bbdb46d2de22622e58e457ceb37df4) @@ -115,8 +115,9 @@ } function validate (vFinalConfirmation) { - vTreatmentCreate .patientID = _preTreatmentCreatePatientPrescription.patientID - vPostTreatmentAdjustmentTreatmentLog.patientID = _preTreatmentCreatePatientPrescription.patientID // store for the TreatmentLog + // store for the TreatmentLog + vPostTreatmentAdjustmentTreatmentLog.patientID = vTreatmentCreate.patientID + vPostTreatmentAdjustmentTreatmentLog.secondaryPatientID = vTreatmentCreate.secondaryPatientID vTreatmentCreate.finalConfirmation = vFinalConfirmation ? 1 : 0 vTreatmentCreate.doValidation ( ) } @@ -133,8 +134,6 @@ Connections{ target: vTreatmentCreate function onDidValidationPass ( ) { - vPostTreatmentAdjustmentTreatmentLog.heparinDispensingRateOff = vTreatmentCreate.heparinDispensingRateOff = ! vTreatmentCreate.heparinDispensingRate - vPostTreatmentAdjustmentTreatmentLog.heparinBolusVolumeOff = vTreatmentCreate.heparinBolusVolumeOff = ! vTreatmentCreate.heparinBolusVolume activateAndRefresh() // refresh values on validation clearErrors() } @@ -152,6 +151,7 @@ HeparinRxAdjustment { id: _heparinRxAdjustment; editingEnabled: _root.editingEnabled } UfVolumeAdjustment { id: _ufVolumeAdjustment; editingEnabled: _root.editingEnabled } + PatientIdEntry { id: _patientIdEntry; editingEnabled: _root.editingEnabled } MouseArea { // click outside to remove active focus and lower keyboard anchors.fill : parent