Organization

Top  Previous  Next

A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, payer/insurer, etc.

 

Response Description

Sample Response

{

"resourceType": "Organization",

"id": "DEV--QUEST",

"meta": {

       "lastUpdated": "2022-11-22T12:00:00-05:00",

 "profile": [

 "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"

     ]

    },

"text": {

       "status": "generated",

 "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><span>Quest</span><table><tbody><tr><td>Name:</td><td>Quest</td></tr><tr><td>Phone #:</td><td></td></tr><tr><td>Email:</td><td>solomon.staggs@gmail.com</td></tr><tr><td>Address:</td><td>2070 TEST PARK<br/>LOS ANGELES, CA  90067</td></tr></tbody></table></div>"

   },

"identifier": [

       {

 "system": "http://hl7.org/fhir/sid/us-npi",

 "value": "28950238590"

    }

   ],

"active": true,

"name": "Quest",

"telecom": [

 {

     "system": "email",

 "value": "solomon.staggs@gmail.com"

    }

   ],

"address": [

       {

 "line": [

   "2070 TEST PARK"

     ],

 "city": "LOS ANGELES",

       "state": "CA",

     "postalCode": "90067",

     "country": "US",

     "period": {

     "start": "2022-09-21",

     "end": "2022-09-21"

    }

  }

]

}

 

Organization.id

 

The logical ID of the resource, as used in the URL for the resource. Once assigned, this value never changes.

Cardinality

0..1

Type

string

Comment

The only time that a resource does not have an ID is when it is being submitted to the server using a create operation.

 

 

Organization.meta

 

Metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.

Cardinality

0..1

Type

Meta

 

 

Organization.text

 

A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.

Cardinality

0..1

Type

Narrative

 

 

Organization.identifier

 

Identifier for the organization that is used to identify the organization across multiple disparate systems.

Cardinality

0..*

Type

Identifier

Comment

This is a business identifier, like an NPI, not a resource identifier

 

 

Organization.identifier.system

 

The namespace for the identifier value.

Cardinality

0..1

Type

uri

 

 

Organization.identifier.value

 

The value that is unique.

Cardinality

0..1

Type

string

 

 

Organization.identifier:NPI

 

Identifier for the organization that is used to identify the organization by NPI.

Cardinality

0..1

Type

Identifier

Comment

<valueIdentifier xmlns="http://hl7.org/fhir">

 <system value="http://hl7.org/fhir/sid/us-npi"/>

</valueIdentifier>

 

 

Organization.active

 

Whether the organization's record is still in active use.

Cardinality

0..1

Type

boolean

Comment

This active flag is not intended to be used to mark an organization as temporarily closed or under construction. Instead the Location(s) within the Organization should have the suspended status. If further details of the reason for the suspension are required, then an extension on this element should be used.

Requirements

Need a flag to indicate a record is no longer to be used and should generally be hidden for the user in the UI.

 

 

Organization.name

 

A name associated with the organization.

Cardinality

0..1

Type

string

Comment

If the name of an organization changes, consider putting the old name in the alias column so that it can still be located through searches.

 

 

Organization.telecom

 

A contact detail for the organization.

Cardinality

0..*

Type

ContactPoint

Comment

Note that these contacts are not the contact details of people who are employed by or represent the organization, but official contacts for the organization itself.

 

 

Organization.address

 

An address for the organization.

Cardinality

0..*

Type

Address

Comment

Organization may have multiple addresses with different uses or applicable periods. The use code 'home' is not to be used.

 

 

Organization.address.line

 

Street name, number, direction & P.O. Box etc.

Cardinality

0..4

Type

string

 

 

Organization.address.city

 

Name of city, town etc.

Cardinality

0..1

Type

string

 

 

Organization.address.state

 

Sub-unit of country (abbreviations ok).

Cardinality

0..1

Type

string. The codes SHALL be taken from USPS Two Letter Alphabetic Codes; other codes may be used where these codes are not suitable Two Letter USPS alphabetic codes.

 

 

Organization.address.postalCode

 

US Zip Codes.

Cardinality

0..1

Type

string

 

 

Organization.address.country

 

Country (e.g. can be ISO 3166 2 or 3 letter code)

Cardinality

0..1

Type

string

 


 

Search

 

URL Syntax

Two HTTP methods are supported for searching: GET and POST. It is recommended to use HTTP POST.

Visit the FHIR Sandbox to try requests.

 

 

HTTP GET - searching

https://sandbox.pai.healthcare/preview/fhir/Organization?{query string}

 

HTTP GET - return single record

https://sandbox.pai.healthcare/preview/fhir/Organization/{resource id}

 

HTTP POST - searching

https://sandbox.pai.healthcare/preview/fhir/Organization/_search

Set the Content-Type header to application/x-www-urlencoded

The body of the request is a similar query string used in the GET type of request detailed above.

 

 

Error Handling

If no records are returned or invalid search parameters are provided, then an HTTP 400 Bad Request is returned.

The body of the response will be an OperationOutcome.

 

 

Supported Search Parameters

 

_id

Corresponds to

Organization.id

Search

exact

Example

https://sandbox.pai.healthcare/preview/fhir/Organization/DEV--ABC

https://sandbox.pai.healthcare/preview/fhir/Organization?_id=DEV--ABC

 

Returns the information on Organization ABC.

 

name

Corresponds to

Organization.name

Search

contains

Example

https://sandbox.pai.healthcare/preview/fhir/Organization?name:contains=bak

 

Returns all Organizations with a name containing bak.

 

address

Corresponds to

Organization.address

Search

contains

Example

https://sandbox.pai.healthcare/preview/fhir/Organization?address:contains=PA

 

Returns all Organizations where city, state, zip, or address lines contain PA.