Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPatient()
 {
     return $this->hasOne(\app\models\plrs\Patient::className(), ['id' => 'patient_id']);
 }