lengkap belum account
This commit is contained in:
@@ -6,60 +6,78 @@ import (
|
||||
)
|
||||
|
||||
type Encounter struct {
|
||||
ResourceType string `json:"resourceType,omitempty" bson:"resourceType,omitempty"`
|
||||
ID primitive.ObjectID `json:"id,omitempty" bson:"_id,omitempty"`
|
||||
Identifier []_struct.Identifier `json:"identifier,omitempty" bson:"identifier,omitempty"`
|
||||
Status string `json:"status,omitempty" bson:"status,omitempty"`
|
||||
Class _struct.CodeableConcept `json:"class,omitempty" bson:"class,omitempty"`
|
||||
Type []_struct.CodeableConcept `json:"type,omitempty" bson:"type,omitempty"`
|
||||
ServiceType _struct.CodeableConcept `json:"serviceType,omitempty" bson:"serviceType,omitempty"`
|
||||
Priority _struct.CodeableConcept `json:"priority,omitempty" bson:"priority,omitempty"`
|
||||
Subject _struct.Reference `json:"subject,omitempty" bson:"subject,omitempty"`
|
||||
EpisodeOfCare []_struct.Reference `json:"episodeOfCare,omitempty" bson:"episodeOfCare,omitempty"`
|
||||
BasedOn []_struct.Reference `json:"basedOn,omitempty" bson:"basedOn,omitempty"`
|
||||
Participant []EncounterParticipant `json:"participant,omitempty" bson:"participant,omitempty"`
|
||||
Appointment []_struct.Reference `json:"appointment,omitempty" bson:"appointment,omitempty"`
|
||||
Period _struct.Period `json:"period,omitempty" bson:"period,omitempty"`
|
||||
Length _struct.Quantity `json:"length,omitempty" bson:"length,omitempty"`
|
||||
ReasonCode []_struct.CodeableConcept `json:"reasonCode,omitempty" bson:"reasonCode,omitempty"`
|
||||
Diagnosis []EncounterDiagnosis `json:"diagnosis,omitempty" bson:"diagnosis,omitempty"`
|
||||
Account []_struct.Reference `json:"account,omitempty" bson:"account,omitempty"`
|
||||
Hospitalization Hospitalization `json:"hospitalization,omitempty" bson:"hospitalization,omitempty"`
|
||||
Location []EncounterLocation `json:"location,omitempty" bson:"location,omitempty"`
|
||||
ServiceProvider _struct.Reference `json:"serviceProvider,omitempty" bson:"serviceProvider,omitempty"`
|
||||
PartOf _struct.Reference `json:"partOf,omitempty" bson:"partOf,omitempty"`
|
||||
ResourceType string `json:"resourceType" bson:"resourceType"`
|
||||
ID primitive.ObjectID `json:"id" bson:"_id,omitempty"`
|
||||
Identifier []_struct.Identifier `json:"identifier" bson:"identifier"`
|
||||
Status string `json:"status" bson:"status"`
|
||||
Class []_struct.CodeableConcept `json:"class" bson:"class"`
|
||||
Priority _struct.CodeableConcept `json:"priority" bson:"priority"`
|
||||
Type []_struct.CodeableConcept `json:"type" bson:"type"`
|
||||
ServiceType []_struct.Value `json:"serviceType" bson:"serviceType"`
|
||||
Subject _struct.Reference `json:"subject" bson:"subject"`
|
||||
SubjectStatus _struct.CodeableConcept `json:"subjectStatus" bson:"subjectStatus"`
|
||||
EpisodeOfCare []_struct.Reference `json:"episodeOfCare" bson:"episodeOfCare"`
|
||||
BaseOn []_struct.Reference `json:"baseOn" bson:"baseOn"`
|
||||
CareTeam []_struct.Reference `json:"careTeam" bson:"careTeam"`
|
||||
PartOf _struct.Reference `json:"partOf" bson:"partOf"`
|
||||
ServiceProvider _struct.Reference `json:"serviceProvider" bson:"serviceProvider"`
|
||||
Participant []Participant `json:"participant" bson:"participant"`
|
||||
Appointment []_struct.Reference `json:"appointment" bson:"appointment"`
|
||||
VirtualServiceDetail []_struct.VirtualServiceEncounter `json:"virtualServiceDetail" bson:"virtualServiceDetail"`
|
||||
ActualPeriod _struct.Period `json:"actualPeriod" bson:"actualPeriod"`
|
||||
PlannedStartDate string `json:"plannedStartDate" bson:"plannedStartDate"`
|
||||
PlannedEndDate string `json:"plannedEndDate" bson:"plannedEndDate"`
|
||||
Length Length `json:"length" bson:"length"`
|
||||
Reason []_struct.Reasonencounter `json:"reason" bson:"reason"`
|
||||
Diagnosis []_struct.Diagnosis `json:"diagnosis" bson:"diagnosis"`
|
||||
Account []_struct.Reference `json:"account" bson:"account"`
|
||||
DietPreference []_struct.CodeableConcept `json:"dietPreference" bson:"dietPreference"`
|
||||
SpecialArrangement []_struct.CodeableConcept `json:"specialArrangement" bson:"specialArrangement"`
|
||||
SpecialCourtesy []_struct.CodeableConcept `json:"specialCourtesy" bson:"specialCourtesy"`
|
||||
Admission Admission `json:"admission" bson:"admission"`
|
||||
Location []Location `json:"location" bson:"location"`
|
||||
CreatedAt string `json:"createdAt" bson:"createdAt"`
|
||||
UpdatedAt string `json:"updatedAt" bson:"updatedAt"`
|
||||
Extension []_struct.Extension `json:"extension" bson:"extension"`
|
||||
}
|
||||
|
||||
// EncounterParticipant mendefinisikan orang yang terlibat dalam pertemuan
|
||||
type EncounterParticipant struct {
|
||||
Type []_struct.CodeableConcept `json:"type,omitempty" bson:"type,omitempty"`
|
||||
Period _struct.Period `json:"period,omitempty" bson:"period,omitempty"`
|
||||
Individual _struct.Reference `json:"individual,omitempty" bson:"individual,omitempty"`
|
||||
// Struktur untuk Duration dalam Length
|
||||
type Duration struct {
|
||||
System string `json:"system" bson:"system"`
|
||||
Version string `json:"version" bson:"version"`
|
||||
Code string `json:"code" bson:"code"`
|
||||
Display string `json:"display" bson:"display"`
|
||||
UserSelected string `json:"userSelected" bson:"userSelected"`
|
||||
Value float64 `json:"value" bson:"value"`
|
||||
Unit string `json:"unit" bson:"unit"`
|
||||
}
|
||||
|
||||
// EncounterDiagnosis mendefinisikan diagnosis yang terkait dengan pertemuan
|
||||
type EncounterDiagnosis struct {
|
||||
Condition _struct.Reference `json:"condition,omitempty" bson:"condition,omitempty"`
|
||||
Use _struct.CodeableConcept `json:"use,omitempty" bson:"use,omitempty"`
|
||||
Rank int `json:"rank,omitempty" bson:"rank,omitempty"`
|
||||
// Struktur untuk Length
|
||||
type Length struct {
|
||||
Duration Duration `json:"duration" bson:"duration"`
|
||||
}
|
||||
|
||||
// Hospitalization mendefinisikan detail tentang rawat inap yang terkait dengan pertemuan
|
||||
type Hospitalization struct {
|
||||
PreAdmissionIdentifier _struct.Identifier `json:"preAdmissionIdentifier,omitempty" bson:"preAdmissionIdentifier,omitempty"`
|
||||
AdmitSource _struct.CodeableConcept `json:"admitSource,omitempty" bson:"admitSource,omitempty"`
|
||||
ReAdmission _struct.CodeableConcept `json:"reAdmission,omitempty" bson:"reAdmission,omitempty"`
|
||||
DietPreference []_struct.CodeableConcept `json:"dietPreference,omitempty" bson:"dietPreference,omitempty"`
|
||||
SpecialCourtesy []_struct.CodeableConcept `json:"specialCourtesy,omitempty" bson:"specialCourtesy,omitempty"`
|
||||
SpecialArrangement []_struct.CodeableConcept `json:"specialArrangement,omitempty" bson:"specialArrangement,omitempty"`
|
||||
Destination _struct.Reference `json:"destination,omitempty" bson:"destination,omitempty"`
|
||||
DischargeDisposition _struct.CodeableConcept `json:"dischargeDisposition,omitempty" bson:"dischargeDisposition,omitempty"`
|
||||
// Struktur untuk Participant
|
||||
type Participant struct {
|
||||
Type []_struct.CodeableConcept `json:"type" bson:"type"`
|
||||
Period _struct.Period `json:"period" bson:"period"`
|
||||
Actor _struct.Reference `json:"actor" bson:"actor"`
|
||||
}
|
||||
|
||||
// EncounterLocation mendefinisikan lokasi di mana pertemuan terjadi
|
||||
type EncounterLocation struct {
|
||||
Location _struct.Reference `json:"location,omitempty" bson:"location,omitempty"`
|
||||
Status string `json:"status,omitempty" bson:"status,omitempty"`
|
||||
PhysicalType _struct.CodeableConcept `json:"physicalType,omitempty" bson:"physicalType,omitempty"`
|
||||
Period _struct.Period `json:"period,omitempty" bson:"period,omitempty"`
|
||||
// Struktur untuk Location
|
||||
type Location struct {
|
||||
Location _struct.Reference `json:"location" bson:"location"`
|
||||
Status string `json:"status" bson:"status"`
|
||||
Form _struct.CodeableConcept `json:"form" bson:"form"`
|
||||
Period _struct.Period `json:"period" bson:"period"`
|
||||
}
|
||||
|
||||
// Struktur untuk Admission
|
||||
type Admission struct {
|
||||
PreAdmissionIdentifier _struct.Identifier `json:"preAdmissionIdentifier" bson:"preAdmissionIdentifier"`
|
||||
Origin _struct.Reference `json:"origin" bson:"origin"`
|
||||
AdmitSource _struct.CodeableConcept `json:"admitSource" bson:"admitSource"`
|
||||
ReadmitSource _struct.CodeableConcept `json:"readmitSource" bson:"readmitSource"`
|
||||
Destination _struct.Reference `json:"destination" bson:"destination"`
|
||||
DischargeDisposition _struct.CodeableConcept `json:"dischargeDisposition" bson:"dischargeDisposition"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user