Home / Admin / ACF_KEYSMST_MSTCASECPT – TAB – OUTCOMES & DISCHARGE (v3.0 Modular)
Duplicate Snippet

Embed Snippet on Your Site

ACF_KEYSMST_MSTCASECPT – TAB – OUTCOMES & DISCHARGE (v3.0 Modular)

ismail daugherty PRO
<10
Code Preview
php
<?php
/**
 * ============================================
 * MST CASE - TAB: OUTCOMES & DISCHARGE (v3.0 Modular)
 * ============================================
 * 
 * Purpose: Adds Outcomes & Discharge tab to master field group
 * Parent: group_mst_case_master
 * Source: Compare baseline measurements to current outcomes
 * Fields: 35 fields
 * 
 * VERSION: 3.0 - Modular Architecture
 * Priority: 17 (loads after Baseline Measurements)
 * 
 * Purpose: Track treatment outcomes and discharge planning
 * - Discharge status and planning
 * - Outcome measurements (vs baseline)
 * - Goal achievement percentages
 * - Natural supports identified
 * - Sustainability planning
 * - Follow-up scheduling
 * 
 * CRITICAL: Compare outcomes to Tab 7 Baseline Measurements
 * 
 * IMPORTANT: Master field group snippet must be active first!
 * ============================================
 */
