METHOD_0 ( ) { org . oscarehr . IDENT_0 . service . IDENT_1 c = new org . oscarehr . IDENT_0 . service . METHOD_1 ( ) ; c . METHOD_2 ( 1 ) ; c . METHOD_3 ( STRING_0 ) ; c . METHOD_4 ( STRING_1 ) ; c . METHOD_5 ( STRING_2 ) ; org . oscarehr . util . IDENT_2 IDENT_3 = org . oscarehr . common . dao . utils . IDENT_4 . METHOD_6 ( ) ; IDENT_3 . METHOD_7 ( ) . METHOD_8 ( false ) ; org . oscarehr . IDENT_0 . service . IDENT_5 result = service . METHOD_9 ( IDENT_3 , c ) ; "<AssertPlaceHolder>" ; org . oscarehr . IDENT_0 . service . IDENT_6 . logger . error ( ( STRING_3 + ( result . METHOD_10 ( ) . size ( ) ) ) ) ; } METHOD_9 ( org . oscarehr . util . IDENT_2 , org . oscarehr . IDENT_0 . service . METHOD_1 ) { org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( STRING_4 2 + criteria ) ) ; java . util . List < org . oscarehr . IDENT_0 . common . IDENT_8 > IDENT_9 = new java . util . ArrayList < org . oscarehr . IDENT_0 . common . IDENT_8 > ( ) ; int IDENT_10 = criteria . METHOD_11 ( ) ; java . lang . String IDENT_11 = STRING_4 6 + IDENT_10 ; long IDENT_12 = java . lang . System . currentTimeMillis ( ) ; long IDENT_13 = java . lang . System . currentTimeMillis ( ) ; java . util . List < java . util . Map < java . lang . String , java . lang . Object > > IDENT_14 = IDENT_15 . METHOD_12 ( IDENT_11 ) ; java . util . Map < java . lang . String , java . lang . Object > IDENT_16 = new java . util . IDENT_17 < java . lang . String , java . lang . Object > ( ) ; for ( java . util . Map < java . lang . String , java . lang . Object > IDENT_18 : IDENT_14 ) { if ( ( IDENT_16 . get ( IDENT_18 . get ( STRING_5 6 ) ) ) != null ) { continue ; } IDENT_16 . put ( ( ( java . lang . String ) ( IDENT_18 . get ( STRING_5 6 ) ) ) , true ) ; org . oscarehr . IDENT_0 . common . IDENT_8 e = new org . oscarehr . IDENT_0 . common . METHOD_13 ( ) ; e . setId ( IDENT_18 . get ( STRING_6 5 ) ) ; e . METHOD_14 ( ( ( java . util . Date ) ( IDENT_18 . get ( STRING_7 9 ) ) ) ) ; e . METHOD_15 ( ( ( java . lang . String ) ( IDENT_18 . get ( STRING_8 1 ) ) ) ) ; e . METHOD_5 ( IDENT_19 . util . IDENT_20 . METHOD_16 ( IDENT_18 . get ( STRING_6 8 ) ) ) ; e . METHOD_17 ( ( ( java . lang . String ) ( IDENT_18 . get ( STRING_5 ) ) ) ) ; e . METHOD_18 ( STRING_5 7 ) ; IDENT_9 . add ( e ) ; } org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( ( STRING_6 9 + ( IDENT_14 . size ( ) ) ) + STRING_4 5 ) + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 1 ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; java . util . List < org . oscarehr . IDENT_21 . ws . IDENT_22 > IDENT_23 = METHOD_19 ( IDENT_3 , IDENT_10 ) ; if ( IDENT_23 != null ) { for ( org . oscarehr . IDENT_21 . ws . IDENT_22 IDENT_18 : IDENT_23 ) { org . oscarehr . IDENT_0 . common . METHOD_13 e = new org . oscarehr . IDENT_0 . common . METHOD_13 ( ) ; e . setId ( IDENT_18 . METHOD_20 ( ) ) ; e . METHOD_14 ( IDENT_18 . METHOD_21 ( ) . getTime ( ) ) ; e . METHOD_15 ( IDENT_18 . METHOD_22 ( ) ) ; e . METHOD_17 ( IDENT_18 . METHOD_23 ( ) ) ; e . METHOD_18 ( STRING_4 1 ) ; IDENT_9 . add ( e ) ; } } if ( IDENT_23 != null ) { org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( ( STRING_6 9 + ( IDENT_23 . size ( ) ) ) + STRING_4 9 ) + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 1 ) ) ; } IDENT_13 = java . lang . System . currentTimeMillis ( ) ; java . util . List < org . oscarehr . common . model . IDENT_24 > IDENT_25 = this . METHOD_24 ( IDENT_3 , IDENT_10 ) ; if ( IDENT_25 != null ) { for ( org . oscarehr . common . model . IDENT_24 IDENT_18 : IDENT_25 ) { org . oscarehr . IDENT_0 . common . METHOD_13 e = new org . oscarehr . IDENT_0 . common . METHOD_13 ( ) ; e . setId ( IDENT_18 . METHOD_25 ( ) ) ; e . METHOD_14 ( IDENT_18 . METHOD_26 ( ) ) ; e . METHOD_18 ( STRING_6 2 ) ; IDENT_9 . add ( e ) ; } } if ( IDENT_25 != null ) { org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( ( STRING_6 9 + ( IDENT_25 . size ( ) ) ) + STRING_4 7 ) + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 1 ) ) ; } IDENT_13 = java . lang . System . currentTimeMillis ( ) ; java . lang . String IDENT_26 = ( ( criteria . METHOD_27 ( ) ) + STRING_8 4 ) + ( criteria . METHOD_28 ( ) ) ; java . util . ArrayList < java . util . HashMap < java . lang . String , ? extends java . lang . Object > > IDENT_27 = IDENT_19 . IDENT_28 . IDENT_29 . METHOD_29 ( IDENT_11 , IDENT_26 ) ; for ( java . util . HashMap < java . lang . String , ? extends java . lang . Object > IDENT_28 : IDENT_27 ) { org . oscarehr . IDENT_0 . common . METHOD_13 e = new org . oscarehr . IDENT_0 . common . METHOD_13 ( ) ; e . setId ( IDENT_28 . get ( STRING_5 4 ) ) ; java . text . IDENT_30 IDENT_31 = new java . text . METHOD_30 ( STRING_4 8 ) ; java . lang . String date = ( ( ( java . lang . String ) ( IDENT_28 . get ( STRING_6 1 ) ) ) + STRING_7 7 ) + ( ( java . lang . String ) ( IDENT_28 . get ( STRING_7 0 ) ) ) ; try { e . METHOD_14 ( IDENT_31 . parse ( date ) ) ; } catch ( java . text . IDENT_32 IDENT_33 ) { org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . error ( ( STRING_4 4 + date ) , IDENT_33 ) ; } e . METHOD_15 ( ( ( java . lang . String ) ( IDENT_28 . get ( STRING_8 1 ) ) ) ) ; e . METHOD_18 ( STRING_9 ) ; IDENT_9 . add ( e ) ; } org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( ( STRING_6 9 + ( IDENT_27 . size ( ) ) ) + STRING_5 8 ) + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 1 ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; java . util . ArrayList < IDENT_19 . IDENT_34 . data . IDENT_35 . IDENT_36 > IDENT_37 = IDENT_19 . IDENT_34 . data . IDENT_35 . METHOD_31 ( IDENT_10 ) ; for ( IDENT_19 . IDENT_34 . data . IDENT_35 . IDENT_36 IDENT_38 : IDENT_37 ) { org . oscarehr . IDENT_0 . common . METHOD_13 e = new org . oscarehr . IDENT_0 . common . METHOD_13 ( ) ; e . setId ( new java . lang . String [ ] { IDENT_38 . METHOD_32 ( ) , IDENT_38 . METHOD_33 ( ) } ) ; java . text . METHOD_30 IDENT_31 = new java . text . METHOD_30 ( STRING_5 0 ) ; try { e . METHOD_14 ( IDENT_31 . parse ( IDENT_38 . METHOD_34 ( ) ) ) ; } catch ( java . text . IDENT_32 IDENT_33 ) { org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . error ( ( STRING_5 1 + ( IDENT_38 . METHOD_34 ( ) ) ) , IDENT_33 ) ; } e . METHOD_18 ( STRING_5 3 ) ; IDENT_9 . add ( e ) ; } org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( ( STRING_6 9 + ( IDENT_37 . size ( ) ) ) + STRING_5 2 ) + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 1 ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; java . util . List < java . util . Map < java . lang . String , java . lang . Object > > IDENT_39 = null ; if ( IDENT_19 . IDENT_40 . getInstance ( ) . getProperty ( STRING_6 3 , STRING_4 6 ) . equalsIgnoreCase ( STRING_10 ) ) { IDENT_39 = IDENT_41 . METHOD_35 ( java . lang . Integer . METHOD_36 ( IDENT_11 ) ) ; for ( java . util . Map < java . lang . String , java . lang . Object > IDENT_42 : IDENT_39 ) { org . oscarehr . IDENT_0 . common . METHOD_13 e = new org . oscarehr . IDENT_0 . common . METHOD_13 ( ) ; e . setId ( IDENT_42 . get ( STRING_6 5 ) ) ; java . text . METHOD_30 IDENT_31 = new java . text . METHOD_30 ( STRING_4 8 ) ; java . lang . String date = ( ( IDENT_42 . get ( STRING_8 ) ) + STRING_7 7 ) + ( IDENT_42 . get ( STRING_7 2 ) ) ; try { e . METHOD_14 ( IDENT_31 . parse ( date ) ) ; } catch ( java . text . IDENT_32 IDENT_33 ) { org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . error ( ( ( ( STRING_4 4 + date ) + STRING_6 6 ) + ( e . getId ( ) ) ) , IDENT_33 ) ; } e . METHOD_15 ( ( ( java . lang . String ) ( IDENT_42 . get ( STRING_4 0 ) ) ) ) ; e . METHOD_18 ( STRING_8 2 ) ; IDENT_9 . add ( e ) ; } org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( ( STRING_6 9 + ( IDENT_39 . size ( ) ) ) + STRING_5 5 ) + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 1 ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; } if ( criteria . METHOD_37 ( ) ) { java . lang . String IDENT_43 = criteria . METHOD_38 ( ) ; if ( STRING_8 FLOAT_0 METHOD_39 ( IDENT_43 ) ) { java . util . Collections . METHOD_40 ( IDENT_9 , org . oscarehr . IDENT_0 . common . METHOD_13 . METHOD_41 ( ) ) ; } else if ( STRING_6 FLOAT_1 METHOD_39 ( METHOD_40 ) ) { java . util . Collections . METHOD_40 ( IDENT_9 , org . oscarehr . IDENT_0 . common . METHOD_13 . METHOD_42 ( ) ) ; } } else { java . util . Collections . METHOD_40 ( IDENT_9 , org . oscarehr . IDENT_0 . common . METHOD_13 . METHOD_42 ( ) ) ; } org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( ( STRING_6 7 + ( IDENT_9 . size ( ) ) ) + STRING_7 3 ) + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 1 ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; java . lang . String IDENT_44 = criteria . METHOD_43 ( ) ; IDENT_9 = IDENT_45 . METHOD_44 ( IDENT_3 . METHOD_45 ( ) , IDENT_9 , IDENT_44 ) ; org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( STRING_11 + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 ) + ( IDENT_9 . size ( ) ) ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; IDENT_9 = METHOD_46 ( IDENT_9 , criteria . METHOD_47 ( ) ) ; org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( STRING_7 8 + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 ) + ( IDENT_9 . size ( ) ) ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; IDENT_9 = METHOD_48 ( IDENT_9 , criteria . METHOD_49 ( ) ) ; org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( STRING_6 + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 ) + ( IDENT_9 . size ( ) ) ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; IDENT_9 = METHOD_50 ( IDENT_9 , criteria . METHOD_51 ( ) ) ; org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( STRING_4 3 + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 ) + ( IDENT_9 . size ( ) ) ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; IDENT_9 = METHOD_52 ( IDENT_9 , criteria . METHOD_53 ( ) , criteria . METHOD_54 ( ) ) ; org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( STRING_6 0 + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 ) + ( IDENT_9 . size ( ) ) ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; org . oscarehr . IDENT_0 . service . IDENT_5 result = new org . oscarehr . IDENT_0 . service . METHOD_55 ( ) ; java . util . List < org . oscarehr . IDENT_0 . common . METHOD_13 > IDENT_46 = null ; if ( criteria . METHOD_56 ( ) ) { IDENT_46 = org . oscarehr . IDENT_0 . service . impl . IDENT_7 . METHOD_57 ( criteria , IDENT_9 , result ) ; } else { IDENT_46 = org . oscarehr . IDENT_0 . service . impl . IDENT_7 . METHOD_58 ( criteria , IDENT_9 , result ) ; } org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( ( STRING_12 + ( IDENT_46 . size ( ) ) ) + STRING_7 3 ) + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 1 ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; java . util . ArrayList < org . oscarehr . IDENT_0 . web . IDENT_47 > IDENT_48 = new java . util . ArrayList < org . oscarehr . IDENT_0 . web . IDENT_47 > ( ) ; if ( ( IDENT_46 . size ( ) ) > 0 ) { java . util . List < java . lang . Long > IDENT_49 = new java . util . ArrayList < java . lang . Long > ( ) ; java . util . List < org . oscarehr . IDENT_21 . ws . IDENT_50 > IDENT_51 = new java . util . ArrayList < org . oscarehr . IDENT_21 . ws . IDENT_50 > ( ) ; java . util . List < java . lang . Long > IDENT_52 = new java . util . ArrayList < java . lang . Long > ( ) ; java . util . List < java . lang . Integer > IDENT_53 = new java . util . ArrayList < java . lang . Integer > ( ) ; for ( org . oscarehr . IDENT_0 . common . METHOD_13 entry : IDENT_46 ) { if ( entry . getType ( ) . equals ( STRING_5 7 ) ) { IDENT_49 . add ( ( ( java . lang . Long ) ( entry . getId ( ) ) ) ) ; } else if ( entry . getType ( ) . equals ( STRING_4 1 ) ) { IDENT_51 . add ( ( ( org . oscarehr . IDENT_21 . ws . IDENT_50 ) ( entry . getId ( ) ) ) ) ; } else if ( entry . getType ( ) . equals ( STRING_8 2 ) ) { IDENT_53 . add ( ( ( java . lang . Integer ) ( entry . getId ( ) ) ) ) ; } else if ( entry . getType ( ) . equals ( STRING_6 2 ) ) { IDENT_52 . add ( ( ( java . lang . Integer ) ( entry . getId ( ) ) ) . METHOD_59 ( ) ) ; } } java . util . List < org . oscarehr . IDENT_0 . model . IDENT_54 > IDENT_55 = IDENT_15 . METHOD_10 ( IDENT_49 ) ; org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( ( STRING_6 9 + ( IDENT_55 . size ( ) ) ) + STRING_13 ) + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 1 ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; java . util . List < org . oscarehr . IDENT_21 . ws . IDENT_22 > IDENT_56 = new java . util . ArrayList < org . oscarehr . IDENT_21 . ws . IDENT_22 > ( ) ; if ( ( IDENT_51 != null ) && ( ( IDENT_51 . size ( ) ) > 0 ) ) { try { IDENT_56 = org . oscarehr . IDENT_57 . IDENT_21 . IDENT_58 . METHOD_60 ( IDENT_3 , IDENT_51 ) ; } catch ( java . net . IDENT_59 e ) { org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . error ( STRING_4 , e ) ; } } org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( ( STRING_6 9 + ( IDENT_56 . size ( ) ) ) + STRING_8 3 ) + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 1 ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; java . util . List < org . oscarehr . IDENT_0 . model . IDENT_54 > IDENT_60 = IDENT_15 . METHOD_10 ( IDENT_52 ) ; org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( ( STRING_6 9 + ( IDENT_60 . size ( ) ) ) + STRING_5 9 ) + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 1 ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; java . util . List < org . oscarehr . common . model . IDENT_61 > IDENT_62 = IDENT_41 . METHOD_61 ( IDENT_53 ) ; org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( ( ( STRING_6 9 + ( IDENT_62 . size ( ) ) ) + STRING_7 4 ) + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_13 ) ) + STRING_7 1 ) ) ; IDENT_13 = java . lang . System . currentTimeMillis ( ) ; IDENT_45 . METHOD_62 ( IDENT_55 ) ; for ( org . oscarehr . IDENT_0 . common . METHOD_13 entry : IDENT_46 ) { if ( entry . getType ( ) . equals ( STRING_5 7 ) ) { IDENT_48 . add ( new org . oscarehr . IDENT_0 . web . METHOD_63 ( IDENT_3 , METHOD_64 ( ( ( java . lang . Long ) ( entry . getId ( ) ) ) , IDENT_55 ) ) ) ; } else if ( entry . getType ( ) . equals ( STRING_4 1 ) ) { IDENT_48 . add ( new org . oscarehr . IDENT_0 . web . METHOD_65 ( IDENT_3 , METHOD_66 ( ( ( org . oscarehr . IDENT_21 . ws . IDENT_50 ) ( entry . getId ( ) ) ) , IDENT_56 ) ) ) ; } else if ( entry . getType ( ) . equals ( STRING_9 ) ) { IDENT_48 . add ( new org . oscarehr . IDENT_0 . web . METHOD_67 ( METHOD_68 ( ( ( java . lang . String ) ( entry . getId ( ) ) ) , IDENT_27 ) ) ) ; } else if ( entry . getType ( ) . equals ( STRING_5 3 ) ) { IDENT_48 . add ( new org . oscarehr . IDENT_0 . web . METHOD_67 ( METHOD_69 ( ( ( java . lang . String [ ] ) ( entry . getId ( ) ) ) , IDENT_37 ) ) ) ; } else if ( entry . getType ( ) . equals ( STRING_8 2 ) ) { IDENT_48 . add ( new org . oscarehr . IDENT_0 . web . METHOD_67 ( METHOD_70 ( ( ( java . lang . Integer ) ( entry . getId ( ) ) ) , IDENT_62 ) ) ) ; } else if ( entry . getType ( ) . equals ( STRING_6 2 ) ) { org . oscarehr . IDENT_0 . model . IDENT_54 IDENT_18 = METHOD_64 ( ( ( java . lang . Integer ) ( entry . getId ( ) ) ) . METHOD_59 ( ) , IDENT_60 ) ; org . oscarehr . IDENT_0 . web . METHOD_63 IDENT_63 = new org . oscarehr . IDENT_0 . web . METHOD_63 ( IDENT_3 , IDENT_18 ) ; IDENT_63 . METHOD_71 ( true ) ; IDENT_63 . METHOD_72 ( true ) ; IDENT_63 . METHOD_73 ( java . lang . String . valueOf ( IDENT_18 . METHOD_74 ( ) ) ) ; IDENT_48 . add ( IDENT_63 ) ; } } } org . oscarehr . IDENT_0 . service . impl . IDENT_7 . logger . debug ( ( ( STRING_7 5 + ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_12 ) ) + STRING_7 6 ) ) ; result . METHOD_10 ( ) . addAll ( IDENT_48 ) ; return result ; }
org . junit . Assert . assertNotNull ( result )