Produced by Araxis Merge on 6/9/2017 3:49:49 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:49:49 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-client\src\main\java\gov\va\nvap\service\privacy | ConsentManagementService.java | Fri Apr 21 20:03:26 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 107 |
| 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 | package go v.va.nvap. service.pr ivacy; | |||||
| 2 | ||||||
| 3 | import gov .va.nvap.p rivacy.Con sentDirect iveAuthori zationRequ est; | |||||
| 4 | import gov .va.nvap.p rivacy.Con sentDirect iveAuthori zationResp onse; | |||||
| 5 | import gov .va.nvap.p rivacy.Con sentDirect iveDetaile dExpiratio nRequest; | |||||
| 6 | import gov .va.nvap.p rivacy.Con sentDirect iveDetaile dExpiratio nResponse; | |||||
| 7 | import gov .va.nvap.p rivacy.Con sentDirect iveDocumen tRetrieveR equest; | |||||
| 8 | import gov .va.nvap.p rivacy.Con sentDirect iveDocumen tRetrieveR esponse; | |||||
| 9 | import gov .va.nvap.p rivacy.Con sentDirect iveQueryRe quest; | |||||
| 10 | import gov .va.nvap.p rivacy.Con sentDirect iveQueryRe sponse; | |||||
| 11 | import gov .va.nvap.p rivacy.Con sentDirect iveRevocat ionRequest ; | |||||
| 12 | import gov .va.nvap.p rivacy.Con sentDirect iveRevocat ionRespons e; | |||||
| 13 | import gov .va.nvap.p rivacy.Con sentDirect iveUpdateR equest; | |||||
| 14 | import gov .va.nvap.p rivacy.Con sentDirect iveUpdateR esponse; | |||||
| 15 | import gov .va.nvap.p rivacy.Org anizationT rustedSour ceRequest; | |||||
| 16 | import gov .va.nvap.p rivacy.Org anizationT rustedSour ceResponse ; | |||||
| 17 | import gov .va.nvap.p rivacy.Org anizations QueryReque st; | |||||
| 18 | import gov .va.nvap.p rivacy.Org anizations QueryRespo nse; | |||||
| 19 | import gov .va.nvap.p rivacy.Res trictionsQ ueryReques t; | |||||
| 20 | import gov .va.nvap.p rivacy.Res trictionsQ ueryRespon se; | |||||
| 21 | import gov .va.nvap.p rivacy.Sta tusQueryRe quest; | |||||
| 22 | import gov .va.nvap.p rivacy.Sta tusQueryRe sponse; | |||||
| 23 | ||||||
| 24 | /** | |||||
| 25 | * Consent Managemen t Service. | |||||
| 26 | * | |||||
| 27 | * @author Asha Amri traj | |||||
| 28 | */ | |||||
| 29 | public int erface Con sentManage mentServic e { | |||||
| 30 | ||||||
| 31 | /* * | |||||
| 32 | * Get the d ocuments a ssociated with a con sent direc tive. Ther e could be 3 | |||||
| 33 | * documents that are associated with a co nsent dire ctive, | |||||
| 34 | * OPT-IN/OP T-OUT/EXPI RED. | |||||
| 35 | * / | |||||
| 36 | pu blic Conse ntDirectiv eDocumentR etrieveRes ponse getC onsentDire ctiveDocum ents( | |||||
| 37 | Consen tDirective DocumentRe trieveRequ est consen tDirective DocumentRe trieveRequ est) | |||||
| 38 | throws ConsentMa nagementSe rviceExcep tion; | |||||
| 39 | ||||||
| 40 | /* * | |||||
| 41 | * Get the c onsent dir ective for a patient . Has a fl ag to get just the | |||||
| 42 | * ACTIVE or ALL conse nt directi ves for th e patient. | |||||
| 43 | * / | |||||
| 44 | pu blic Conse ntDirectiv eQueryResp onse getCo nsentDirec tives( | |||||
| 45 | Consen tDirective QueryReque st consent DirectiveQ ueryReques t) | |||||
| 46 | throws ConsentMa nagementSe rviceExcep tion; | |||||
| 47 | ||||||
| 48 | /* * | |||||
| 49 | * Get the l ist of org anizations . A conven ience meth od to get the allowe d | |||||
| 50 | * organizat ions for d rop-down's in the GU I. | |||||
| 51 | * / | |||||
| 52 | pu blic Organ izationsQu eryRespons e getOrgan izations( | |||||
| 53 | Organi zationsQue ryRequest organizati onsQueryRe quest) | |||||
| 54 | throws ConsentMa nagementSe rviceExcep tion; | |||||
| 55 | ||||||
| 56 | /** | |||||
| 57 | * get s if a par tner organ ization is a trusted source fo r clinical informati on or not | |||||
| 58 | */ | |||||
| 59 | public Organizat ionTrusted SourceResp onse getIs Organizati onTrustedS ource(Orga nizationTr ustedSourc eRequest o rganizatio nTrustedSo urceReques t) throws ConsentMan agementSer viceExcept ion; | |||||
| 60 | ||||||
| 61 | /* * | |||||
| 62 | * Authorize a patient using a c onsent dir ective. Th is would r equire a C DA | |||||
| 63 | * R2 XML Pr ivacy Cons ent Direct ive Docume nt. | |||||
| 64 | * / | |||||
| 65 | pu blic Conse ntDirectiv eAuthoriza tionRespon se process ConsentDir ectiveAuth orization( | |||||
| 66 | Consen tDirective Authorizat ionRequest consentDi rectiveAut horization Request) | |||||
| 67 | throws ConsentMa nagementSe rviceExcep tion; | |||||
| 68 | ||||||
| 69 | /* * | |||||
| 70 | * Revoke a patient fr om authori zed. This would also require a CDA R2 XM L | |||||
| 71 | * Privacy C onsent Dir ective Doc ument. The re is also a opt-out reason fi eld | |||||
| 72 | * that is r equired. ( I have no idea why). | |||||
| 73 | * / | |||||
| 74 | pu blic Conse ntDirectiv eRevocatio nResponse processCon sentDirect iveRevocat ion( | |||||
| 75 | Consen tDirective Revocation Request co nsentDirec tiveRevoca tionReques t) | |||||
| 76 | throws ConsentMa nagementSe rviceExcep tion; | |||||
| 77 | ||||||
| 78 | /** | |||||
| 79 | * Rev oke a pati ent from a uthorized. This woul d also req uire a CDA R2 XML Pr ivacy Cons ent Direct ive Docume nt. This s econd func tion | |||||
| 80 | * all ows the de veloper to pass the old consen t specific ally and s hould only be used i n special cases (lik e expiring old conse nts.) | |||||
| 81 | */ | |||||
| 82 | public ConsentDi rectiveRev ocationRes ponse proc essOldCons entDirecti veRevocati on( | |||||
| 83 | Co nsentDirec tiveRevoca tionReques t consentD irectiveRe vocationRe quest, Obj ect oldCon sent) | |||||
| 84 | th rows Conse ntManageme ntServiceE xception; | |||||
| 85 | ||||||
| 86 | /* * | |||||
| 87 | * Update th e CDA R2 d ocument. | |||||
| 88 | * / | |||||
| 89 | pu blic Conse ntDirectiv eUpdateRes ponse proc essConsent DirectiveU pdate( | |||||
| 90 | Consen tDirective UpdateRequ est consen tDirective UpdateRequ est) | |||||
| 91 | throws ConsentMa nagementSe rviceExcep tion; | |||||
| 92 | ||||||
| 93 | pu blic Conse ntDirectiv eDetailedE xpirationR esponse ge tAllExpiri ngConsentD irectives( | |||||
| 94 | Consen tDirective DetailedEx pirationRe quest cons entDirecti veExpirati onRequest) | |||||
| 95 | throws ConsentMa nagementSe rviceExcep tion; | |||||
| 96 | ||||||
| 97 | public ConsentDi rectiveDet ailedExpir ationRespo nse getAll ExpiringDe tailedCons entDirecti ves( | |||||
| 98 | Consen tDirective DetailedEx pirationRe quest cons entDirecti veExpirati onRequest) | |||||
| 99 | throws ConsentMa nagementSe rviceExcep tion; | |||||
| 100 | ||||||
| 101 | Consen tDirective DetailedEx pirationRe sponse get Authorized ConsentFor Summary( | |||||
| 102 | final ConsentDir ectiveDeta iledExpira tionReques t consentD irectiveEx pirationRe quest) | |||||
| 103 | throws ConsentMa nagementSe rviceExcep tion; | |||||
| 104 | publi c Restrict ionsQueryR esponse ge tRestricti ons(Restri ctionsQuer yRequest r qr )throws ConsentMa nagementSe rviceExcep tion; | |||||
| 105 | publi c StatusQu eryRespons e getStatu s(StatusQu eryRequest sqr )thro ws Consent Management ServiceExc eption; | |||||
| 106 | } | |||||
| 107 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.