123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- // Copyright (c) 2012-2020 fo-dicom contributors.
- // Licensed under the Microsoft Public License (MS-PL).
- using System;
- using System.Collections.Generic;
- namespace Worklist_SCP.Model
- {
- public class WorklistItemsProvider : IWorklistItemsSource
- {
- /// <summary>
- /// This method returns some hard coded worklist items - of course they should be loaded from database or some other service
- /// </summary>
- public List<WorklistItem> GetAllCurrentWorklistItems()
- {
- Console.WriteLine("GetAllCurrentWorklistItems");
- var item1 = new WorklistItem
- {
- AccessionNumber = "AB123",
- DateOfBirth = new DateTime(1975, 2, 14),
- PatientID = "100015",
- Surname = "测试",
- Forename = "Hilbert",
- Sex = "M",
- Title = null,
- Modality = "MR",
- ExamDescription = "mr knee left",
- ExamRoom = "MR1",
- HospitalName = null,
- PerformingPhysician = null,
- ProcedureID = "200001",
- ProcedureStepID = "200002",
- StudyUID = "1.2.34.567890.1234567890.1",
- ScheduledAET = "MRMODALITY",
- ReferringPhysician = "Smith^John^Md",
- ExamDateAndTime = DateTime.Now
- };
- var item2 = new WorklistItem
- {
- AccessionNumber = "AB123",
- DateOfBirth = new DateTime(1975, 2, 14),
- PatientID = "100015",
- Surname = "Test",
- Forename = "Hilbert",
- Sex = "M",
- Title = null,
- Modality = "MR",
- ExamDescription = "mr knee right",
- ExamRoom = "MR1",
- HospitalName = null,
- PerformingPhysician = null,
- ProcedureID = "200003",
- ProcedureStepID = "200004",
- StudyUID = "1.2.34.567890.1234567890.2",
- ScheduledAET = "MRMODALITY",
- ReferringPhysician = "Smith^John^Md",
- ExamDateAndTime = DateTime.Now
- };
- var item3 = new WorklistItem
- {
- AccessionNumber = "AB125",
- DateOfBirth = new DateTime(1984, 10, 2),
- PatientID = "100019",
- Surname = "Miller",
- Forename = "Albert",
- Sex = "M",
- Title = null,
- Modality = "CR",
- ExamDescription = "cp",
- ExamRoom = "CR2",
- HospitalName = null,
- PerformingPhysician = null,
- ProcedureID = "200005",
- ProcedureStepID = "200006",
- StudyUID = "1.2.34.567890.1234567890.3",
- ScheduledAET = "CRMODALITY",
- ReferringPhysician = "Daniels^Jack^Md",
- ExamDateAndTime = DateTime.Now
- };
- return new List<WorklistItem> { item1, item2, item3 };
- }
- }
- }
|