package allergyintolerance

import "time"

type AllergyIntoleranceRequest struct {
	PatientID          string    `json:"patient_id" binding:"required"`
	PatientName        string    `json:"patient_name" binding:"required"`
	EncounterID        string    `json:"encounter_id" binding:"required"`
	ClinicalStatus     string    `json:"clinical_status" binding:"required,oneof=active inactive resolved"`
	VerificationStatus string    `json:"verification_status" binding:"required,oneof=unconfirmed presumed confirmed refuted entered-in-error"`
	Category           string    `json:"category" binding:"required,oneof=food medication environment biologic"`
	Code               string    `json:"code" binding:"required"`    // SNOMED CT Code
	Display            string    `json:"display" binding:"required"` // Display Name
	RecordedDate       time.Time `json:"recorded_date" binding:"required"`
}

type AllergyIntolerancePatchRequest []map[string]interface{}
