package episodeofcare

import "time"

type EpisodeOfCareRequest struct {
	PatientID      string     `json:"patient_id" binding:"required"`
	PatientName    string     `json:"patient_name" binding:"required"`
	OrganizationID string     `json:"organization_id" binding:"required"`
	Status         string     `json:"status" binding:"required,oneof=planned waitlist active onhold finished cancelled entered-in-error"` // planned, waitlist, active, onhold, finished, cancelled, entered-in-error
	PeriodStart    time.Time  `json:"period_start" binding:"required"`
	PeriodEnd      *time.Time `json:"period_end,omitempty"`
}

type EpisodeOfCarePatchRequest []map[string]interface{}
