METHOD_0 ( ) { ca . uhn . fhir . jpa . provider . IDENT_0 . IDENT_1 IDENT_2 = new ca . uhn . fhir . jpa . provider . IDENT_0 . METHOD_1 ( ) ; IDENT_2 . METHOD_2 ( ) . METHOD_3 ( STRING_0 ) . setValue ( STRING_1 ) ; IDENT_2 . METHOD_4 ( ) . METHOD_5 ( STRING_2 ) . METHOD_6 ( STRING_3 ) ; IDENT_3 . create ( ) . resource ( IDENT_2 ) . execute ( ) ; ca . uhn . fhir . jpa . provider . IDENT_0 . IDENT_4 response = IDENT_3 . search ( ) . METHOD_7 ( ca . uhn . fhir . jpa . provider . IDENT_0 . METHOD_1 . class ) . METHOD_8 ( ca . uhn . fhir . jpa . provider . IDENT_0 . IDENT_4 . class ) . execute ( ) ; IDENT_2 = ( ( ca . uhn . fhir . jpa . provider . IDENT_0 . METHOD_1 ) ( response . METHOD_9 ( ) . get ( 0 ) . getResource ( ) ) ) ; IDENT_3 . meta ( ) . add ( ) . METHOD_10 ( IDENT_2 . METHOD_11 ( ) ) . meta ( new ca . uhn . fhir . jpa . provider . IDENT_0 . METHOD_12 ( ) . METHOD_13 ( STRING_4 , STRING_5 , STRING_6 ) ) . execute ( ) ; response = IDENT_3 . search ( ) . METHOD_7 ( ca . uhn . fhir . jpa . provider . IDENT_0 . METHOD_1 . class ) . METHOD_8 ( ca . uhn . fhir . jpa . provider . IDENT_0 . IDENT_4 . class ) . execute ( ) ; IDENT_2 = ( ( ca . uhn . fhir . jpa . provider . IDENT_0 . METHOD_1 ) ( response . METHOD_9 ( ) . get ( 0 ) . getResource ( ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_14 ( ) { return new org . IDENT_5 . fhir . instance . model . api . METHOD_15 ( ) { MOD_0 MOD_1 final long IDENT_6 = 1L ; @ ca . uhn . fhir . model . IDENT_7 . resource . Override public org . IDENT_5 . fhir . instance . model . api . METHOD_15 METHOD_16 ( java . lang . String IDENT_8 ) { java . util . ArrayList < ca . uhn . fhir . model . IDENT_9 . IDENT_10 > IDENT_11 = new java . util . ArrayList < ca . uhn . fhir . model . IDENT_9 . IDENT_10 > ( ) ; java . util . List < ca . uhn . fhir . model . IDENT_9 . IDENT_10 > IDENT_12 = IDENT_13 . IDENT_14 . get ( ca . uhn . fhir . model . IDENT_7 . resource . IDENT_15 . this ) ; if ( IDENT_12 != null ) { IDENT_11 . addAll ( IDENT_12 ) ; } IDENT_13 . IDENT_14 . put ( ca . uhn . fhir . model . IDENT_7 . resource . IDENT_15 . this , IDENT_11 ) ; ca . uhn . fhir . model . IDENT_9 . IDENT_10 IDENT_16 = new ca . uhn . fhir . model . IDENT_9 . METHOD_17 ( IDENT_8 ) ; IDENT_11 . add ( IDENT_16 ) ; return this ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public org . IDENT_5 . fhir . instance . model . api . IDENT_17 METHOD_18 ( ) { java . util . List < ca . uhn . fhir . model . base . IDENT_18 . IDENT_19 > IDENT_20 = IDENT_13 . IDENT_21 . get ( ca . uhn . fhir . model . IDENT_7 . resource . IDENT_15 . this ) ; if ( IDENT_20 == null ) { IDENT_20 = new java . util . ArrayList < ca . uhn . fhir . model . base . IDENT_18 . IDENT_19 > ( ) ; IDENT_13 . IDENT_21 . put ( ca . uhn . fhir . model . IDENT_7 . resource . IDENT_15 . this , IDENT_20 ) ; } ca . uhn . fhir . model . IDENT_7 . IDENT_18 . IDENT_22 IDENT_16 = new ca . uhn . fhir . model . IDENT_7 . IDENT_18 . METHOD_19 ( ) ; IDENT_20 . add ( IDENT_16 ) ; return METHOD_20 ( IDENT_16 ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public org . IDENT_5 . fhir . instance . model . api . IDENT_17 METHOD_13 ( ) { ca . uhn . fhir . model . api . IDENT_23 IDENT_20 = IDENT_13 . IDENT_24 . get ( ca . uhn . fhir . model . IDENT_7 . resource . IDENT_15 . this ) ; if ( IDENT_20 == null ) { IDENT_20 = new ca . uhn . fhir . model . api . METHOD_21 ( ) ; IDENT_13 . IDENT_24 . put ( ca . uhn . fhir . model . IDENT_7 . resource . IDENT_15 . this , IDENT_20 ) ; } ca . uhn . fhir . model . api . IDENT_25 IDENT_16 = new ca . uhn . fhir . model . api . METHOD_22 ( ) ; IDENT_20 . add ( IDENT_16 ) ; return IDENT_16 ; } MOD_0 org . IDENT_5 . fhir . instance . model . api . IDENT_17 METHOD_20 ( final ca . uhn . fhir . model . base . IDENT_18 . IDENT_19 IDENT_26 ) { return new org . IDENT_5 . fhir . instance . model . api . METHOD_23 ( ) { MOD_0 MOD_1 final long IDENT_6 = 1L ; @ ca . uhn . fhir . model . IDENT_7 . resource . Override public java . lang . String getCode ( ) { return IDENT_26 . METHOD_24 ( ) . getValue ( ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public java . lang . String METHOD_25 ( ) { return IDENT_26 . METHOD_26 ( ) . getValue ( ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public java . util . List < java . lang . String > METHOD_27 ( ) { return java . util . Collections . emptyList ( ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public java . util . List < java . lang . String > METHOD_28 ( ) { return java . util . Collections . emptyList ( ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public java . lang . String METHOD_29 ( ) { return IDENT_26 . METHOD_30 ( ) . getValue ( ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public boolean METHOD_31 ( ) { return false ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public boolean isEmpty ( ) { return ca . uhn . fhir . util . IDENT_27 . isEmpty ( METHOD_29 ( ) , getCode ( ) , METHOD_25 ( ) ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public org . IDENT_5 . fhir . instance . model . api . METHOD_23 METHOD_32 ( java . lang . String IDENT_28 ) { IDENT_26 . METHOD_32 ( IDENT_28 ) ; return this ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public org . IDENT_5 . fhir . instance . model . api . METHOD_23 METHOD_33 ( java . lang . String IDENT_29 ) { IDENT_26 . METHOD_33 ( IDENT_29 ) ; return this ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public org . IDENT_5 . fhir . instance . model . api . METHOD_23 METHOD_3 ( java . lang . String IDENT_30 ) { IDENT_26 . METHOD_3 ( IDENT_30 ) ; return this ; } } ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public java . util . List < java . lang . String > METHOD_27 ( ) { return java . util . Collections . emptyList ( ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public java . util . List < java . lang . String > METHOD_28 ( ) { return java . util . Collections . emptyList ( ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public java . util . Date METHOD_34 ( ) { ca . uhn . fhir . model . IDENT_9 . IDENT_31 IDENT_32 = IDENT_13 . IDENT_33 . get ( ca . uhn . fhir . model . IDENT_7 . resource . IDENT_15 . this ) ; if ( IDENT_32 != null ) { return IDENT_32 . getValue ( ) ; } return null ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public java . util . List < ? extends org . IDENT_5 . fhir . instance . model . api . IDENT_34 < java . lang . String > > METHOD_35 ( ) { java . util . ArrayList < org . IDENT_5 . fhir . instance . model . api . IDENT_34 < java . lang . String > > IDENT_35 = new java . util . ArrayList < org . IDENT_5 . fhir . instance . model . api . IDENT_34 < java . lang . String > > ( ) ; java . util . List < ca . uhn . fhir . model . IDENT_9 . METHOD_17 > IDENT_36 = IDENT_13 . IDENT_14 . get ( ca . uhn . fhir . model . IDENT_7 . resource . IDENT_15 . this ) ; if ( IDENT_36 == null ) { return java . util . Collections . emptyList ( ) ; } for ( ca . uhn . fhir . model . IDENT_9 . METHOD_17 next : IDENT_36 ) { IDENT_35 . add ( next ) ; } return java . util . Collections . METHOD_36 ( IDENT_35 ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public java . util . List < ? extends org . IDENT_5 . fhir . instance . model . api . METHOD_23 > METHOD_37 ( ) { java . util . ArrayList < org . IDENT_5 . fhir . instance . model . api . METHOD_23 > IDENT_35 = new java . util . ArrayList < org . IDENT_5 . fhir . instance . model . api . METHOD_23 > ( ) ; java . util . List < ca . uhn . fhir . model . base . IDENT_18 . IDENT_19 > IDENT_37 = IDENT_13 . IDENT_21 . get ( ca . uhn . fhir . model . IDENT_7 . resource . IDENT_15 . this ) ; if ( IDENT_37 == null ) { return java . util . Collections . emptyList ( ) ; } for ( ca . uhn . fhir . model . base . IDENT_18 . IDENT_19 next : IDENT_37 ) { IDENT_35 . add ( METHOD_20 ( next ) ) ; } return java . util . Collections . METHOD_36 ( IDENT_35 ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public org . IDENT_5 . fhir . instance . model . api . METHOD_23 METHOD_37 ( java . lang . String IDENT_38 , java . lang . String IDENT_39 ) { for ( ca . uhn . fhir . model . base . IDENT_18 . IDENT_19 next : IDENT_13 . IDENT_21 . get ( ca . uhn . fhir . model . IDENT_7 . resource . IDENT_15 . this ) ) { if ( ( IDENT_38 . equals ( next . METHOD_30 ( ) . getValue ( ) ) ) && ( IDENT_39 . equals ( next . METHOD_24 ( ) . getValue ( ) ) ) ) { return METHOD_20 ( next ) ; } } return null ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public java . util . List < ? extends org . IDENT_5 . fhir . instance . model . api . METHOD_23 > METHOD_38 ( ) { java . util . ArrayList < org . IDENT_5 . fhir . instance . model . api . METHOD_23 > IDENT_35 = new java . util . ArrayList < org . IDENT_5 . fhir . instance . model . api . METHOD_23 > ( ) ; for ( ca . uhn . fhir . model . api . METHOD_22 next : IDENT_13 . IDENT_24 . get ( ca . uhn . fhir . model . IDENT_7 . resource . IDENT_15 . this ) ) { IDENT_35 . add ( next ) ; } return java . util . Collections . METHOD_36 ( IDENT_35 ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public org . IDENT_5 . fhir . instance . model . api . METHOD_23 METHOD_38 ( java . lang . String IDENT_38 , final java . lang . String IDENT_39 ) { for ( final ca . uhn . fhir . model . api . METHOD_22 next : IDENT_13 . IDENT_24 . get ( ca . uhn . fhir . model . IDENT_7 . resource . IDENT_15 . this ) ) { if ( ( next . METHOD_39 ( ) . equals ( IDENT_38 ) ) && ( next . METHOD_40 ( ) . equals ( IDENT_39 ) ) ) { return next ; } } return null ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public java . lang . String METHOD_41 ( ) { return getId ( ) . METHOD_42 ( ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public boolean METHOD_31 ( ) { return false ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public boolean isEmpty ( ) { return METHOD_43 ( ) . isEmpty ( ) ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public org . IDENT_5 . fhir . instance . model . api . METHOD_15 METHOD_44 ( java . util . Date IDENT_40 ) { IDENT_13 . IDENT_33 . put ( ca . uhn . fhir . model . IDENT_7 . resource . IDENT_15 . this , new ca . uhn . fhir . model . IDENT_9 . METHOD_45 ( IDENT_40 ) ) ; return this ; } @ ca . uhn . fhir . model . IDENT_7 . resource . Override public org . IDENT_5 . fhir . instance . model . api . METHOD_15 METHOD_46 ( java . lang . String IDENT_41 ) { setId ( getId ( ) . METHOD_47 ( IDENT_41 ) ) ; return this ; } } ; }
org . junit . Assert . assertEquals ( 1 , IDENT_2 . METHOD_14 ( ) . METHOD_38 ( ) . size ( ) )