checkIn() { let valuesPath = 'obs|path=referral|conceptPath=' + CONCEPTS.SOURCE_OF_REFERRAL.uuid; let valuesObj = {}; valuesObj[valuesPath] = CONCEPTS.SOURCE_OF_REFERRAL.IC3_appointment.uuid; this.props.dispatch(formActions.formSubmitted({ formId: "checkin-form", formInstanceId: this.formInstanceId, values: valuesObj, encounterRole: ENCOUNTER_ROLES.UnknownEncounterRole, encounterType: ENCOUNTER_TYPES.CheckInEncounterType, location: this.props.sessionLocation, patient: this.props.patient, formSubmittedActionCreator: [ () => this.props.patient && this.props.patient.uuid && visitActions.fetchPatientActiveVisit(this.props.patient.uuid, this.props.sessionLocation.uuid, ACTIVE_VISITS_REP), () => this.props.patient && this.props.patient.uuid && patientActions.getIC3PatientScreeningData(this.props.patient), () => toastrActions.add({ title: this.props.toastMessage ? this.props.toastMessage : "Data Saved", type: "success" }) ] })); }