31 lines
992 B
Go
31 lines
992 B
Go
package model
|
|
|
|
type EpisodeOfCareRequest struct {
|
|
Id string `json:"id,omitempty"`
|
|
ResourceType string `json:"resourceType"`
|
|
Identifier []Identifier `json:"identifier"`
|
|
Status string `json:"status"`
|
|
StatusHistory []StatusHistory `json:"statusHistory,omitempty"`
|
|
Type []Type `json:"type"`
|
|
Diagnosis []Diagnosis `json:"diagnosis"`
|
|
Patient Reference `json:"patient"`
|
|
ManagingOrganization Reference `json:"managingOrganization"`
|
|
Period Period `json:"period"`
|
|
CareManager Reference `json:"careManager"`
|
|
}
|
|
|
|
type Period struct {
|
|
Start string `json:"start"`
|
|
End string `json:"end"`
|
|
}
|
|
|
|
type Type struct {
|
|
Coding []Coding `json:"coding"`
|
|
}
|
|
|
|
type Diagnosis struct {
|
|
Condition Reference `json:"condition"`
|
|
Role Type `json:"role,omitempty"`
|
|
Rank int `json:"rank,omitempty"`
|
|
}
|