admission_join ( session, admission, protocol {, date })
admission_join ( session, admission, protocol {, date })
Is a function to associate a previously enrolled admission into a protocol. This call includes the task as define by the activity plan associated with the protocol. The admission changes to “admission”. The admission is obtained from the URL of the case manager screen using the admission load. | |
Input parameters: | session: is the session id obtained in the session_init call admission: a previously enrolled admission protocol: is the of an existent protocol in a protocol library date: is the admission date. If not informed, the admission date will be the current date |
Output parameters: | 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: | admission_join( “LCAAAAAAAAAAAAAAA”, “admission_id{@source}”, “protocol_id{@source}”, “2012-01-01 00:00:00”); |
Response sample: | <?xml version="1.0" encoding="utf-8" standalone="yes"?> <ErrorMsg></ErrorMsg> |
Notes: |
|