-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fhir_synthea.organization`
(
  active BOOL,
  alias ARRAY<STRING>,
  endpoint ARRAY<STRUCT<endpointId STRING, reference STRING, identifier STRUCT<use STRING, type STRUCT<coding ARRAY<STRUCT<system STRING, version STRING, code STRING, display STRING, userSelected BOOL>>, text STRING>, system STRING, value STRING, period STRUCT<start STRING, `end` STRING>, assigner STRUCT<organizationId STRING, reference STRING, identifier STRUCT<use STRING, type STRUCT<coding ARRAY<STRUCT<system STRING, version STRING, code STRING, display STRING, userSelected BOOL>>, text STRING>, system STRING, value STRING, period STRUCT<start STRING, `end` STRING>, assigner STRUCT<organizationId STRING, reference STRING, display STRING>>, display STRING>>, display STRING>>,
  implicitRules STRING,
  language STRING,
  partOf STRUCT<organizationId STRING, reference STRING, identifier STRUCT<use STRING, type STRUCT<coding ARRAY<STRUCT<system STRING, version STRING, code STRING, display STRING, userSelected BOOL>>, text STRING>, system STRING, value STRING, period STRUCT<start STRING, `end` STRING>, assigner STRUCT<organizationId STRING, reference STRING, identifier STRUCT<use STRING, type STRUCT<coding ARRAY<STRUCT<system STRING, version STRING, code STRING, display STRING, userSelected BOOL>>, text STRING>, system STRING, value STRING, period STRUCT<start STRING, `end` STRING>, assigner STRUCT<organizationId STRING, reference STRING, display STRING>>, display STRING>>, display STRING>,
  text STRUCT<status STRING, div STRING>,
  address ARRAY<STRUCT<district STRING, period STRUCT<start STRING, `end` STRING>, text STRING, type STRING, use STRING, city STRING, country STRING, line ARRAY<STRING>, postalCode STRING, state STRING>>,
  contact ARRAY<STRUCT<address STRUCT<use STRING, type STRING, text STRING, line ARRAY<STRING>, city STRING, district STRING, state STRING, postalCode STRING, country STRING, period STRUCT<start STRING, `end` STRING>>, purpose STRUCT<coding ARRAY<STRUCT<system STRING, version STRING, code STRING, display STRING, userSelected BOOL>>, text STRING>, telecom ARRAY<STRUCT<system STRING, value STRING, use STRING, rank INT64, period STRUCT<start STRING, `end` STRING>>>, name STRUCT<family STRING, given ARRAY<STRING>, period STRUCT<start STRING, `end` STRING>, prefix ARRAY<STRING>, suffix ARRAY<STRING>, use STRING, text STRING>>>,
  id STRING,
  identifier ARRAY<STRUCT<assigner STRUCT<organizationId STRING, reference STRING, identifier STRUCT<use STRING, type STRUCT<coding ARRAY<STRUCT<system STRING, version STRING, code STRING, display STRING, userSelected BOOL>>, text STRING>, system STRING, value STRING, period STRUCT<start STRING, `end` STRING>, assigner STRUCT<organizationId STRING, reference STRING, display STRING>>, display STRING>, period STRUCT<start STRING, `end` STRING>, type STRUCT<coding ARRAY<STRUCT<system STRING, version STRING, code STRING, display STRING, userSelected BOOL>>, text STRING>, use STRING, system STRING, value STRING>>,
  meta STRUCT<lastUpdated TIMESTAMP, security ARRAY<STRUCT<system STRING, version STRING, code STRING, display STRING, userSelected BOOL>>, tag ARRAY<STRUCT<system STRING, version STRING, code STRING, display STRING, userSelected BOOL>>, versionId STRING, profile ARRAY<STRING>>,
  name STRING,
  telecom ARRAY<STRUCT<period STRUCT<start STRING, `end` STRING>, rank INT64, use STRING, system STRING, value STRING>>,
  type ARRAY<STRUCT<coding ARRAY<STRUCT<userSelected BOOL, version STRING, code STRING, display STRING, system STRING>>, text STRING>>
);

INSERT INTO `bigquery-public-data.fhir_synthea.organization` (active, alias, endpoint, implicitRules, language, partOf, text, address, contact, id, identifier, meta, name, telecom, type) VALUES (NULL, '[]', '[]', NULL, NULL, NULL, NULL, '[{''district'': None, ''period'': None, ''text'': None, ''type'': None, ''use'': None, ''city'': ''AYER'', ''country'': ''US'', ''line'': array([''200 GROTON ROAD''], dtype=object), ''postalCode'': ''01432'', ''state'': ''MA''}]', '[{''address'': None, ''purpose'': None, ''telecom'': array([], dtype=object), ''name'': {''family'': None, ''given'': array([], dtype=object), ''period'': None, ''prefix'': array([], dtype=object), ''suffix'': array([], dtype=object), ''use'': None, ''text'': ''Synthetic Provider''}}]', 'ac8356a5-78f8-3a63-8a1e-59e832fd54e7', '[{''assigner'': None, ''period'': None, ''type'': None, ''use'': None, ''system'': ''https://github.com/synthetichealth/synthea'', ''value'': ''ac8356a5-78f8-3a63-8a1e-59e832fd54e7''}
 {''assigner'': None, ''period'': None, ''type'': None, ''use'': None, ''system'': ''urn:ietf:rfc:3986'', ''value'': ''ac8356a5-78f8-3a63-8a1e-59e832fd54e7''}]', {'lastUpdated': None, 'security': '[]', 'tag': '[]', 'versionId': None, 'profile': "['http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization']"}, 'NASHOBA VALLEY MEDICAL CENTER', '[{''period'': None, ''rank'': None, ''use'': None, ''system'': ''phone'', ''value'': ''9787849000''}]', '[{''coding'': array([{''userSelected'': None, ''version'': None, ''code'': ''prov'', ''display'': ''Healthcare Provider'', ''system'': ''http://hl7.org/fhir/organization-type''}],
       dtype=object), ''text'': ''Healthcare Provider''}                                                                                                             ]'), (NULL, '[]', '[]', NULL, NULL, NULL, NULL, '[{''district'': None, ''period'': None, ''text'': None, ''type'': None, ''use'': None, ''city'': ''Lynn'', ''country'': ''US'', ''line'': array([''225 Boston Road, Suite 107''], dtype=object), ''postalCode'': ''01904'', ''state'': ''MA''}]', '[{''address'': None, ''purpose'': None, ''telecom'': array([], dtype=object), ''name'': {''family'': None, ''given'': array([], dtype=object), ''period'': None, ''prefix'': array([], dtype=object), ''suffix'': array([], dtype=object), ''use'': None, ''text'': ''Synthetic Provider''}}]', '8881e3ee-e915-31b3-867f-8e2fbe41e887', '[{''assigner'': None, ''period'': None, ''type'': None, ''use'': None, ''system'': ''https://github.com/synthetichealth/synthea'', ''value'': ''8881e3ee-e915-31b3-867f-8e2fbe41e887''}
 {''assigner'': None, ''period'': None, ''type'': None, ''use'': None, ''system'': ''urn:ietf:rfc:3986'', ''value'': ''8881e3ee-e915-31b3-867f-8e2fbe41e887''}]', {'lastUpdated': None, 'security': '[]', 'tag': '[]', 'versionId': None, 'profile': "['http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization']"}, 'Lynn Community Based Outpatient Clinic (CBOC)', '[{''period'': None, ''rank'': None, ''use'': None, ''system'': ''phone'', ''value'': ''800-838-6331''}]', '[{''coding'': array([{''userSelected'': None, ''version'': None, ''code'': ''prov'', ''display'': ''Healthcare Provider'', ''system'': ''http://hl7.org/fhir/organization-type''}],
       dtype=object), ''text'': ''Healthcare Provider''}                                                                                                             ]'), (NULL, '[]', '[]', NULL, NULL, NULL, NULL, '[{''district'': None, ''period'': None, ''text'': None, ''type'': None, ''use'': None, ''city'': ''ATHOL'', ''country'': ''US'', ''line'': array([''2033 MAIN STREET''], dtype=object), ''postalCode'': ''01331'', ''state'': ''MA''}]', '[{''address'': None, ''purpose'': None, ''telecom'': array([], dtype=object), ''name'': {''family'': None, ''given'': array([], dtype=object), ''period'': None, ''prefix'': array([], dtype=object), ''suffix'': array([], dtype=object), ''use'': None, ''text'': ''Synthetic Provider''}}]', '161a799c-4894-36f6-8ca7-2a71c8107f79', '[{''assigner'': None, ''period'': None, ''type'': None, ''use'': None, ''system'': ''https://github.com/synthetichealth/synthea'', ''value'': ''161a799c-4894-36f6-8ca7-2a71c8107f79''}
 {''assigner'': None, ''period'': None, ''type'': None, ''use'': None, ''system'': ''urn:ietf:rfc:3986'', ''value'': ''161a799c-4894-36f6-8ca7-2a71c8107f79''}]', {'lastUpdated': None, 'security': '[]', 'tag': '[]', 'versionId': None, 'profile': "['http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization']"}, 'ATHOL MEMORIAL HOSPITAL', '[{''period'': None, ''rank'': None, ''use'': None, ''system'': ''phone'', ''value'': ''9782493511''}]', '[{''coding'': array([{''userSelected'': None, ''version'': None, ''code'': ''prov'', ''display'': ''Healthcare Provider'', ''system'': ''http://hl7.org/fhir/organization-type''}],
       dtype=object), ''text'': ''Healthcare Provider''}                                                                                                             ]'), (NULL, '[]', '[]', NULL, NULL, NULL, NULL, '[{''district'': None, ''period'': None, ''text'': None, ''type'': None, ''use'': None, ''city'': ''Leeds'', ''country'': ''US'', ''line'': array([''421 North Main Street''], dtype=object), ''postalCode'': ''01053'', ''state'': ''MA''}]', '[{''address'': None, ''purpose'': None, ''telecom'': array([], dtype=object), ''name'': {''family'': None, ''given'': array([], dtype=object), ''period'': None, ''prefix'': array([], dtype=object), ''suffix'': array([], dtype=object), ''use'': None, ''text'': ''Synthetic Provider''}}]', 'ae67223f-808e-33d3-a83e-066deebf35ed', '[{''assigner'': None, ''period'': None, ''type'': None, ''use'': None, ''system'': ''https://github.com/synthetichealth/synthea'', ''value'': ''ae67223f-808e-33d3-a83e-066deebf35ed''}
 {''assigner'': None, ''period'': None, ''type'': None, ''use'': None, ''system'': ''urn:ietf:rfc:3986'', ''value'': ''ae67223f-808e-33d3-a83e-066deebf35ed''}]', {'lastUpdated': None, 'security': '[]', 'tag': '[]', 'versionId': None, 'profile': "['http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization']"}, 'VA Central Western Massachusetts Healthcare System', '[{''period'': None, ''rank'': None, ''use'': None, ''system'': ''phone'', ''value'': ''413-584-4040''}]', '[{''coding'': array([{''userSelected'': None, ''version'': None, ''code'': ''prov'', ''display'': ''Healthcare Provider'', ''system'': ''http://hl7.org/fhir/organization-type''}],
       dtype=object), ''text'': ''Healthcare Provider''}                                                                                                             ]'), (NULL, '[]', '[]', NULL, NULL, NULL, NULL, '[{''district'': None, ''period'': None, ''text'': None, ''type'': None, ''use'': None, ''city'': ''SALEM'', ''country'': ''US'', ''line'': array([''81 HIGHLAND AVENUE''], dtype=object), ''postalCode'': ''01970'', ''state'': ''MA''}]', '[{''address'': None, ''purpose'': None, ''telecom'': array([], dtype=object), ''name'': {''family'': None, ''given'': array([], dtype=object), ''period'': None, ''prefix'': array([], dtype=object), ''suffix'': array([], dtype=object), ''use'': None, ''text'': ''Synthetic Provider''}}]', '4861d01f-019c-3dac-a153-8334e50919f9', '[{''assigner'': None, ''period'': None, ''type'': None, ''use'': None, ''system'': ''https://github.com/synthetichealth/synthea'', ''value'': ''4861d01f-019c-3dac-a153-8334e50919f9''}
 {''assigner'': None, ''period'': None, ''type'': None, ''use'': None, ''system'': ''urn:ietf:rfc:3986'', ''value'': ''4861d01f-019c-3dac-a153-8334e50919f9''}]', {'lastUpdated': None, 'security': '[]', 'tag': '[]', 'versionId': None, 'profile': "['http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization']"}, 'NORTH SHORE MEDICAL CENTER -', '[{''period'': None, ''rank'': None, ''use'': None, ''system'': ''phone'', ''value'': ''9787411215''}]', '[{''coding'': array([{''userSelected'': None, ''version'': None, ''code'': ''prov'', ''display'': ''Healthcare Provider'', ''system'': ''http://hl7.org/fhir/organization-type''}],
       dtype=object), ''text'': ''Healthcare Provider''}                                                                                                             ]');