update terbaru

This commit is contained in:
2025-07-01 12:42:28 +07:00
parent fd30463082
commit b01c88e7f5
24 changed files with 759 additions and 134 deletions
@@ -10,7 +10,7 @@ type Patient struct {
ID primitive.ObjectID `bson:"_id,omitempty" json:"id" `
Identifier []_struct.Identifier `json:"identifier" bson:"identifier,omitempty" `
Active bool `json:"active" bson:"active,omitempty"`
Name []_struct.HumanName `json:"name" bson:"name,omitempty" `
Name []_struct.HumanName `json:"name" bson:"name,omitempty" `
Telecom []_struct.ContactPoint `json:"telecom" bson:"telecom,omitempty" `
Gender string `json:"gender" bson:"gender,omitempty" `
BirthDate string `json:"birthDate" bson:"birthDate,omitempty" `
@@ -31,20 +31,20 @@ type Patient struct {
}
type GetBY struct {
Identifier []_struct.Identifier `json:"identifier,omitempty" bson:"identifier,omitempty" `
Identifier []_struct.Identifier `json:"identifier" bson:"identifier,omitempty" `
}
type UpdatePatient struct {
ResourceType string `json:"resourceType,omitempty" bson:"resourceType,omitempty"`
ResourceType string `json:"resourceType" bson:"resourceType,omitempty"`
ID string `bson:"-"`
Identifier []_struct.Identifier `json:"identifier,omitempty" bson:"identifier,omitempty"`
Active bool `json:"active,omitempty" bson:"active,omitempty"`
Name []_struct.HumanName `json:"name,omitempty" bson:"name,omitempty"`
Telecom []_struct.ContactPoint `json:"telecom,omitempty" bson:"telecom,omitempty"`
Gender string `json:"gender,omitempty" bson:"gender,omitempty"`
BirthDate string `json:"birthDate,omitempty" bson:"birthDate,omitempty"`
DeceasedBoolean bool `json:"deceasedBoolean,omitempty" bson:"deceasedBoolean,omitempty"`
DeceasedDateTime string `json:"deceasedDateTime,omitempty" bson:"deceasedDateTime,omitempty"`
Identifier []_struct.Identifier `json:"identifier" bson:"identifier,omitempty"`
Active bool `json:"active" bson:"active,omitempty"`
Name []_struct.HumanName `json:"name" bson:"name,omitempty"`
Telecom []_struct.ContactPoint `json:"telecom" bson:"telecom,omitempty"`
Gender string `json:"gender" bson:"gender,omitempty"`
BirthDate string `json:"birthDate" bson:"birthDate,omitempty"`
DeceasedBoolean bool `json:"deceasedBoolean" bson:"deceasedBoolean,omitempty"`
DeceasedDateTime string `json:"deceasedDateTime" bson:"deceasedDateTime,omitempty"`
Address []_struct.Address `json:"address,omitempty" bson:"address,omitempty"`
MaritalStatus _struct.CodeableConcept `json:"maritalStatus,omitempty" bson:"maritalStatus,omitempty"`
MultipleBirthBoolean bool `json:"multipleBirthBoolean,omitempty" bson:"multipleBirthBoolean,omitempty"`