Class ModifyPatientRequest

Description

Parameter object for updating the patient fields of a patient

The parameters are : (name [type] description)

  • language [String] : Language 2 letter ISO-code. When not specified the default user language shall be user.
  • patientId [Long] : id of the patient that is to be updated.
  • departmentId [Long] : deparment where the patient was created and should be found. This parameter is optional. If the patient is only associated to one department, the departmentId will be guessed. If the patient exists in more than one department, the service will break asking for the user to provide a valid department for the chosen patient.
  • patientFieldDatas [array PatientFieldData}] : a list of PatientFieldData objects representing the new values for the patient fields of a patient.
  • moduleSessionId [Long] : the module session id

<p>The following schema fragment specifies the expected content contained within this class.

 <complexType name="modifyPatientRequest">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="moduleSessionId" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="language" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="patientId" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="departmentId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="patientFieldDatas" type="{http://webservice.module.yosemite.www.memdoc.org/}patientFieldData" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>

Located in /src/wrapper/ModifyPatientRequest.php (line 35)


	
			
Method Summary
 ModifyPatientRequest __construct ()
 void addPatientFieldData (PatientFieldData $patientField)
 void getDepartmentId ()
 void getLanguage ()
 void getPatientId ()
 void setDepartmentId ( $departmentId)
 void setLanguage ( $language)
 void setModuleSessionId ( $moduleSessionId)
 void setPatientFieldDatas ( $patientFieldDatas)
 void setPatientId ( $patientId)
Methods
Constructor __construct (line 41)
ModifyPatientRequest __construct ()
addPatientFieldData (line 92)

Adds a new record to the $patientFieldDatas property This array is expected to contain PatientFieldData elements

  • access: public
void addPatientFieldData (PatientFieldData $patientField)
  • PatientFieldData $patientField: an element repsenting a unit of data to be updated for a patient
getDepartmentId (line 69)
  • access: public
void getDepartmentId ()
getLanguage (line 61)
  • access: public
void getLanguage ()
getModuleSessionId (line 53)
  • access: public
void getModuleSessionId ()
getPatientFieldDatas (line 77)
  • access: public
void getPatientFieldDatas ()
getPatientId (line 45)
  • access: public
void getPatientId ()
setDepartmentId (line 73)
  • access: public
void setDepartmentId ( $departmentId)
  • $departmentId
setLanguage (line 65)
  • access: public
void setLanguage ( $language)
  • $language
setModuleSessionId (line 57)
  • access: public
void setModuleSessionId ( $moduleSessionId)
  • $moduleSessionId
setPatientFieldDatas (line 81)
  • access: public
void setPatientFieldDatas ( $patientFieldDatas)
  • $patientFieldDatas
setPatientId (line 49)
  • access: public
void setPatientId ( $patientId)
  • $patientId

Documentation generated on Fri, 19 Aug 2016 11:23:19 +0200 by phpDocumentor 1.4.4