package model type Quantity struct { Value float64 `json:"value"` Unit string `json:"unit"` System string `json:"system"` Code string `json:"code"` } type ObservationRequest struct { Id string `json:"id,omitempty"` ResourceType string `json:"resourceType"` Status string `json:"status"` Category []CodeableConcept `json:"category"` Code CodeableConcept `json:"code"` Subject Reference `json:"subject"` Performer []Reference `json:"performer"` Specimen *Reference `json:"specimen,omitempty"` BasedOn []Reference `json:"basedOn"` Encounter Reference `json:"encounter"` EffectiveDateTime string `json:"effectiveDateTime"` Issued string `json:"issued"` ValueQuantity *Quantity `json:"valueQuantity,omitempty"` }