/
user_get_professional_role_list ( session )

user_get_professional_role_list ( session )

user_get_professional_role_list ( session )

Is a function to retrieve a set of user "professional" roles like "Nurse", "Doctor",....

Input

parameters:

session: a token obtained by calling session_init ()

Output

parameters:

result: a professional role list XML

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:

user_get_professional_role_list ( “LCAAAAAAAAAAAA”)

Response

sample:

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

<result>

 

<role_list>
  <role>
    <ref>28</ref>
    <description>Fisioterapeuta</description>
  </role>
  <role>
    <ref>21</ref>
    <description>Médico</description>
  </role>
  <role>
    <ref>23</ref>
    <description>Enfermero</description>
  </role>
</role_list>

</result>

<ErrorMsg></ErrorMsg>

Notes: