Class PatientField

Description

A PatientField corresponds to one item that is saved for a patient e.g. name, birth date and so on.

The parameters are : (name [type] description)

  • fieldId [Long] : Id of the patient field
  • fieldPosition [int] : used for displaying the fields in a certain order
  • lengthMin [int] : minimum length of the input
  • lengthMax [int] : maximum length of the input
  • fieldType [String] : Type of the field. Possible values are:
    • date: a date
    • number: integer value
    • alpha : letters only
    • alphanumeric: letters and numbers
    • all: all
    • multiplechoice: a question with multiple answers like a html select or radio button
  • fixedFieldType [String] : internal name for the field. This is important for the server to find some special, mandatory fields Possible values are:
    • none: no special type
    • department: The department the patient is in
    • mrn: Medical Record Number. This is the unique identifier used in the hospital.
    • ssn: Social Security Number
    • dob: date of birth
    • lang: lanugage of the patient. Use th 2 letter abreviations: e.g German de, English de
    • lang2: A second language. Use th 2 letter abreviations: e.g Germand de, English de
    • country: country of the patient, use th 2 letter abreviations : Switzerland ch , France fr
    • country2: a second country, same as above
    • lastname: last name
    • firstname: first name
  • additionalCharacters [String] : If you have specified regular expressions for some fixedfield types, you can add additional characters that will be accepted by the regexp
  • useunspecifiedgender [boolean] : Only needed for the gender question. The gender has normaly two ansers, m and f. If this value is true, the answer 'unspecified' will be added to the possible answers
  • useTime [boolean] : If the value is a date, if this is set to true, the time will be added to the date
  • validationRegularExpression [String] : The regular expression used to validate the value
  • allowValidationDeactivation [boolean] : When true, the value will not be validated
  • label [String] : The name of the field to display to the client
  • groupnumber [Long] : For GUI only. If you want to group the fields like they are grouped on MEMdoc, this is the number of the group
  • columnspan [Long] : For GUI only. for rebuilding the tables like they are on MEMdoc, this is the columnspan
  • patientlist [boolean] : For GUI only. It true, this value is included in any listing of patients
  • required [boolean] : The field is mandatory and can not be saved empty
  • readOnly [boolean] : The field is read only for the user. It still can be written in to the database. This is only usefull when creating a GUI for the client

  • author: pabt

Located in /src/patientManagement/PatientField.php (line 58)


	
			
Method Summary
 void getColumnspan ()
 void getFieldId ()
 void getFieldType ()
 void getGroupNumber ()
 void getLabel ()
 void getLengthMax ()
 void getLengthMin ()
 void isPatientlist ()
 void isReadOnly ()
 void isRequired ()
 void isUseTime ()
 void setAdditionalCharacters ( $additionalCharacters)
 void setAllowValidationDeactivation ( $allowValidationDeactivation)
 void setColumnspan ( $columnspan)
 void setFieldId ( $fieldId)
 void setFieldPosition ( $fieldPosition)
 void setFieldType ( $fieldType)
 void setFixedFieldType ( $fixedFieldType)
 void setGroupNumber ( $groupNumber)
 void setLabel ( $label)
 void setLengthMax ( $lengthMax)
 void setLengthMin ( $lengthMin)
 void setPatientlist ( $patientlist)
 void setReadOnly ( $readOnly)
 void setRequired ( $required)
 void setUseTime ( $useTime)
 void setUseUnspecifiedGender ( $useUnspecifiedGender)
 void setValidationRegularExpression ( $validationRegularExpression)
Methods
getAdditionalCharacters (line 127)
  • access: public
void getAdditionalCharacters ()
getColumnspan (line 191)
  • access: public
void getColumnspan ()
getFieldId (line 79)
  • access: public
void getFieldId ()
getFieldPosition (line 87)
  • access: public
void getFieldPosition ()
getFieldType (line 111)
  • access: public
void getFieldType ()
getFixedFieldType (line 119)
  • access: public
void getFixedFieldType ()
getGroupNumber (line 183)
  • access: public
void getGroupNumber ()
getLabel (line 175)
  • access: public
void getLabel ()
getLengthMax (line 103)
  • access: public
void getLengthMax ()
getLengthMin (line 95)
  • access: public
void getLengthMin ()
getValidationRegularExpression (line 167)
  • access: public
void getValidationRegularExpression ()
isAllowValidationDeactivation (line 159)
  • access: public
void isAllowValidationDeactivation ()
isPatientlist (line 199)
  • access: public
void isPatientlist ()
isReadOnly (line 207)
  • access: public
void isReadOnly ()
isRequired (line 151)
  • access: public
void isRequired ()
isUseTime (line 143)
  • access: public
void isUseTime ()
isUseUnspecifiedGender (line 135)
  • access: public
void isUseUnspecifiedGender ()
setAdditionalCharacters (line 131)
  • access: public
void setAdditionalCharacters ( $additionalCharacters)
  • $additionalCharacters
setAllowValidationDeactivation (line 163)
  • access: public
void setAllowValidationDeactivation ( $allowValidationDeactivation)
  • $allowValidationDeactivation
setColumnspan (line 195)
  • access: public
void setColumnspan ( $columnspan)
  • $columnspan
setFieldId (line 83)
  • access: public
void setFieldId ( $fieldId)
  • $fieldId
setFieldPosition (line 91)
  • access: public
void setFieldPosition ( $fieldPosition)
  • $fieldPosition
setFieldType (line 115)
  • access: public
void setFieldType ( $fieldType)
  • $fieldType
setFixedFieldType (line 123)
  • access: public
void setFixedFieldType ( $fixedFieldType)
  • $fixedFieldType
setGroupNumber (line 187)
  • access: public
void setGroupNumber ( $groupNumber)
  • $groupNumber
setLabel (line 179)
  • access: public
void setLabel ( $label)
  • $label
setLengthMax (line 107)
  • access: public
void setLengthMax ( $lengthMax)
  • $lengthMax
setLengthMin (line 99)
  • access: public
void setLengthMin ( $lengthMin)
  • $lengthMin
setPatientlist (line 203)
  • access: public
void setPatientlist ( $patientlist)
  • $patientlist
setReadOnly (line 211)
  • access: public
void setReadOnly ( $readOnly)
  • $readOnly
setRequired (line 155)
  • access: public
void setRequired ( $required)
  • $required
setUseTime (line 147)
  • access: public
void setUseTime ( $useTime)
  • $useTime
setUseUnspecifiedGender (line 139)
  • access: public
void setUseUnspecifiedGender ( $useUnspecifiedGender)
  • $useUnspecifiedGender
setValidationRegularExpression (line 171)
  • access: public
void setValidationRegularExpression ( $validationRegularExpression)
  • $validationRegularExpression

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