コード例 #1
0
        private void SyncCanUnsignHra(PostEvaluationEditModel model)
        {
            var ehrCanUnsignHra = new MedicareCanUnsignViewModel
            {
                EventId      = model.EventId,
                HfCustomerId = model.CustomerId,
                CanUnsign    = true,
                Message      = model.Message
            };

            _newResultFlowStateService.RunTaskSyncHraCanUnsignForVisit(ehrCanUnsignHra, model.OrganizationRoleUserId, "SetAllResultsforPostEvaluationEdit");
        }
コード例 #2
0
        public ActionResult UndoPreAudit(long eventId, long customerId, bool isNewResultFlow)
        {
            var orgId = _sessionContext.UserSession.CurrentOrganizationRole.OrganizationRoleUserId;

            _testResultService.UndoPreAudit(eventId, customerId, orgId, isNewResultFlow);

            if (isNewResultFlow)
            {
                var canUnsignModel = new MedicareCanUnsignViewModel
                {
                    EventId      = eventId,
                    HfCustomerId = customerId,
                    CanUnsign    = true,
                };

                _newResultFlowStateService.RunTaskSyncHraCanUnsignForVisit(canUnsignModel, orgId, "UndoPreAudit");
            }
            return(Content(""));
        }