/
protocol_search ( session , program, text )

protocol_search ( session , program, text )

protocol_search(session, program, text)

Search the text in the name/description of all protocols of the program input parameter and returns the protocols matched

Input

parameters:

session: a token obtained by calling session_init ()

program: program to search in protocols

text: text to search in protocols's name/description

Output

parameters:

protocols: a list of protocols

protocol: a protocol object

ref: protocol reference

name: protocol name

description: protocol description in the active session language

 

ErrorMsg: any fault in the call, either in the validation of input parameters, errors in the connection to the database or any other error, this parameter returns the error message produced

Request

sample:

protocol_search ( “LCAAAAAAAAAAAA”,"1", "SYNERGY")

Response

sample:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<result>

 

<protocols>
 <protocol>
 <ref>27</ref>
 <name>Detecció de casos</name>
 <description>SYNERGY</description>
 </protocol>
</protocols>

</result>

<ErrorMsg></ErrorMsg>

Notes:

 

Related content