72 lines
2.4 KiB
Go
72 lines
2.4 KiB
Go
package model
|
|
|
|
type AllergancyToleranRequest struct {
|
|
Id string `json:"id,omitempty"`
|
|
ResourceType string `json:"resourceType"`
|
|
Identifier []*IdentifierObject `json:"identifier"`
|
|
ClinicalStatus *ClinicalStatusObject `json:"clinicalStatus"`
|
|
VerificationStatus *ClinicalStatusObject `json:"verificationStatus"`
|
|
Category []string `json:"category"`
|
|
Code *CodeObject `json:"code"`
|
|
Patient *PatientObject `json:"patient"`
|
|
Encounter *PatientObject `json:"encounter"`
|
|
RecordedDate string `json:"recordedDate"`
|
|
Recorder *PatientObject `json:"recorder"`
|
|
}
|
|
|
|
type AllergancyToleranResponse struct {
|
|
ResourceType string `json:"resourceType"`
|
|
Identifier []*IdentifierObject `json:"identifier"`
|
|
ClinicalStatus *ClinicalStatusObject `json:"clinicalStatus"`
|
|
VerificationStatus *ClinicalStatusObject `json:"verificationStatus"`
|
|
Category []string `json:"category"`
|
|
Code *CodeObject `json:"code"`
|
|
Patient *PatientObject `json:"patient"`
|
|
Encounter *PatientObject `json:"encounter"`
|
|
RecordedDate string `json:"recordedDate"`
|
|
Recorder *PatientObject `json:"recorder"`
|
|
ID string `json:"id"`
|
|
Meta *MetaObject `json:"meta"`
|
|
Issue []*IssuerObject `json:"issue`
|
|
}
|
|
|
|
type IdentifierObject struct {
|
|
System string `json:"system"`
|
|
Use string `json:"use"`
|
|
Value string `json:"value"`
|
|
}
|
|
|
|
type ClinicalStatusObject struct {
|
|
Coding []*CodingObject `json:"coding"`
|
|
}
|
|
|
|
type CodeObject struct {
|
|
Coding []*CodingObject `json:"coding"`
|
|
Text string `json:"text"`
|
|
}
|
|
|
|
type PatientObject struct {
|
|
Reference string `json:"reference"`
|
|
Display string `json:"display"`
|
|
}
|
|
|
|
type CodingObject struct {
|
|
System string `json:"system"`
|
|
Code string `json:"code"`
|
|
Display string `json:"display"`
|
|
}
|
|
|
|
type MetaObject struct {
|
|
VersionId string `json:"versionId"`
|
|
LastUpdated string `json:"lastUpdated"`
|
|
}
|
|
|
|
type IssuerObject struct {
|
|
Saverity string `json:"severity"`
|
|
Code string `json:"code"`
|
|
Details *DetailObject `json:"details"`
|
|
}
|
|
type DetailObject struct {
|
|
Text string `json:"text"`
|
|
}
|