<?php

namespace Application\Service\Extension\PatientProgress\Config;

use Application\Service\Extension\Helper\ArrayHelper;

class Enum
{
    const PATIENT_PROGRESS_STATUS_COMMON_FIELD_DEFAULT = [
        'is_sdv' => 0,
        'is_review' => 0,
        'edc_lock' => 0,
        'is_signature' => 0,
        'sdv_question' => 0,
        'review_question' => 0,
        'is_complete' => 0,
        'is_lock' => 0,
        'is_yc' => -1,
        'is_inactive' => 0,
    ];

    const PATIENT_PROGRESS_STATUS_INFO_FIELD_DEFAULT = [
        'content_id' => 0,
        'batch_id' => 0,
    ];

    public static function getWorkBatchFieldDefault() : array
    {
        return self::PATIENT_PROGRESS_STATUS_COMMON_FIELD_DEFAULT;
    }

    public static function getWorkInfoFieldDefault() : array
    {
        return ArrayHelper::merge(
            self::PATIENT_PROGRESS_STATUS_COMMON_FIELD_DEFAULT,
            self::PATIENT_PROGRESS_STATUS_INFO_FIELD_DEFAULT,
        );
    }
}