quality-measure-engine 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +59 -55
- data/lib/qme/map/cv_aggregator.rb +40 -0
- data/lib/qme/map/map_reduce_executor.rb +35 -6
- data/lib/qme/version.rb +1 -1
- data/lib/quality-measure-engine.rb +2 -2
- data/quality-measure-engine.gemspec +3 -3
- data/test/fixtures/bundles/bundle.json +10 -0
- data/test/fixtures/bundles/measures_0003_0002.zip +0 -0
- data/test/fixtures/library_functions/hqmf_utils.js +5146 -0
- data/test/fixtures/library_functions/map_reduce_utils.js +45 -0
- data/test/fixtures/library_functions/underscore_min.js +32 -0
- data/test/fixtures/measures/0002.json +1415 -0
- data/test/fixtures/measures/0142.json +1 -0
- data/test/fixtures/measures/0495a.json +1 -0
- data/test/fixtures/measures/0495b.json +1 -0
- data/test/fixtures/measures/measure_metadata.json +1 -0
- data/test/test_helper.rb +16 -0
- data/test/unit/qme/map/map_reduce_builder_test.rb +1 -0
- data/test/unit/qme/map/map_reduce_executor_test.rb +5 -2
- data/test/unit/qme/map/measure_calculation_job_test.rb +5 -3
- data/test/unit/qme/quality_measure_test.rb +6 -3
- data/test/unit/qme/quality_report_test.rb +2 -0
- metadata +20 -9
- data/lib/qme/bundle/bundle.rb +0 -51
- data/lib/qme/bundle/importer.rb +0 -63
- data/lib/qme/tasks/bundle.rake +0 -95
@@ -0,0 +1,45 @@
|
|
1
|
+
// Adds common utility functions to the root JS object. These are then
|
2
|
+
// available for use by the map-reduce functions for each measure.
|
3
|
+
// lib/qme/mongo_helpers.rb executes this function on a database
|
4
|
+
// connection.
|
5
|
+
|
6
|
+
var root = this;
|
7
|
+
|
8
|
+
root.map = function(record, population, denominator, numerator, exclusion, denexcep) {
|
9
|
+
var value = {IPP: 0, DENOM: 0, NUMER: 0, DENEXCEP: 0,
|
10
|
+
DENEX: 0, antinumerator: 0, patient_id: record._id,
|
11
|
+
medical_record_id: record.medical_record_number,
|
12
|
+
first: record.first, last: record.last, gender: record.gender,
|
13
|
+
birthdate: record.birthdate, test_id: record.test_id,
|
14
|
+
provider_performances: record.provider_performances,
|
15
|
+
race: record.race, ethnicity: record.ethnicity, languages: record.languages};
|
16
|
+
var ipp = population()
|
17
|
+
if (Specifics.validate(ipp)) {
|
18
|
+
value.IPP = 1;
|
19
|
+
if (Specifics.validate(denexcep(), ipp)) {
|
20
|
+
value.DENEXCP = 1;
|
21
|
+
} else {
|
22
|
+
denom = denominator();
|
23
|
+
if (Specifics.validate(denom, ipp)) {
|
24
|
+
value.DENOM = 1;
|
25
|
+
numer = numerator()
|
26
|
+
if (Specifics.validate(numer, denom, ipp)) {
|
27
|
+
value.NUMER = 1;
|
28
|
+
} else {
|
29
|
+
excl = exclusion()
|
30
|
+
if (Specifics.validate(excl, denom, ipp)) {
|
31
|
+
value.DENEX = 1;
|
32
|
+
value.DENOM = 0;
|
33
|
+
} else {
|
34
|
+
value.antinumerator = 1;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
|
42
|
+
if (typeof Logger != 'undefined') value['logger'] = Logger.logger
|
43
|
+
|
44
|
+
emit(ObjectId(), value);
|
45
|
+
};
|
@@ -0,0 +1,32 @@
|
|
1
|
+
// Underscore.js 1.3.3
|
2
|
+
// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
|
3
|
+
// Underscore is freely distributable under the MIT license.
|
4
|
+
// Portions of Underscore are inspired or borrowed from Prototype,
|
5
|
+
// Oliver Steele's Functional, and John Resig's Micro-Templating.
|
6
|
+
// For all details and documentation:
|
7
|
+
// http://documentcloud.github.com/underscore
|
8
|
+
(function(){function r(a,c,d){if(a===c)return 0!==a||1/a==1/c;if(null==a||null==c)return a===c;a._chain&&(a=a._wrapped);c._chain&&(c=c._wrapped);if(a.isEqual&&b.isFunction(a.isEqual))return a.isEqual(c);if(c.isEqual&&b.isFunction(c.isEqual))return c.isEqual(a);var e=l.call(a);if(e!=l.call(c))return!1;switch(e){case "[object String]":return a==""+c;case "[object Number]":return a!=+a?c!=+c:0==a?1/a==1/c:a==+c;case "[object Date]":case "[object Boolean]":return+a==+c;case "[object RegExp]":return a.source==
|
9
|
+
c.source&&a.global==c.global&&a.multiline==c.multiline&&a.ignoreCase==c.ignoreCase}if("object"!=typeof a||"object"!=typeof c)return!1;for(var f=d.length;f--;)if(d[f]==a)return!0;d.push(a);var f=0,g=!0;if("[object Array]"==e){if(f=a.length,g=f==c.length)for(;f--&&(g=f in a==f in c&&r(a[f],c[f],d)););}else{if("constructor"in a!="constructor"in c||a.constructor!=c.constructor)return!1;for(var h in a)if(b.has(a,h)&&(f++,!(g=b.has(c,h)&&r(a[h],c[h],d))))break;if(g){for(h in c)if(b.has(c,h)&&!f--)break;
|
10
|
+
g=!f}}d.pop();return g}var s=this,I=s._,o={},k=Array.prototype,p=Object.prototype,i=k.slice,J=k.unshift,l=p.toString,K=p.hasOwnProperty,y=k.forEach,z=k.map,A=k.reduce,B=k.reduceRight,C=k.filter,D=k.every,E=k.some,q=k.indexOf,F=k.lastIndexOf,p=Array.isArray,L=Object.keys,t=Function.prototype.bind,b=function(a){return new m(a)};"undefined"!==typeof exports?("undefined"!==typeof module&&module.exports&&(exports=module.exports=b),exports._=b):s._=b;b.VERSION="1.3.3";var j=b.each=b.forEach=function(a,
|
11
|
+
c,d){if(a!=null)if(y&&a.forEach===y)a.forEach(c,d);else if(a.length===+a.length)for(var e=0,f=a.length;e<f;e++){if(e in a&&c.call(d,a[e],e,a)===o)break}else for(e in a)if(b.has(a,e)&&c.call(d,a[e],e,a)===o)break};b.map=b.collect=function(a,c,b){var e=[];if(a==null)return e;if(z&&a.map===z)return a.map(c,b);j(a,function(a,g,h){e[e.length]=c.call(b,a,g,h)});if(a.length===+a.length)e.length=a.length;return e};b.reduce=b.foldl=b.inject=function(a,c,d,e){var f=arguments.length>2;a==null&&(a=[]);if(A&&
|
12
|
+
a.reduce===A){e&&(c=b.bind(c,e));return f?a.reduce(c,d):a.reduce(c)}j(a,function(a,b,i){if(f)d=c.call(e,d,a,b,i);else{d=a;f=true}});if(!f)throw new TypeError("Reduce of empty array with no initial value");return d};b.reduceRight=b.foldr=function(a,c,d,e){var f=arguments.length>2;a==null&&(a=[]);if(B&&a.reduceRight===B){e&&(c=b.bind(c,e));return f?a.reduceRight(c,d):a.reduceRight(c)}var g=b.toArray(a).reverse();e&&!f&&(c=b.bind(c,e));return f?b.reduce(g,c,d,e):b.reduce(g,c)};b.find=b.detect=function(a,
|
13
|
+
c,b){var e;G(a,function(a,g,h){if(c.call(b,a,g,h)){e=a;return true}});return e};b.filter=b.select=function(a,c,b){var e=[];if(a==null)return e;if(C&&a.filter===C)return a.filter(c,b);j(a,function(a,g,h){c.call(b,a,g,h)&&(e[e.length]=a)});return e};b.reject=function(a,c,b){var e=[];if(a==null)return e;j(a,function(a,g,h){c.call(b,a,g,h)||(e[e.length]=a)});return e};b.every=b.all=function(a,c,b){var e=true;if(a==null)return e;if(D&&a.every===D)return a.every(c,b);j(a,function(a,g,h){if(!(e=e&&c.call(b,
|
14
|
+
a,g,h)))return o});return!!e};var G=b.some=b.any=function(a,c,d){c||(c=b.identity);var e=false;if(a==null)return e;if(E&&a.some===E)return a.some(c,d);j(a,function(a,b,h){if(e||(e=c.call(d,a,b,h)))return o});return!!e};b.include=b.contains=function(a,c){var b=false;if(a==null)return b;if(q&&a.indexOf===q)return a.indexOf(c)!=-1;return b=G(a,function(a){return a===c})};b.invoke=function(a,c){var d=i.call(arguments,2);return b.map(a,function(a){return(b.isFunction(c)?c||a:a[c]).apply(a,d)})};b.pluck=
|
15
|
+
function(a,c){return b.map(a,function(a){return a[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a)&&a[0]===+a[0])return Math.max.apply(Math,a);if(!c&&b.isEmpty(a))return-Infinity;var e={computed:-Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b>=e.computed&&(e={value:a,computed:b})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a)&&a[0]===+a[0])return Math.min.apply(Math,a);if(!c&&b.isEmpty(a))return Infinity;var e={computed:Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b<e.computed&&
|
16
|
+
(e={value:a,computed:b})});return e.value};b.shuffle=function(a){var b=[],d;j(a,function(a,f){d=Math.floor(Math.random()*(f+1));b[f]=b[d];b[d]=a});return b};b.sortBy=function(a,c,d){var e=b.isFunction(c)?c:function(a){return a[c]};return b.pluck(b.map(a,function(a,b,c){return{value:a,criteria:e.call(d,a,b,c)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c===void 0?1:d===void 0?-1:c<d?-1:c>d?1:0}),"value")};b.groupBy=function(a,c){var d={},e=b.isFunction(c)?c:function(a){return a[c]};
|
17
|
+
j(a,function(a,b){var c=e(a,b);(d[c]||(d[c]=[])).push(a)});return d};b.sortedIndex=function(a,c,d){d||(d=b.identity);for(var e=0,f=a.length;e<f;){var g=e+f>>1;d(a[g])<d(c)?e=g+1:f=g}return e};b.toArray=function(a){return!a?[]:b.isArray(a)||b.isArguments(a)?i.call(a):a.toArray&&b.isFunction(a.toArray)?a.toArray():b.values(a)};b.size=function(a){return b.isArray(a)?a.length:b.keys(a).length};b.first=b.head=b.take=function(a,b,d){return b!=null&&!d?i.call(a,0,b):a[0]};b.initial=function(a,b,d){return i.call(a,
|
18
|
+
0,a.length-(b==null||d?1:b))};b.last=function(a,b,d){return b!=null&&!d?i.call(a,Math.max(a.length-b,0)):a[a.length-1]};b.rest=b.tail=function(a,b,d){return i.call(a,b==null||d?1:b)};b.compact=function(a){return b.filter(a,function(a){return!!a})};b.flatten=function(a,c){return b.reduce(a,function(a,e){if(b.isArray(e))return a.concat(c?e:b.flatten(e));a[a.length]=e;return a},[])};b.without=function(a){return b.difference(a,i.call(arguments,1))};b.uniq=b.unique=function(a,c,d){var d=d?b.map(a,d):a,
|
19
|
+
e=[];a.length<3&&(c=true);b.reduce(d,function(d,g,h){if(c?b.last(d)!==g||!d.length:!b.include(d,g)){d.push(g);e.push(a[h])}return d},[]);return e};b.union=function(){return b.uniq(b.flatten(arguments,true))};b.intersection=b.intersect=function(a){var c=i.call(arguments,1);return b.filter(b.uniq(a),function(a){return b.every(c,function(c){return b.indexOf(c,a)>=0})})};b.difference=function(a){var c=b.flatten(i.call(arguments,1),true);return b.filter(a,function(a){return!b.include(c,a)})};b.zip=function(){for(var a=
|
20
|
+
i.call(arguments),c=b.max(b.pluck(a,"length")),d=Array(c),e=0;e<c;e++)d[e]=b.pluck(a,""+e);return d};b.indexOf=function(a,c,d){if(a==null)return-1;var e;if(d){d=b.sortedIndex(a,c);return a[d]===c?d:-1}if(q&&a.indexOf===q)return a.indexOf(c);d=0;for(e=a.length;d<e;d++)if(d in a&&a[d]===c)return d;return-1};b.lastIndexOf=function(a,b){if(a==null)return-1;if(F&&a.lastIndexOf===F)return a.lastIndexOf(b);for(var d=a.length;d--;)if(d in a&&a[d]===b)return d;return-1};b.range=function(a,b,d){if(arguments.length<=
|
21
|
+
1){b=a||0;a=0}for(var d=arguments[2]||1,e=Math.max(Math.ceil((b-a)/d),0),f=0,g=Array(e);f<e;){g[f++]=a;a=a+d}return g};var H=function(){};b.bind=function(a,c){var d,e;if(a.bind===t&&t)return t.apply(a,i.call(arguments,1));if(!b.isFunction(a))throw new TypeError;e=i.call(arguments,2);return d=function(){if(!(this instanceof d))return a.apply(c,e.concat(i.call(arguments)));H.prototype=a.prototype;var b=new H,g=a.apply(b,e.concat(i.call(arguments)));return Object(g)===g?g:b}};b.bindAll=function(a){var c=
|
22
|
+
i.call(arguments,1);c.length==0&&(c=b.functions(a));j(c,function(c){a[c]=b.bind(a[c],a)});return a};b.memoize=function(a,c){var d={};c||(c=b.identity);return function(){var e=c.apply(this,arguments);return b.has(d,e)?d[e]:d[e]=a.apply(this,arguments)}};b.delay=function(a,b){var d=i.call(arguments,2);return setTimeout(function(){return a.apply(null,d)},b)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(i.call(arguments,1)))};b.throttle=function(a,c){var d,e,f,g,h,i,j=b.debounce(function(){h=
|
23
|
+
g=false},c);return function(){d=this;e=arguments;f||(f=setTimeout(function(){f=null;h&&a.apply(d,e);j()},c));g?h=true:i=a.apply(d,e);j();g=true;return i}};b.debounce=function(a,b,d){var e;return function(){var f=this,g=arguments;d&&!e&&a.apply(f,g);clearTimeout(e);e=setTimeout(function(){e=null;d||a.apply(f,g)},b)}};b.once=function(a){var b=false,d;return function(){if(b)return d;b=true;return d=a.apply(this,arguments)}};b.wrap=function(a,b){return function(){var d=[a].concat(i.call(arguments,0));
|
24
|
+
return b.apply(this,d)}};b.compose=function(){var a=arguments;return function(){for(var b=arguments,d=a.length-1;d>=0;d--)b=[a[d].apply(this,b)];return b[0]}};b.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}};b.keys=L||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var c=[],d;for(d in a)b.has(a,d)&&(c[c.length]=d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=b.methods=function(a){var c=[],d;for(d in a)b.isFunction(a[d])&&
|
25
|
+
c.push(d);return c.sort()};b.extend=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]=b[d]});return a};b.pick=function(a){var c={};j(b.flatten(i.call(arguments,1)),function(b){b in a&&(c[b]=a[b])});return c};b.defaults=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]==null&&(a[d]=b[d])});return a};b.clone=function(a){return!b.isObject(a)?a:b.isArray(a)?a.slice():b.extend({},a)};b.tap=function(a,b){b(a);return a};b.isEqual=function(a,b){return r(a,b,[])};b.isEmpty=
|
26
|
+
function(a){if(a==null)return true;if(b.isArray(a)||b.isString(a))return a.length===0;for(var c in a)if(b.has(a,c))return false;return true};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=p||function(a){return l.call(a)=="[object Array]"};b.isObject=function(a){return a===Object(a)};b.isArguments=function(a){return l.call(a)=="[object Arguments]"};b.isArguments(arguments)||(b.isArguments=function(a){return!(!a||!b.has(a,"callee"))});b.isFunction=function(a){return l.call(a)=="[object Function]"};
|
27
|
+
b.isString=function(a){return l.call(a)=="[object String]"};b.isNumber=function(a){return l.call(a)=="[object Number]"};b.isFinite=function(a){return b.isNumber(a)&&isFinite(a)};b.isNaN=function(a){return a!==a};b.isBoolean=function(a){return a===true||a===false||l.call(a)=="[object Boolean]"};b.isDate=function(a){return l.call(a)=="[object Date]"};b.isRegExp=function(a){return l.call(a)=="[object RegExp]"};b.isNull=function(a){return a===null};b.isUndefined=function(a){return a===void 0};b.has=function(a,
|
28
|
+
b){return K.call(a,b)};b.noConflict=function(){s._=I;return this};b.identity=function(a){return a};b.times=function(a,b,d){for(var e=0;e<a;e++)b.call(d,e)};b.escape=function(a){return(""+a).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")};b.result=function(a,c){if(a==null)return null;var d=a[c];return b.isFunction(d)?d.call(a):d};b.mixin=function(a){j(b.functions(a),function(c){M(c,b[c]=a[c])})};var N=0;b.uniqueId=
|
29
|
+
function(a){var b=N++;return a?a+b:b};b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var u=/.^/,n={"\\":"\\","'":"'",r:"\r",n:"\n",t:"\t",u2028:"\u2028",u2029:"\u2029"},v;for(v in n)n[n[v]]=v;var O=/\\|'|\r|\n|\t|\u2028|\u2029/g,P=/\\(\\|'|r|n|t|u2028|u2029)/g,w=function(a){return a.replace(P,function(a,b){return n[b]})};b.template=function(a,c,d){d=b.defaults(d||{},b.templateSettings);a="__p+='"+a.replace(O,function(a){return"\\"+n[a]}).replace(d.escape||
|
30
|
+
u,function(a,b){return"'+\n_.escape("+w(b)+")+\n'"}).replace(d.interpolate||u,function(a,b){return"'+\n("+w(b)+")+\n'"}).replace(d.evaluate||u,function(a,b){return"';\n"+w(b)+"\n;__p+='"})+"';\n";d.variable||(a="with(obj||{}){\n"+a+"}\n");var a="var __p='';var print=function(){__p+=Array.prototype.join.call(arguments, '')};\n"+a+"return __p;\n",e=new Function(d.variable||"obj","_",a);if(c)return e(c,b);c=function(a){return e.call(this,a,b)};c.source="function("+(d.variable||"obj")+"){\n"+a+"}";return c};
|
31
|
+
b.chain=function(a){return b(a).chain()};var m=function(a){this._wrapped=a};b.prototype=m.prototype;var x=function(a,c){return c?b(a).chain():a},M=function(a,c){m.prototype[a]=function(){var a=i.call(arguments);J.call(a,this._wrapped);return x(c.apply(b,a),this._chain)}};b.mixin(b);j("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=k[a];m.prototype[a]=function(){var d=this._wrapped;b.apply(d,arguments);var e=d.length;(a=="shift"||a=="splice")&&e===0&&delete d[0];return x(d,
|
32
|
+
this._chain)}});j(["concat","join","slice"],function(a){var b=k[a];m.prototype[a]=function(){return x(b.apply(this._wrapped,arguments),this._chain)}});m.prototype.chain=function(){this._chain=true;return this};m.prototype.value=function(){return this._wrapped}}).call(this);
|
@@ -0,0 +1,1415 @@
|
|
1
|
+
{
|
2
|
+
|
3
|
+
"id": "2E679CD2-3FEC-4A75-A75A-61403E5EFEE8",
|
4
|
+
"nqf_id": "0002",
|
5
|
+
"hqmf_id": "2E679CD2-3FEC-4A75-A75A-61403E5EFEE8",
|
6
|
+
"hqmf_set_id": "B5FEE67F-F5C4-4C73-9D58-1941F9729539",
|
7
|
+
"hqmf_version_number": 1,
|
8
|
+
"endorser": "",
|
9
|
+
"name": "Appropriate Testing for Children with Pharyngitis",
|
10
|
+
"description": "The percentage of children 2–18 years of age who were diagnosed with Pharyngitis, dispensed an antibiotic and received a group A streptococcus (strep) test for the episode.",
|
11
|
+
"category": "Miscellaneous",
|
12
|
+
"steward": "",
|
13
|
+
"population": {
|
14
|
+
"conjunction": "and",
|
15
|
+
"items": [
|
16
|
+
{
|
17
|
+
"conjunction": "and",
|
18
|
+
"items": [
|
19
|
+
{
|
20
|
+
"title": "birth date",
|
21
|
+
"description": "Patient Characteristic: birth date",
|
22
|
+
"standard_category": "individual_characteristic",
|
23
|
+
"qds_data_type": "individual_characteristic",
|
24
|
+
"code_list_id": "2.16.840.1.113883.3.560.100.4",
|
25
|
+
"property": "birthtime",
|
26
|
+
"type": "characteristic",
|
27
|
+
"definition": "patient_characteristic_birthdate",
|
28
|
+
"hard_status": false,
|
29
|
+
"negation": false,
|
30
|
+
"inline_code_list": {
|
31
|
+
"LOINC": [
|
32
|
+
"21112-8"
|
33
|
+
]
|
34
|
+
},
|
35
|
+
"temporal_references": [
|
36
|
+
{
|
37
|
+
"type": "SBS",
|
38
|
+
"reference": "MeasurePeriod",
|
39
|
+
"range": {
|
40
|
+
"type": "IVL_PQ",
|
41
|
+
"low": {
|
42
|
+
"type": "PQ",
|
43
|
+
"unit": "a",
|
44
|
+
"value": "2",
|
45
|
+
"inclusive?": true,
|
46
|
+
"derived?": false
|
47
|
+
}
|
48
|
+
},
|
49
|
+
"title": "MeasurePeriod"
|
50
|
+
}
|
51
|
+
]
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"title": "birth date",
|
55
|
+
"description": "Patient Characteristic: birth date",
|
56
|
+
"standard_category": "individual_characteristic",
|
57
|
+
"qds_data_type": "individual_characteristic",
|
58
|
+
"code_list_id": "2.16.840.1.113883.3.560.100.4",
|
59
|
+
"property": "birthtime",
|
60
|
+
"type": "characteristic",
|
61
|
+
"definition": "patient_characteristic_birthdate",
|
62
|
+
"hard_status": false,
|
63
|
+
"negation": false,
|
64
|
+
"inline_code_list": {
|
65
|
+
"LOINC": [
|
66
|
+
"21112-8"
|
67
|
+
]
|
68
|
+
},
|
69
|
+
"temporal_references": [
|
70
|
+
{
|
71
|
+
"type": "SBS",
|
72
|
+
"reference": "MeasurePeriod",
|
73
|
+
"range": {
|
74
|
+
"type": "IVL_PQ",
|
75
|
+
"high": {
|
76
|
+
"type": "PQ",
|
77
|
+
"unit": "a",
|
78
|
+
"value": "17",
|
79
|
+
"inclusive?": true,
|
80
|
+
"derived?": false
|
81
|
+
}
|
82
|
+
},
|
83
|
+
"title": "MeasurePeriod"
|
84
|
+
}
|
85
|
+
]
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"negation": null,
|
89
|
+
"precondition_id": 57
|
90
|
+
}
|
91
|
+
]
|
92
|
+
},
|
93
|
+
"denominator": {
|
94
|
+
"conjunction": "and",
|
95
|
+
"items": [
|
96
|
+
{
|
97
|
+
"conjunction": "and",
|
98
|
+
"items": [
|
99
|
+
{
|
100
|
+
"title": "Encounter ambulatory including pediatrics",
|
101
|
+
"description": "Encounter: Encounter ambulatory including pediatrics",
|
102
|
+
"standard_category": "encounter",
|
103
|
+
"qds_data_type": "encounter",
|
104
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.231",
|
105
|
+
"type": "encounters",
|
106
|
+
"definition": "encounter",
|
107
|
+
"hard_status": false,
|
108
|
+
"negation": false,
|
109
|
+
"temporal_references": [
|
110
|
+
{
|
111
|
+
"type": "DURING",
|
112
|
+
"reference": "MeasurePeriod",
|
113
|
+
"title": "MeasurePeriod"
|
114
|
+
}
|
115
|
+
]
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"title": "pharyngitis",
|
119
|
+
"description": "Diagnosis, Active: pharyngitis",
|
120
|
+
"standard_category": "diagnosis_condition_problem",
|
121
|
+
"qds_data_type": "diagnosis_active",
|
122
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.369",
|
123
|
+
"type": "conditions",
|
124
|
+
"definition": "diagnosis",
|
125
|
+
"status": "active",
|
126
|
+
"hard_status": false,
|
127
|
+
"negation": false,
|
128
|
+
"temporal_references": [
|
129
|
+
{
|
130
|
+
"type": "DURING",
|
131
|
+
"reference": {
|
132
|
+
"title": "Encounter ambulatory including pediatrics",
|
133
|
+
"description": "Encounter: Encounter ambulatory including pediatrics",
|
134
|
+
"standard_category": "encounter",
|
135
|
+
"qds_data_type": "encounter",
|
136
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.231",
|
137
|
+
"type": "encounters",
|
138
|
+
"definition": "encounter",
|
139
|
+
"hard_status": false,
|
140
|
+
"negation": false,
|
141
|
+
"temporal_references": [
|
142
|
+
{
|
143
|
+
"type": "DURING",
|
144
|
+
"reference": "MeasurePeriod",
|
145
|
+
"title": "MeasurePeriod"
|
146
|
+
}
|
147
|
+
]
|
148
|
+
}
|
149
|
+
}
|
150
|
+
]
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"conjunction": "or",
|
154
|
+
"items": [
|
155
|
+
{
|
156
|
+
"title": "Encounter ambulatory including pediatrics",
|
157
|
+
"description": "Encounter: Encounter ambulatory including pediatrics",
|
158
|
+
"standard_category": "encounter",
|
159
|
+
"qds_data_type": "encounter",
|
160
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.231",
|
161
|
+
"type": "encounters",
|
162
|
+
"definition": "encounter",
|
163
|
+
"hard_status": false,
|
164
|
+
"negation": false,
|
165
|
+
"temporal_references": [
|
166
|
+
{
|
167
|
+
"type": "DURING",
|
168
|
+
"reference": "MeasurePeriod",
|
169
|
+
"title": "MeasurePeriod"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"type": "SBS",
|
173
|
+
"reference": {
|
174
|
+
"title": "GROUP_SBS_CHILDREN_3",
|
175
|
+
"description": "",
|
176
|
+
"standard_category": "",
|
177
|
+
"qds_data_type": "",
|
178
|
+
"children_criteria": [
|
179
|
+
{
|
180
|
+
"title": "pharyngitis antibiotics",
|
181
|
+
"description": "Medication, Dispensed: pharyngitis antibiotics",
|
182
|
+
"standard_category": "medication",
|
183
|
+
"qds_data_type": "medication_dispensed",
|
184
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.373",
|
185
|
+
"type": "medications",
|
186
|
+
"definition": "medication",
|
187
|
+
"status": "dispensed",
|
188
|
+
"hard_status": false,
|
189
|
+
"negation": false
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"title": "pharyngitis antibiotics",
|
193
|
+
"description": "Medication, Order: pharyngitis antibiotics",
|
194
|
+
"standard_category": "medication",
|
195
|
+
"qds_data_type": "medication_order",
|
196
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.373",
|
197
|
+
"type": "medications",
|
198
|
+
"definition": "medication",
|
199
|
+
"status": "ordered",
|
200
|
+
"hard_status": false,
|
201
|
+
"negation": false
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"title": "pharyngitis antibiotics",
|
205
|
+
"description": "Medication, Active: pharyngitis antibiotics",
|
206
|
+
"standard_category": "medication",
|
207
|
+
"qds_data_type": "medication_active",
|
208
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.373",
|
209
|
+
"type": "medications",
|
210
|
+
"definition": "medication",
|
211
|
+
"status": "active",
|
212
|
+
"hard_status": false,
|
213
|
+
"negation": false
|
214
|
+
}
|
215
|
+
],
|
216
|
+
"derivation_operator": "UNION",
|
217
|
+
"type": "derived",
|
218
|
+
"definition": "derived",
|
219
|
+
"hard_status": false,
|
220
|
+
"negation": false
|
221
|
+
},
|
222
|
+
"range": {
|
223
|
+
"type": "IVL_PQ",
|
224
|
+
"high": {
|
225
|
+
"type": "PQ",
|
226
|
+
"unit": "d",
|
227
|
+
"value": "3",
|
228
|
+
"inclusive?": true,
|
229
|
+
"derived?": false
|
230
|
+
}
|
231
|
+
}
|
232
|
+
}
|
233
|
+
]
|
234
|
+
}
|
235
|
+
],
|
236
|
+
"negation": null,
|
237
|
+
"precondition_id": 33
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"conjunction": "and",
|
241
|
+
"items": [
|
242
|
+
{
|
243
|
+
"conjunction": "or",
|
244
|
+
"items": [
|
245
|
+
{
|
246
|
+
"title": "pharyngitis antibiotics",
|
247
|
+
"description": "Medication, Dispensed: pharyngitis antibiotics",
|
248
|
+
"standard_category": "medication",
|
249
|
+
"qds_data_type": "medication_dispensed",
|
250
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.373",
|
251
|
+
"type": "medications",
|
252
|
+
"definition": "medication",
|
253
|
+
"status": "dispensed",
|
254
|
+
"hard_status": false,
|
255
|
+
"negation": false,
|
256
|
+
"temporal_references": [
|
257
|
+
{
|
258
|
+
"type": "SBS",
|
259
|
+
"reference": {
|
260
|
+
"title": "Encounter ambulatory including pediatrics",
|
261
|
+
"description": "Encounter: Encounter ambulatory including pediatrics",
|
262
|
+
"standard_category": "encounter",
|
263
|
+
"qds_data_type": "encounter",
|
264
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.231",
|
265
|
+
"type": "encounters",
|
266
|
+
"definition": "encounter",
|
267
|
+
"hard_status": false,
|
268
|
+
"negation": false,
|
269
|
+
"temporal_references": [
|
270
|
+
{
|
271
|
+
"type": "DURING",
|
272
|
+
"reference": "MeasurePeriod",
|
273
|
+
"title": "MeasurePeriod"
|
274
|
+
}
|
275
|
+
]
|
276
|
+
},
|
277
|
+
"range": {
|
278
|
+
"type": "IVL_PQ",
|
279
|
+
"high": {
|
280
|
+
"type": "PQ",
|
281
|
+
"unit": "d",
|
282
|
+
"value": "30",
|
283
|
+
"inclusive?": true,
|
284
|
+
"derived?": false
|
285
|
+
}
|
286
|
+
}
|
287
|
+
}
|
288
|
+
]
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"title": "pharyngitis antibiotics",
|
292
|
+
"description": "Medication, Order: pharyngitis antibiotics",
|
293
|
+
"standard_category": "medication",
|
294
|
+
"qds_data_type": "medication_order",
|
295
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.373",
|
296
|
+
"type": "medications",
|
297
|
+
"definition": "medication",
|
298
|
+
"status": "ordered",
|
299
|
+
"hard_status": false,
|
300
|
+
"negation": false,
|
301
|
+
"temporal_references": [
|
302
|
+
{
|
303
|
+
"type": "SBS",
|
304
|
+
"reference": {
|
305
|
+
"title": "Encounter ambulatory including pediatrics",
|
306
|
+
"description": "Encounter: Encounter ambulatory including pediatrics",
|
307
|
+
"standard_category": "encounter",
|
308
|
+
"qds_data_type": "encounter",
|
309
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.231",
|
310
|
+
"type": "encounters",
|
311
|
+
"definition": "encounter",
|
312
|
+
"hard_status": false,
|
313
|
+
"negation": false,
|
314
|
+
"temporal_references": [
|
315
|
+
{
|
316
|
+
"type": "DURING",
|
317
|
+
"reference": "MeasurePeriod",
|
318
|
+
"title": "MeasurePeriod"
|
319
|
+
}
|
320
|
+
]
|
321
|
+
},
|
322
|
+
"range": {
|
323
|
+
"type": "IVL_PQ",
|
324
|
+
"high": {
|
325
|
+
"type": "PQ",
|
326
|
+
"unit": "d",
|
327
|
+
"value": "30",
|
328
|
+
"inclusive?": true,
|
329
|
+
"derived?": false
|
330
|
+
}
|
331
|
+
}
|
332
|
+
}
|
333
|
+
]
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"title": "pharyngitis antibiotics",
|
337
|
+
"description": "Medication, Active: pharyngitis antibiotics",
|
338
|
+
"standard_category": "medication",
|
339
|
+
"qds_data_type": "medication_active",
|
340
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.373",
|
341
|
+
"type": "medications",
|
342
|
+
"definition": "medication",
|
343
|
+
"status": "active",
|
344
|
+
"hard_status": false,
|
345
|
+
"negation": false,
|
346
|
+
"temporal_references": [
|
347
|
+
{
|
348
|
+
"type": "SBS",
|
349
|
+
"reference": {
|
350
|
+
"title": "Encounter ambulatory including pediatrics",
|
351
|
+
"description": "Encounter: Encounter ambulatory including pediatrics",
|
352
|
+
"standard_category": "encounter",
|
353
|
+
"qds_data_type": "encounter",
|
354
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.231",
|
355
|
+
"type": "encounters",
|
356
|
+
"definition": "encounter",
|
357
|
+
"hard_status": false,
|
358
|
+
"negation": false,
|
359
|
+
"temporal_references": [
|
360
|
+
{
|
361
|
+
"type": "DURING",
|
362
|
+
"reference": "MeasurePeriod",
|
363
|
+
"title": "MeasurePeriod"
|
364
|
+
}
|
365
|
+
]
|
366
|
+
},
|
367
|
+
"range": {
|
368
|
+
"type": "IVL_PQ",
|
369
|
+
"high": {
|
370
|
+
"type": "PQ",
|
371
|
+
"unit": "d",
|
372
|
+
"value": "30",
|
373
|
+
"inclusive?": true,
|
374
|
+
"derived?": false
|
375
|
+
}
|
376
|
+
}
|
377
|
+
}
|
378
|
+
]
|
379
|
+
}
|
380
|
+
],
|
381
|
+
"negation": null,
|
382
|
+
"precondition_id": 48
|
383
|
+
}
|
384
|
+
],
|
385
|
+
"negation": true,
|
386
|
+
"precondition_id": 51
|
387
|
+
}
|
388
|
+
],
|
389
|
+
"negation": null,
|
390
|
+
"precondition_id": 52
|
391
|
+
}
|
392
|
+
]
|
393
|
+
},
|
394
|
+
"numerator": {
|
395
|
+
"conjunction": "and",
|
396
|
+
"items": [
|
397
|
+
{
|
398
|
+
"conjunction": "and",
|
399
|
+
"items": [
|
400
|
+
{
|
401
|
+
"title": "Group A Streptococcus Test",
|
402
|
+
"description": "Laboratory Test, Performed: Group A Streptococcus Test",
|
403
|
+
"standard_category": "laboratory_test",
|
404
|
+
"qds_data_type": "laboratory_test",
|
405
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.250",
|
406
|
+
"type": "laboratory_tests",
|
407
|
+
"definition": "laboratory_test",
|
408
|
+
"status": "performed",
|
409
|
+
"hard_status": false,
|
410
|
+
"negation": false,
|
411
|
+
"temporal_references": [
|
412
|
+
{
|
413
|
+
"type": "SBE",
|
414
|
+
"reference": {
|
415
|
+
"title": "Encounter ambulatory including pediatrics",
|
416
|
+
"description": "Encounter: Encounter ambulatory including pediatrics",
|
417
|
+
"standard_category": "encounter",
|
418
|
+
"qds_data_type": "encounter",
|
419
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.231",
|
420
|
+
"type": "encounters",
|
421
|
+
"definition": "encounter",
|
422
|
+
"hard_status": false,
|
423
|
+
"negation": false,
|
424
|
+
"temporal_references": [
|
425
|
+
{
|
426
|
+
"type": "DURING",
|
427
|
+
"reference": "MeasurePeriod",
|
428
|
+
"title": "MeasurePeriod"
|
429
|
+
},
|
430
|
+
{
|
431
|
+
"type": "SBS",
|
432
|
+
"reference": {
|
433
|
+
"title": "GROUP_SBS_CHILDREN_1",
|
434
|
+
"description": "",
|
435
|
+
"standard_category": "",
|
436
|
+
"qds_data_type": "",
|
437
|
+
"children_criteria": [
|
438
|
+
{
|
439
|
+
"title": "pharyngitis antibiotics",
|
440
|
+
"description": "Medication, Dispensed: pharyngitis antibiotics",
|
441
|
+
"standard_category": "medication",
|
442
|
+
"qds_data_type": "medication_dispensed",
|
443
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.373",
|
444
|
+
"type": "medications",
|
445
|
+
"definition": "medication",
|
446
|
+
"status": "dispensed",
|
447
|
+
"hard_status": false,
|
448
|
+
"negation": false
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"title": "pharyngitis antibiotics",
|
452
|
+
"description": "Medication, Order: pharyngitis antibiotics",
|
453
|
+
"standard_category": "medication",
|
454
|
+
"qds_data_type": "medication_order",
|
455
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.373",
|
456
|
+
"type": "medications",
|
457
|
+
"definition": "medication",
|
458
|
+
"status": "ordered",
|
459
|
+
"hard_status": false,
|
460
|
+
"negation": false
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"title": "pharyngitis antibiotics",
|
464
|
+
"description": "Medication, Active: pharyngitis antibiotics",
|
465
|
+
"standard_category": "medication",
|
466
|
+
"qds_data_type": "medication_active",
|
467
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.373",
|
468
|
+
"type": "medications",
|
469
|
+
"definition": "medication",
|
470
|
+
"status": "active",
|
471
|
+
"hard_status": false,
|
472
|
+
"negation": false
|
473
|
+
}
|
474
|
+
],
|
475
|
+
"derivation_operator": "UNION",
|
476
|
+
"type": "derived",
|
477
|
+
"definition": "derived",
|
478
|
+
"hard_status": false,
|
479
|
+
"negation": false
|
480
|
+
},
|
481
|
+
"range": {
|
482
|
+
"type": "IVL_PQ",
|
483
|
+
"high": {
|
484
|
+
"type": "PQ",
|
485
|
+
"unit": "d",
|
486
|
+
"value": "3",
|
487
|
+
"inclusive?": true,
|
488
|
+
"derived?": false
|
489
|
+
}
|
490
|
+
}
|
491
|
+
}
|
492
|
+
]
|
493
|
+
},
|
494
|
+
"range": {
|
495
|
+
"type": "IVL_PQ",
|
496
|
+
"high": {
|
497
|
+
"type": "PQ",
|
498
|
+
"unit": "d",
|
499
|
+
"value": "3",
|
500
|
+
"inclusive?": true,
|
501
|
+
"derived?": false
|
502
|
+
}
|
503
|
+
}
|
504
|
+
}
|
505
|
+
]
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"title": "Group A Streptococcus Test",
|
509
|
+
"description": "Laboratory Test, Performed: Group A Streptococcus Test",
|
510
|
+
"standard_category": "laboratory_test",
|
511
|
+
"qds_data_type": "laboratory_test",
|
512
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.250",
|
513
|
+
"type": "laboratory_tests",
|
514
|
+
"definition": "laboratory_test",
|
515
|
+
"status": "performed",
|
516
|
+
"hard_status": false,
|
517
|
+
"negation": false,
|
518
|
+
"temporal_references": [
|
519
|
+
{
|
520
|
+
"type": "SAE",
|
521
|
+
"reference": {
|
522
|
+
"title": "Encounter ambulatory including pediatrics",
|
523
|
+
"description": "Encounter: Encounter ambulatory including pediatrics",
|
524
|
+
"standard_category": "encounter",
|
525
|
+
"qds_data_type": "encounter",
|
526
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.231",
|
527
|
+
"type": "encounters",
|
528
|
+
"definition": "encounter",
|
529
|
+
"hard_status": false,
|
530
|
+
"negation": false,
|
531
|
+
"temporal_references": [
|
532
|
+
{
|
533
|
+
"type": "DURING",
|
534
|
+
"reference": "MeasurePeriod",
|
535
|
+
"title": "MeasurePeriod"
|
536
|
+
},
|
537
|
+
{
|
538
|
+
"type": "SBS",
|
539
|
+
"reference": {
|
540
|
+
"title": "GROUP_SBS_CHILDREN_2",
|
541
|
+
"description": "",
|
542
|
+
"standard_category": "",
|
543
|
+
"qds_data_type": "",
|
544
|
+
"children_criteria": [
|
545
|
+
{
|
546
|
+
"title": "pharyngitis antibiotics",
|
547
|
+
"description": "Medication, Dispensed: pharyngitis antibiotics",
|
548
|
+
"standard_category": "medication",
|
549
|
+
"qds_data_type": "medication_dispensed",
|
550
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.373",
|
551
|
+
"type": "medications",
|
552
|
+
"definition": "medication",
|
553
|
+
"status": "dispensed",
|
554
|
+
"hard_status": false,
|
555
|
+
"negation": false
|
556
|
+
},
|
557
|
+
{
|
558
|
+
"title": "pharyngitis antibiotics",
|
559
|
+
"description": "Medication, Order: pharyngitis antibiotics",
|
560
|
+
"standard_category": "medication",
|
561
|
+
"qds_data_type": "medication_order",
|
562
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.373",
|
563
|
+
"type": "medications",
|
564
|
+
"definition": "medication",
|
565
|
+
"status": "ordered",
|
566
|
+
"hard_status": false,
|
567
|
+
"negation": false
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"title": "pharyngitis antibiotics",
|
571
|
+
"description": "Medication, Active: pharyngitis antibiotics",
|
572
|
+
"standard_category": "medication",
|
573
|
+
"qds_data_type": "medication_active",
|
574
|
+
"code_list_id": "2.16.840.1.113883.3.464.0001.373",
|
575
|
+
"type": "medications",
|
576
|
+
"definition": "medication",
|
577
|
+
"status": "active",
|
578
|
+
"hard_status": false,
|
579
|
+
"negation": false
|
580
|
+
}
|
581
|
+
],
|
582
|
+
"derivation_operator": "UNION",
|
583
|
+
"type": "derived",
|
584
|
+
"definition": "derived",
|
585
|
+
"hard_status": false,
|
586
|
+
"negation": false
|
587
|
+
},
|
588
|
+
"range": {
|
589
|
+
"type": "IVL_PQ",
|
590
|
+
"high": {
|
591
|
+
"type": "PQ",
|
592
|
+
"unit": "d",
|
593
|
+
"value": "3",
|
594
|
+
"inclusive?": true,
|
595
|
+
"derived?": false
|
596
|
+
}
|
597
|
+
}
|
598
|
+
}
|
599
|
+
]
|
600
|
+
},
|
601
|
+
"range": {
|
602
|
+
"type": "IVL_PQ",
|
603
|
+
"high": {
|
604
|
+
"type": "PQ",
|
605
|
+
"unit": "d",
|
606
|
+
"value": "3",
|
607
|
+
"inclusive?": true,
|
608
|
+
"derived?": false
|
609
|
+
}
|
610
|
+
}
|
611
|
+
}
|
612
|
+
]
|
613
|
+
}
|
614
|
+
],
|
615
|
+
"negation": null,
|
616
|
+
"precondition_id": 25
|
617
|
+
}
|
618
|
+
]
|
619
|
+
},
|
620
|
+
"exclusions": {
|
621
|
+
"conjunction": "and",
|
622
|
+
"items": []
|
623
|
+
},
|
624
|
+
"map_fn": "function() {\n var patient = this;\n var effective_date = <%= effective_date %>;\n\n hqmfjs = {}\n <%= init_js_frameworks %>\n \n \n var patient_api = new hQuery.Patient(patient);\n\n \n\n // clear out logger\n if (typeof Logger != 'undefined') Logger.logger = [];\n // turn on logging if it is enabled\n if (Logger.enabled) enableLogging();\n \n \n // #########################\n // ##### DATA ELEMENTS #####\n // #########################\n\n OidDictionary = {'2.16.840.1.113883.3.464.0001.231':{'CPT':['99201','99202','99203','99204','99205','99211','99212','99213','99214','99215','99217','99218','99219','99220','99241','99242','99243','99244','99245','99384','99385','99394','99395','99401','99402','99403','99404','99411','99412','99420','99429'],'ICD-9-CM':['V70.0','V70.3','V70.5','V70.6','V70.8','V70.9']},'2.16.840.1.113883.3.464.0001.250':{'CPT':['87070','87071','87081','87430','87650','87651','87652','87880'],'LOINC':['11268-0','17656-0','18481-2','31971-5','49610-9','5036-9','626-2','6556-5','6557-3','6558-1','6559-9'],'SNOMED-CT':['89634005.0','122121004.0','122205003.0','122245007.0','122303007.0']},'2.16.840.1.113883.3.464.0001.369':{'ICD-9-CM':['034.0','462.0','463.0'],'SNOMED-CT':['140004.0','652005.0','1532007.0','2091005.0','2365002.0','10351008.0','11461005.0','13177009.0','14465002.0','17741008.0','23166004.0','24078009.0','27878001.0','31309002.0','39271004.0','40766000.0','41582007.0','43878008.0','47841006.0','51209006.0','51476001.0','55355000.0','58031004.0','59221008.0','59471009.0','63866002.0','70020005.0','72430001.0','76651006.0','78430008.0','78911000.0','82228008.0','87326000.0','90176007.0','90979004.0','95885008.0','102453009.0','109362006.0','111277007.0','111816002.0','111816002.0','126664009.0','164260005.0','186659004.0','186675001.0','186963008.0','195655000.0','195655000.0','195656004.0','195657008.0','195658003.0','195659006.0','195660001.0','195662009.0','195662009.0','195663004.0','195666007.0','195667003.0','195668008.0','195669000.0','195670004.0','195671000.0','195672007.0','195673002.0','195676005.0','195677001.0','195707008.0','195779005.0','195780008.0','195782000.0','195798007.0','195803003.0','195804009.0','195924009.0','232399005.0','232400003.0','232401004.0','232402006.0','232403001.0','232404007.0','232405008.0','232405008.0','232406009.0','232417005.0','232420002.0','234528007.0','240444009.0','240547000.0','300932000.0','302911003.0','312422001.0','363746003.0','399095008.0','405737000.0','415724006.0','J02','J02.0','J02.8','J02.9','J03','J03.0','J03.00','J03.01','J03.8','J03.80','J03.81','J03.9','J03.90','J03.91']},'2.16.840.1.113883.3.464.0001.373':{'RxNorm':['197450','197451','200346','204871','250156','309054','309058','309076','309077','309078','309079','309085','309086','309087','309090','309091','309092','309093','351127','419849','476576','562619','645956','746671','847360']},'2.16.840.1.113883.3.464.0001.157':{'RxNorm':['105134.0','105152.0','199693.0','199694.0','199928.0','199997.0','239187.0','239191.0','240984.0','246282.0','250463.0','308177.0','308181.0','308182.0','308183.0','308188.0','308189.0','308191.0','308192.0','308194.0','308207.0','308208.0','308209.0','308210.0','308212.0','313797.0','313798.0','313799.0','313800.0','313801.0','313819.0','313850.0','346892.0','392151.0','392152.0','403945.0','476299.0','562255.0','562256.0','598025.0','746669.0','756252.0','789980.0','791939.0','791947.0','802550.0','846994.0','852904.0','308206']},'2.16.840.1.113883.3.464.0001.172':{'RxNorm':['562251.0','562253.0','562508.0','617293.0','617295.0','617296.0','617302.0','617304.0','617309.0','617316.0','617322.0','617423.0','617430.0','617975.0','617976.0','617981.0','617989.0','617993.0','617995.0','617996.0','645806.0']},'2.16.840.1.113883.3.560.100.4':{'LOINC':['21112-8']},'2.16.840.1.113883.3.464.0001.45':{'CPT':['99281','99282','99283','99284','99285']},'2.16.840.1.113883.3.464.0001.48':{'CPT':['99201','99202','99203','99204','99205','99211','99212','99213','99214','99215','99217','99218','99219','99220','99241','99242','99243','99244','99245','99384','99385','99394','99395','99401','99402','99403','99404','99411','99412','99420','99429']},'2.16.840.1.113883.3.464.0001.50':{'ICD-9-CM':['V70.0','V70.3','V70.5','V70.6','V70.8','V70.9']},'2.16.840.1.113883.3.464.0001.246':{'RxNorm':['105170.0','105171.0','197454.0','197455.0','197456.0','242794.0','250582.0','309046.0','309047.0','309048.0','309049.0','309051.0','309052.0','309053.0','309110.0','309111.0','309112.0','309113.0','309114.0','309115.0','309121.0','313889.0','313920.0','313929.0','347996.0','406696.0','476193.0','562062.0','562641.0','637173.0','645617.0','755615.0','755616.0','755617.0','796301.0','854220.0']},'2.16.840.1.113883.3.464.0001.247':{'RxNorm':['108449.0','141843.0','198332.0','198333.0','244967.0','562707.0']},'2.16.840.1.113883.3.464.0001.249':{'CPT':['87070','87071','87081','87430','87650','87651','87652','87880']},'2.16.840.1.113883.3.464.0001.251':{'LOINC':['11268-0','17656-0','18481-2','31971-5','49610-9','5036-9','626-2','6556-5','6557-3','6558-1','6559-9']},'2.16.840.1.113883.3.464.0001.252':{'SNOMED-CT':['89634005.0','122121004.0','122205003.0','122245007.0','122303007.0']},'2.16.840.1.113883.3.464.0001.302':{'RxNorm':['141970.0','197518.0','197519.0','205964.0','259233.0','284215.0','309329.0','309332.0','309333.0','309335.0','309336.0','309337.0','309338.0','309339.0','309340.0','358917.0','392275.0','477451.0','562266.0','745483.0','797274.0','853019.0','882548.0','885131.0','890921.0','900391.0','900424.0','900460.0']},'2.16.840.1.113883.3.464.0001.308':{'RxNorm':['204844.0','248656.0','251854.0','141962.0','141963.0','197516.0','197517.0','197650.0','206085.0','240741.0','259543.0','308459.0','308460.0','308461.0','309321.0','309322.0','310157.0','310160.0','310161.0','310162.0','310165.0','346618.0','359385.0','486912.0','486955.0','486960.0','487129.0','577162.0','577378.0','597193.0','597194.0','597298.0','597455.0','686350.0','686354.0','686355.0','686400.0','686405.0','686406.0','686418.0','686447.0','750151.0','751864.0','861416.0']},'2.16.840.1.113883.3.464.0001.341':{'RxNorm':['105078.0','204466.0','207390.0','207391.0','312260.0','312263.0','312266.0','312270.0','617857.0','617881.0','623677.0','623695.0','731538.0','731558.0','731560.0','731564.0','731567.0','731570.0','731572.0','731575.0','731590.0','745047.0','745051.0','745053.0','745276.0','745278.0','745280.0','745282.0','745284.0','745286.0','745292.0','745296.0','745300.0','745302.0','745303.0','745462.0','745464.0','745477.0','745479.0','745519.0','745560.0','745561.0','745585.0','824584.0','834040.0','834046.0','834061.0','834102.0','834179.0','834182.0','836306.0','863538.0']},'2.16.840.1.113883.3.464.0001.368':{'RxNorm':['197595.0','197596.0','309860.0','313945.0','406366.0']},'2.16.840.1.113883.3.464.0001.371':{'ICD-9-CM':['034.0','462.0','463.0']},'2.16.840.1.113883.3.464.0001.372':{'SNOMED-CT':['140004.0','652005.0','1532007.0','2091005.0','2365002.0','10351008.0','11461005.0','13177009.0','14465002.0','17741008.0','23166004.0','24078009.0','27878001.0','31309002.0','39271004.0','40766000.0','41582007.0','43878008.0','47841006.0','51209006.0','51476001.0','55355000.0','58031004.0','59221008.0','59471009.0','63866002.0','70020005.0','72430001.0','76651006.0','78430008.0','78911000.0','82228008.0','87326000.0','90176007.0','90979004.0','95885008.0','102453009.0','109362006.0','111277007.0','111816002.0','111816002.0','126664009.0','164260005.0','186659004.0','186675001.0','186963008.0','195655000.0','195655000.0','195656004.0','195657008.0','195658003.0','195659006.0','195660001.0','195662009.0','195662009.0','195663004.0','195666007.0','195667003.0','195668008.0','195669000.0','195670004.0','195671000.0','195672007.0','195673002.0','195676005.0','195677001.0','195707008.0','195779005.0','195780008.0','195782000.0','195798007.0','195803003.0','195804009.0','195924009.0','232399005.0','232400003.0','232401004.0','232402006.0','232403001.0','232404007.0','232405008.0','232405008.0','232406009.0','232417005.0','232420002.0','234528007.0','240444009.0','240547000.0','300932000.0','302911003.0','312422001.0','363746003.0','399095008.0','405737000.0','415724006.0','J02','J02.0','J02.8','J02.9','J03','J03.0','J03.00','J03.01','J03.8','J03.80','J03.81','J03.9','J03.90','J03.91']},'2.16.840.1.113883.3.464.0001.385':{'RxNorm':['197511.0','197512.0','198044.0','198048.0','198049.0','198050.0','199370.0','199886.0','240639.0','240640.0','250095.0','259311.0','309304.0','309308.0','309309.0','309310.0','310445.0','311296.0','311364.0','311787.0','313522.0','313523.0','314009.0','315065.0','351156.0','359383.0','403921.0','477391.0','597446.0','637560.0','644541.0','794769.0','877486.0']},'2.16.840.1.113883.3.464.0001.397':{'RxNorm':['105189','197449','197452','197453','197898','197899','204929','245239','309040','309041','309042','309043','309044','309045','309080','309081','309095','309096','309097','309098','309099','309100','309101','309103','311370','311371','313888','313926','349507','349508','387065','387066','476322','476325','476327','476623']},'2.16.840.1.113883.3.464.0001.406':{'RxNorm':['142118.0','198334.0','198335.0','313137.0','648254.0','686383.0','894883.0','198235','198420','246252','312340','313134','315219','413716','756189']},'2.16.840.1.113883.3.464.0001.408':{'RxNorm':['105220','105227','197633','197984','197985','198249','198250','198252','199026','199027','207362','207364','242807','242814','283535','310026','310027','310028','310029','310030','313251','313252','313253','313254','314108','317127','348869','348870','349114','349115','349116','351121','359465','403840','406524','434018','597520','597521','597808','629695','629697','629699','630819','630824','630827','643821','645613','645614','645619','647109','687231','700408','705861','728207','756134','756192','799048','858062','858065','858372','858375']},'2.16.840.1.113883.3.464.0001.409':{'RxNorm':['197450','197451','200346','204871','250156','309054','309058','309076','309077','309078','309079','309085','309086','309087','309090','309091','309092','309093','351127','419849','476576','562619','645956','746671','847360']}};\n // Measure variables\nvar MeasurePeriod = {\n \"low\": new TS(\"20100101\", null, true),\n \"high\": new TS(\"20110101\", null, true)\n}\nhqmfjs.MeasurePeriod = function(patient) {\n return [new hQuery.CodedEntry(\n {\n \"start_time\": MeasurePeriod.low.asDate().getTime()/1000,\n \"end_time\": MeasurePeriod.high.asDate().getTime()/1000,\n \"codes\": {}\n }\n )];\n}\nif (typeof effective_date === 'number') {\n MeasurePeriod.high.date = new Date(1000*effective_date);\n MeasurePeriod.low.date = new Date(1000*effective_date);\n MeasurePeriod.low.date.setFullYear(MeasurePeriod.low.date.getFullYear()-1);\n}\n\n// Data critera\nhqmfjs.MedicationDispensedPharyngitisAntibiotics_precondition_4 = function(patient) {\n var events = patient.allMedications();\n events = events.withStatuses([\"dispensed\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.373\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events.specificContext=Specifics.identity()\n return events;\n}\n\nhqmfjs.MedicationOrderPharyngitisAntibiotics_precondition_6 = function(patient) {\n var events = patient.allMedications();\n events = events.withStatuses([\"ordered\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.373\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events.specificContext=Specifics.identity()\n return events;\n}\n\nhqmfjs.MedicationActivePharyngitisAntibiotics_precondition_8 = function(patient) {\n var events = patient.allMedications();\n events = events.withStatuses([\"active\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.373\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events.specificContext=Specifics.identity()\n return events;\n}\n\nhqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_1 = function(patient) {\n var events = patient.encounters();\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.231\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events = DURING(events, hqmfjs.MeasurePeriod(patient));\n events = SBS(events, hqmfjs.GROUP_SBS_CHILDREN_1(patient), new IVL_PQ(null, new PQ(3, \"d\", true)));\n return events;\n}\n\nhqmfjs.GROUP_SBS_CHILDREN_1 = function(patient) {\n var events = UNION(\n hqmfjs.MedicationDispensedPharyngitisAntibiotics_precondition_4(patient),\n hqmfjs.MedicationOrderPharyngitisAntibiotics_precondition_6(patient),\n hqmfjs.MedicationActivePharyngitisAntibiotics_precondition_8(patient)\n );\n\n events.specificContext=Specifics.identity()\n return events;\n}\n\nhqmfjs.LaboratoryTestPerformedGroupAStreptococcusTest_precondition_11 = function(patient) {\n var events = patient.laboratoryTests();\n events = events.withStatuses([\"performed\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.250\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events = SBE(events, hqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_1(patient), new IVL_PQ(null, new PQ(3, \"d\", true)));\n return events;\n}\n\nhqmfjs.MedicationDispensedPharyngitisAntibiotics_precondition_16 = function(patient) {\n var events = patient.allMedications();\n events = events.withStatuses([\"dispensed\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.373\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events.specificContext=Specifics.identity()\n return events;\n}\n\nhqmfjs.MedicationOrderPharyngitisAntibiotics_precondition_18 = function(patient) {\n var events = patient.allMedications();\n events = events.withStatuses([\"ordered\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.373\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events.specificContext=Specifics.identity()\n return events;\n}\n\nhqmfjs.MedicationActivePharyngitisAntibiotics_precondition_20 = function(patient) {\n var events = patient.allMedications();\n events = events.withStatuses([\"active\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.373\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events.specificContext=Specifics.identity()\n return events;\n}\n\nhqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_13 = function(patient) {\n var events = patient.encounters();\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.231\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events = DURING(events, hqmfjs.MeasurePeriod(patient));\n events = SBS(events, hqmfjs.GROUP_SBS_CHILDREN_2(patient), new IVL_PQ(null, new PQ(3, \"d\", true)));\n return events;\n}\n\nhqmfjs.GROUP_SBS_CHILDREN_2 = function(patient) {\n var events = UNION(\n hqmfjs.MedicationDispensedPharyngitisAntibiotics_precondition_16(patient),\n hqmfjs.MedicationOrderPharyngitisAntibiotics_precondition_18(patient),\n hqmfjs.MedicationActivePharyngitisAntibiotics_precondition_20(patient)\n );\n\n events.specificContext=Specifics.identity()\n return events;\n}\n\nhqmfjs.LaboratoryTestPerformedGroupAStreptococcusTest_precondition_23 = function(patient) {\n var events = patient.laboratoryTests();\n events = events.withStatuses([\"performed\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.250\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events = SAE(events, hqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_13(patient), new IVL_PQ(null, new PQ(3, \"d\", true)));\n return events;\n}\n\nhqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_26 = function(patient) {\n var events = patient.encounters();\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.231\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events = DURING(events, hqmfjs.MeasurePeriod(patient));\n return events;\n}\n\nhqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_28 = function(patient) {\n var events = patient.encounters();\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.231\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events = DURING(events, hqmfjs.MeasurePeriod(patient));\n return events;\n}\n\nhqmfjs.DiagnosisActivePharyngitis_precondition_29 = function(patient) {\n var events = patient.allProblems();\n events = events.withStatuses([\"active\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.369\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events = DURING(events, hqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_28(patient));\n return events;\n}\n\nhqmfjs.MedicationDispensedPharyngitisAntibiotics_precondition_34 = function(patient) {\n var events = patient.allMedications();\n events = events.withStatuses([\"dispensed\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.373\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events.specificContext=Specifics.identity()\n return events;\n}\n\nhqmfjs.MedicationOrderPharyngitisAntibiotics_precondition_36 = function(patient) {\n var events = patient.allMedications();\n events = events.withStatuses([\"ordered\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.373\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events.specificContext=Specifics.identity()\n return events;\n}\n\nhqmfjs.MedicationActivePharyngitisAntibiotics_precondition_38 = function(patient) {\n var events = patient.allMedications();\n events = events.withStatuses([\"active\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.373\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events.specificContext=Specifics.identity()\n return events;\n}\n\nhqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_31 = function(patient) {\n var events = patient.encounters();\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.231\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events = DURING(events, hqmfjs.MeasurePeriod(patient));\n events = SBS(events, hqmfjs.GROUP_SBS_CHILDREN_3(patient), new IVL_PQ(null, new PQ(3, \"d\", true)));\n return events;\n}\n\nhqmfjs.GROUP_SBS_CHILDREN_3 = function(patient) {\n var events = UNION(\n hqmfjs.MedicationDispensedPharyngitisAntibiotics_precondition_34(patient),\n hqmfjs.MedicationOrderPharyngitisAntibiotics_precondition_36(patient),\n hqmfjs.MedicationActivePharyngitisAntibiotics_precondition_38(patient)\n );\n\n events.specificContext=Specifics.identity()\n return events;\n}\n\nhqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_49 = function(patient) {\n var events = patient.encounters();\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.231\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events = DURING(events, hqmfjs.MeasurePeriod(patient));\n return events;\n}\n\nhqmfjs.MedicationDispensedPharyngitisAntibiotics_precondition_42 = function(patient) {\n var events = patient.allMedications();\n events = events.withStatuses([\"dispensed\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.373\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events = SBS(events, hqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_49(patient), new IVL_PQ(null, new PQ(30, \"d\", true)));\n return events;\n}\n\nhqmfjs.MedicationOrderPharyngitisAntibiotics_precondition_44 = function(patient) {\n var events = patient.allMedications();\n events = events.withStatuses([\"ordered\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.373\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events = SBS(events, hqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_49(patient), new IVL_PQ(null, new PQ(30, \"d\", true)));\n return events;\n}\n\nhqmfjs.MedicationActivePharyngitisAntibiotics_precondition_46 = function(patient) {\n var events = patient.allMedications();\n events = events.withStatuses([\"active\"]);\n events = events.withoutNegation();\n var codes = getCodes(\"2.16.840.1.113883.3.464.0001.373\");\n var start = null;\n var end = null;\n events = events.match(codes, start, end, true);\n\n events = SBS(events, hqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_49(patient), new IVL_PQ(null, new PQ(30, \"d\", true)));\n return events;\n}\n\nhqmfjs.PatientCharacteristicBirthDate_precondition_53 = function(patient) {\nvar value = patient.birthtime();\nvar events = [value];\nevents = SBS(events, hqmfjs.MeasurePeriod(patient), new IVL_PQ(new PQ(2, \"a\", true), null));\nevents.specificContext=Specifics.identity();\nreturn events;\n\n}\n\nhqmfjs.PatientCharacteristicBirthDate_precondition_55 = function(patient) {\nvar value = patient.birthtime();\nvar events = [value];\nevents = SBS(events, hqmfjs.MeasurePeriod(patient), new IVL_PQ(null, new PQ(17, \"a\", true)));\nevents.specificContext=Specifics.identity();\nreturn events;\n\n}\n\n\n\n // #########################\n // ##### MEASURE LOGIC #####\n // #########################\n \n hqmfjs.initializeSpecifics = function(patient_api, hqmfjs) { Specifics.initialize(patient_api,hqmfjs) }\n\n // INITIAL PATIENT POPULATION\n hqmfjs.IPP = function(patient) {\n return allTrue( \n allTrue( \n hqmfjs.PatientCharacteristicBirthDate_precondition_53(patient), \n hqmfjs.PatientCharacteristicBirthDate_precondition_55(patient)\n )\n );\n};\n\n\n // DENOMINATOR\n hqmfjs.DENOM = function(patient) {\n return allTrue( \n allTrue( \n hqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_26(patient), \n hqmfjs.DiagnosisActivePharyngitis_precondition_29(patient), \n atLeastOneTrue( \n hqmfjs.EncounterEncounterAmbulatoryIncludingPediatrics_precondition_31(patient)\n ), \n atLeastOneFalse( \n atLeastOneTrue( \n hqmfjs.MedicationDispensedPharyngitisAntibiotics_precondition_42(patient), \n hqmfjs.MedicationOrderPharyngitisAntibiotics_precondition_44(patient), \n hqmfjs.MedicationActivePharyngitisAntibiotics_precondition_46(patient)\n )\n )\n )\n );\n};\n\n\n // NUMERATOR\n hqmfjs.NUMER = function(patient) {\n return allTrue( \n allTrue( \n hqmfjs.LaboratoryTestPerformedGroupAStreptococcusTest_precondition_11(patient), \n hqmfjs.LaboratoryTestPerformedGroupAStreptococcusTest_precondition_23(patient)\n )\n );\n};\n\n\n hqmfjs.EXCL = function(patient) { return new Boolean(false); }\n hqmfjs.DENEXCEP = function(patient) { return new Boolean(false); }\n \n\n hqmfjs.initializeSpecifics(patient_api, hqmfjs)\n \n var population = function() {\n return executeIfAvailable(hqmfjs.IPP, patient_api);\n }\n var denominator = function() {\n return executeIfAvailable(hqmfjs.DENOM, patient_api);\n }\n var numerator = function() {\n return executeIfAvailable(hqmfjs.NUMER, patient_api);\n }\n var exclusion = function() {\n return executeIfAvailable(hqmfjs.EXCL, patient_api);\n }\n var denexcep = function() {\n return executeIfAvailable(hqmfjs.DENEXCEP, patient_api);\n }\n \n var executeIfAvailable = function(optionalFunction, arg) {\n if (typeof(optionalFunction)==='function')\n return optionalFunction(arg);\n else\n return false;\n }\n\n if (Logger.enabled) enableMeasureLogging(hqmfjs);\n\n map(patient, population, denominator, numerator, exclusion, denexcep);\n \n };\n ",
|
625
|
+
"measure": {
|
626
|
+
"encounter_encounter_ambulatory_including_pediatrics": {
|
627
|
+
"type": "array",
|
628
|
+
"items": {
|
629
|
+
"type": "number",
|
630
|
+
"format": "utc-sec"
|
631
|
+
},
|
632
|
+
"standard_concept": "encounter_ambulatory_including_pediatrics",
|
633
|
+
"standard_category": "encounter",
|
634
|
+
"qds_data_type": "encounter",
|
635
|
+
"codes": [
|
636
|
+
{
|
637
|
+
"set": "CPT",
|
638
|
+
"version": "2011.0",
|
639
|
+
"values": [
|
640
|
+
"99281",
|
641
|
+
"99282",
|
642
|
+
"99283",
|
643
|
+
"99284",
|
644
|
+
"99285"
|
645
|
+
]
|
646
|
+
},
|
647
|
+
{
|
648
|
+
"set": "CPT",
|
649
|
+
"version": "2011.0",
|
650
|
+
"values": [
|
651
|
+
"99201",
|
652
|
+
"99202",
|
653
|
+
"99203",
|
654
|
+
"99204",
|
655
|
+
"99205",
|
656
|
+
"99211",
|
657
|
+
"99212",
|
658
|
+
"99213",
|
659
|
+
"99214",
|
660
|
+
"99215",
|
661
|
+
"99217",
|
662
|
+
"99218",
|
663
|
+
"99219",
|
664
|
+
"99220",
|
665
|
+
"99241",
|
666
|
+
"99242",
|
667
|
+
"99243",
|
668
|
+
"99244",
|
669
|
+
"99245",
|
670
|
+
"99384",
|
671
|
+
"99385",
|
672
|
+
"99394",
|
673
|
+
"99395",
|
674
|
+
"99401",
|
675
|
+
"99402",
|
676
|
+
"99403",
|
677
|
+
"99404",
|
678
|
+
"99411",
|
679
|
+
"99412",
|
680
|
+
"99420",
|
681
|
+
"99429"
|
682
|
+
]
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"set": "ICD-9-CM",
|
686
|
+
"version": "2011.0",
|
687
|
+
"values": [
|
688
|
+
"V70.0",
|
689
|
+
"V70.3",
|
690
|
+
"V70.5",
|
691
|
+
"V70.6",
|
692
|
+
"V70.8",
|
693
|
+
"V70.9"
|
694
|
+
]
|
695
|
+
}
|
696
|
+
]
|
697
|
+
},
|
698
|
+
"laboratory_test_group_a_streptococcus_test": {
|
699
|
+
"type": "array",
|
700
|
+
"items": {
|
701
|
+
"type": "number",
|
702
|
+
"format": "utc-sec"
|
703
|
+
},
|
704
|
+
"standard_concept": "group_a_streptococcus_test",
|
705
|
+
"standard_category": "laboratory_test",
|
706
|
+
"qds_data_type": "laboratory_test",
|
707
|
+
"codes": [
|
708
|
+
{
|
709
|
+
"set": "CPT",
|
710
|
+
"version": "2011.0",
|
711
|
+
"values": [
|
712
|
+
"87070",
|
713
|
+
"87071",
|
714
|
+
"87081",
|
715
|
+
"87430",
|
716
|
+
"87650",
|
717
|
+
"87651",
|
718
|
+
"87652",
|
719
|
+
"87880"
|
720
|
+
]
|
721
|
+
},
|
722
|
+
{
|
723
|
+
"set": "LOINC",
|
724
|
+
"version": "2011.0",
|
725
|
+
"values": [
|
726
|
+
"11268-0",
|
727
|
+
"17656-0",
|
728
|
+
"18481-2",
|
729
|
+
"31971-5",
|
730
|
+
"49610-9",
|
731
|
+
"5036-9",
|
732
|
+
"626-2",
|
733
|
+
"6556-5",
|
734
|
+
"6557-3",
|
735
|
+
"6558-1",
|
736
|
+
"6559-9"
|
737
|
+
]
|
738
|
+
},
|
739
|
+
{
|
740
|
+
"set": "SNOMED-CT",
|
741
|
+
"version": "2011.0",
|
742
|
+
"values": [
|
743
|
+
"89634005.0",
|
744
|
+
"122121004.0",
|
745
|
+
"122205003.0",
|
746
|
+
"122245007.0",
|
747
|
+
"122303007.0"
|
748
|
+
]
|
749
|
+
}
|
750
|
+
]
|
751
|
+
},
|
752
|
+
"condition_diagnosis_problem_pharyngitis": {
|
753
|
+
"type": "array",
|
754
|
+
"items": {
|
755
|
+
"type": "number",
|
756
|
+
"format": "utc-sec"
|
757
|
+
},
|
758
|
+
"standard_concept": "pharyngitis",
|
759
|
+
"standard_category": "diagnosis_condition_problem",
|
760
|
+
"qds_data_type": "diagnosis_active",
|
761
|
+
"codes": [
|
762
|
+
{
|
763
|
+
"set": "ICD-9-CM",
|
764
|
+
"version": "2011.0",
|
765
|
+
"values": [
|
766
|
+
"034.0",
|
767
|
+
"462.0",
|
768
|
+
"463.0"
|
769
|
+
]
|
770
|
+
},
|
771
|
+
{
|
772
|
+
"set": "SNOMED-CT",
|
773
|
+
"version": "2011.0",
|
774
|
+
"values": [
|
775
|
+
"140004.0",
|
776
|
+
"652005.0",
|
777
|
+
"1532007.0",
|
778
|
+
"2091005.0",
|
779
|
+
"2365002.0",
|
780
|
+
"10351008.0",
|
781
|
+
"11461005.0",
|
782
|
+
"13177009.0",
|
783
|
+
"14465002.0",
|
784
|
+
"17741008.0",
|
785
|
+
"23166004.0",
|
786
|
+
"24078009.0",
|
787
|
+
"27878001.0",
|
788
|
+
"31309002.0",
|
789
|
+
"39271004.0",
|
790
|
+
"40766000.0",
|
791
|
+
"41582007.0",
|
792
|
+
"43878008.0",
|
793
|
+
"47841006.0",
|
794
|
+
"51209006.0",
|
795
|
+
"51476001.0",
|
796
|
+
"55355000.0",
|
797
|
+
"58031004.0",
|
798
|
+
"59221008.0",
|
799
|
+
"59471009.0",
|
800
|
+
"63866002.0",
|
801
|
+
"70020005.0",
|
802
|
+
"72430001.0",
|
803
|
+
"76651006.0",
|
804
|
+
"78430008.0",
|
805
|
+
"78911000.0",
|
806
|
+
"82228008.0",
|
807
|
+
"87326000.0",
|
808
|
+
"90176007.0",
|
809
|
+
"90979004.0",
|
810
|
+
"95885008.0",
|
811
|
+
"102453009.0",
|
812
|
+
"109362006.0",
|
813
|
+
"111277007.0",
|
814
|
+
"111816002.0",
|
815
|
+
"111816002.0",
|
816
|
+
"126664009.0",
|
817
|
+
"164260005.0",
|
818
|
+
"186659004.0",
|
819
|
+
"186675001.0",
|
820
|
+
"186963008.0",
|
821
|
+
"195655000.0",
|
822
|
+
"195655000.0",
|
823
|
+
"195656004.0",
|
824
|
+
"195657008.0",
|
825
|
+
"195658003.0",
|
826
|
+
"195659006.0",
|
827
|
+
"195660001.0",
|
828
|
+
"195662009.0",
|
829
|
+
"195662009.0",
|
830
|
+
"195663004.0",
|
831
|
+
"195666007.0",
|
832
|
+
"195667003.0",
|
833
|
+
"195668008.0",
|
834
|
+
"195669000.0",
|
835
|
+
"195670004.0",
|
836
|
+
"195671000.0",
|
837
|
+
"195672007.0",
|
838
|
+
"195673002.0",
|
839
|
+
"195676005.0",
|
840
|
+
"195677001.0",
|
841
|
+
"195707008.0",
|
842
|
+
"195779005.0",
|
843
|
+
"195780008.0",
|
844
|
+
"195782000.0",
|
845
|
+
"195798007.0",
|
846
|
+
"195803003.0",
|
847
|
+
"195804009.0",
|
848
|
+
"195924009.0",
|
849
|
+
"232399005.0",
|
850
|
+
"232400003.0",
|
851
|
+
"232401004.0",
|
852
|
+
"232402006.0",
|
853
|
+
"232403001.0",
|
854
|
+
"232404007.0",
|
855
|
+
"232405008.0",
|
856
|
+
"232405008.0",
|
857
|
+
"232406009.0",
|
858
|
+
"232417005.0",
|
859
|
+
"232420002.0",
|
860
|
+
"234528007.0",
|
861
|
+
"240444009.0",
|
862
|
+
"240547000.0",
|
863
|
+
"300932000.0",
|
864
|
+
"302911003.0",
|
865
|
+
"312422001.0",
|
866
|
+
"363746003.0",
|
867
|
+
"399095008.0",
|
868
|
+
"405737000.0",
|
869
|
+
"415724006.0",
|
870
|
+
"J02",
|
871
|
+
"J02.0",
|
872
|
+
"J02.8",
|
873
|
+
"J02.9",
|
874
|
+
"J03",
|
875
|
+
"J03.0",
|
876
|
+
"J03.00",
|
877
|
+
"J03.01",
|
878
|
+
"J03.8",
|
879
|
+
"J03.80",
|
880
|
+
"J03.81",
|
881
|
+
"J03.9",
|
882
|
+
"J03.90",
|
883
|
+
"J03.91"
|
884
|
+
]
|
885
|
+
}
|
886
|
+
]
|
887
|
+
},
|
888
|
+
"medication_pharyngitis_antibiotics": {
|
889
|
+
"type": "array",
|
890
|
+
"items": {
|
891
|
+
"type": "number",
|
892
|
+
"format": "utc-sec"
|
893
|
+
},
|
894
|
+
"standard_concept": "pharyngitis_antibiotics",
|
895
|
+
"standard_category": "medication",
|
896
|
+
"qds_data_type": "medication_active",
|
897
|
+
"codes": [
|
898
|
+
{
|
899
|
+
"set": "RxNorm",
|
900
|
+
"version": "2011.0",
|
901
|
+
"values": [
|
902
|
+
"105134.0",
|
903
|
+
"105152.0",
|
904
|
+
"199693.0",
|
905
|
+
"199694.0",
|
906
|
+
"199928.0",
|
907
|
+
"199997.0",
|
908
|
+
"239187.0",
|
909
|
+
"239191.0",
|
910
|
+
"240984.0",
|
911
|
+
"246282.0",
|
912
|
+
"250463.0",
|
913
|
+
"308177.0",
|
914
|
+
"308181.0",
|
915
|
+
"308182.0",
|
916
|
+
"308183.0",
|
917
|
+
"308188.0",
|
918
|
+
"308189.0",
|
919
|
+
"308191.0",
|
920
|
+
"308192.0",
|
921
|
+
"308194.0",
|
922
|
+
"308207.0",
|
923
|
+
"308208.0",
|
924
|
+
"308209.0",
|
925
|
+
"308210.0",
|
926
|
+
"308212.0",
|
927
|
+
"313797.0",
|
928
|
+
"313798.0",
|
929
|
+
"313799.0",
|
930
|
+
"313800.0",
|
931
|
+
"313801.0",
|
932
|
+
"313819.0",
|
933
|
+
"313850.0",
|
934
|
+
"346892.0",
|
935
|
+
"392151.0",
|
936
|
+
"392152.0",
|
937
|
+
"403945.0",
|
938
|
+
"476299.0",
|
939
|
+
"562255.0",
|
940
|
+
"562256.0",
|
941
|
+
"598025.0",
|
942
|
+
"746669.0",
|
943
|
+
"756252.0",
|
944
|
+
"789980.0",
|
945
|
+
"791939.0",
|
946
|
+
"791947.0",
|
947
|
+
"802550.0",
|
948
|
+
"846994.0",
|
949
|
+
"852904.0",
|
950
|
+
"308206"
|
951
|
+
]
|
952
|
+
},
|
953
|
+
{
|
954
|
+
"set": "RxNorm",
|
955
|
+
"version": "2011.0",
|
956
|
+
"values": [
|
957
|
+
"562251.0",
|
958
|
+
"562253.0",
|
959
|
+
"562508.0",
|
960
|
+
"617293.0",
|
961
|
+
"617295.0",
|
962
|
+
"617296.0",
|
963
|
+
"617302.0",
|
964
|
+
"617304.0",
|
965
|
+
"617309.0",
|
966
|
+
"617316.0",
|
967
|
+
"617322.0",
|
968
|
+
"617423.0",
|
969
|
+
"617430.0",
|
970
|
+
"617975.0",
|
971
|
+
"617976.0",
|
972
|
+
"617981.0",
|
973
|
+
"617989.0",
|
974
|
+
"617993.0",
|
975
|
+
"617995.0",
|
976
|
+
"617996.0",
|
977
|
+
"645806.0"
|
978
|
+
]
|
979
|
+
},
|
980
|
+
{
|
981
|
+
"set": "RxNorm",
|
982
|
+
"version": "2011.0",
|
983
|
+
"values": [
|
984
|
+
"105170.0",
|
985
|
+
"105171.0",
|
986
|
+
"197454.0",
|
987
|
+
"197455.0",
|
988
|
+
"197456.0",
|
989
|
+
"242794.0",
|
990
|
+
"250582.0",
|
991
|
+
"309046.0",
|
992
|
+
"309047.0",
|
993
|
+
"309048.0",
|
994
|
+
"309049.0",
|
995
|
+
"309051.0",
|
996
|
+
"309052.0",
|
997
|
+
"309053.0",
|
998
|
+
"309110.0",
|
999
|
+
"309111.0",
|
1000
|
+
"309112.0",
|
1001
|
+
"309113.0",
|
1002
|
+
"309114.0",
|
1003
|
+
"309115.0",
|
1004
|
+
"309121.0",
|
1005
|
+
"313889.0",
|
1006
|
+
"313920.0",
|
1007
|
+
"313929.0",
|
1008
|
+
"347996.0",
|
1009
|
+
"406696.0",
|
1010
|
+
"476193.0",
|
1011
|
+
"562062.0",
|
1012
|
+
"562641.0",
|
1013
|
+
"637173.0",
|
1014
|
+
"645617.0",
|
1015
|
+
"755615.0",
|
1016
|
+
"755616.0",
|
1017
|
+
"755617.0",
|
1018
|
+
"796301.0",
|
1019
|
+
"854220.0"
|
1020
|
+
]
|
1021
|
+
},
|
1022
|
+
{
|
1023
|
+
"set": "RxNorm",
|
1024
|
+
"version": "2011.0",
|
1025
|
+
"values": [
|
1026
|
+
"108449.0",
|
1027
|
+
"141843.0",
|
1028
|
+
"198332.0",
|
1029
|
+
"198333.0",
|
1030
|
+
"244967.0",
|
1031
|
+
"562707.0"
|
1032
|
+
]
|
1033
|
+
},
|
1034
|
+
{
|
1035
|
+
"set": "RxNorm",
|
1036
|
+
"version": "2011.0",
|
1037
|
+
"values": [
|
1038
|
+
"141970.0",
|
1039
|
+
"197518.0",
|
1040
|
+
"197519.0",
|
1041
|
+
"205964.0",
|
1042
|
+
"259233.0",
|
1043
|
+
"284215.0",
|
1044
|
+
"309329.0",
|
1045
|
+
"309332.0",
|
1046
|
+
"309333.0",
|
1047
|
+
"309335.0",
|
1048
|
+
"309336.0",
|
1049
|
+
"309337.0",
|
1050
|
+
"309338.0",
|
1051
|
+
"309339.0",
|
1052
|
+
"309340.0",
|
1053
|
+
"358917.0",
|
1054
|
+
"392275.0",
|
1055
|
+
"477451.0",
|
1056
|
+
"562266.0",
|
1057
|
+
"745483.0",
|
1058
|
+
"797274.0",
|
1059
|
+
"853019.0",
|
1060
|
+
"882548.0",
|
1061
|
+
"885131.0",
|
1062
|
+
"890921.0",
|
1063
|
+
"900391.0",
|
1064
|
+
"900424.0",
|
1065
|
+
"900460.0"
|
1066
|
+
]
|
1067
|
+
},
|
1068
|
+
{
|
1069
|
+
"set": "RxNorm",
|
1070
|
+
"version": "2011.0",
|
1071
|
+
"values": [
|
1072
|
+
"204844.0",
|
1073
|
+
"248656.0",
|
1074
|
+
"251854.0",
|
1075
|
+
"141962.0",
|
1076
|
+
"141963.0",
|
1077
|
+
"197516.0",
|
1078
|
+
"197517.0",
|
1079
|
+
"197650.0",
|
1080
|
+
"206085.0",
|
1081
|
+
"240741.0",
|
1082
|
+
"259543.0",
|
1083
|
+
"308459.0",
|
1084
|
+
"308460.0",
|
1085
|
+
"308461.0",
|
1086
|
+
"309321.0",
|
1087
|
+
"309322.0",
|
1088
|
+
"310157.0",
|
1089
|
+
"310160.0",
|
1090
|
+
"310161.0",
|
1091
|
+
"310162.0",
|
1092
|
+
"310165.0",
|
1093
|
+
"346618.0",
|
1094
|
+
"359385.0",
|
1095
|
+
"486912.0",
|
1096
|
+
"486955.0",
|
1097
|
+
"486960.0",
|
1098
|
+
"487129.0",
|
1099
|
+
"577162.0",
|
1100
|
+
"577378.0",
|
1101
|
+
"597193.0",
|
1102
|
+
"597194.0",
|
1103
|
+
"597298.0",
|
1104
|
+
"597455.0",
|
1105
|
+
"686350.0",
|
1106
|
+
"686354.0",
|
1107
|
+
"686355.0",
|
1108
|
+
"686400.0",
|
1109
|
+
"686405.0",
|
1110
|
+
"686406.0",
|
1111
|
+
"686418.0",
|
1112
|
+
"686447.0",
|
1113
|
+
"750151.0",
|
1114
|
+
"751864.0",
|
1115
|
+
"861416.0"
|
1116
|
+
]
|
1117
|
+
},
|
1118
|
+
{
|
1119
|
+
"set": "RxNorm",
|
1120
|
+
"version": "2011.0",
|
1121
|
+
"values": [
|
1122
|
+
"105078.0",
|
1123
|
+
"204466.0",
|
1124
|
+
"207390.0",
|
1125
|
+
"207391.0",
|
1126
|
+
"312260.0",
|
1127
|
+
"312263.0",
|
1128
|
+
"312266.0",
|
1129
|
+
"312270.0",
|
1130
|
+
"617857.0",
|
1131
|
+
"617881.0",
|
1132
|
+
"623677.0",
|
1133
|
+
"623695.0",
|
1134
|
+
"731538.0",
|
1135
|
+
"731558.0",
|
1136
|
+
"731560.0",
|
1137
|
+
"731564.0",
|
1138
|
+
"731567.0",
|
1139
|
+
"731570.0",
|
1140
|
+
"731572.0",
|
1141
|
+
"731575.0",
|
1142
|
+
"731590.0",
|
1143
|
+
"745047.0",
|
1144
|
+
"745051.0",
|
1145
|
+
"745053.0",
|
1146
|
+
"745276.0",
|
1147
|
+
"745278.0",
|
1148
|
+
"745280.0",
|
1149
|
+
"745282.0",
|
1150
|
+
"745284.0",
|
1151
|
+
"745286.0",
|
1152
|
+
"745292.0",
|
1153
|
+
"745296.0",
|
1154
|
+
"745300.0",
|
1155
|
+
"745302.0",
|
1156
|
+
"745303.0",
|
1157
|
+
"745462.0",
|
1158
|
+
"745464.0",
|
1159
|
+
"745477.0",
|
1160
|
+
"745479.0",
|
1161
|
+
"745519.0",
|
1162
|
+
"745560.0",
|
1163
|
+
"745561.0",
|
1164
|
+
"745585.0",
|
1165
|
+
"824584.0",
|
1166
|
+
"834040.0",
|
1167
|
+
"834046.0",
|
1168
|
+
"834061.0",
|
1169
|
+
"834102.0",
|
1170
|
+
"834179.0",
|
1171
|
+
"834182.0",
|
1172
|
+
"836306.0",
|
1173
|
+
"863538.0"
|
1174
|
+
]
|
1175
|
+
},
|
1176
|
+
{
|
1177
|
+
"set": "RxNorm",
|
1178
|
+
"version": "2011.0",
|
1179
|
+
"values": [
|
1180
|
+
"197595.0",
|
1181
|
+
"197596.0",
|
1182
|
+
"309860.0",
|
1183
|
+
"313945.0",
|
1184
|
+
"406366.0"
|
1185
|
+
]
|
1186
|
+
},
|
1187
|
+
{
|
1188
|
+
"set": "RxNorm",
|
1189
|
+
"version": "2011.0",
|
1190
|
+
"values": [
|
1191
|
+
"197511.0",
|
1192
|
+
"197512.0",
|
1193
|
+
"198044.0",
|
1194
|
+
"198048.0",
|
1195
|
+
"198049.0",
|
1196
|
+
"198050.0",
|
1197
|
+
"199370.0",
|
1198
|
+
"199886.0",
|
1199
|
+
"240639.0",
|
1200
|
+
"240640.0",
|
1201
|
+
"250095.0",
|
1202
|
+
"259311.0",
|
1203
|
+
"309304.0",
|
1204
|
+
"309308.0",
|
1205
|
+
"309309.0",
|
1206
|
+
"309310.0",
|
1207
|
+
"310445.0",
|
1208
|
+
"311296.0",
|
1209
|
+
"311364.0",
|
1210
|
+
"311787.0",
|
1211
|
+
"313522.0",
|
1212
|
+
"313523.0",
|
1213
|
+
"314009.0",
|
1214
|
+
"315065.0",
|
1215
|
+
"351156.0",
|
1216
|
+
"359383.0",
|
1217
|
+
"403921.0",
|
1218
|
+
"477391.0",
|
1219
|
+
"597446.0",
|
1220
|
+
"637560.0",
|
1221
|
+
"644541.0",
|
1222
|
+
"794769.0",
|
1223
|
+
"877486.0"
|
1224
|
+
]
|
1225
|
+
},
|
1226
|
+
{
|
1227
|
+
"set": "RxNorm",
|
1228
|
+
"version": "2011.0",
|
1229
|
+
"values": [
|
1230
|
+
"105189",
|
1231
|
+
"197449",
|
1232
|
+
"197452",
|
1233
|
+
"197453",
|
1234
|
+
"197898",
|
1235
|
+
"197899",
|
1236
|
+
"204929",
|
1237
|
+
"245239",
|
1238
|
+
"309040",
|
1239
|
+
"309041",
|
1240
|
+
"309042",
|
1241
|
+
"309043",
|
1242
|
+
"309044",
|
1243
|
+
"309045",
|
1244
|
+
"309080",
|
1245
|
+
"309081",
|
1246
|
+
"309095",
|
1247
|
+
"309096",
|
1248
|
+
"309097",
|
1249
|
+
"309098",
|
1250
|
+
"309099",
|
1251
|
+
"309100",
|
1252
|
+
"309101",
|
1253
|
+
"309103",
|
1254
|
+
"311370",
|
1255
|
+
"311371",
|
1256
|
+
"313888",
|
1257
|
+
"313926",
|
1258
|
+
"349507",
|
1259
|
+
"349508",
|
1260
|
+
"387065",
|
1261
|
+
"387066",
|
1262
|
+
"476322",
|
1263
|
+
"476325",
|
1264
|
+
"476327",
|
1265
|
+
"476623"
|
1266
|
+
]
|
1267
|
+
},
|
1268
|
+
{
|
1269
|
+
"set": "RxNorm",
|
1270
|
+
"version": "2011.0",
|
1271
|
+
"values": [
|
1272
|
+
"142118.0",
|
1273
|
+
"198334.0",
|
1274
|
+
"198335.0",
|
1275
|
+
"313137.0",
|
1276
|
+
"648254.0",
|
1277
|
+
"686383.0",
|
1278
|
+
"894883.0",
|
1279
|
+
"198235",
|
1280
|
+
"198420",
|
1281
|
+
"246252",
|
1282
|
+
"312340",
|
1283
|
+
"313134",
|
1284
|
+
"315219",
|
1285
|
+
"413716",
|
1286
|
+
"756189"
|
1287
|
+
]
|
1288
|
+
},
|
1289
|
+
{
|
1290
|
+
"set": "RxNorm",
|
1291
|
+
"version": "2011.0",
|
1292
|
+
"values": [
|
1293
|
+
"105220",
|
1294
|
+
"105227",
|
1295
|
+
"197633",
|
1296
|
+
"197984",
|
1297
|
+
"197985",
|
1298
|
+
"198249",
|
1299
|
+
"198250",
|
1300
|
+
"198252",
|
1301
|
+
"199026",
|
1302
|
+
"199027",
|
1303
|
+
"207362",
|
1304
|
+
"207364",
|
1305
|
+
"242807",
|
1306
|
+
"242814",
|
1307
|
+
"283535",
|
1308
|
+
"310026",
|
1309
|
+
"310027",
|
1310
|
+
"310028",
|
1311
|
+
"310029",
|
1312
|
+
"310030",
|
1313
|
+
"313251",
|
1314
|
+
"313252",
|
1315
|
+
"313253",
|
1316
|
+
"313254",
|
1317
|
+
"314108",
|
1318
|
+
"317127",
|
1319
|
+
"348869",
|
1320
|
+
"348870",
|
1321
|
+
"349114",
|
1322
|
+
"349115",
|
1323
|
+
"349116",
|
1324
|
+
"351121",
|
1325
|
+
"359465",
|
1326
|
+
"403840",
|
1327
|
+
"406524",
|
1328
|
+
"434018",
|
1329
|
+
"597520",
|
1330
|
+
"597521",
|
1331
|
+
"597808",
|
1332
|
+
"629695",
|
1333
|
+
"629697",
|
1334
|
+
"629699",
|
1335
|
+
"630819",
|
1336
|
+
"630824",
|
1337
|
+
"630827",
|
1338
|
+
"643821",
|
1339
|
+
"645613",
|
1340
|
+
"645614",
|
1341
|
+
"645619",
|
1342
|
+
"647109",
|
1343
|
+
"687231",
|
1344
|
+
"700408",
|
1345
|
+
"705861",
|
1346
|
+
"728207",
|
1347
|
+
"756134",
|
1348
|
+
"756192",
|
1349
|
+
"799048",
|
1350
|
+
"858062",
|
1351
|
+
"858065",
|
1352
|
+
"858372",
|
1353
|
+
"858375"
|
1354
|
+
]
|
1355
|
+
},
|
1356
|
+
{
|
1357
|
+
"set": "RxNorm",
|
1358
|
+
"version": "2011.0",
|
1359
|
+
"values": [
|
1360
|
+
"197450",
|
1361
|
+
"197451",
|
1362
|
+
"200346",
|
1363
|
+
"204871",
|
1364
|
+
"250156",
|
1365
|
+
"309054",
|
1366
|
+
"309058",
|
1367
|
+
"309076",
|
1368
|
+
"309077",
|
1369
|
+
"309078",
|
1370
|
+
"309079",
|
1371
|
+
"309085",
|
1372
|
+
"309086",
|
1373
|
+
"309087",
|
1374
|
+
"309090",
|
1375
|
+
"309091",
|
1376
|
+
"309092",
|
1377
|
+
"309093",
|
1378
|
+
"351127",
|
1379
|
+
"419849",
|
1380
|
+
"476576",
|
1381
|
+
"562619",
|
1382
|
+
"645956",
|
1383
|
+
"746671",
|
1384
|
+
"847360"
|
1385
|
+
]
|
1386
|
+
}
|
1387
|
+
]
|
1388
|
+
},
|
1389
|
+
"individual_characteristic_birth_date": {
|
1390
|
+
"type": "array",
|
1391
|
+
"items": {
|
1392
|
+
"type": "number",
|
1393
|
+
"format": "utc-sec"
|
1394
|
+
},
|
1395
|
+
"standard_concept": "birth_date",
|
1396
|
+
"standard_category": "individual_characteristic",
|
1397
|
+
"qds_data_type": "individual_characteristic",
|
1398
|
+
"codes": [
|
1399
|
+
{
|
1400
|
+
"set": "LOINC",
|
1401
|
+
"version": "2.36",
|
1402
|
+
"values": [
|
1403
|
+
"21112-8"
|
1404
|
+
]
|
1405
|
+
}
|
1406
|
+
]
|
1407
|
+
}
|
1408
|
+
},
|
1409
|
+
"population_ids": {
|
1410
|
+
"IPP": "45A1DEFB-0271-4277-B84C-F6DED6B6FD8E",
|
1411
|
+
"DENOM": "66D82442-4198-44A1-A489-EE9F819F1636",
|
1412
|
+
"NUMER": "1E223193-25A4-4464-9D7E-89B5DCBFC513",
|
1413
|
+
"EXCL": "A6105EE3-7F9E-4311-825E-9FAC4D2FE0CF"
|
1414
|
+
}
|
1415
|
+
}
|