34 lines
1.1 KiB
Go
34 lines
1.1 KiB
Go
package model
|
|
|
|
type MedicineKfaRequest struct {
|
|
Page int `form:"page"`
|
|
Size int `form:"size"`
|
|
ProdustType string `form:"product_type"`
|
|
Keyword string `form:"keyword"`
|
|
}
|
|
|
|
type MedicineKfaResponse struct {
|
|
Name string `json:"name"`
|
|
KfaCode string `json:"kfa_code"`
|
|
}
|
|
|
|
type MedicationRequest struct {
|
|
ResourceType string `json:"resourceType"`
|
|
Meta Meta `json:"meta"`
|
|
Identifier []Identifier `json:"identifier"`
|
|
Code CodeableConcept `json:"code"`
|
|
Status string `json:"status"`
|
|
Manufacturer Reference `json:"manufacturer"`
|
|
Form CodeableConcept `json:"form"`
|
|
Extension []ExtensionMedication `json:"extension"`
|
|
}
|
|
|
|
type ExtensionMedication struct {
|
|
URL string `json:"url"`
|
|
ValueCodeableConcept CodeableConcept `json:"valueCodeableConcept"`
|
|
}
|
|
|
|
// Shared types Meta, Identifier, Coding, CodeableConcept, Reference, and Extension
|
|
// are defined in other model files (e.g. patient.go and clinicalImpression.go).
|
|
// This file intentionally references those types to avoid redeclaration.
|