Class Patient

Description

This object represents one patient.

The properties are : (name [type] description)

  • hashedMrn [String] : a hash of the M.R.N
  • hashedSsn [String] : a sha 256 hashcode for the SSN used by some studies
  • patientId [Long] : the patient id. This id is used on the module as on the server
  • yearOfBirth [Integer] : The year of birth in the format YYYY
  • encryptedId [String] : a key created on the module that has to be passed to the server
  • language [String] : language of the patient (2-letter ISO code)
  • deptId [Long] : The department id
  • ssn [String] : Social security number, if available
  • countryId [String] : The country of the patient (2-letter ISO code)
  • mrn [String] : The M.R.N
  • patientClinicId [Long] : The patient clinic id. This id maps a patient to a clinic
  • patientFieldDatas [Array] : An array of PatientFieldData objects
  • hashCodes [Array] : An array of hash codes generated on the module that have to be passed on to the server
  • hashCode1 [String] : a sha 256 hashcode corresponding to a second layer of hashing used by some studies
  • permissions [Array] : An array of permissions created on the module that have to be passed to the server
  • dateOfDischarge [String] : A date string denoting the date when the patient was discharged from the clinic (e.g. 01.02.1983)
  • dischargedReason [String] : A text string correspondings to the reason for which the patient is no longer being followed in the department (e.g. Patient changed address)

 <complexType name="patient">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="countryId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="deptId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="encryptedId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="hashCodes" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="hashCode1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="hashedMrn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="hashedSsn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="language" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="mrn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="patientClinicId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="patientFieldDatas" type="{http://webservice.module.yosemite.www.memdoc.org/}patientFieldData" maxOccurs="unbounded" minOccurs="0"/>
         <element name="patientId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="permissions" type="{http://webservice.module.yosemite.www.memdoc.org/}patientPermission" maxOccurs="unbounded" minOccurs="0"/>
         <element name="ssn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="yearOfBirth" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="dateOfDischarge" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="dischargedReason" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>

  • author: pabt

Located in /src/patientManagement/Patient.php (line 56)


	
			
Method Summary
 void addPatientFieldDatas (PatientFieldData $patientFieldData)
 void addPatientPermission (PatientPermission $patientPermission)
 void getCountryId ()
 void getDeptId ()
 void getEncryptedId ()
 void getHashCode1 ()
 void getHashCodes ()
 void getHashedMrn ()
 void getHashedSsn ()
 void getLanguage ()
 void getMrn ()
 void getPatientId ()
 void getPermissions ()
 void getSsn ()
 void getYearOfBirth ()
 void setCountryId ( $countryId)
 void setDateOfDischarge ( $dateOfDischarge)
 void setDeptId ( $deptId)
 void setDischargedReason ( $dischargedReason)
 void setEncryptedId ( $encryptedId)
 void setHashCode1 ( $hashCode1)
 void setHashCodes ( $hashCodes)
 void setHashedMrn ( $hashedMrn)
 void setHashedSsn ( $hashedSsn)
 void setLanguage ( $language)
 void setMrn ( $mrn)
 void setPatientClinicId ( $patientClinicId)
 void setPatientFieldDatas ( $patientFieldDatas)
 void setPatientId ( $patientId)
 void setPermissions ( $permissions)
 void setSsn ( $ssn)
 void setYearOfBirth ( $yearOfBirth)
Methods
addPatientFieldDatas (line 190)
  • access: public
void addPatientFieldDatas (PatientFieldData $patientFieldData)
addPatientPermission (line 178)
  • access: public
void addPatientPermission (PatientPermission $patientPermission)
getCountryId (line 210)
  • access: public
void getCountryId ()
getDateOfDischarge (line 92)
  • access: public
void getDateOfDischarge ()
getDeptId (line 201)
  • access: public
void getDeptId ()
getDischargedReason (line 79)
  • access: public
void getDischargedReason ()
getEncryptedId (line 193)
  • access: public
void getEncryptedId ()
getHashCode1 (line 104)
  • access: public
void getHashCode1 ()
getHashCodes (line 122)
  • access: public
void getHashCodes ()
getHashedMrn (line 130)
  • access: public
void getHashedMrn ()
getHashedSsn (line 112)
  • access: public
void getHashedSsn ()
getLanguage (line 227)
  • access: public
void getLanguage ()
getMrn (line 218)
  • access: public
void getMrn ()
getPatientClinicId (line 138)
  • access: public
void getPatientClinicId ()
getPatientFieldDatas (line 182)
  • access: public
void getPatientFieldDatas ()
getPatientId (line 146)
  • access: public
void getPatientId ()
getPermissions (line 170)
  • access: public
void getPermissions ()
getSsn (line 96)
  • access: public
void getSsn ()
getYearOfBirth (line 154)
  • access: public
void getYearOfBirth ()
setCountryId (line 214)
  • access: public
void setCountryId ( $countryId)
  • $countryId
setDateOfDischarge (line 88)
  • access: public
void setDateOfDischarge ( $dateOfDischarge)
  • $dateOfDischarge
setDeptId (line 205)
  • access: public
void setDeptId ( $deptId)
  • $deptId
setDischargedReason (line 83)
  • access: public
void setDischargedReason ( $dischargedReason)
  • $dischargedReason
setEncryptedId (line 197)
  • access: public
void setEncryptedId ( $encryptedId)
  • $encryptedId
setHashCode1 (line 108)
  • access: public
void setHashCode1 ( $hashCode1)
  • $hashCode1
setHashCodes (line 126)
  • access: public
void setHashCodes ( $hashCodes)
  • $hashCodes
setHashedMrn (line 134)
  • access: public
void setHashedMrn ( $hashedMrn)
  • $hashedMrn
setHashedSsn (line 116)
  • access: public
void setHashedSsn ( $hashedSsn)
  • $hashedSsn
setLanguage (line 231)
  • access: public
void setLanguage ( $language)
  • $language
setMrn (line 222)
  • access: public
void setMrn ( $mrn)
  • $mrn
setPatientClinicId (line 142)
  • access: public
void setPatientClinicId ( $patientClinicId)
  • $patientClinicId
setPatientFieldDatas (line 186)
  • access: public
void setPatientFieldDatas ( $patientFieldDatas)
  • $patientFieldDatas
setPatientId (line 150)
  • access: public
void setPatientId ( $patientId)
  • $patientId
setPermissions (line 174)
  • access: public
void setPermissions ( $permissions)
  • $permissions
setSsn (line 100)
  • access: public
void setSsn ( $ssn)
  • $ssn
setYearOfBirth (line 158)
  • access: public
void setYearOfBirth ( $yearOfBirth)
  • $yearOfBirth

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