public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.CRM_C01: return(await Task.FromResult(new RegisterPatientOnClinicalTrial())); case TriggerEventTypes.CRM_C02: return(await Task.FromResult(new CancelPatientRegistrationOnClinicalTrial())); case TriggerEventTypes.CRM_C03: return(await Task.FromResult(new CorrectUpdateRegistrationInformation())); case TriggerEventTypes.CRM_C04: return(await Task.FromResult(new PatientHasGoneOffClinicalTrial())); case TriggerEventTypes.CRM_C05: return(await Task.FromResult(new PatientEntersPhaseOfClinicalTrial())); case TriggerEventTypes.CRM_C06: return(await Task.FromResult(new CancelPatientEnteringPhase())); case TriggerEventTypes.CRM_C07: return(await Task.FromResult(new CorrectUpdatePhaseInformation())); case TriggerEventTypes.CRM_C08: return(await Task.FromResult(new PatientHasGoneOffPhaseOfClinicalTrial())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.QRY: return(await Task.FromResult(new Query())); case TriggerEventTypes.QRY_A19: return(await Task.FromResult(new PatientQuery())); case TriggerEventTypes.QRY_PC4: return(await Task.FromResult(new ProblemQuery())); case TriggerEventTypes.QRY_PC9: return(await Task.FromResult(new PcGoalQuery())); case TriggerEventTypes.QRY_PCE: return(await Task.FromResult(new PcPathwayProblemOrientedQuery())); case TriggerEventTypes.QRY_PCK: return(await Task.FromResult(new PcPathwayGoalOrientedQuery())); case TriggerEventTypes.QRY_Q01: return(await Task.FromResult(new QuerySentForImmediateResponse())); case TriggerEventTypes.QRY_Q02: return(await Task.FromResult(new QuerySentForDeferredResponse())); case TriggerEventTypes.QRY_R02: return(await Task.FromResult(new QueryForResultsOfObservation())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.BAR_P01: return(await Task.FromResult(new AddPatientAccounts())); case TriggerEventTypes.BAR_P02: return(await Task.FromResult(new PurgePatientAccount())); case TriggerEventTypes.BAR_P05: return(await Task.FromResult(new UpdateAccount())); case TriggerEventTypes.BAR_P06: return(await Task.FromResult(new EndAccount())); case TriggerEventTypes.BAR_P10: return(await Task.FromResult(new TransmitAmbulatoryPaymentClassification())); case TriggerEventTypes.BAR_P12: return(await Task.FromResult(new UpdateDiagnoseProcedure())); default: return(await Task.FromResult(new ErrorMessage())); //TODO } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.ORU: return(await Task.FromResult(new UnsolicitedTransmissionObservationGeneral())); case TriggerEventTypes.ORU_R01: return(await Task.FromResult(new UnsolicitedTransmissionObservationSpecimen())); case TriggerEventTypes.ORU_R03: return(await Task.FromResult(new DisplayOrientedResultsQueyrUnsolicitedUpdate())); case TriggerEventTypes.ORU_R30: return(await Task.FromResult(new UnsolicitedPointOfCareObservationWithoutExistingOrder())); case TriggerEventTypes.ORU_R31: return(await Task.FromResult(new UnsolicitedNewPointOfCareObservationSearchForOrder())); case TriggerEventTypes.ORU_R32: return(await Task.FromResult(new UnsolicitedPreorderedPointOfCareObservation())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.PMU_B01: return(await Task.FromResult(new AddPersonnelRecord())); case TriggerEventTypes.PMU_B02: return(await Task.FromResult(new UpdatePersonnelRecord())); case TriggerEventTypes.PMU_B03: return(await Task.FromResult(new DeletePersonnelRecord())); case TriggerEventTypes.PMU_B04: return(await Task.FromResult(new ActivatePracticingPerson())); case TriggerEventTypes.PMU_B05: return(await Task.FromResult(new DeactivatePracticingPerson())); case TriggerEventTypes.PMU_B06: return(await Task.FromResult(new TerminatePracticingPerson())); case TriggerEventTypes.PMU_B07: return(await Task.FromResult(new GrantCertificatePermission())); case TriggerEventTypes.PMU_B08: return(await Task.FromResult(new RevokeCertificatePermission())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { //TODO switch (triggerEventType) { default: return(null); } }
//TODO public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { //case TriggerEventTypes.PPP_: // return await Task.FromResult(new()); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.BPS_O29: return(await Task.FromResult(new BloodProductDispenseStatus())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.VXQ_V01: return(await Task.FromResult(new QueryForVaccinationRecord())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.NMQ_N01: return(await Task.FromResult(new ApplicationManagementQuery())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.RPL_I02: return(await Task.FromResult(new ReturnPatientDisplayList())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.SSU_U03: return(await Task.FromResult(new SpecimenStatusUpdate())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.ROR_ROR: return(await Task.FromResult(new PharmacyPrescriptionOrderQueryResponse())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.BRT_O32: return(await Task.FromResult(new BloodProductTransfusionDispositionAcknowledgment())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.OMD_O03: return(await Task.FromResult(new DietaryOrder())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.TBR_R08: return(await Task.FromResult(new TabularDataResponse())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.RQP_I04: return(await Task.FromResult(new RequestPatientDemographics())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.ORS_O06: return(await Task.FromResult(new StockRequisitionAcknowledgement())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.INR_U06: return(await Task.FromResult(new AutomatedEquipmentInventoryRequest())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.SQR_S25: return(await Task.FromResult(new ScheduleQueryMessageAndResponse())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.OMN_O07: return(await Task.FromResult(new NonStockRequisitionOrder())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.EAN_U09: return(await Task.FromResult(new AutomatedEquipmentNotification())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.DOC_T12: return(await Task.FromResult(new DocumentResponse())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.ORA_R33: return(await Task.FromResult(new ObservationReportAcknowledgement())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.RDS_O13: return(await Task.FromResult(new PharmacyTreatmentDispense())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.QCK_Q02: return(await Task.FromResult(new DeferredQuery())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.ORF_R04: return(await Task.FromResult(new ResponseToQueryTransmissionOfRequestedObservation())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.QCN_J01: return(await Task.FromResult(new CancelQueryAcknowledgeMessage())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.TCU_U10: return(await Task.FromResult(new AutomatedEquipmentTestCodeSettingsUpdate())); default: return(null); } }
public override async Task <IMessage> GetElementFromType(TriggerEventTypes triggerEventType, IGenericMessage genericMessage) { switch (triggerEventType) { case TriggerEventTypes.RRI_I12: return(await Task.FromResult(new ReturnReferralInformation())); default: return(null); } }