34 lines
1.1 KiB
Go
34 lines
1.1 KiB
Go
package model
|
|
|
|
type SpecimenRequest struct {
|
|
Id string `json:"id,omitempty"`
|
|
ResourceType string `json:"resourceType"`
|
|
Identifier []Identifier `json:"identifier"`
|
|
Status string `json:"status"`
|
|
Type SpecimenType `json:"type"`
|
|
Collection SpecimenCollection `json:"collection"`
|
|
Subject Reference `json:"subject"`
|
|
Request []Reference `json:"request"`
|
|
ReceivedTime string `json:"receivedTime"`
|
|
Extension []SpecimenExtension `json:"extension"`
|
|
}
|
|
|
|
type SpecimenType struct {
|
|
Coding []Coding `json:"coding"`
|
|
}
|
|
|
|
type SpecimenCollection struct {
|
|
CollectedDateTime string `json:"collectedDateTime"`
|
|
Extension []SpecimenCollectionExtension `json:"extension"`
|
|
}
|
|
|
|
type SpecimenCollectionExtension struct {
|
|
URL string `json:"url"`
|
|
ValueReference Reference `json:"valueReference"`
|
|
}
|
|
|
|
type SpecimenExtension struct {
|
|
URL string `json:"url"`
|
|
ValueDateTime string `json:"valueDateTime,omitempty"`
|
|
}
|