Produced by Araxis Merge on 8/19/2017 8:15:50 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | OSCIF_VSE_v1.3.2_SD_5_3_671.zip\ClinSchd\Desktop\ClinSchd.Infrastructure\Models | Patient.cs | Thu Jun 22 17:00:06 2017 UTC |
2 | OSCIF_VSE_v1.3.2_SD_5_3_671.zip\ClinSchd\Desktop\ClinSchd.Infrastructure\Models | Patient.cs | Sat Aug 19 18:58:18 2017 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 1282 |
Changed | 1 | 2 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | using Syst em; | |
2 | using Syst em.Collect ions.Gener ic; | |
3 | using Syst em.Globali zation; | |
4 | using Syst em.Linq; | |
5 | using Clin Schd.Infra structure. Converters ; | |
6 | using Clin Schd.Infra structure. Interfaces ; | |
7 | using Syst em.Compone ntModel.Da taAnnotati ons; | |
8 | using Syst em.Text.Re gularExpre ssions; | |
9 | ||
10 | namespace ClinSchd.I nfrastruct ure.Models | |
11 | { | |
12 | public class Pat ient : Asy ncValidata bleModel | |
13 | { | |
14 | pu blic strin g LastSub { get; set ; } | |
15 | ||
16 | pu blic bool IsDead { g et; set; } | |
17 | ||
18 | pu blic Speci alNeedsPre ferences S pecialNeed sPreferenc es { get; set; } | |
19 | ||
20 | /* | |
21 | * Bad Addre ss Indicat or is a Se t of codes : 1 = Und eliverable , 2 = Home less, 3 = Other, 4 = Address N ot Found*/ | |
22 | ||
23 | pu blic Appoi ntmentRequ est Appoin tment { ge t; set; } | |
24 | ||
25 | pr ivate Pati entSensiti veRecord _ sensitiveR ecord; | |
26 | pu blic Patie ntSensitiv eRecord Se nsitiveRec ord | |
27 | { | |
28 | get | |
29 | { | |
30 | if ( _sensitive Record == null) | |
31 | _sensitive Record = n ew Patient SensitiveR ecord(); | |
32 | ||
33 | retu rn _sensit iveRecord; | |
34 | } | |
35 | set | |
36 | { | |
37 | _sen sitiveReco rd = value ; | |
38 | IsSe nsitiveRec ord = _sen sitiveReco rd.IsSensi tiveRecord ; | |
39 | Noti fyProperty Changed( " SensitiveR ecord" ); | |
40 | } | |
41 | } | |
42 | ||
43 | pu blic bool IsSensitiv eRecord { get; set; } | |
44 | ||
45 | pu blic bool IsBadAddre ss | |
46 | { | |
47 | get { re turn _isBa dAddress; } | |
48 | set | |
49 | { | |
50 | _isB adAddress = value; | |
51 | Noti fyProperty Changed( " IsBadAddre ss" ); | |
52 | } | |
53 | } | |
54 | ||
55 | pr ivate stri ng _badAdd ressType; | |
56 | ||
57 | pu blic strin g BadAddre ssType | |
58 | { | |
59 | get | |
60 | { | |
61 | if ( Keys.Meth ods.IsNume ric( _badA ddressType ) && Conv ert.ToInt3 2( _badAdd ressType ) > 0 && Co nvert.ToIn t32( _badA ddressType ) <= BadA ddressType s.Count ) | |
62 | return Bad AddressTyp es[Convert .ToInt32( _badAddres sType ) - 1]; | |
63 | retu rn _badAdd ressType; | |
64 | } | |
65 | set | |
66 | { | |
67 | _bad AddressTyp e = value; | |
68 | IsBa dAddress = !string.I sNullOrEmp ty(_badAdd ressType); | |
69 | Noti fyProperty Changed("B adAddressT ype"); | |
70 | } | |
71 | } | |
72 | ||
73 | pu blic List< string> Ba dAddressTy pes { get; } = new L ist<string >(new[] { "Undeliver able", "Ho meless", " Other", "A ddress Not Found" }) ; | |
74 | ||
75 | pr ivate read only IData AccessServ ice _dataA ccessServi ce; | |
76 | ||
77 | pr ivate stri ng _ien = string.Emp ty; | |
78 | ||
79 | pu blic strin g IEN //Pa tient IEN from Patie nt File | |
80 | { | |
81 | get { re turn _ien; } | |
82 | set | |
83 | { | |
84 | _ien = value; | |
85 | Prim aryContact Info.Patie ntIEN = va lue; | |
86 | Temp oraryConta ctInfo.Pat ientIEN = value; | |
87 | Prim aryNextOfK in.Patient IEN = valu e; | |
88 | Seco ndaryNextO fKin.Patie ntIEN = va lue; | |
89 | } | |
90 | } | |
91 | ||
92 | pu blic strin g DFN { ge t; set; } //WaitList IEN for P atient on WaitList.. .. | |
93 | ||
94 | pu blic strin g Name | |
95 | { | |
96 | get { re turn _name ; } | |
97 | set | |
98 | { | |
99 | _nam e = value; | |
100 | Noti fyProperty Changed( " Name" ); | |
101 | } | |
102 | } | |
103 | ||
104 | pu blic strin g Suffix | |
105 | { | |
106 | get { re turn _suff ix; } | |
107 | set | |
108 | { | |
109 | _suf fix = valu e; | |
110 | Noti fyProperty Changed( " Suffix" ); | |
111 | } | |
112 | } | |
113 | ||
114 | pu blic strin g Medicare No { get; set; } | |
115 | ||
116 | pu blic strin g HRN { ge t; set; } | |
117 | ||
118 | pu blic strin g MaritalS tatus | |
119 | { | |
120 | get { re turn _mari talStatus; } | |
121 | set | |
122 | { | |
123 | _mar italStatus = value; | |
124 | Noti fyProperty Changed( " MaritalSta tue" ); | |
125 | } | |
126 | } | |
127 | ||
128 | pu blic strin g Religiou sPreferenc e { get; s et; } | |
129 | ||
130 | pu blic strin g Registra tionCommen ts { get; set; } | |
131 | ||
132 | pu blic stati c bool Mas kSensitive Info(strin g patientI EN, bool i sSensitive Reord) | |
133 | { | |
134 | return ( isSensitiv eReord && (patientIE N != Keys. PatientIen _Sensitive RecordChec k)); | |
135 | } | |
136 | ||
137 | pr ivate stri ng _ssn; | |
138 | ||
139 | pu blic strin g SSNRaw { get { ret urn _ssn; } } | |
140 | ||
141 | pu blic strin g SSN | |
142 | { | |
143 | get { re turn SSNFo rmatted; } | |
144 | set | |
145 | { | |
146 | _ssn = value; | |
147 | Noti fyProperty Changed( " SSN" ); | |
148 | Noti fyProperty Changed("S SNRaw"); | |
149 | Noti fyProperty Changed("S SNFormatte d"); | |
150 | } | |
151 | } | |
152 | ||
153 | pu blic strin g SSNForma tted { get { return FormattedS SN(_ssn, I EN, IsSens itiveRecor d); } } | |
154 | ||
155 | pu blic stati c string F ormattedSS N(string s sn, string patientIE N, bool is SensitiveR ecord) | |
156 | { | |
157 | if (stri ng.IsNullO rEmpty(ssn )) | |
158 | retu rn string. Empty; | |
159 | ||
160 | if (Mask SensitiveI nfo(patien tIEN, isSe nsitiveRec ord)) | |
161 | retu rn "*SENSI TIVE*"; | |
162 | ||
163 | // The V A asked th is formatt ing option not be us ed. | |
164 | // Keep ing it in the event they chang e their mi nds | |
165 | //if (is SensitiveR ecord) | |
166 | // re turn "***- **-" + ssn .Substring (Math.Max( 0, ssn.Len gth - 4)); | |
167 | ||
168 | if (ssn. Length == 9) | |
169 | retu rn Regex.R eplace(ssn , @"(\d{3} )(\d{2})(\ d{4})", "$ 1-$2-$3"); | |
170 | ||
171 | return s sn; | |
172 | } | |
173 | ||
174 | pu blic strin g SSN4 | |
175 | { | |
176 | get | |
177 | { | |
178 | if ( !string.Is NullOrEmpt y(_ssn) && _ssn.Leng th > 8) | |
179 | return _ss n.Substrin g(5, 4); | |
180 | ||
181 | retu rn string. Empty; | |
182 | } | |
183 | } | |
184 | ||
185 | pu blic strin g Gender | |
186 | { | |
187 | get { re turn _gend er; } | |
188 | set | |
189 | { | |
190 | _gen der = valu e; | |
191 | Noti fyProperty Changed( " Gender" ); | |
192 | } | |
193 | } | |
194 | ||
195 | pu blic strin g Institut ionIen { g et; set; } | |
196 | ||
197 | pr ivate stri ng _instit ution; | |
198 | pu blic strin g Institut ion | |
199 | { | |
200 | get | |
201 | { | |
202 | if(s tring.IsNu llOrEmpty( _instituti on)) | |
203 | { | |
204 | var patien ts = _data AccessServ ice.GetPat ients(Name , Keys.Max PatientsTo Return); | |
205 | foreach (v ar pat in patients.W here(pat = > pat.IEN == IEN)) | |
206 | { | |
207 | _insti tution = p at.Institu tion; | |
208 | break; | |
209 | } | |
210 | } | |
211 | retu rn _instit ution; | |
212 | } | |
213 | set | |
214 | { | |
215 | _ins titution = value; | |
216 | Noti fyProperty Changed( " Institutio n" ); | |
217 | } | |
218 | } | |
219 | ||
220 | pu blic strin g Originat ingUser { get; set; } | |
221 | ||
222 | pu blic IList <Provider> Originati ngUsers { get; set; } | |
223 | ||
224 | pu blic strin g Originat ingUserNam e { get; s et; } | |
225 | ||
226 | pu blic Provi der Provid er | |
227 | { | |
228 | get { re turn _prov ider; } | |
229 | set | |
230 | { | |
231 | _pro vider = va lue; | |
232 | Noti fyProperty Changed( " Provider" ); | |
233 | } | |
234 | } | |
235 | ||
236 | pu blic IList <Provider> Providers { get; se t; } | |
237 | ||
238 | pu blic strin g Eligibil ityIen { g et; set; } | |
239 | ||
240 | pu blic strin g Eligibil ityName { get; set; } | |
241 | ||
242 | pu blic strin g SCVisit | |
243 | { | |
244 | get { re turn _scVi sit; } | |
245 | set | |
246 | { | |
247 | _scV isit = val ue; | |
248 | Noti fyProperty Changed( " SCVisit" ) ; | |
249 | } | |
250 | } | |
251 | ||
252 | pu blic bool SCVisitBoo l | |
253 | { | |
254 | get | |
255 | { | |
256 | if ( string.Is NullOrEmpt y( SCVisit ) ) | |
257 | return fal se; | |
258 | retu rn SCVisit == "YES"; | |
259 | } | |
260 | } | |
261 | ||
262 | pu blic bool ServiceCon nectionBoo l | |
263 | { | |
264 | get { re turn Servi ceConnecti on.ToUpper () != "NO" ; } | |
265 | } | |
266 | ||
267 | pr ivate stri ng _servic eConnectio n; | |
268 | ||
269 | pu blic strin g ServiceC onnection | |
270 | { | |
271 | get { re turn strin g.IsNullOr Empty( _se rviceConne ction ) ? "NO" : _se rviceConne ction; } | |
272 | set | |
273 | { | |
274 | _ser viceConnec tion = val ue; | |
275 | Noti fyProperty Changed( " ServiceCon nection" ) ; | |
276 | } | |
277 | } //YES/NO | |
278 | ||
279 | pu blic strin g ServiceC onnectionP ercentage | |
280 | { | |
281 | get { re turn _serv iceConnect ionPercent age; } | |
282 | set | |
283 | { | |
284 | _ser viceConnec tionPercen tage = val ue; | |
285 | if ( !string.I sNullOrEmp ty( _servi ceConnecti onPercenta ge ) ) | |
286 | ServiceCon nectionPer cent = Con vert.ToInt 32( _servi ceConnecti onPercenta ge ); | |
287 | Noti fyProperty Changed( " ServiceCon nectionPer centage" ) ; | |
288 | } | |
289 | } | |
290 | ||
291 | pu blic int S erviceConn ectionPerc ent { get; set; } | |
292 | ||
293 | pu blic bool ServiceRel ated | |
294 | { | |
295 | get { re turn _serv iceRelated ; } | |
296 | set { | |
297 | _ser viceRelate d = value; | |
298 | Noti fyProperty Changed("S erviceRela ted"); | |
299 | } | |
300 | } | |
301 | ||
302 | pu blic strin g TypeIen { get; set ; } | |
303 | ||
304 | pu blic strin g TypeName | |
305 | { | |
306 | get { re turn _type Name; } | |
307 | set | |
308 | { | |
309 | _typ eName = va lue; | |
310 | Noti fyProperty Changed( " TypeName" ); | |
311 | } | |
312 | } | |
313 | ||
314 | pu blic strin g Priority Group { ge t; set; } | |
315 | ||
316 | pu blic Patie ntGAF GAF { get; set ; } | |
317 | ||
318 | pu blic strin g GenderFu llString | |
319 | { | |
320 | get | |
321 | { | |
322 | if ( Gender == null) | |
323 | return ""; | |
324 | ||
325 | if ( Gender.ToU pper() == "F") | |
326 | return "Fe male"; | |
327 | ||
328 | if ( Gender.ToU pper() == "M") | |
329 | return "Ma le"; | |
330 | retu rn ""; | |
331 | } | |
332 | } | |
333 | ||
334 | pu blic DateT ime? DOBDa te { get; private se t; } | |
335 | ||
336 | pu blic strin g DOBForma tted { get { return FormattedD OB(_dob, I EN, IsSens itiveRecor d); } } | |
337 | ||
338 | pu blic strin g DOBRaw { get { re turn _dob; } } | |
339 | ||
340 | pr ivate stri ng _dob; | |
341 | [R equired(Er rorMessage = @"Pleas e provide date of bi rth")] | |
342 | pu blic strin g DOB | |
343 | { | |
344 | get { re turn DOBFo rmatted; } | |
345 | set | |
346 | { | |
347 | _dob = value; | |
348 | DOBD ate = DOBT oDateTime( _dob); | |
349 | Noti fyProperty Changed( " DOB" ); | |
350 | Noti fyProperty Changed( " DOBDate"); | |
351 | Noti fyProperty Changed("A ge"); | |
352 | Noti fyProperty Changed( " DOBFormatt ed" ); | |
353 | } | |
354 | } | |
355 | ||
356 | pu blic strin g Age { g et { retur n Calculat eAge(_dob) ; } } | |
357 | ||
358 | pu blic stati c string C alculateAg e(string d ob) | |
359 | { | |
360 | DateTime ? dobDate = DOBToDat eTime(dob) ; | |
361 | ||
362 | if (dobD ate.HasVal ue) | |
363 | { | |
364 | Date Time now = DateTime. Today; | |
365 | Date Time bday = dobDate. Value.Date ; | |
366 | var age = now. Year - bda y.Year; | |
367 | ||
368 | if ( bday > now .AddYears( -age)) | |
369 | age--; | |
370 | ||
371 | retu rn age.ToS tring(); | |
372 | } | |
373 | else | |
374 | retu rn string. Empty; | |
375 | } | |
376 | ||
377 | pu blic stati c DateTime ? DOBToDat eTime(stri ng dob) | |
378 | { | |
379 | DateTime ? DOBDate = null; | |
380 | ||
381 | if (!str ing.IsNull OrEmpty(do b)) | |
382 | { | |
383 | var provider = CultureIn fo.Invaria ntCulture; | |
384 | Date Time rslt; | |
385 | ||
386 | if ( DateTime.T ryParse(do b, provide r, DateTim eStyles.No ne, out rs lt)) | |
387 | DOBDate = rslt.Date; | |
388 | else | |
389 | { | |
390 | var numPie ces = dob. Split(' ') ; | |
391 | ||
392 | if (numPie ces.Length == 3) | |
393 | DOBDat e = Conver t.ToDateTi me(ShortDa teTimeConv erter.Conv ertMonthSt ringDateTo ShortDateT ime(dob)); | |
394 | ||
395 | if (numPie ces.Length == 2) | |
396 | DOBDat e = Conver t.ToDateTi me(ShortDa teTimeConv erter.Conv ertMonthSt ringDateTo ShortDateT ime2(dob)) ; | |
397 | } | |
398 | } | |
399 | ||
400 | return D OBDate; | |
401 | } | |
402 | ||
403 | pu blic stati c string F ormattedDO B(string d ob, string patientIE N, bool is SensitiveR ecord) | |
404 | { | |
405 | if (stri ng.IsNullO rEmpty(dob )) | |
406 | retu rn string. Empty; | |
407 | ||
408 | if (Mask SensitiveI nfo(patien tIEN, isSe nsitiveRec ord)) | |
409 | retu rn "*SENSI TIVE*"; | |
410 | ||
411 | // PII , 01/27/20 17 - VA in dicated fu ll DOB vie w if Sensi tive and U ser accept s, | |
412 | // so th is is comm ented out, but left in case it need to b e reinstat ed | |
413 | //if (is SensitiveR ecord) | |
414 | //{ | |
415 | // if (DOBDate. HasValue) | |
416 | // return D OBDate.Val ue.ToStrin g("**/**/y yyy"); | |
417 | // el se | |
418 | // return " **/**/" + _dob.Subst ring(Math. Max(0, _ss n.Length - 4)); | |
419 | //} | |
420 | ||
421 | DateTime ? dobDate = DOBToDat eTime(dob) ; | |
422 | ||
423 | if (dobD ate.HasVal ue) | |
424 | retu rn dobDate .Value.ToS tring("M/d /yyyy"); | |
425 | else | |
426 | retu rn dob; | |
427 | } | |
428 | ||
429 | pu blic Patie nt (IDataA ccessServi ce dataAcc essService ) | |
430 | { | |
431 | _dataAcc essService = da taAccessSe rvice; | |
432 | PrimaryC ontactInfo = ne w ContactI nfo(dataAc cessServic e, IEN); | |
433 | Temporar yContactIn fo = ne w ContactI nfo(dataAc cessServic e, IEN); | |
434 | PrimaryN extOfKin = ne w PatientN extOfKin(d ataAccessS ervice, IE N); | |
435 | Secondar yNextOfKin = ne w PatientN extOfKin(d ataAccessS ervice, IE N); | |
436 | SpecialN eedsPrefer ences = ne w SpecialN eedsPrefer ences(); | |
437 | GAF = ne w PatientG AF(); | |
438 | } | |
439 | ||
440 | pu blic void LoadPatien tInfoByIEN () | |
441 | { | |
442 | var ptIn fo = _data AccessServ ice.GetPat ientInfo( IEN ); | |
443 | if ( ptI nfo == nul l ) | |
444 | retu rn; | |
445 | ||
446 | DOB = ptInfo.D OBRaw; | |
447 | HRN = ptInfo.H RN; | |
448 | IEN = ptInfo.I EN; | |
449 | Name = ptInfo.N ame; | |
450 | SSN = ptInfo.S SNRaw; | |
451 | IsSensit iveRecord = ptInfo.I sSensitive Record; | |
452 | } | |
453 | ||
454 | pu blic void GetPatient s( string searchStri ng, WorkCo mpletedMet hod workCo mpletedMet hod ) | |
455 | { | |
456 | DoWorkAs ync( ( s, args ) => { | |
457 | args .Result = _dataAcces sService.G etPatients ( searchSt ring == st ring.Empty ? null : searchStri ng, Keys.M axPatients ToReturn ) ; | |
458 | }, workC ompletedMe thod ); | |
459 | } | |
460 | ||
461 | pu blic void SetEthnici ty(string ien, strin g name) | |
462 | { | |
463 | var eth = _dataAcc essService .GetEthnic ities().Fi rstOrDefau lt(e => e. Ien == ien || e.Name == name); | |
464 | ||
465 | if (eth == null) | |
466 | eth = new Ethn icity | |
467 | { | |
468 | Ien = ien, | |
469 | Name = nam e | |
470 | }; | |
471 | ||
472 | _ethnici ty = eth; | |
473 | } | |
474 | ||
475 | pr ivate Ethn icity _eth nicity; | |
476 | pu blic Ethni city Ethni city | |
477 | { | |
478 | get | |
479 | { | |
480 | if ( _ethnicity != null) | |
481 | return _et hnicity; | |
482 | ||
483 | var e = _dataA ccessServi ce.GetEthn icity(IEN) ; | |
484 | if ( e == null) | |
485 | return new Ethnicity (); | |
486 | retu rn e; | |
487 | } | |
488 | set | |
489 | { | |
490 | _eth nicity = v alue; | |
491 | Noti fyProperty Changed( " Ethnicity" ); | |
492 | } | |
493 | } | |
494 | ||
495 | [R equired(Er rorMessage = @"Pleas e provide ethnicity" )] | |
496 | pu blic List< Ethnicity> Ethniciti es | |
497 | { | |
498 | get { re turn _data AccessServ ice.GetEth nicities() ; } | |
499 | } | |
500 | ||
501 | pr ivate stri ng _ward; | |
502 | ||
503 | pu blic strin g Ward | |
504 | { | |
505 | get | |
506 | { | |
507 | if ( _ward == n ull) | |
508 | _ward = _d ataAccessS ervice.Get PatientWar d(IEN); | |
509 | retu rn _ward; | |
510 | } | |
511 | set | |
512 | { | |
513 | _war d = value; | |
514 | Noti fyProperty Changed( " Ward" ); | |
515 | } | |
516 | } | |
517 | ||
518 | pr ivate ILis t<Country> _countrie s; | |
519 | pu blic IList <Country> Countries | |
520 | { | |
521 | get{retu rn _countr ies ?? _da taAccessSe rvice.GetC ountries() ;} | |
522 | set { _c ountries = value; } | |
523 | } | |
524 | ||
525 | pr ivate List <string> _ preference s; | |
526 | ||
527 | pu blic List< string> Pr eferences | |
528 | { | |
529 | get { re turn _pref erences = _preferenc es ?? new List<strin g>(); } | |
530 | set { _p references = value; } | |
531 | } | |
532 | ||
533 | pr ivate ILis t<Race> _r aceList; | |
534 | ||
535 | pu blic IList <Race> Rac eList | |
536 | { | |
537 | get | |
538 | { | |
539 | if ( _raceList != null ) | |
540 | return _ra ceList; | |
541 | ||
542 | _rac eList = ne w List<Rac e>(); | |
543 | ||
544 | fore ach ( var r in _data AccessServ ice.GetRac es() ) | |
545 | _raceList. Add( | |
546 | new Ra ce | |
547 | { | |
548 | Ie n = r.Ien, | |
549 | Na me = r.Name, | |
550 | Ab breviation = r.Abbre viation | |
551 | } ); | |
552 | ||
553 | retu rn _raceLi st; | |
554 | } | |
555 | } | |
556 | ||
557 | pu blic void SetRaces(s tring ienL ist, strin g nameList ) | |
558 | { | |
559 | // Reset s IsSelect ed, LastIs Selected, IsDeafult to false | |
560 | RaceList .ToList(). ForEach(r => r.Reset ()); | |
561 | ||
562 | if (stri ng.IsNullO rEmpty(ien List) || s tring.IsNu llOrEmpty( nameList)) | |
563 | retu rn; | |
564 | ||
565 | var iens = ienList .Split('|' ); | |
566 | var defa ultSet = f alse; | |
567 | ||
568 | foreach( var ien in iens) | |
569 | { | |
570 | var race = Rac eList.Firs tOrDefault (r => r.Ie n == ien); | |
571 | ||
572 | if ( race != nu ll) | |
573 | { | |
574 | if (!defau ltSet) | |
575 | { | |
576 | race.I sDefault = true; | |
577 | defaul tSet = tru e; | |
578 | } | |
579 | ||
580 | race.IsSel ected = tr ue; | |
581 | race.LastI sSelected = true; | |
582 | } | |
583 | } | |
584 | } | |
585 | ||
586 | pu blic Race Race | |
587 | { | |
588 | get { re turn RaceL ist.FirstO rDefault( r => r.IsD efault ); } | |
589 | } | |
590 | ||
591 | pu blic Conta ctInfo Pri maryContac tInfo { ge t; set; } | |
592 | ||
593 | pu blic Conta ctInfo Tem poraryCont actInfo { get; set; } | |
594 | ||
595 | pu blic Patie ntNextOfKi n PrimaryN extOfKin { get; set; } | |
596 | ||
597 | pu blic Patie ntNextOfKi n Secondar yNextOfKin { get; se t; } | |
598 | ||
599 | pu blic IList <PatientFl ag> Patien tFlags { g et; } = ne w List<Pat ientFlag>( ); | |
600 | ||
601 | pr ivate stri ng _enroll mentSubGro up = strin g.Empty; | |
602 | pr ivate stri ng _servic eConnectio nPercentag e; | |
603 | pr ivate stri ng _scVisi t; | |
604 | pr ivate bool _serviceR elated; | |
605 | pr ivate bool _isBadAdd ress; | |
606 | pr ivate stri ng _name; | |
607 | pr ivate stri ng _suffix ; | |
608 | pr ivate stri ng _marita lStatus; | |
609 | pr ivate Prov ider _prov ider; | |
610 | pr ivate stri ng _typeNa me; | |
611 | pr ivate stri ng _gender ; | |
612 | ||
613 | pu blic strin g Enrollme ntSubGroup | |
614 | { | |
615 | get { re turn _enro llmentSubG roup; } | |
616 | set | |
617 | { | |
618 | if ( !string.Is NullOrEmpt y(value) & & !"abcdeg ".Contains (value)) | |
619 | Keys.Alert User(null, value + " is not a valid Enro llment Sub group.", " Enrollment Subgroup" ); | |
620 | else | |
621 | _enrollmen tSubGroup = value; | |
622 | } | |
623 | } | |
624 | ||
625 | pu blic bool Catastroph icDisabili tyFlag { g et; set; } = false; | |
626 | ||
627 | pu blic bool Category8F lag { get; set; } = false; | |
628 | ||
629 | pu blic bool FugitiveFe lonFlag { get; set; } = false; | |
630 | ||
631 | pu blic bool LoadRMGrid { get; se t; } = fal se; | |
632 | ||
633 | pu blic overr ide string ToString( ) | |
634 | { | |
635 | return N ame; | |
636 | } | |
637 | ||
638 | pu blic bool PTLookRSRe ad { get; set; } = f alse; | |
639 | ||
640 | pu blic bool GetRegARea d { get; s et; } = fa lse; | |
641 | } | |
642 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.