31 lines
1.5 KiB
Go
31 lines
1.5 KiB
Go
package model
|
|
|
|
type ImmunizationRequest struct {
|
|
Id string `json:"id,omitempty"`
|
|
ResourceType string `json:"resourceType"`
|
|
Status string `json:"status" binding:"required"`
|
|
VaccineCode CodeableConcept `json:"vaccineCode" binding:"required"`
|
|
Patient Reference `json:"patient" binding:"required"`
|
|
Encounter Reference `json:"encounter"`
|
|
OccurrenceDateTime string `json:"occurrenceDateTime" binding:"required"`
|
|
ExpirationDate string `json:"expirationDate" binding:"required"`
|
|
Recorded string `json:"recorded" binding:"required"`
|
|
PrimarySource bool `json:"primarySource"`
|
|
Location Reference `json:"location" binding:"required"`
|
|
LotNumber string `json:"lotNumber" binding:"required"`
|
|
Route CodeableConcept `json:"route" binding:"required"`
|
|
DoseQuantity Quantity `json:"doseQuantity" binding:"required"`
|
|
Performer []Performers `json:"performer" binding:"required"`
|
|
ReasonCode []CodeableConcept `json:"reasonCode" binding:"required"`
|
|
ProtocolApplied []ProtocolApplied `json:"protocolApplied" binding:"required"`
|
|
}
|
|
|
|
type Performers struct {
|
|
Function CodeableConcept `json:"function"`
|
|
Actor Reference `json:"actor"`
|
|
}
|
|
|
|
type ProtocolApplied struct {
|
|
DoseNumberPositiveInt int `json:"doseNumberPositiveInt"`
|
|
}
|