source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/BMX41000/IHS BMX Framework/IndianHealthService.BMXNet.EHR/CiaEncounter.cs@ 1240

Last change on this file since 1240 was 1146, checked in by Sam Habiel, 14 years ago

Initial Import of BMX4

File size: 1.7 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using IndianHealthService.Model;
5
6namespace IndianHealthService.BMXNet.CIA
7{
8 internal class CiaEncounter : CiaObject, Encounter
9 {
10 public static CiaEncounter FindCurrent(CiaSession aSession)
11 {
12 if (aSession.CssEncounter.VisitStr == null) return null;
13
14 String[] peices = aSession.CssEncounter.VisitStr.Split(new char[] { ';' });
15
16 if (peices.Length == 4)
17 {
18 CiaEncounter answer = new CiaEncounter();
19 answer.Ien = peices[3];
20 answer.Ien = answer.Ien = peices[3];
21 answer.DateTime = aSession.CssEncounter.DateTime;
22 answer.LocationName = aSession.CssEncounter.LocationName;
23 answer.ProviderName = aSession.CssEncounter.ProviderName;
24
25 return answer;
26 }
27 else
28 {
29 return null;
30 }
31 }
32
33
34 private String _clinic = null;
35
36 public String Clinic
37 {
38 get { return _clinic; }
39 set { _clinic = value; }
40 }
41 private String _providerName;
42
43 public String ProviderName
44 {
45 get { return _providerName; }
46 set { _providerName = value; }
47 }
48 private String _locationName;
49
50 public String LocationName
51 {
52 get { return _locationName; }
53 set { _locationName = value; }
54 }
55 private DateTime _dateTime;
56
57 public DateTime DateTime
58 {
59 get { return _dateTime; }
60 set { _dateTime = value; }
61 }
62 }
63}
Note: See TracBrowser for help on using the repository browser.