134. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/4/2017 8:04:37 AM Central 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.

134.1 Files compared

# Location File Last Modified
1 rdk.zip\rdk\product\production\rdk\src\write\orders orders-resources.md Mon Aug 21 12:51:00 2017 UTC
2 rdk.zip\rdk\product\production\rdk\src\write\orders orders-resources.md Tue Oct 3 19:05:37 2017 UTC

134.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 5 848
Changed 4 12
Inserted 0 0
Removed 0 0

134.3 Comparison options

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

134.4 Active regular expressions

No regular expressions were active.

134.5 Comparison detail

  1   # Group Or ders
  2  
  3   ## Orders  Writeback  API [{{{pa th}}}]
  4  
  5   This API p rovides or ders write back resou rces.
  6  
  7   ### Create  [POST {{{ path}}}/la b]
  8  
  9   Create a n ew order i n the Vist A.  Reques t JSON bod y contains  all the u ser inputs .  Additio nal fields  are requi red based  on the use r's order  selection.
  10  
  11   + Paramete rs
  12  
  13           :[ pid]({{{co mmon}}}/pa rameters/p id.md)
  14  
  15   + Request  JSON Body  (applicati on/json)
  16  
  17       + Body
  18  
  19                {
  20                    "dfn ": "100615 ",
  21                    "pro vider": "1 0000000238 ",
  22                    "loc ation": "2 85",
  23                    "ord erDialog":  "LR OTHER  LAB TESTS ",
  24                    "dis playGroup" : "5",
  25                    "qui ckOrderDia log": "2",
  26                    "inp utList": [ {
  27                             "input Key": "4",
  28                             "input Value": "5 48"
  29                    }, {
  30                             "input Key": "126 ",
  31                             "input Value": "7 "
  32                    }, {
  33                             "input Key": "127 ",
  34                             "input Value": "7 3"
  35                    }, {
  36                             "input Key": "180 ",
  37                             "input Value": "9 "
  38                    }, {
  39                             "input Key": "28" ,
  40                             "input Value": "S P"
  41                    }, {
  42                             "input Key": "6",
  43                             "input Value": "T ODAY"
  44                    }, {
  45                             "input Key": "29" ,
  46                             "input Value": "2 8"
  47                    }],
  48                    "com mentList":  [{
  49                             "comme nt": "~For  Test: PTT "
  50                    }, {
  51                             "comme nt": "~ANT ICOAGULANT : foo"
  52                    }],
  53                    "kin d": "Labor atory"
  54                }
  55  
  56   + Response  200 (appl ication/js on)
  57  
  58       + Body
  59  
  60                {
  61                    "dat a": {
  62                         "status":  200,
  63                         "data": "{ \"content\ ":\"AMIKAC IN BLOOD    SERUM SP\ \r\\n~For  Test: AMIK ACIN ~Dose  is expect ed to be a t &UNKNOWN  level. ad ditional c omment *UN SIGNED*\\r \\n\",\"di splayGroup \":\"CH\", \"entered\ ":20160211 1850,\"fac ilityCode\ ":500,\"fa cilityName \":\"CAMP  MASTER\",\ "lastUpdat eTime\":20 1602111850 53,\"local Id\":39208 ,\"locatio nName\":\" DIABETIC\" ,\"locatio nUid\":\"u rn:va:loca tion:9E7A: 285\",\"na me\":\"AMI KACIN\",\" oiCode\":\ "urn:va:oi :1191\",\" oiName\":\ "AMIKACIN\ ",\"oiPack ageRef\":\ "1302;99LR T\",\"prov iderName\" :\"EHMP,UA TFOUR\",\" providerUi d\":\"urn: va:user:9E 7A:1000000 0238\",\"s ervice\":\ "LR\",\"st ampTime\": 2016021118 5053,\"sta rt\":\"\", \"statusCo de\":\"urn :va:order- status:unr \",\"statu sName\":\" UNRELEASED \",\"statu sVuid\":\" urn:va:vui d:4501124\ ",\"stop\" :\"\",\"ui d\":\"urn: va:order:9 E7A:100615 :39208\"}"
  64                    },
  65                    "sta tus": 200
  66                }
  67  
  68   :[Response  400]({{{c ommon}}}/r esponses/4 00.md)
  69  
  70   :[Response  500]({{{c ommon}}}/r esponses/5 00.md)
  71  
  72   ### Detail  [GET {{{p ath}}}/det ail-lab/:r esourceId]
  73  
  74   Order deta il is retr ieved from  VistA.
  75  
  76   + Paramete rs
  77  
  78           :[ pid]({{{co mmon}}}/pa rameters/p id.md)
  79  
  80   + Response  200 (appl ication/js on)
  81  
  82       + Body
  83  
  84                {
  85                    "dat a": {
  86                         "status":  200,
  87                         "data": "A MIKACIN BL OOD   SERU M LC\r\n~F or Test: A MIKACIN ~D ose is exp ected to b e at &UNKN OWN level.  additiona l\r\ncomme nt *UNSIGN ED*\r\n    \r\nActivi ty:\r\n02/ 11/2016 18 :50  New O rder enter ed by XIU, MARGARET\r \n     Ord er Text:         AMIK ACIN BLOOD    SERUM L C\r\n                          ~ For Test:  AMIKACIN ~ Dose is ex pected to  be at &UNK NOWN level . addition al\r\n                           comment\r\ n     Natu re of Orde r:   ELECT RONICALLY  ENTERED\r\ n     Orde red by:         EHMP, UATFOUR (P hysician)\ r\n     Si gnature:          NOT  SIGNED\r\ n   \r\nCu rrent Data :\r\nTreat ing Specia lty:            \r\nO rdering Lo cation:             D IABETIC\r\ nStart Dat e/Time:                \r\nStop  Date/Time:                 \r\nC urrent Sta tus:                U NRELEASED\ r\n  Order s that hav e not been  released  to the ser vice for a ction.\r\n Order #392 08\r\n   \ r\nOrder:\ r\nLab Tes t:                       AMIKACI N \r\nColl ected By:                   Lab  blood team  \r\nColle ction Samp le:             BLOOD   \r\nSpec imen:                       SERU M \r\nColl ection Dat e/Time:          TODA Y \r\nUrge ncy:                        ROUT INE \r\nCo mments:                       \r \n  ~For T est: AMIKA CIN\r\n  ~ Dose is ex pected to  be at &UNK NOWN level .\r\n  add itional co mment\r\nH ow often:                      O NE TIME \r \n   \r\nO rder Check s:\r\nHIGH :       Du plicate or der: AMIKA CIN BLOOD    SERUM SP   [UNRELEA SED]\r\n"
  88                    },
  89                    "sta tus": 200
  90                }
  91  
  92   :[Response  400]({{{c ommon}}}/r esponses/4 00.md)
  93  
  94   :[Response  500]({{{c ommon}}}/r esponses/5 00.md)
  95  
  96  
  97   ### Sign D etails [PO ST {{{path }}}/sign-d etails-lab ]
  98  
  99   Retrieve s ign order  detail fro m the Vist A.  First,  check to  see order  is still s ignable.   Next, fetc h order de tails and  order chec ks.
  100  
  101   + Paramete rs
  102  
  103           :[ pid]({{{co mmon}}}/pa rameters/p id.md)
  104  
  105   + Request  JSON Body  (applicati on/json)
  106  
  107       + Body
  108  
  109                {
  110                    "dfn ": "100716 ",
  111                    "pro vider": "1 0000000271 ",
  112                    "ord erIds": [
  113                    "390 28;1"
  114                    ]
  115                }
  116  
  117  
  118   + Response  200 (appl ication/js on)
  119  
  120       + Body
  121  
  122                {
  123                    "sta tus": 200,
  124                    "dat a": [
  125                         {
  126                             "order Id": "3902 8;1",
  127                             "detai l": "CREAT ININE BLOO D   SERUM  SP\r\n   \ r\nActivit y:\r\n10/0 1/2015 10: 44  New Or der entere d by PROGR AMMER,ONE  (COMPUTER  SPECIA)\r\ n     Orde r Text:         CREAT ININE BLOO D   SERUM  SP\r\n      Nature of  Order:    ELECTRONIC ALLY ENTER ED\r\n      Ordered b y:         PROGRAMMER ,ONE (COMP UTER SPECI A)\r\n      Signature :          NOT REQUIR ED DUE TO  SERVICE CA NCEL/LAPSE \r\n   \r\ nCurrent D ata:\r\nCu rrent Prim ary Provid er:     PR OVIDER,EHM P\r\nCurre nt Attendi ng Physici an:  GUPTA ,POONAM\r\ nTreating  Specialty:             \r\nOrder ing Locati on:             GENER AL MEDICIN E\r\nStart  Date/Time :               \r\nS top Date/T ime:                \ r\nCurrent  Status:                 LAPSED\ r\n  Order s that rem ain pendin g beyond t heir start  date, by  a site \r\ n  defined  number of  days; unr eleased or ders that  meet this  same \r\n   criteria  will be re moved from  the syste m.\r\nOrde r #39028\r \n   \r\nO rder:\r\nL ab Test:                       C REATININE  \r\nCollec ted By:                   Send p atient to  lab \r\nCo llection S ample:             BL OOD  \r\nS pecimen:                       S ERUM \r\nC ollection  Date/Time:          T ODAY \r\nU rgency:                        R OUTINE \r\ n   \r\n",
  128                             "hash" : "975bfeb 2655a73f11 8465a06f82 6c4b5"
  129                         }
  130                    ]
  131                }
  132  
  133   :[Response  400]({{{c ommon}}}/r esponses/4 00.md)
  134  
  135   :[Response  500]({{{c ommon}}}/r esponses/5 00.md)
  136  
  137  
  138   ### Discon tinue Deta ils [POST  {{{path}}} /discontin ue-details -lab]
  139  
  140   Retrieve d iscontinue  order det ail from t he VistA.   First, ch eck to see  order is  still disc ontinuable .  Next, f etch order  details.
  141  
  142   + Paramete rs
  143  
  144           :[ pid]({{{co mmon}}}/pa rameters/p id.md)
  145  
  146   + Request  JSON Body  (applicati on/json)
  147  
  148       + Body
  149  
  150                {
  151                    "dfn ": "100716 ",
  152                    "pro vider": "1 0000000271 ",
  153                    "ord erIds": [
  154                    "390 28;1"
  155                    ]
  156                }
  157  
  158   + Response  200 (appl ication/js on)
  159  
  160       + Body
  161  
  162                {
  163                    "sta tus": 200,
  164                    "dat a": [
  165                         {
  166                             "order Id": "3902 8;1",
  167                             "detai l": "CREAT ININE BLOO D   SERUM  SP\r\n   \ r\nActivit y:\r\n10/0 1/2015 10: 44  New Or der entere d by PROGR AMMER,ONE  (COMPUTER  SPECIA)\r\ n     Orde r Text:         CREAT ININE BLOO D   SERUM  SP\r\n      Nature of  Order:    ELECTRONIC ALLY ENTER ED\r\n      Ordered b y:         PROGRAMMER ,ONE (COMP UTER SPECI A)\r\n      Signature :          NOT REQUIR ED DUE TO  SERVICE CA NCEL/LAPSE \r\n   \r\ nCurrent D ata:\r\nCu rrent Prim ary Provid er:     PR OVIDER,EHM P\r\nCurre nt Attendi ng Physici an:  GUPTA ,POONAM\r\ nTreating  Specialty:             \r\nOrder ing Locati on:             GENER AL MEDICIN E\r\nStart  Date/Time :               \r\nS top Date/T ime:                \ r\nCurrent  Status:                 LAPSED\ r\n  Order s that rem ain pendin g beyond t heir start  date, by  a site \r\ n  defined  number of  days; unr eleased or ders that  meet this  same \r\n   criteria  will be re moved from  the syste m.\r\nOrde r #39028\r \n   \r\nO rder:\r\nL ab Test:                       C REATININE  \r\nCollec ted By:                   Send p atient to  lab \r\nCo llection S ample:             BL OOD  \r\nS pecimen:                       S ERUM \r\nC ollection  Date/Time:          T ODAY \r\nU rgency:                        R OUTINE \r\ n   \r\n",
  168                             "hash" : "975bfeb 2655a73f11 8465a06f82 6c4b5"
  169                         }
  170                    ]
  171                }
  172  
  173   :[Response  400]({{{c ommon}}}/r esponses/4 00.md)
  174  
  175   :[Response  500]({{{c ommon}}}/r esponses/5 00.md)
  176  
  177  
  178   ### Discon tinue [DEL ETE {{{pat h}}}/disco ntinue-lab ]
  179  
  180   Discontinu e order fr om the Vis tA.  First , lock pat ient.  Sec ond, lock  orders.  T hird, fetc h each ord er detail  and compar e hash.  F ourth, dis continue o rders.  Fi fth, unloc k orders.   Last, unl ock patien t.
  181  
  182   + Paramete rs
  183  
  184           :[ pid]({{{co mmon}}}/pa rameters/p id.md)
  185  
  186   + Request  JSON Body  (applicati on/json)
  187  
  188       + Body
  189  
  190                {
  191                    "dfn ": "100716 ",
  192                    "pro vider": "1 0000000271 ",
  193                    "loc ation": "1 29",
  194                    "kin d": "Labor atory",
  195                    "ord erList": [ {
  196                             "order Id": "3902 8;1",
  197                             "hash" : "975bfeb 2655a73f11 8465a06f82 6c4b5"
  198                    }]
  199                }
  200  
  201   + Response  200 (appl ication/js on)
  202  
  203       + Body
  204  
  205                {
  206                    "sta tus": 200,
  207                    "dat a": {
  208                         "39028;1":  true
  209                    }
  210                }
  211  
  212   :[Response  400]({{{c ommon}}}/r esponses/4 00.md)
  213  
  214   :[Response  500]({{{c ommon}}}/r esponses/5 00.md)
  215  
  216  
  217   ### Sign [ POST {{{pa th}}}/sign -lab]
  218  
  219   Sing order  in the Vi stA.  Firs t, validat e signatur e.  Second , lock pat ient.  Thi rd, lock o rders.  Th ird, fetch  each orde r detail a nd compare  hash.  Fo urth, save  order che ck.  Fifth , sign ord ers.  Sixt h, unlock  order.  La st, unlock  patient.
  220  
  221   + Paramete rs
  222  
  223           :[ pid]({{{co mmon}}}/pa rameters/p id.md)
  224  
  225   + Request  JSON Body  (applicati on/json)
  226  
  227       + Body
  228  
  229                {
  230                    "kin d": "Labor atory",
  231                    "pro vider": "1 0000000271 ",
  232                    "dfn ": "100615 ",
  233                    "loc ation": "2 85",
  234                      "eSig": " PL      !!",
  235                    "ord erList": [ {
  236                             "order Id": "3920 9;1",
  237                             "order DetailHash ": "2443ff 804e510680 ab1fae863c b01ae9"
  238                    }],
  239                    "ove rrideReaso n": "overr ide reason "
  240                }
  241  
  242   + Response  200 (appl ication/js on)
  243  
  244       + Body
  245  
  246                {
  247                    "sta tus": 200,
  248                    "dat a": [
  249                         {
  250                             "order Id": "3920 9;1",
  251                             "succe ss": true
  252                         }
  253                    ]
  254                }
  255  
  256   :[Response  400]({{{c ommon}}}/r esponses/4 00.md)
  257  
  258   :[Response  500]({{{c ommon}}}/r esponses/5 00.md)
  259  
  260  
  261   ### Save D raft [POST  {{{path}} }/save-dra ft-lab]
  262  
  263   Save Draft  order to  pJDS.  Use  this reso urce to cr eate/updat e draft or der.
  264  
  265   + Paramete rs
  266  
  267           :[ pid]({{{co mmon}}}/pa rameters/p id.md)
  268  
  269   + Request  JSON Body  (applicati on/json)
  270  
  271       + Body
  272  
  273                {
  274                    "pat ientUid":  "9E7A;1007 16",
  275                    "aut horUid": " Something" ,
  276                    "dom ain": "ord er",
  277                    "ehm pState": " draft",
  278                    "sub Domain": " laboratory ",
  279                    "vis it": {
  280                         "location" : "Ren",
  281                         "serviceCa tegory": " I'm not bl ank",
  282                         "dateTime" : "asdfads fasdf"
  283                    },
  284                    "dat a": {
  285                         "updated":  "20160101 0111",
  286                         "totalItem s": "1",
  287                         "currentIt emCount":  "1",
  288                         "items": [ {
  289                             "field 1": "field 2"
  290                         }]
  291                    }
  292                }
  293  
  294   + Response  200 (appl ication/js on)
  295  
  296       + Body
  297  
  298                {
  299                    "sta tus": 200,
  300                    "dat a": {
  301                         "statusCod e": 201,
  302                         "headers":  {
  303                             "date" : "Fri, 12  Feb 2016  22:28:31 G MT",
  304                               "location" : "http:// IP                /clinicobj /urn:va:eh mp:9E7A;10 0716:54a05 0c5-86e4-4 4df-a184-a c9d1fb52f7 a",
  305                             "conte nt-type":  "applicati on/json",
  306                             "conte nt-length" : "0"
  307                         },
  308                         "request":  {
  309                             "uri":  {
  310                                 "p rotocol":  "http:",
  311                                 "s lashes": t rue,
  312                                 "a uth": null ,
  313                                   "host": " IP                ",
  314                                   "port": " PORT ",
  315                                   "hostname" : " IP          ",
  316                                 "h ash": null ,
  317                                 "s earch": nu ll,
  318                                 "q uery": nul l,
  319                                 "p athname":  "/clinicob j",
  320                                 "p ath": "/cl inicobj",
  321                                   "href": "h ttp:// IP                /clinicobj "
  322                             },
  323                             "metho d": "POST" ,
  324                             "heade rs": {
  325                                 "a ccept": "a pplication /json",
  326                                 "c ontent-typ e": "appli cation/jso n",
  327                                 "c ontent-len gth": 374
  328                             }
  329                         }
  330                    }
  331                }
  332  
  333   :[Response  400]({{{c ommon}}}/r esponses/4 00.md)
  334  
  335   :[Response  500]({{{c ommon}}}/r esponses/5 00.md)
  336  
  337   ### Find D raft [POST  {{{path}} }/find-dra ft]
  338  
  339   Find Draft  orders fr om pJDS.   Use this r esource to  find a li st of draf t orders.
  340  
  341   + Paramete rs
  342  
  343       :[pid] ({{{common }}}/parame ters/pid.m d)
  344  
  345   + Request  JSON Body  (applicati on/json)
  346  
  347       + Body
  348  
  349                {
  350                    "pat ientUid":  "9E7A;1006 00",
  351                    "aut horUid": " Something1 0"
  352                }
  353  
  354   + Response  200 (appl ication/js on)
  355  
  356       + Body
  357  
  358                {
  359                    "sta tus": 200,
  360                    "dat a": {
  361                         "items": [ {
  362                             "autho rUid": "So mething10" ,
  363                             "creat ionDateTim e": "20160 219193105+ 0000",
  364                             "data" : {
  365                                 "c urrentItem Count": "1 ",
  366                                 "i tems": [
  367                                      {
  368                                       "field1 ": "field2 "
  369                                      }
  370                                 ],
  371                                 "t otalItems" : "1",
  372                                 "u pdated": " 2016010101 11"
  373                             },
  374                             "domai n": "order ",
  375                             "ehmpS tate": "dr aft",
  376                             "patie ntUid": "9 E7A;100600 ",
  377                             "subDo main": "la boratory",
  378                             "uid":  "urn:va:e hmp-order: 9E7A;10060 0:b3b57db4 -0dd4-4aeb -ab8b-9f9b 1ae8ea94",
  379                             "visit ": {
  380                                 "d ateTime":  "asdfadsfa sdf",
  381                                 "l ocation":  "Ren",
  382                                 "s erviceCate gory": "I' m not blan k"
  383                             }
  384                         }]
  385                    }
  386                }
  387  
  388   :[Response  400]({{{c ommon}}}/r esponses/4 00.md)
  389  
  390   :[Response  500]({{{c ommon}}}/r esponses/5 00.md)
  391  
  392   ### Read D raft [GET  {{{path}}} /read-draf t/:resourc eId]
  393  
  394   Read a Dra ft order f rom pJDS,  based on a  clinical  object UID .
  395  
  396   + Paramete rs
  397  
  398       :[pid] ({{{common }}}/parame ters/pid.m d)
  399           +  resourceId  (string,  required)  - Draft or der clinic al object  UID
  400  
  401   + Response  200 (appl ication/js on)
  402  
  403       + Body
  404  
  405                {
  406                    "sta tus": 200,
  407                    "dat a": {
  408                         "items": [ {
  409                             "autho rUid": "So mething10" ,
  410                             "creat ionDateTim e": "20160 219193105+ 0000",
  411                             "data" : {
  412                                 //  Draft ord er attribu tes
  413                             },
  414                             "domai n": "order  | activit y",
  415                             "ehmpS tate": "dr aft",
  416                             "patie ntUid": "9 E7A;100600 ",
  417                             "subDo main": "la boratory |  consult |  request",
  418                             "uid":  "<<resour ceId param eter value >>",
  419                             "visit ": {
  420                                 "d ateTime":  "asdfadsfa sdf",
  421                                 "l ocation":  "Ren",
  422                                 "s erviceCate gory": "I' m not blan k"
  423                             }
  424                         }]
  425                    }
  426                }
  427  
  428   :[Response  400]({{{c ommon}}}/r esponses/4 00.md)
  429  
  430   :[Response  500]({{{c ommon}}}/r esponses/5 00.md)