† admission_list_case ()
Definitively removed in API Version 2.8.1
DEPRECATED IN API VERSION 2.7.11. Use case_admission_list () instead
Function prototype | admission_list_case ( session, case, {get}, {event}, {subscription}) |
---|---|
API Version | ALL Deprecated in 2.7.11 |
Is a function to list all the admissions of a case and the Health principal diagnose | |
Input parameters: |
|
Output parameters: | result: is an XML that contains the admission list admissions: admission objects with all fields in the XML status: status of the admission 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_list_case( “LCAAAAAAAAAAAAAAAAAAA”, “{label:}case_id{@source}”, “true”); |
Response sample: | <?xml version="1.0" encoding="utf-8" standalone="yes"?> <result> <admissions>
<admission>
<ref>{source/id/}16205</ref>
<locked>true</locked>
<refs>
<next>
<ref>{source/id/}16206</ref>
</next>
<prev>
<ref />
</prev>
</refs>
<data>
<case>
<ref>{source/id/}10504</ref>
</case>
<subscription>
<ref>111</ref>
<version>12</version>
<team>
<ref>{source/id/}13</ref> <!-- MANDATORY. IF NOT REPORTED "1" IS DEFAULT VALUE -->
<insignia>{source/id/}n</insignia> <!--- IF NOT REPORTED THE DEFAULT BADGE IS THE LINKCARE LOGO -->
<name>CAP1</name>
</team>
<program>
<id>15</id>
<name>Seguimiento Post-Alta Hospitalaria (2012)</name>
<description>Renewing Health Random</description>
<prog_code>RENHEAL</prog_code>
<image_info>{"resource_ref":14324,"description":"","mimeType":"jpg","code":"","scope":"PROGRAM"}</image_info>
</program>
</subscription>
<enrol_date>2012-10-22 13:32:40</enrol_date>
<admission_date>2012-10-22 13:33:52</admission_date>
<discharge_request_date />
<discharge_date />
<suspended_date />
<rejected_date>2012-10-22 13:34:38</rejected_date>
<notes />
<status>REJECTED</status>
<date_to_display>2012-10-22 13:34:38</date_to_display>
<age_to_display>31</age_to_display>
<his_episode_ref />
<protocol>
<id>1205</id>
<name>Grupo de Intervención 3</name>
<description>IG3. Renewing Health. Random</description>
</protocol>
</data>
</admission>
</admissions> </result> <ErrorMsg></ErrorMsg> |
Notes: | Replaces admission_list (). If the TEAM of the admissions have other TEAMS as members ( with Staff, Case Manager or Coordinator roles); Those TEAMS can see the admissions too. |