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