if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}
add_action('acf/init', 'mst_add_outcomes_discharge_tab', 17);
function mst_add_outcomes_discharge_tab() {
    
    if (!function_exists('acf_add_local_field')) {
        return;
    }
    
    // ========================================
    // TAB: OUTCOMES & DISCHARGE
    // ========================================
    acf_add_local_field(array(
        'key' => 'field_tab_outcomes_discharge',
        'label' => '🎯 Outcomes & Discharge',
        'name' => '',
        'type' => 'tab',
        'parent' => 'group_mst_case_master',
        'placement' => 'top',
    ));
    
    // ========================================
    // SECTION 1: DISCHARGE STATUS
    // ========================================
    acf_add_local_field(array(
        'key' => 'field_section_discharge_status',
        'label' => 'Discharge Status & Planning',
        'name' => '',
        'type' => 'message',
        'parent' => 'group_mst_case_master',
        'message' => '<strong style="color: #0073aa;">📋 DISCHARGE PLANNING & STATUS</strong><br>Track discharge planning timeline and status',
        'new_lines' => '',
        'esc_html' => 0,
    ));
    
    // Field 1: Discharge Status
    acf_add_local_field(array(
        'key' => 'field_discharge_status',
        'label' => 'Discharge Status',
        'name' => 'discharge_status',
        'type' => 'select',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Current discharge status',
        'required' => 0,
        'wrapper' => array('width' => '33'),
        'choices' => array(
            'active' => 'Active Treatment',
            'planning' => 'Planning Discharge',
            'scheduled' => 'Discharge Scheduled',
            'complete' => 'Discharge Complete',
        ),
        'default_value' => 'active',
        'ui' => 1,
        'return_format' => 'value',
    ));
    
    // Field 2: Discharge Date Planned
    acf_add_local_field(array(
        'key' => 'field_discharge_date_planned',
        'label' => 'Planned Discharge Date',
        'name' => 'discharge_date_planned',
        'type' => 'date_picker',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Target discharge date',
        'required' => 0,
        'wrapper' => array('width' => '33'),
        'display_format' => 'm/d/Y',
        'return_format' => 'Y-m-d',
        'first_day' => 0,
    ));
    
    // Field 3: Discharge Date Actual
    acf_add_local_field(array(
        'key' => 'field_discharge_date_actual',
        'label' => 'Actual Discharge Date',
        'name' => 'discharge_date_actual',
        'type' => 'date_picker',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Actual discharge date (when complete)',
        'required' => 0,
        'wrapper' => array('width' => '34'),
        'display_format' => 'm/d/Y',
        'return_format' => 'Y-m-d',
        'first_day' => 0,
    ));
    
    // Field 4: Discharge Reason
    acf_add_local_field(array(
        'key' => 'field_discharge_reason',
        'label' => 'Discharge Reason',
        'name' => 'discharge_reason',
        'type' => 'select',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Primary reason for discharge',
        'required' => 0,
        'wrapper' => array('width' => '50'),
        'choices' => array(
            'goals_achieved' => 'Goals Achieved - Successful Completion',
            'family_request' => 'Family Request',
            'non_compliance' => 'Non-Compliance / Engagement Issues',
            'safety_concerns' => 'Safety Concerns',
            'transfer' => 'Transfer to Other Services',
            'moved' => 'Family Moved',
            'other' => 'Other (See Notes)',
        ),
        'default_value' => '',
        'ui' => 1,
        'return_format' => 'value',
    ));
    
    // Field 5: Total Treatment Days
    acf_add_local_field(array(
        'key' => 'field_total_treatment_days',
        'label' => 'Total Treatment Days',
        'name' => 'total_treatment_days',
        'type' => 'number',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Total days from first contact to discharge',
        'required' => 0,
        'wrapper' => array('width' => '25'),
        'default_value' => '',
        'placeholder' => '',
        'prepend' => '',
        'append' => 'days',
        'min' => 0,
        'step' => 1,
        'readonly' => 1,
    ));
    
    // Field 6: Total Contact Hours
    acf_add_local_field(array(
        'key' => 'field_total_contact_hours_final',
        'label' => 'Total Contact Hours',
        'name' => 'total_contact_hours_final',
        'type' => 'number',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Cumulative contact hours over treatment',
        'required' => 0,
        'wrapper' => array('width' => '25'),
        'default_value' => '',
        'placeholder' => '',
        'prepend' => '',
        'append' => 'hours',
        'min' => 0,
        'step' => 0.5,
        'readonly' => 1,
    ));
    
    // ========================================
    // SECTION 2: OUTCOME MEASUREMENTS
    // ========================================
    acf_add_local_field(array(
        'key' => 'field_section_outcome_measurements',
        'label' => 'Outcome Measurements (vs Baseline)',
        'name' => '',
        'type' => 'message',
        'parent' => 'group_mst_case_master',
        'message' => '<strong style="color: #2c7a3e;">📊 COMPARE TO TAB 7: BASELINE MEASUREMENTS</strong><br>Document improvements in key behavioral indicators',
        'new_lines' => '',
        'esc_html' => 0,
    ));
    
    // Field 7: School Attendance Outcome
    acf_add_local_field(array(
        'key' => 'field_outcome_school_attendance',
        'label' => 'School Attendance % (Outcome)',
        'name' => 'outcome_school_attendance',
        'type' => 'number',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Final school attendance percentage (compare to baseline)',
        'required' => 0,
        'wrapper' => array('width' => '33'),
        'default_value' => '',
        'placeholder' => 'e.g., 95',
        'prepend' => '',
        'append' => '%',
        'min' => 0,
        'max' => 100,
        'step' => 1,
    ));
    
    // Field 8: School Suspensions Outcome
    acf_add_local_field(array(
        'key' => 'field_outcome_school_suspensions',
        'label' => 'School Suspensions (Outcome)',
        'name' => 'outcome_school_suspensions',
        'type' => 'number',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Total suspensions during treatment',
        'required' => 0,
        'wrapper' => array('width' => '33'),
        'default_value' => '',
        'placeholder' => '',
        'prepend' => '',
        'append' => 'incidents',
        'min' => 0,
        'step' => 1,
    ));
    
    // Field 9: Arrests Outcome
    acf_add_local_field(array(
        'key' => 'field_outcome_arrests_total',
        'label' => 'Total Arrests (During Treatment)',
        'name' => 'outcome_arrests_total',
        'type' => 'number',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Total arrests during MST treatment',
        'required' => 0,
        'wrapper' => array('width' => '34'),
        'default_value' => '',
        'placeholder' => '',
        'prepend' => '',
        'append' => 'arrests',
        'min' => 0,
        'step' => 1,
    ));
    
    // Field 10: Family Communication Outcome
    acf_add_local_field(array(
        'key' => 'field_outcome_family_communication',
        'label' => 'Family Communication (Outcome)',
        'name' => 'outcome_family_communication',
        'type' => 'number',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Final rating (1-10 scale, compare to baseline)',
        'required' => 0,
        'wrapper' => array('width' => '33'),
        'default_value' => '',
        'placeholder' => '',
        'prepend' => '',
        'append' => '/ 10',
        'min' => 1,
        'max' => 10,
        'step' => 1,
    ));
    
    // Field 11: Family Cohesion Outcome
    acf_add_local_field(array(
        'key' => 'field_outcome_family_cohesion',
        'label' => 'Family Cohesion (Outcome)',
        'name' => 'outcome_family_cohesion',
        'type' => 'number',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Final rating (1-10 scale)',
        'required' => 0,
        'wrapper' => array('width' => '33'),
        'default_value' => '',
        'placeholder' => '',
        'prepend' => '',
        'append' => '/ 10',
        'min' => 1,
        'max' => 10,
        'step' => 1,
    ));
    
    // Field 12: Family Conflict Outcome
    acf_add_local_field(array(
        'key' => 'field_outcome_family_conflict',
        'label' => 'Family Conflict (Outcome)',
        'name' => 'outcome_family_conflict',
        'type' => 'number',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Final rating (1-10 scale, lower is better)',
        'required' => 0,
        'wrapper' => array('width' => '34'),
        'default_value' => '',
        'placeholder' => '',
        'prepend' => '',
        'append' => '/ 10',
        'min' => 1,
        'max' => 10,
        'step' => 1,
    ));
    
    // Field 13: Youth Mood Outcome
    acf_add_local_field(array(
        'key' => 'field_outcome_youth_mood',
        'label' => 'Youth Mood/Mental Health (Outcome)',
        'name' => 'outcome_youth_mood',
        'type' => 'select',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Final mental health status',
        'required' => 0,
        'wrapper' => array('width' => '50'),
        'choices' => array(
            'stable_positive' => 'Stable & Positive',
            'improved' => 'Significantly Improved',
            'stable_concerns' => 'Stable with Ongoing Concerns',
            'declining' => 'Declining / Needs Continued Support',
        ),
        'default_value' => '',
        'ui' => 1,
        'return_format' => 'value',
    ));
    
    // Field 14: Goal Achievement Percentage
    acf_add_local_field(array(
        'key' => 'field_outcome_goal_achievement_percentage',
        'label' => 'Overall Goal Achievement',
        'name' => 'outcome_goal_achievement_percentage',
        'type' => 'number',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Percentage of treatment goals achieved',
        'required' => 0,
        'wrapper' => array('width' => '50'),
        'default_value' => '',
        'placeholder' => 'e.g., 85',
        'prepend' => '',
        'append' => '%',
        'min' => 0,
        'max' => 100,
        'step' => 5,
    ));
    
    // Field 15: Responsible Behaviors Change Summary
    acf_add_local_field(array(
        'key' => 'field_outcome_behaviors_summary',
        'label' => 'Responsible Behaviors Change',
        'name' => 'outcome_behaviors_summary',
        'type' => 'textarea',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Summary of behavioral improvements (compare to baseline Tab 7)',
        'required' => 0,
        'wrapper' => array('width' => '100'),
        'rows' => 3,
        'placeholder' => 'Document changes in youth responsible behaviors from baseline to discharge',
    ));
    
    // ========================================
    // SECTION 3: DISCHARGE PLANNING
    // ========================================
    acf_add_local_field(array(
        'key' => 'field_section_discharge_planning',
        'label' => 'Discharge Planning & Sustainability',
        'name' => '',
        'type' => 'message',
        'parent' => 'group_mst_case_master',
        'message' => '<strong style="color: #d97706;">🔄 MST PRINCIPLE #9: GENERALIZATION</strong><br>Ensure family has sustainable supports in place',
        'new_lines' => '',
        'esc_html' => 0,
    ));
    
    // Field 16: Natural Supports Identified
    acf_add_local_field(array(
        'key' => 'field_natural_supports_identified',
        'label' => 'Natural Supports Identified',
        'name' => 'natural_supports_identified',
        'type' => 'textarea',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Family, friends, community resources identified for ongoing support',
        'required' => 0,
        'wrapper' => array('width' => '100'),
        'rows' => 3,
        'placeholder' => 'List all natural supports family will use after discharge (extended family, church, community groups, etc.)',
    ));
    
    // Field 17: Professional Supports / Referrals
    acf_add_local_field(array(
        'key' => 'field_referrals_made',
        'label' => 'Professional Supports / Referrals Made',
        'name' => 'referrals_made',
        'type' => 'textarea',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Professional services and referrals arranged',
        'required' => 0,
        'wrapper' => array('width' => '100'),
        'rows' => 3,
        'placeholder' => 'Mental health services, outpatient therapy, support groups, etc.',
    ));
    
    // Field 18: Family Maintenance Plan
    acf_add_local_field(array(
        'key' => 'field_family_maintenance_plan',
        'label' => 'Family Maintenance Plan',
        'name' => 'family_maintenance_plan',
        'type' => 'textarea',
        'parent' => 'group_mst_case_master',
        'instructions' => 'How family will maintain gains after discharge',
        'required' => 0,
        'wrapper' => array('width' => '100'),
        'rows' => 4,
        'placeholder' => 'Specific strategies family will use to maintain treatment gains (e.g., weekly family meetings, continued use of point chart, etc.)',
    ));
    
    // Field 19: Sustainability Plan
    acf_add_local_field(array(
        'key' => 'field_sustainability_plan',
        'label' => 'Sustainability Plan',
        'name' => 'sustainability_plan',
        'type' => 'textarea',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Long-term sustainability strategy',
        'required' => 0,
        'wrapper' => array('width' => '100'),
        'rows' => 3,
        'placeholder' => 'Systems/structures in place to ensure long-term success',
    ));
    
    // Field 20: Crisis Plan Post-Discharge
    acf_add_local_field(array(
        'key' => 'field_crisis_plan_post_discharge',
        'label' => 'Crisis Plan (Post-Discharge)',
        'name' => 'crisis_plan_post_discharge',
        'type' => 'textarea',
        'parent' => 'group_mst_case_master',
        'instructions' => 'What family should do if problems re-emerge',
        'required' => 0,
        'wrapper' => array('width' => '100'),
        'rows' => 3,
        'placeholder' => 'Crisis contacts, warning signs to watch for, immediate action steps',
    ));
    
    // Field 21: Booster Sessions Scheduled
    acf_add_local_field(array(
        'key' => 'field_booster_sessions_scheduled',
        'label' => 'Booster Sessions Scheduled',
        'name' => 'booster_sessions_scheduled',
        'type' => 'textarea',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Any planned follow-up/booster sessions',
        'required' => 0,
        'wrapper' => array('width' => '100'),
        'rows' => 2,
        'placeholder' => 'Dates and focus of any booster sessions',
    ));
    
    // ========================================
    // SECTION 4: FOLLOW-UP TRACKING
    // ========================================
    acf_add_local_field(array(
        'key' => 'field_section_follow_up',
        'label' => 'Follow-Up Tracking',
        'name' => '',
        'type' => 'message',
        'parent' => 'group_mst_case_master',
        'message' => '<strong>📞 POST-DISCHARGE FOLLOW-UP</strong><br>Track required follow-up contacts',
        'new_lines' => '',
        'esc_html' => 0,
    ));
    
    // Field 22: 30-Day Follow-Up Scheduled
    acf_add_local_field(array(
        'key' => 'field_follow_up_30day_scheduled',
        'label' => '30-Day Follow-Up Scheduled',
        'name' => 'follow_up_30day_scheduled',
        'type' => 'true_false',
        'parent' => 'group_mst_case_master',
        'instructions' => '30-day post-discharge check-in scheduled',
        'required' => 0,
        'wrapper' => array('width' => '25'),
        'message' => 'Scheduled',
        'default_value' => 0,
        'ui' => 1,
    ));
    
    // Field 23: 30-Day Follow-Up Date
    acf_add_local_field(array(
        'key' => 'field_follow_up_30day_date',
        'label' => '30-Day Follow-Up Date',
        'name' => 'follow_up_30day_date',
        'type' => 'date_picker',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Scheduled date for 30-day follow-up',
        'required' => 0,
        'wrapper' => array('width' => '25'),
        'display_format' => 'm/d/Y',
        'return_format' => 'Y-m-d',
        'first_day' => 0,
        'conditional_logic' => array(
            array(
                array(
                    'field' => 'field_follow_up_30day_scheduled',
                    'operator' => '==',
                    'value' => '1',
                ),
            ),
        ),
    ));
    
    // Field 24: 30-Day Follow-Up Complete
    acf_add_local_field(array(
        'key' => 'field_follow_up_30day_complete',
        'label' => '30-Day Follow-Up Complete',
        'name' => 'follow_up_30day_complete',
        'type' => 'true_false',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Follow-up completed',
        'required' => 0,
        'wrapper' => array('width' => '25'),
        'message' => 'Complete',
        'default_value' => 0,
        'ui' => 1,
    ));
    
    // Field 25: 30-Day Follow-Up Notes
    acf_add_local_field(array(
        'key' => 'field_follow_up_30day_notes',
        'label' => '30-Day Follow-Up Notes',
        'name' => 'follow_up_30day_notes',
        'type' => 'textarea',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Summary of 30-day follow-up contact',
        'required' => 0,
        'wrapper' => array('width' => '25'),
        'rows' => 2,
        'placeholder' => 'How is family doing?',
        'conditional_logic' => array(
            array(
                array(
                    'field' => 'field_follow_up_30day_complete',
                    'operator' => '==',
                    'value' => '1',
                ),
            ),
        ),
    ));
    
    // Field 26: 90-Day Follow-Up Scheduled
    acf_add_local_field(array(
        'key' => 'field_follow_up_90day_scheduled',
        'label' => '90-Day Follow-Up Scheduled',
        'name' => 'follow_up_90day_scheduled',
        'type' => 'true_false',
        'parent' => 'group_mst_case_master',
        'instructions' => '90-day post-discharge check-in scheduled',
        'required' => 0,
        'wrapper' => array('width' => '25'),
        'message' => 'Scheduled',
        'default_value' => 0,
        'ui' => 1,
    ));
    
    // Field 27: 90-Day Follow-Up Date
    acf_add_local_field(array(
        'key' => 'field_follow_up_90day_date',
        'label' => '90-Day Follow-Up Date',
        'name' => 'follow_up_90day_date',
        'type' => 'date_picker',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Scheduled date for 90-day follow-up',
        'required' => 0,
        'wrapper' => array('width' => '25'),
        'display_format' => 'm/d/Y',
        'return_format' => 'Y-m-d',
        'first_day' => 0,
        'conditional_logic' => array(
            array(
                array(
                    'field' => 'field_follow_up_90day_scheduled',
                    'operator' => '==',
                    'value' => '1',
                ),
            ),
        ),
    ));
    
    // Field 28: 90-Day Follow-Up Complete
    acf_add_local_field(array(
        'key' => 'field_follow_up_90day_complete',
        'label' => '90-Day Follow-Up Complete',
        'name' => 'follow_up_90day_complete',
        'type' => 'true_false',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Follow-up completed',
        'required' => 0,
        'wrapper' => array('width' => '25'),
        'message' => 'Complete',
        'default_value' => 0,
        'ui' => 1,
    ));
    
    // Field 29: 90-Day Follow-Up Notes
    acf_add_local_field(array(
        'key' => 'field_follow_up_90day_notes',
        'label' => '90-Day Follow-Up Notes',
        'name' => 'follow_up_90day_notes',
        'type' => 'textarea',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Summary of 90-day follow-up contact',
        'required' => 0,
        'wrapper' => array('width' => '25'),
        'rows' => 2,
        'placeholder' => 'Long-term outcomes',
        'conditional_logic' => array(
            array(
                array(
                    'field' => 'field_follow_up_90day_complete',
                    'operator' => '==',
                    'value' => '1',
                ),
            ),
        ),
    ));
    
    // ========================================
    // SECTION 5: DISCHARGE SUMMARY
    // ========================================
    acf_add_local_field(array(
        'key' => 'field_section_discharge_summary_final',
        'label' => 'Final Discharge Summary',
        'name' => '',
        'type' => 'message',
        'parent' => 'group_mst_case_master',
        'message' => '<strong>📝 FINAL DISCHARGE DOCUMENTATION</strong><br>Comprehensive summary of treatment and outcomes',
        'new_lines' => '',
        'esc_html' => 0,
    ));
    
    // Field 30: Discharge Summary
    acf_add_local_field(array(
        'key' => 'field_discharge_summary',
        'label' => 'Discharge Summary',
        'name' => 'discharge_summary',
        'type' => 'textarea',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Comprehensive summary of treatment, outcomes, and discharge',
        'required' => 0,
        'wrapper' => array('width' => '100'),
        'rows' => 6,
        'placeholder' => 'Complete discharge summary including: treatment duration, goals achieved, behavioral improvements, family engagement, sustainability plan, and recommendations',
    ));
    
    // Field 31: Lessons Learned
    acf_add_local_field(array(
        'key' => 'field_lessons_learned',
        'label' => 'Lessons Learned / Reflections',
        'name' => 'lessons_learned',
        'type' => 'textarea',
        'parent' => 'group_mst_case_master',
        'instructions' => 'What worked well, what could be improved, insights for future cases',
        'required' => 0,
        'wrapper' => array('width' => '100'),
        'rows' => 4,
        'placeholder' => 'Clinical insights and learning from this case',
    ));
    
    // Field 32: Discharge Packet Provided
    acf_add_local_field(array(
        'key' => 'field_discharge_packet_provided',
        'label' => 'Discharge Packet Provided',
        'name' => 'discharge_packet_provided',
        'type' => 'true_false',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Family received complete discharge packet',
        'required' => 0,
        'wrapper' => array('width' => '33'),
        'message' => 'Yes - Provided to family',
        'default_value' => 0,
        'ui' => 1,
    ));
    
    // Field 33: Family Satisfaction Rating
    acf_add_local_field(array(
        'key' => 'field_family_satisfaction_rating',
        'label' => 'Family Satisfaction Rating',
        'name' => 'family_satisfaction_rating',
        'type' => 'number',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Family satisfaction with MST services (1-10)',
        'required' => 0,
        'wrapper' => array('width' => '33'),
        'default_value' => '',
        'placeholder' => '',
        'prepend' => '',
        'append' => '/ 10',
        'min' => 1,
        'max' => 10,
        'step' => 1,
    ));
    
    // Field 34: Would Family Recommend MST
    acf_add_local_field(array(
        'key' => 'field_would_recommend_mst',
        'label' => 'Would Family Recommend MST?',
        'name' => 'would_recommend_mst',
        'type' => 'select',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Would family recommend MST to others?',
        'required' => 0,
        'wrapper' => array('width' => '34'),
        'choices' => array(
            'yes' => 'Yes - Definitely',
            'probably' => 'Probably',
            'maybe' => 'Maybe',
            'probably_not' => 'Probably Not',
            'no' => 'No',
        ),
        'default_value' => '',
        'ui' => 1,
        'return_format' => 'value',
    ));
    
    // Field 35: Administrative Notes
    acf_add_local_field(array(
        'key' => 'field_discharge_admin_notes',
        'label' => 'Administrative Notes',
        'name' => 'discharge_admin_notes',
        'type' => 'textarea',
        'parent' => 'group_mst_case_master',
        'instructions' => 'Internal administrative notes about discharge',
        'required' => 0,
        'wrapper' => array('width' => '100'),
        'rows' => 2,
        'placeholder' => 'Billing notes, insurance, case closing documentation, etc.',
    ));
}

Comments

Add a Comment