2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,11 @@ public ChainBuilder openVitalsAndBiometricsTab(String patientUuid) {
73
73
MID_UPPER_ARM_CIRCUMFERENCE
74
74
);
75
75
return exec (httpService .getPatientObservations (patientUuid , vitals ))
76
- .exec (httpService .getPatientObservations (patientUuid , biometrics ))
77
- .exec (httpService .saveVitalsData (patientUuid ));
76
+ .exec (httpService .getPatientObservations (patientUuid , biometrics ));
77
+ }
78
+
79
+ public ChainBuilder recordVitals (String patientUuid ){
80
+ return exec (httpService .saveVitalsData (patientUuid ));
78
81
}
79
82
80
83
public ChainBuilder openMedicationsTab (String patientUuid ) {
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ public ScenarioBuilder getScenarioBuilder() {
30
30
.pause (2 )
31
31
.exec (registry .openVitalsAndBiometricsTab ("#{patient_uuid}" ))
32
32
.pause (5 )
33
+ .exec (registry .recordVitals ("#{patient_uuid}" ))
34
+ .pause (5 )
33
35
.exec (registry .openMedicationsTab ("#{patient_uuid}" ))
34
36
.pause (5 )
35
37
.exec (registry .openOrdersTab ("#{patient_uuid}" ))
0 commit comments