41 lines
1.3 KiB
Go
41 lines
1.3 KiB
Go
package model
|
|
|
|
type ServiceRequest struct {
|
|
Id string `json:"id,omitempty"`
|
|
ResourceType string `json:"resourceType"`
|
|
Identifier []Identifier `json:"identifier"`
|
|
Status string `json:"status"`
|
|
Intent string `json:"intent"`
|
|
Priority string `json:"priority"`
|
|
Category []Category `json:"category"`
|
|
Code Code `json:"code"`
|
|
Subject Reference `json:"subject"`
|
|
Encounter Reference `json:"encounter"`
|
|
OccurrenceDateTime string `json:"occurrenceDateTime"`
|
|
AuthoredOn string `json:"authoredOn"`
|
|
Requester Reference `json:"requester"`
|
|
Performer []Reference `json:"performer"`
|
|
ReasonCode []ReasonCode `json:"reasonCode"`
|
|
LocationCode []LocationCode `json:"locationCode"`
|
|
LocationReference []Reference `json:"locationReference"`
|
|
PatientInstruction string `json:"patientInstruction"`
|
|
}
|
|
|
|
type Category struct {
|
|
Coding []Coding `json:"coding"`
|
|
}
|
|
|
|
type Code struct {
|
|
Coding []Coding `json:"coding"`
|
|
Text string `json:"text"`
|
|
}
|
|
|
|
type ReasonCode struct {
|
|
Coding []Coding `json:"coding"`
|
|
Text string `json:"text"`
|
|
}
|
|
|
|
type LocationCode struct {
|
|
Coding []Coding `json:"coding"`
|
|
}
|