public async Task <bool> RegisterPatient(PatientInformation information) { if (state.State.Info != null) { return(false); } state.State.Info = information; await state.WriteStateAsync(); return(true); }
public DataItem(PatientInformation patientInformation, RecordItem recordItem) { pInfo = patientInformation; rItem = recordItem; }