Line | |
---|
1 | package gov.va.med.edp.pt.demog.model
|
---|
2 | {
|
---|
3 | import gov.va.med.edp.pt.demog.*;
|
---|
4 | import com.adobe.cairngorm.vo.IValueObject;
|
---|
5 |
|
---|
6 | import mx.collections.ArrayCollection;
|
---|
7 |
|
---|
8 | [Bindable]
|
---|
9 | public class PatientCheckVO implements IValueObject
|
---|
10 | {
|
---|
11 | public var dfn: String;
|
---|
12 | public var sensitive: Boolean = false; // display sensitive warning
|
---|
13 | public var mayAccess: Boolean = true; // prevent access to own record
|
---|
14 | public var logAccess: Boolean = false; // must log access to patient
|
---|
15 | public var onBoardText: String = ""; // patient is already on the board
|
---|
16 | public var warningText: String = ""; // sensitive warning text to display
|
---|
17 | public var similarText: String = ""; // similar patient warning text
|
---|
18 | public var deceasedText: String = ""; // display deceased warning
|
---|
19 | public var similarNames: Array; // array of PatientSelectVO
|
---|
20 | public var flags: ArrayCollection; // array of PatientRecordFlagVO
|
---|
21 |
|
---|
22 | public function isOnBoard():Boolean {
|
---|
23 | return onBoardText.length > 0;
|
---|
24 | }
|
---|
25 |
|
---|
26 | public function hasSimilarNames():Boolean {
|
---|
27 | return similarNames != null && similarNames.length > 0;
|
---|
28 | }
|
---|
29 |
|
---|
30 | public function isDeceased():Boolean {
|
---|
31 | return deceasedText.length > 0;
|
---|
32 | }
|
---|
33 |
|
---|
34 | public function hasFlags():Boolean {
|
---|
35 | return flags != null && flags.length > 0
|
---|
36 | }
|
---|
37 | }
|
---|
38 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.