2 class NFQ_0038_Numerator4
implements CqmFilterIF
4 public function getTitle() {
8 public function test( CqmPatient
$patient, $dateBegin, $dateEnd )
10 $options = array( Medication
::OPTION_COUNT
=> 2 );
11 $dobPlus42Days = date( 'Y-m-d 00:00:00', strtotime( '+42 day', strtotime( $patient->dob
) ) );
12 $dobPlus2Years = date( 'Y-m-d 00:00:00', strtotime( '+2 year', strtotime( $patient->dob
) ) );
13 if ( Helper
::checkMed( Medication
::HIB
, $dobPlus42Days, $dobPlus2Years, $options ) &&
14 !Helper
::checkAllergy( Allergy
::HIB
, $patient ) ) {