Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.82 KB | None | 0 0
  1. {
  2.     "denominatorQueryDetails": [
  3.         {
  4.             "rule": {
  5.                 "query": {}
  6.             },
  7.             "compiled": {},
  8.             "patients": [
  9.                 {
  10.                     "_id": "59ad4381fca19c3c42f8ea12"
  11.                 },
  12.                 {
  13.                     "_id": "59c25b75d35b0d8a5fb45038"
  14.                 }
  15.             ]
  16.         },
  17.         {
  18.             "rule": {
  19.                 "rule": {
  20.                     "tempVariables": {
  21.                         "mostRecentMedicationDateRange": {
  22.                             "replaceWithValueFrom": {
  23.                                 "from": "patient.medications",
  24.                                 "select": "dateRange"
  25.                             }
  26.                         }
  27.                     },
  28.                     "encounter.dateRange.start": {
  29.                         "greaterThan": {
  30.                             "replaceWithValue": "patient.variables.mostRecentMedicationDateRange.start"
  31.                         }
  32.                     }
  33.                 }
  34.             },
  35.             "compiled": {
  36.                 "$and": [
  37.                     {
  38.                         "_id": {
  39.                             "$in": [
  40.                                 "59ad4381fca19c3c42f8ea12",
  41.                                 "59c25b75d35b0d8a5fb45038"
  42.                             ]
  43.                         }
  44.                     },
  45.                     {
  46.                         "$or": [
  47.                             {
  48.                                 "$and": [
  49.                                     {
  50.                                         "_id": "59ad4381fca19c3c42f8ea12"
  51.                                     },
  52.                                     {
  53.                                         "encounter.dateRange.start": {
  54.                                             "$gt": "2005-02-28T22:00:00.000Z"
  55.                                         }
  56.                                     }
  57.                                 ]
  58.                             },
  59.                             {
  60.                                 "$and": [
  61.                                     {
  62.                                         "_id": "59c25b75d35b0d8a5fb45038"
  63.                                     },
  64.                                     {
  65.                                         "encounter.dateRange.start": {
  66.                                             "$gt": "2003-02-28T22:00:00.000Z"
  67.                                         }
  68.                                     }
  69.                                 ]
  70.                             }
  71.                         ]
  72.                     }
  73.                 ]
  74.             },
  75.             "patients": []
  76.         }
  77.     ],
  78.     "denominatorExceptions": 0,
  79.     "denominatorExceptionsDetails": [],
  80.     "denominatorExceptionsQueryDetails": [
  81.         {
  82.             "rule": {
  83.                 "query": {
  84.                     "doNotFindMe": true
  85.                 }
  86.             },
  87.             "compiled": {
  88.                 "$and": [
  89.                     {
  90.                         "_id": {
  91.                             "$in": []
  92.                         }
  93.                     },
  94.                     {
  95.                         "doNotFindMe": true
  96.                     }
  97.                 ]
  98.             },
  99.             "patients": []
  100.         }
  101.     ],
  102.     "denominatorDetails": [],
  103.     "denominator": 0,
  104.     "numeratorQueryDetails": [
  105.         {
  106.             "rule": {
  107.                 "query": {}
  108.             },
  109.             "compiled": {
  110.                 "$and": [
  111.                     {
  112.                         "_id": {
  113.                             "$in": []
  114.                         }
  115.                     },
  116.                     {}
  117.                 ]
  118.             },
  119.             "patients": []
  120.         }
  121.     ],
  122.     "numerator": 0,
  123.     "numeratorDetails": []
  124. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement