package person import ( _struct "api-poliklinik/pkg/models/struct" "go.mongodb.org/mongo-driver/bson/primitive" ) type Person struct { ResourceType string `bson:"resourceType"` ID primitive.ObjectID `bson:"_id,omitempty" json:"id" ` Identifier []_struct.Identifier `bson:"identifier,omitempty" json:"identifier,omitempty"` Active bool `bson:"active,omitempty" json:"active,omitempty"` Name []_struct.HumanName `bson:"name,omitempty" json:"name,omitempty"` Telecom []_struct.ContactPoint `bson:"telecom,omitempty" json:"telecom,omitempty"` Gender string `bson:"gender,omitempty" json:"gender,omitempty"` BirthDate string `bson:"birthDate,omitempty" json:"birthDate,omitempty"` DeceasedBoolean bool `json:"deceasedBoolean,omitempty" bson:"deceasedBoolean,omitempty"` DeceasedDateTime string `json:"deceasedDateTime,omitempty" bson:"deceasedDateTime,omitempty"` Address []_struct.Address `bson:"address,omitempty" json:"address,omitempty"` MaritalStatus _struct.CodeableConcept `json:"maritalStatus,omitempty" bson:"maritalStatus,omitempty"` Photo []_struct.Photo `json:"photo,omitempty" bson:"photo,omitempty"` Communication []_struct.Communication `bson:"communication" json:"communication"` Link []_struct.LinkTarget `json:"link,omitempty" bson:"link,omitempty"` Extension []_struct.Extension `json:"extension,omitempty" bson:"extension,omitempty"` }