package medicationstatement

import "time"

type MedicationStatementRequest struct {
	PatientID         string    `json:"patient_id" binding:"required"`
	PatientName       string    `json:"patient_name" binding:"required"`
	EncounterID       string    `json:"encounter_id" binding:"required"`
	Status            string    `json:"status" binding:"required,oneof=active completed entered-in-error intended stopped on-hold unknown not-taken"`
	CategoryCode      string    `json:"category_code" binding:"required,oneof=inpatient outpatient community"`
	MedicationCode    string    `json:"medication_code" binding:"required"`    // KFA Code
	MedicationDisplay string    `json:"medication_display" binding:"required"` // KFA Name
	EffectiveDateTime time.Time `json:"effective_date_time" binding:"required"`
	DateAsserted      time.Time `json:"date_asserted" binding:"required"`
	DosageText        string    `json:"dosage_text" binding:"required"`
}

type MedicationStatementPatchRequest []map[string]interface{}
