mastering bridging
This commit is contained in:
24
internal/model/observation.go
Normal file
24
internal/model/observation.go
Normal file
@@ -0,0 +1,24 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user