Files
2025-12-11 12:27:20 +07:00

44 lines
1.3 KiB
Go

package model
type SpecimenRequest struct {
Id string `json:"id,omitempty"`
ResourceType string `json:"resourceType"`
Identifier []IdentifierSpecimen `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"`
}
type IdentifierSpecimen struct {
Value string `json:"value,omitempty"`
System string `json:"system,omitempty"`
Assigner AssignerSpecimen `json:"assigner"`
}
type AssignerSpecimen struct {
Reference string `json:"reference"`
}