Пример #1
0
 public override void HandleTransactionFrom(ActorNameEnum actorName, Hl7Transaction hl7Transaction)
 {
     switch (actorName)
     {
         case ActorNameEnum.DssOrderFiller:
             // received Procedure Scheduled [RAD-4] or
             // received Procedure Updated [RAD-13]
             break;
         default:
             break;
     }
 }
Пример #2
0
        public override void HandleTransactionFrom(ActorNameEnum actorName, Hl7Transaction hl7Transaction)
        {
            switch (actorName)
            {
            case ActorNameEnum.DssOrderFiller:
                // received Procedure Scheduled [RAD-4] or
                // received Procedure Updated [RAD-13]
                break;

            default:
                break;
            }
        }
Пример #3
0
 public override void HandleTransactionFrom(ActorNameEnum actorName, Hl7Transaction hl7Transaction)
 {
     switch (actorName)
     {
         case ActorNameEnum.AdtPatientRegistration:
             // received Patient Registration [RAD-1] or
             // received Patient Update [RAD-12]
             break;
         case ActorNameEnum.OrderPlacer:
             // received Placer Order Management [RAD-2]
             break;
         default:
             break;
     }
 }
Пример #4
0
 public override void HandleTransactionFrom(ActorNameEnum actorName, Hl7Transaction hl7Transaction)
 {
     switch (actorName)
     {
         case ActorNameEnum.AdtPatientRegistration:
             // received Patient Registration [RAD-1] or
             // received Patient Update [RAD-12]
             break;
         case ActorNameEnum.DssOrderFiller:
             // received Filler Order Management [RAD-3] or
             // received Appointment Notification [RAD-48]
             break;
         default:
             break;
     }
 }
Пример #5
0
        public override void HandleTransactionFrom(ActorNameEnum actorName, Hl7Transaction hl7Transaction)
        {
            switch (actorName)
            {
            case ActorNameEnum.AdtPatientRegistration:
                // received Patient Registration [RAD-1] or
                // received Patient Update [RAD-12]
                break;

            case ActorNameEnum.OrderPlacer:
                // received Placer Order Management [RAD-2]
                break;

            default:
                break;
            }
        }
Пример #6
0
        public override void HandleTransactionFrom(ActorNameEnum actorName, Hl7Transaction hl7Transaction)
        {
            switch (actorName)
            {
            case ActorNameEnum.AdtPatientRegistration:
                // received Patient Registration [RAD-1] or
                // received Patient Update [RAD-12]
                break;

            case ActorNameEnum.DssOrderFiller:
                // received Filler Order Management [RAD-3] or
                // received Appointment Notification [RAD-48]
                break;

            default:
                break;
            }
        }
Пример #7
0
        public void ConsoleDisplay()
        {
            Console.WriteLine("<<- {0} -------------------------------------------------------------->>", _transactionNumber);
            if (_transaction is DicomTransaction)
            {
                DicomTransaction dicomTransaction = (DicomTransaction)_transaction;
                switch (dicomTransaction.Direction)
                {
                case TransactionDirectionEnum.TransactionReceived:
                    Console.WriteLine("DICOM Transaction received by {0}", ActorNames.Name(_fromActorName));
                    Console.WriteLine("from {0}", ActorNames.Name(_toActorName));
                    break;

                case TransactionDirectionEnum.TransactionSent:
                    Console.WriteLine("DICOM Transaction sent from {0}", ActorNames.Name(_fromActorName));
                    Console.WriteLine("to {0}", ActorNames.Name(_toActorName));
                    break;

                default:
                    break;
                }
                Console.WriteLine("{0} errors, {1} warnings", _nrErrors, _nrWarnings);
                for (int i = 0; i < dicomTransaction.DicomMessages.Count; i++)
                {
                    Console.WriteLine("DICOM Message {0}...", i + 1);
                    DicomMessage dicomMessage = (DicomMessage)dicomTransaction.DicomMessages[i];
                    if (dicomMessage.CommandSet != null)
                    {
                        Console.WriteLine("Command Attributes: {0}", dicomMessage.CommandSet.Count);
                    }
                    if (dicomMessage.DataSet != null)
                    {
                        Console.WriteLine("Dataset Attributes: {0}", dicomMessage.DataSet.Count);
                    }
                }
            }
            else
            {
                Hl7Transaction hl7Transaction = (Hl7Transaction)_transaction;
            }
            Console.WriteLine("Results Filename: \"{0}\"", _resultsFilename);

            Console.WriteLine("<<------------------------------------------------------------------>>");
        }
Пример #8
0
 public virtual void HandleTransactionFrom(ActorNameEnum actorName, Hl7Transaction hl7Transaction)
 {
 }
Пример #9
0
 public virtual void HandleTransactionFrom(ActorNameEnum actorName, Hl7Transaction hl7Transaction)
 {
 }