rewrite parse_search_params() fn to use plpgsql
rewrite parse_search_params() fn to use plpgsql

dburdick/fhirbase,harikt/fhirbase,Illivion/fhirbase,Illivion/fhirbase,harikt/fhirbase,harikt/fhirbase,Illivion/fhirbase,dburdick/fhirbase