Generated JS
Javascript
code posted
created at 04 Nov 14:54
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
function NUMER(patient) { var prcn5 = function(patient) { var prcn6 = function(patient) { var comp7 = function(patient) { // Title: Medication administered: Pneumococcal Vaccine all ages var eventsMatchingComparison = patient.medications(); return eventsMatchingComparison ; } var matchingPreconditionEvents = null; var matchingComparisonEvents = null; matchingComparisonEvents = comp7(patient); return OR(matchingPreconditionEvents, matchingComparisonEvents); } var prcn8 = function(patient) { var comp9 = function(patient) { // Title: Procedure performed: Pneumococcal Vaccination all ages var eventsMatchingComparison = patient.procedures(); return eventsMatchingComparison ; } var matchingPreconditionEvents = null; var matchingComparisonEvents = null; matchingComparisonEvents = comp9(patient); return OR(matchingPreconditionEvents, matchingComparisonEvents); } var matchingPreconditionEvents = null; matchingPreconditionEvents = OR( DURING("F8D5AD22-F49E-4181-B886-E5B12BEA8966", prcn6(patient) ) , DURING("F8D5AD22-F49E-4181-B886-E5B12BEA8966", prcn8(patient) ) ); var matchingComparisonEvents = null; return OR(matchingPreconditionEvents, matchingComparisonEvents); } return AND( prcn5(patient) ); } |
1.37 KB in 3 ms with coderay