Organization

Get 100 organizations (by default):

GET [base]/fhir/Organization 

Get organization by name:

GET [base]/fhir/Organization?name=ACME 

Get organizations by address:

GET [base]/fhir/Organization?address=BRONX 

Get organization by type:

GET [base]/fhir/Organization?type=HS 

Get organization by identifier:

GET [base]/fhir/Organization?identifier=1023024882 

Get organizations by address AND type:

GET [base]/fhir/Organization?address=BRONX&type=HS 

The full list of FHIR search parameters for Organization is found Organization. Aidbox also offers a selection of query parameters to further refine search results. This includes pagination, full-text search, sorting etc. Refer to the Search for information.

The search results are returned in Bundle by default. Alternatively, you can specify a _result parameter with value array to receive resources in a JSON array.

Bulk API

The following bulk operations on Organization are available.

$dump

Aidbox will respond with Chunked Transfer Encoding ndjson stream, optionally you can get the output in FHIR format or GZIPped.

This is a memory-efficient operation. Aidbox just streams the database cursor to a socket. If your HTTP Client supports processing of Chunked Encoding, you can process resources in stream one by one without waiting for the end of the response. See full docs $dump.

GET [base]/Organization/$dump
yaml
HTTP/1.1 200 OK
Content-Type: application/ndjson
Transfer-Encoding: chunked

{"resourceType": "Organization", "id": .............}
{"resourceType": "Organization", "id": .............}
{"resourceType": "Organization", "id": .............}
{"resourceType": "Organization", "id": .............}
.........

$dump-csv

Dump Organization resources in CSV format.

This operation dumps resource data in Aidbox format as CSV (RFC4180). In this format, columns are paths to JSON values and Rows are values. It includes the header.

Neither the specific order of columns nor the order of rows is guaranteed. See full docs $dump-csv.

GET [base]/Organization/$dump-csv

Parameters

Parameter Description
Organization.active true/false
Organization.address address
Organization.address-city city
Organization.address-country country
Organization.address-postalcode postal code
Organization.address-state state
Organization.address-use use
Organization.boardCertifiedCode
Organization.boardCertifiedValue
Organization.endpoint technical endpoints providing access to services operated for the organization
Organization.identifier identifier in a system
Organization.name organization name
Organization.partof the organization of which this organization forms a part
Organization.phonetic
Organization.type type of organization