simple implementation of the `` read '' method concode_field_sep Long myNextId concode_elem_sep Map<Long,Patient> myPatients concode_field_sep List<Patient> search concode_elem_sep List<Patient> search concode_elem_sep Class<? extends IResource> getResourceType concode_elem_sep MethodOutcome create
Patient function ( @ IdParam IdDt arg0 ) { Patient loc0 = myPatients . get ( arg0 . getIdPartAsLong ( ) ) ; if ( loc0 == null ) { throw new ResourceNotFoundException ( arg0 ) ; } return loc0 ; }