organization
The US Core Organization Profile inherits from the FHIR [Organization](https://hl7.org/fhir/R4/organization.html) resource; refer to it for scope and usage definitions.
The US Core Organization Profile inherits from the FHIR Organization resource; refer to it for scope and usage definitions. This profile sets minimum expectations for the Organization resource to record, search, and fetch patient or provider organization information. It specifies which core elements, extensions, vocabularies, and value sets SHALL be present and constrains how the elements are used. Providing the floor for standards development for specific use cases promotes interoperability and adoption.
Source
| Model | Leg | Role |
|---|
us-core-organization | FHIR | defines this table |
openEHR-EHR-CLUSTER.address.v1 | openEHR | merged in — Address |
openEHR-EHR-CLUSTER.electronic_communication.v1 | openEHR | merged in — Electronic communication |
openEHR-EHR-CLUSTER.organisation.v1 | openEHR | merged in — Organisation |
This table is the union of 4 source models. Columns carrying a From value came from a model that merged into it, so the same row satisfies both specifications.
Columns
| Column | Type | Null | Description | From | Source |
|---|
id | uuid primary key | no | Organization.id | — | — |
created_at | timestamptz | no | Row creation timestamp. | — | — |
updated_at | timestamptz | no | Row update timestamp; maintained by the application. | — | — |
created_by | text | no | Actor who created the row. | — | — |
updated_by | text | no | Actor who last updated the row. | — | — |
npi | text | yes | National Provider Identifier (NPI) | — | Organization.identifier |
clia | text | yes | Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories | — | Organization.identifier |
naic | text | yes | NAIC Code | — | Organization.identifier |
identifier_value
identifier_system | text, text
text, text | yes | Identifies this organization across multiple systems | — | Organization.identifier |
active | boolean | yes | Whether the organization's record is still in active use | — | Organization.active |
name | text | yes | Name used for the organization | — | Organization.name |
phone_number
phone_use_code
email
email_use_code | text, text, text, text
text, text, text, text | yes | A contact detail for the organization | — | Organization.telecom |
address_line
address_city
address_district
address_state
address_postal_code
address_country
address_use_code
address_type_code | text, text, text, text, text, text, text, text
text, text, text, text, text, text, text, text | yes | An address for the organization | — | Organization.address |
part_of_id | uuid | yes | The organization of which this organization forms a part | — | Organization.partOf |
address_latitude_magnitude
address_latitude_units | quantity
numeric, text | yes | Latitude | openEHR-EHR-CLUSTER.address.v1 | /items[at0007] |
address_longitude_magnitude
address_longitude_units | quantity
numeric, text | yes | Longitude | openEHR-EHR-CLUSTER.address.v1 | /items[at0008] |
address_altitude_magnitude
address_altitude_units | quantity
numeric, text | yes | Altitude | openEHR-EHR-CLUSTER.address.v1 | /items[at0009] |
address_comment | text | yes | Comment | openEHR-EHR-CLUSTER.address.v1 | /items[at0018] |
address_map_url | text | yes | Map URL | openEHR-EHR-CLUSTER.address.v1 | /items[at0019] |
address_geolocation_code | text | yes | Geolocation code | openEHR-EHR-CLUSTER.address.v1 | /items[at0021] |
phone_comment
email_comment | text, text
text, text | yes | Comment | openEHR-EHR-CLUSTER.electronic_communication.v1 | /items[at0004] |
comment | text | yes | Comment | openEHR-EHR-CLUSTER.organisation.v1 | /items[at0019] |
Constraints
check (identifier_system is null or identifier_value is not null)
check ((address_latitude_magnitude is null and address_latitude_units is null) or (address_latitude_magnitude is not null and address_latitude_units is not null))
check (address_latitude_magnitude is null or (address_latitude_units = 'deg' and address_latitude_magnitude between -90 and 90))
check ((address_longitude_magnitude is null and address_longitude_units is null) or (address_longitude_magnitude is not null and address_longitude_units is not null))
check (address_longitude_magnitude is null or (address_longitude_units = 'deg' and address_longitude_magnitude between -180 and 180))
check ((address_altitude_magnitude is null and address_altitude_units is null) or (address_altitude_magnitude is not null and address_altitude_units is not null))
Unique
References
Referenced by
37 tables reference organization, via organization_id. The first 15 alphabetically:
Indexes
organization_part_of_id_idx on part_of_id
Child tables
4 tables hang off organization, one row per repetition.
organization_other_identifier
Child table — one row per repetition, deleted with its parent.
| Column | Type | Null | Description | From | Source |
|---|
id | uuid primary key | no | Primary key. | — | — |
organization_id | uuid → organization | no | — | — | — |
identifier_value | text | no | — | — | — |
identifier_system | text | yes | — | — | — |
identifier_use | text | yes | — | — | — |
valid_from | timestamptz | yes | — | — | — |
valid_until | timestamptz | yes | — | — | — |
Unique
organization_id, identifier_system, identifier_value
References
organization_type
Child table — one row per repetition, deleted with its parent.
| Column | Type | Null | Description | From | Source |
|---|
id | uuid primary key | no | Primary key. | — | — |
organization_id | uuid → organization | no | — | — | — |
type
type_code
type_system | text, text, text
text, text, text | yes | Kind of organization | — | Organization.type |
Constraints
check ((type_code is null and type_system is null) or (type_code is not null and type_system is not null))
References
Indexes
organization_type_organization_id_idx on organization_id
organization_other_telecom
Child table — one row per repetition, deleted with its parent.
| Column | Type | Null | Description | From | Source |
|---|
id | uuid primary key | no | Primary key. | — | — |
organization_id | uuid → organization | no | — | — | — |
system | text | no | — | — | — |
value | text | no | — | — | — |
use_code | text | yes | — | — | — |
rank | integer | yes | — | — | — |
valid_from | timestamptz | yes | — | — | — |
valid_until | timestamptz | yes | — | — | — |
comment | text | yes | Comment | openEHR-EHR-CLUSTER.electronic_communication.v1 | /items[at0004] |
References
Indexes
organization_other_telecom_organization_id_idx on organization_id
organization_other_address
Child table — one row per repetition, deleted with its parent.
| Column | Type | Null | Description | From | Source |
|---|
id | uuid primary key | no | Primary key. | — | — |
organization_id | uuid → organization | no | — | — | — |
address_line | text | yes | newline-delimited for multiple lines | — | — |
address_city | text | yes | — | — | — |
address_district | text | yes | — | — | — |
address_state | text | yes | — | — | — |
address_postal_code | text | yes | — | — | — |
address_country | text | yes | — | — | — |
use_code | text | yes | — | — | — |
type_code | text | yes | — | — | — |
valid_from | timestamptz | yes | — | — | — |
valid_until | timestamptz | yes | — | — | — |
address_latitude_magnitude
address_latitude_units | quantity
numeric, text | yes | Latitude | openEHR-EHR-CLUSTER.address.v1 | /items[at0007] |
address_longitude_magnitude
address_longitude_units | quantity
numeric, text | yes | Longitude | openEHR-EHR-CLUSTER.address.v1 | /items[at0008] |
address_altitude_magnitude
address_altitude_units | quantity
numeric, text | yes | Altitude | openEHR-EHR-CLUSTER.address.v1 | /items[at0009] |
address_comment | text | yes | Comment | openEHR-EHR-CLUSTER.address.v1 | /items[at0018] |
address_map_url | text | yes | Map URL | openEHR-EHR-CLUSTER.address.v1 | /items[at0019] |
address_geolocation_code | text | yes | Geolocation code | openEHR-EHR-CLUSTER.address.v1 | /items[at0021] |
Constraints
check ((address_latitude_magnitude is null and address_latitude_units is null) or (address_latitude_magnitude is not null and address_latitude_units is not null))
check (address_latitude_magnitude is null or (address_latitude_units = 'deg' and address_latitude_magnitude between -90 and 90))
check ((address_longitude_magnitude is null and address_longitude_units is null) or (address_longitude_magnitude is not null and address_longitude_units is not null))
check (address_longitude_magnitude is null or (address_longitude_units = 'deg' and address_longitude_magnitude between -180 and 180))
check ((address_altitude_magnitude is null and address_altitude_units is null) or (address_altitude_magnitude is not null and address_altitude_units is not null))
References
Indexes
organization_other_address_organization_id_idx on organization_id