Example #1
0
        public async Task <bool> RegisterPatient(PatientInformation information)
        {
            if (state.State.Info != null)
            {
                return(false);
            }

            state.State.Info = information;
            await state.WriteStateAsync();

            return(true);
        }
Example #2
0
 public DataItem(PatientInformation patientInformation, RecordItem recordItem)
 {
     pInfo = patientInformation;
     rItem = recordItem;
 }