mastering bridging
This commit is contained in:
38
internal/model/organization.go
Normal file
38
internal/model/organization.go
Normal file
@@ -0,0 +1,38 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user