Produced by Araxis Merge on 6/9/2017 3:51:19 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 | Fri Jun 9 19:51:19 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-svc-consent-mgmt\src\main\java\gov\va\nvap\svc\consentmgmt | PIPInterface.java | Fri Apr 21 20:03:30 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 269 |
| 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 | /* | |||||
| 2 | * To chan ge this te mplate, ch oose Tools | Templat es | |||||
| 3 | * and ope n the temp late in th e editor. | |||||
| 4 | */ | |||||
| 5 | package go v.va.nvap. svc.consen tmgmt; | |||||
| 6 | ||||||
| 7 | import gov .va.nvap.p rivacy.Con sentDirect iveDetaile dExpiratio nRequest; | |||||
| 8 | import gov .va.nvap.s vc.consent mgmt.stub. adapter.an nounce.dat a.Announce ment; | |||||
| 9 | import gov .va.nvap.s vc.consent mgmt.stub. adapter.an nounce.dat a.Announce mentOrg; | |||||
| 10 | import gov .va.nvap.s vc.consent mgmt.stub. data.Conse ntDirectiv e; | |||||
| 11 | import gov .va.nvap.s vc.consent mgmt.stub. data.Conse ntType; | |||||
| 12 | import gov .va.nvap.s vc.consent mgmt.stub. data.Detai ledConsent Directive; | |||||
| 13 | import gov .va.nvap.s vc.consent mgmt.stub. data.Expir ingConsent Configurat ion; | |||||
| 14 | import gov .va.nvap.s vc.consent mgmt.stub. data.Facil ity; | |||||
| 15 | import gov .va.nvap.s vc.consent mgmt.stub. data.Facil ityOptInCo nsent; | |||||
| 16 | import gov .va.nvap.s vc.consent mgmt.stub. data.Funct ionalRole; | |||||
| 17 | import gov .va.nvap.s vc.consent mgmt.stub. data.Locat ion; | |||||
| 18 | import gov .va.nvap.s vc.consent mgmt.stub. data.Optou tReason; | |||||
| 19 | import gov .va.nvap.s vc.consent mgmt.stub. data.Organ ization; | |||||
| 20 | import gov .va.nvap.s vc.consent mgmt.stub. data.Patie ntDocument ; | |||||
| 21 | import gov .va.nvap.s vc.consent mgmt.stub. data.Patie ntDocument Type; | |||||
| 22 | import gov .va.nvap.s vc.consent mgmt.stub. data.Purpo seOfUse; | |||||
| 23 | import jav a.util.Col lection; | |||||
| 24 | ||||||
| 25 | /** | |||||
| 26 | * | |||||
| 27 | * @author vhaislegb erb | |||||
| 28 | */ | |||||
| 29 | public int erface PIP Interface { | |||||
| 30 | ||||||
| 31 | /** | |||||
| 32 | * Get s the expi ring conse nt directi ves . | |||||
| 33 | * | |||||
| 34 | * @pa ram patien tIens rest ricts the expiring c onsent dir ectives to consent d irectives tied to th is collect ion, or re turns all expiring | |||||
| 35 | * con sent direc tives acro ss all pat ients if n ull. | |||||
| 36 | * @pa ram consen tDirective Expiration Request | |||||
| 37 | * @re turn a col lection of ConsentDi rectives t hat will e xpire with in daysTil Expiration days | |||||
| 38 | */ | |||||
| 39 | Collec tion<Conse ntDirectiv e> getExpi ringPatien tConsentDi rectives(C ollection< String> pa tientIens, | |||||
| 40 | Co nsentDirec tiveDetail edExpirati onRequest consentDir ectiveExpi rationRequ est); | |||||
| 41 | ||||||
| 42 | /** | |||||
| 43 | * Get s the expi ring conse nt directi ves with s ome demogr aphic info rmation. | |||||
| 44 | * | |||||
| 45 | * @pa ram consen tDirective Expiration Request | |||||
| 46 | * @re turn a col lection of DetailedC onsentDire ctives tha t will exp ire within daysTilEx piration d ays | |||||
| 47 | */ | |||||
| 48 | Collec tion<Detai ledConsent Directive> getExpiri ngPatientD etailedCon sentDirect ives( | |||||
| 49 | Co nsentDirec tiveDetail edExpirati onRequest consentDir ectiveExpi rationRequ est); | |||||
| 50 | ||||||
| 51 | /** | |||||
| 52 | * Get s the acti ve consent directive for the p atient. Th e current implementa tion is on ly support s a single active co nsent dire ctive at a | |||||
| 53 | * tim e. | |||||
| 54 | * | |||||
| 55 | * @pa ram patien tIens The known ente rprise ide ntifiers f or the pat ient. | |||||
| 56 | * @pa ram consen tType The specific t ype of con sent direc tive being requested . | |||||
| 57 | * @re turn The a ctive cons ent direct ive. | |||||
| 58 | */ | |||||
| 59 | Consen tDirective getActive ConsentDir ective(Col lection<St ring> pati entIens, | |||||
| 60 | Co nsentType consentTyp e); | |||||
| 61 | ||||||
| 62 | /** | |||||
| 63 | * Get s the list of active consent d irectives known for the patien t. | |||||
| 64 | * | |||||
| 65 | * @pa ram patien tIens The known pati ent enterp rise ident ifiers for the patie nt. | |||||
| 66 | * @re turn The a ctive cons ent direct ive. | |||||
| 67 | */ | |||||
| 68 | Collec tion<Conse ntDirectiv e> getActi veConsentD irectives( | |||||
| 69 | Co llection<S tring> pat ientIens); | |||||
| 70 | ||||||
| 71 | /** | |||||
| 72 | * Get s the list of allowe d function al roles s upported b y the ente rprise. | |||||
| 73 | * | |||||
| 74 | * @re turn The l ist of all owed funct ional role s. | |||||
| 75 | */ | |||||
| 76 | Collec tion<Funct ionalRole> getAllowe dFunctiona lRoles(); | |||||
| 77 | ||||||
| 78 | /** | |||||
| 79 | * Get s the list of curren t partner organizati ons sharin g informat ion on the NwHIN. | |||||
| 80 | * | |||||
| 81 | * @re turn The l ist of all owed organ izations. | |||||
| 82 | */ | |||||
| 83 | Collec tion<Organ ization> g etAllowedO rganizatio ns(); | |||||
| 84 | ||||||
| 85 | /** | |||||
| 86 | * Get s if a par tner organ ization is a trusted clinical source or not. | |||||
| 87 | * | |||||
| 88 | * @re turn If a partner or ganization is a trus ted clinic al source or not. | |||||
| 89 | */ | |||||
| 90 | Boolea n getIsOrg anizationT rustedSour ce(String organizati onId); | |||||
| 91 | ||||||
| 92 | /** | |||||
| 93 | * Get s the list of curren t non-cons umer-only partner or ganization s sharing informatio n on the N wHIN. | |||||
| 94 | * | |||||
| 95 | * @re turn The l ist of all owed non c onsumer on ly organiz ations. | |||||
| 96 | */ | |||||
| 97 | Collec tion<Organ ization> g etAllowedN onConsumer OnlyOrgani zations(); | |||||
| 98 | ||||||
| 99 | /** | |||||
| 100 | * Get s the list of curren t consumer -only part ner organi zations sh aring info rmation on the NwHIN . | |||||
| 101 | * | |||||
| 102 | * @re turn The l ist of all owed consu mer only o rganizatio ns. | |||||
| 103 | */ | |||||
| 104 | Collec tion<Organ ization> g etAllowedC onsumerOnl yOrganizat ions(); | |||||
| 105 | ||||||
| 106 | /** | |||||
| 107 | * Get s the list of allowe d purposes of use cu rrently su pported by the enter prise. | |||||
| 108 | * | |||||
| 109 | * @re turn The l ist of pur poses of u ses. | |||||
| 110 | */ | |||||
| 111 | Collec tion<Purpo seOfUse> g etAllowedP urposeOfUs e(); | |||||
| 112 | ||||||
| 113 | /** | |||||
| 114 | * Get s the list of VistA Facilities that are currently allowed to participa te in the NwHIN exch ange. | |||||
| 115 | * | |||||
| 116 | * @re turn The l ist of fac ilities cu rrently pa rticipatin g. | |||||
| 117 | */ | |||||
| 118 | Collec tion<Facil ity> getAl lowedVistA Facilities (); | |||||
| 119 | ||||||
| 120 | /** | |||||
| 121 | * Ret urns the a ssigning a uthority n ame given the OID. | |||||
| 122 | * | |||||
| 123 | * @pa ram oid Th e OID of t he assigni ng authori ty. | |||||
| 124 | * @re turn The n ame of the assigning authority . | |||||
| 125 | */ | |||||
| 126 | String getAuthor ityName(St ring oid); | |||||
| 127 | ||||||
| 128 | /** | |||||
| 129 | * Get s the sing le patient document of a parti cular type associate d with the consent d irective ( i.e. OPT-I N / OPT-OU T) | |||||
| 130 | * | |||||
| 131 | * @pa ram consen tDirective The conse nt directi ve that th e document is associ ated with. | |||||
| 132 | * @pa ram patien tDocumentT ype The ty pe of docu ment being requested . | |||||
| 133 | * @re turn The p atient doc ument of t he specifi ed type as sociated w ith the co nsent dire ctive. | |||||
| 134 | */ | |||||
| 135 | Patien tDocument getConsent DirectiveD ocumentByT ype( | |||||
| 136 | Co nsentDirec tive conse ntDirectiv e, | |||||
| 137 | Pa tientDocum entType pa tientDocum entType); | |||||
| 138 | ||||||
| 139 | /** | |||||
| 140 | * Get s the list of docume nts associ ated with a consent directive. | |||||
| 141 | * | |||||
| 142 | * @pa ram consen tDirective The conse nt directi ve that th e document s are asso ciated wit h. | |||||
| 143 | * @re turn The l ist of all documents associate d with a c onsent dir ective. | |||||
| 144 | */ | |||||
| 145 | Collec tion<Patie ntDocument > getConse ntDirectiv eDocuments ( | |||||
| 146 | Co nsentDirec tive conse ntDirectiv e); | |||||
| 147 | ||||||
| 148 | /** | |||||
| 149 | * Ret urns a his torical li st of the patient's consent hi story. | |||||
| 150 | * | |||||
| 151 | * @pa ram patien tIens The known nati onal patie nt identif iers of th e patient whose cons ent histor y is being requested . | |||||
| 152 | * @re turn The c onsent his tory of th e patient. | |||||
| 153 | */ | |||||
| 154 | Collec tion<Conse ntDirectiv e> getCons entHistory (Collectio n<String> patientIen ); | |||||
| 155 | ||||||
| 156 | /** | |||||
| 157 | * Get s the cons ent type t hat corres ponds to t he name. | |||||
| 158 | * | |||||
| 159 | * @pa ram name T he name of the conse nt type re quested. | |||||
| 160 | * @re turn The c onsent typ e. | |||||
| 161 | */ | |||||
| 162 | public ConsentTy pe getCons entTypeByN ame(String name); | |||||
| 163 | ||||||
| 164 | /** | |||||
| 165 | * Get s a VA Fac ility by S tation Num ber.. | |||||
| 166 | * | |||||
| 167 | * @pa ram id A s tation Num ber such a s 983, ass igned by ? ?? | |||||
| 168 | * @re turn A Fac ility corr esponding to Station Number. | |||||
| 169 | */ | |||||
| 170 | public Facility getFacilit yByStation Id(String id); | |||||
| 171 | ||||||
| 172 | /** | |||||
| 173 | * Get s a VA Loc ation by C ode.. | |||||
| 174 | * | |||||
| 175 | * @pa ram locati onCode A l ocation co de such as ISL, ISW, SLC etc. | |||||
| 176 | * @re turn A loc ation corr esponding to locatio n codes. | |||||
| 177 | */ | |||||
| 178 | public Location getLocatio nByCode(St ring locat ionCode); | |||||
| 179 | ||||||
| 180 | /** | |||||
| 181 | * Get s the list of availa ble opt-ou t reasons that the u ser has av ailable to choose fr om when pr ocessing a n opt-out or revocat ion | |||||
| 182 | * req uest. | |||||
| 183 | * | |||||
| 184 | * @re turn The l ist of all owed out-o ut reasons . | |||||
| 185 | */ | |||||
| 186 | Collec tion<Optou tReason> g etOptoutRe asons(); | |||||
| 187 | ||||||
| 188 | /** | |||||
| 189 | * Get s the orga nization w ith the gi ven identi fier; othe rwise retu rns null. | |||||
| 190 | * | |||||
| 191 | * @pa ram id The identifie r of the o rganizatio n to be re trieved. | |||||
| 192 | * @re turn The o rganizatio n with the given ide ntifier. | |||||
| 193 | */ | |||||
| 194 | public Organizat ion getOrg anizationB yId(Long i d); | |||||
| 195 | ||||||
| 196 | /** | |||||
| 197 | * Get s the orga nization w ith the gi ven object identifie r; otherwi se returns null. | |||||
| 198 | * | |||||
| 199 | * @pa ram id The object id entifier o f the orga nization t o be retri eved. | |||||
| 200 | * @re turn The o rganizatio n with the given obj ect identi fier. | |||||
| 201 | */ | |||||
| 202 | public Organizat ion getOrg anizationB yOid(Strin g orgOid); | |||||
| 203 | ||||||
| 204 | /** | |||||
| 205 | * Get the stand ardized pa tient docu ment types . | |||||
| 206 | * | |||||
| 207 | * @re turn the p atient doc ument type s | |||||
| 208 | */ | |||||
| 209 | Collec tion<Patie ntDocument Type> getP atientDocu mentTypes( ); | |||||
| 210 | ||||||
| 211 | /** | |||||
| 212 | * A c ourse grai ned method for getti ng all con straints r equired to perform a policy ch eck within the polic y decision point eng ine. | |||||
| 213 | * | |||||
| 214 | * @pa ram patien tIens The known ente rprise ide ntifiers f or the pat ient. | |||||
| 215 | * @re turn The s ingle poli cy constra int for th e patient. | |||||
| 216 | */ | |||||
| 217 | Policy Constraint s getPolic yConstrain ts(Collect ion<String > patientI ens, | |||||
| 218 | Co nsentType consentTyp e); | |||||
| 219 | ||||||
| 220 | /** | |||||
| 221 | * Sto res the co nsent dire ctive. | |||||
| 222 | * | |||||
| 223 | * @pa ram consen tDirective The conse nt directi ve to be p ersisted. | |||||
| 224 | */ | |||||
| 225 | void s toreConsen tDirective (ConsentDi rective co nsentDirec tive); | |||||
| 226 | ||||||
| 227 | /** | |||||
| 228 | * Sto res the or ganization into the persistent organizat ion store. | |||||
| 229 | * | |||||
| 230 | * @pa ram organi zation The organizat ion to be persisted. | |||||
| 231 | */ | |||||
| 232 | public void stor eOrganizat ion(Organi zation org anization) ; | |||||
| 233 | ||||||
| 234 | /** | |||||
| 235 | * Sto res the pa tient docu ment in th e persiste nt store. | |||||
| 236 | * | |||||
| 237 | * @pa ram patien tDocument The docume nt to stor e. | |||||
| 238 | */ | |||||
| 239 | void s torePatien tDocument( PatientDoc ument pati entDocumen t); | |||||
| 240 | ||||||
| 241 | /** | |||||
| 242 | * Upd ate the pa tient docu ment in th e persiste nt store. | |||||
| 243 | * | |||||
| 244 | * @pa ram patien tDocument The docume nt to stor e. | |||||
| 245 | */ | |||||
| 246 | void u pdatePatie ntDocument (PatientDo cument pat ientDocume nt); | |||||
| 247 | ||||||
| 248 | Purpos eOfUse get PurposeOfU seByValue( final Stri ng name); | |||||
| 249 | ||||||
| 250 | public ExpiringC onsentConf iguration getExpirin gConsentCo nfiguratio n(); | |||||
| 251 | ||||||
| 252 | public void upda teExpiring ConsentCon figuration (ExpiringC onsentConf iguration config); | |||||
| 253 | ||||||
| 254 | Collec tion<Facil ityOptInCo nsent> get Authorized ConsentFor Summary(); | |||||
| 255 | ||||||
| 256 | public Collectio n<Announce mentOrg> g etAllAnnou ncementOrg s(); | |||||
| 257 | ||||||
| 258 | public void stor eAnnouncem entOrg(Ann ouncementO rg announc eOrg); | |||||
| 259 | ||||||
| 260 | public void upda teAnnounce mentOrg(An nouncement Org announ ceOrg); | |||||
| 261 | ||||||
| 262 | public Collectio n<Announce mentOrg> g etAnnounce mentOrgsBy Announceme nt(Announc ement anno uncement); | |||||
| 263 | ||||||
| 264 | public Collectio n<ConsentD irective> getRecentl yExpiredCo nsent(); | |||||
| 265 | ||||||
| 266 | public ConsentDi rective ge tConsentDi rective(Lo ng id); | |||||
| 267 | ||||||
| 268 | public Facility getFacilit yByName(St ring facil ityName); | |||||
| 269 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.