OrganizationAffiliations
The OrganizationAffiliations file contains information about organizationAffiliation entities, which link together organizations, locations and the health plans that they accept using the respective identifiers (organizationId, locationId, planId) for those entities.
Filename format
organizationaffiliations_##.json
JSON schema
JSON schema for OrganizationAffiliation file
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://defacto.health/insurances/organizationaffiliations.schema.json",
"title": "Healthcare locations",
"description": "The link between organizations, locations and health plans.",
"type": "object",
"properties":
{
"organizationAffiliations":
{
"type": "array",
"description": "Array of all organizationAffiliation entities collected by Defacto Health",
"items":
{
"type": "object",
"properties":
{
"organizationId": {
"type": "integer",
"description": "Defacto Health generated identifier for the organization, unique across all organizations."
},
"locationId": {
"type": "integer",
"description": "Defacto Health generated identifier for the location, unique across all locations."
},
"phoneNumbers": {
"type": "array",
"description": "Array of phone numbers for the organization; phone numbers are digits only, with no formatting or spaces."
},
"planIds": {
"type": "array",
"description": "Array of Defacto Health generated identifiers for the health plans accepted by this organization, unique across all plans across all carriers."
}
},
"required":
[
"organizationId",
"locationId",
"planIds"
]
}
}
}
}
Sample JSON
Sample JSON for OrganizationAffiliation file
{
"organizationAffiliations":
[
{
"organizationId": 34,
"locationId": 56,
"phoneNumbers": ["2024322016"],
"planIds": [76, 842]
},
{
"organizationId": 88,
"locationId": 346,
"phoneNumbers": ["4125322042"],
"planIds": [5, 786, 3467]
}
]
}
Attributes
Attribute | Type | Description | Required | Constraints | Example |
---|---|---|---|---|---|
organizationId | integer | Defacto Health generated identifier for the organization, unique across all organizations. | yes | Must be present in Organizations file | 34 |
locationId | integer | Defacto Health generated identifier for the location, unique across all locations. | no | Must be present in Locations file | 56 |
phoneNumbers | array[string] | Array of phone numbers for the organization; phone numbers are digits only, with no formatting or spaces. | no | ["2126852058"] | |
planIds | array[integer] | Defacto Health generated identifier for the health plan, unique across all plans across all carriers. | no | Must be present in CarrierPlans file | [45,76] |