package model type PatientRequest struct { ResourceType string `json:"resourceType"` Meta Meta `json:"meta"` Identifier []Identifier `json:"identifier"` Active bool `json:"active"` Name []HumanName `json:"name"` Telecom []Identifier `json:"telecom"` Gender string `json:"gender"` BirthDate string `json:"birthDate"` DeceasedBoolean bool `json:"deceasedBoolean"` Address []AddressObject `json:"address"` MaritalStatus MaritalStatus `json:"maritalStatus"` MultipleBirthInteger int `json:"multipleBirthInteger"` Contact []ContactObject `json:"contact"` Communication []CommunicationObject `json:"communication"` Extension []Extension `json:"extension"` } type Meta struct { Profile []string `json:"profile"` } type Identifier struct { Use string `json:"use,omitempty"` Type *CodeableConcept `json:"type,omitempty"` System string `json:"system,omitempty"` Value string `json:"value"` } type HumanName struct { Use string `json:"use"` Text string `json:"text"` } type AddressObject struct { Use string `json:"use"` Line []string `json:"line"` City string `json:"city"` PostalCode string `json:"postalCode"` Country string `json:"country"` Extension []ExtensionObject `json:"extension"` } type Extension struct { URL string `json:"url"` Extension []struct { URL string `json:"url"` ValueCode string `json:"valueCode"` } `json:"extension"` } type MaritalStatus struct { Coding []struct { System string `json:"system"` Code string `json:"code"` Display string `json:"display"` } `json:"coding"` Text string `json:"text"` } type ContactObject struct { Relationship []struct { Coding []struct { System string `json:"system"` Code string `json:"code"` } `json:"coding"` } Name HumanName `json:"name"` Telecom []Identifier `json:"telecom"` } type CommunicationObject struct { Language struct { Coding []struct { System string `json:"system"` Code string `json:"code"` Display string `json:"display"` } `json:"coding"` Text string `json:"text"` } `json:"language"` Preferred bool `json:"preferred"` } type ExtensionObject struct { URL string `json:"url"` ValueCode *string `json:"valueCode"` ValueAddress *struct { Country string `json:"country"` City string `json:"city"` } `json:"valueAddress"` }