Files
satusehat-bridging/internal/model/organization.go
2025-11-24 09:13:08 +07:00

39 lines
1.1 KiB
Go

package model
type Telecom struct {
System string `json:"system"`
Value string `json:"value"`
Use string `json:"use"`
}
type AddressExtensionValue struct {
Url string `json:"url"`
ValueCode string `json:"valueCode,omitempty"`
}
type AddressExtension struct {
Url string `json:"url"`
Extension []AddressExtensionValue `json:"extension"`
}
type Address struct {
Use string `json:"use"`
Type string `json:"type"`
Line []string `json:"line"`
City string `json:"city"`
PostalCode string `json:"postalCode"`
Country string `json:"country"`
Extension []AddressExtension `json:"extension"`
}
type OrganizationRequest struct {
ResourceType string `json:"resourceType"`
Active bool `json:"active"`
Identifier []Identifier `json:"identifier"`
Type []CodeableConcept `json:"type"`
Name string `json:"name"`
Telecom []Telecom `json:"telecom"`
Address []Address `json:"address"`
PartOf Reference `json:"partOf"`
}