null], [['received_at'], 'default', 'value' => 'ysutcdatetime('], [['msh_5_hospital_name', 'msh_6_message_dt', 'pid_2_hn_full', 'pid_3_hn', 'pid_5_fullname', 'pid_5_1_fname', 'pid_5_2_lname', 'pid_5_3_prefix', 'pid_7_dob_dt', 'pid_8_sex'], 'required'], [['received_at'], 'safe'], [['raw_hl7'], 'string'], [['user_id'], 'integer'], [['msh_5_hospital_name', 'pid_5_1_fname', 'pid_5_2_lname'], 'string', 'max' => 100], [['msh_6_message_dt', 'pid_7_dob_dt'], 'string', 'max' => 14], [['pid_2_hn_full', 'pid_5_fullname'], 'string', 'max' => 255], [['pid_3_hn', 'pid_5_3_prefix'], 'string', 'max' => 50], [['pid_8_sex'], 'string', 'max' => 1], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'message_id' => 'Message ID', 'msh_5_hospital_name' => 'Msh 5 Hospital Name', 'msh_6_message_dt' => 'Msh 6 Message Dt', 'pid_2_hn_full' => 'Pid 2 Hn Full', 'pid_3_hn' => 'Pid 3 Hn', 'pid_5_fullname' => 'Pid 5 Fullname', 'pid_5_1_fname' => 'Pid 5 1 Fname', 'pid_5_2_lname' => 'Pid 5 2 Lname', 'pid_5_3_prefix' => 'Pid 5 3 Prefix', 'pid_7_dob_dt' => 'Pid 7 Dob Dt', 'pid_8_sex' => 'Pid 8 Sex', 'received_at' => 'Received At', 'raw_hl7' => 'Raw Hl7', 'user_id' => 'User ID', ]; } /** * Gets query for [[EflHl7Obxes]]. * * @return \yii\db\ActiveQuery */ public function getEflHl7Obxes() { return $this->hasMany(EflHl7Obx::class, ['message_id' => 'message_id']); } }