41 lines
1.7 KiB
Go
41 lines
1.7 KiB
Go
package model
|
|
|
|
type CompositionRequest struct {
|
|
ResourceType string `json:"resourceType"`
|
|
Identifier Identifier `json:"identifier"`
|
|
Status string `json:"status"`
|
|
Category []CodeableConcept `json:"category"`
|
|
Type CodeableConcept `json:"type"`
|
|
Subject Reference `json:"subject"`
|
|
Date string `json:"date"`
|
|
Title string `json:"title"`
|
|
Author []Reference `json:"author"`
|
|
Custodian Reference `json:"custodian"`
|
|
Encounter Reference `json:"encounter"`
|
|
Section []SectionRequest `json:"section"`
|
|
Id string `json:"id,omitempty"`
|
|
Anamnesis string `json:"anamnesis,omitempty"`
|
|
PemeriksaanFisik string `json:"pemeriksaanFisik,omitempty"`
|
|
PemeriksaanPenunjang string `json:"pemeriksaanPenunjang,omitempty"`
|
|
Medikamentosa string `json:"medikamentosa,omitempty"`
|
|
LanjutanPenatalaksanaan string `json:"lanjutanPenatalaksanaan,omitempty"`
|
|
}
|
|
|
|
type SectionRequest struct {
|
|
Title string `json:"title,omitempty"`
|
|
Code CodeableConcept `json:"code"`
|
|
Text *SectionText `json:"text,omitempty"`
|
|
Entry []Reference `json:"entry,omitempty"`
|
|
Section []SectionRequest `json:"section,omitempty"`
|
|
}
|
|
|
|
type Section struct {
|
|
Code CodeableConcept `json:"code"`
|
|
Text SectionText `json:"text"`
|
|
}
|
|
|
|
type SectionText struct {
|
|
Status string `json:"status"`
|
|
Div string `json:"div"`
|
|
}
|