Create an organization

post

/Organization

Creates a new organization.

Note: Only the body fields mentioned below are supported. Unsupported fields are ignored or can result in errors.

Authorization Types

This operation supports the following authorization types:

Request

Supported Media Types
Header Parameters
Body ()
The body of the create operation
Root Schema : OrganizationCreate
Type: object
A summary representation of the create (POST) operation for an organization.
Show Source
  • Whether the organization's record is still in active use.
    Note: If set, value must be true.
    Example:
    {
      "active": true
    }
  • The identifier for the organization.
    Note: If set, the provided identifier must meet the following conditions:
    • Must contain the system, value, and type fields.
    • Must contain only an NPI, OID, or TAXID system.
    Example:
    {
      "identifier": [
        {
          "system": "http://hl7.org/fhir/sid/us-npi",
          "value": "FHIR-NPI-10191",
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code": "NPI"
              }
            ]
          }
        }
      ]
    }
  • The name used for the organization.
    Note: At least one name must be provided and should be unique.
    Example:
    {
      "name": "example-organization"
    }
  • Allowed Values: [ "Organization" ]
    The type of the FHIR resource.
  • type
    The organization type.
    Example:
    {
      "type": [
        {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/organization-type",
              "code": "govt"
            }
          ]
        }
      ]
    }
Nested Schema : type
Type: array
The organization type.
Example:
{
  "type": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/organization-type",
          "code": "govt"
        }
      ]
    }
  ]
}
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : coding
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

Example Request:
POST https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Organization
Example Request Body:
{
    'resourceType': 'Organization',
    'identifier': [
      {
        'system': 'http://hl7.org/fhir/sid/us-npi',
        'value': 'FHIR-NPI-10191',
        'type': {
          'coding': [
            {
              'system': 'http://terminology.hl7.org/CodeSystem/v2-0203',
              'code': 'NPI'
            }
          ]
        }
      }
    ],
    'active': true,
    'name': 'sandbox-fhir-org1',
    'type': [
      {
        'coding': [
          {
            'system': 'http://terminology.hl7.org/CodeSystem/organization-type',
            'code': 'govt'
          }
        ]
      }
    ]
  }
Example Response:
  Cache-Control: no-cache
  Content-Length: 0
  Content-Type: text/html
  Date: Wed, 14 Aug 2019 17:23:14 GMT
  Etag: W/"6767735"
  Location: https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Organization/6767735
  Last-Modified: Wed, 14 Aug 2019 17:23:14 GMT
  Vary: Origin
  opc-request-id: /11111111111111111111111111111111/11111111111111111111111111111111
  X-Request-Id: 11111111-1111-1111-1111-111111111111
The ETag response header indicates the current If-Match version to use on a subsequent update.
Headers
  • For Update or Patch versioning controls. Related to If-Match. When a resource performs an operation that creates or updates a record, an Etag value is returned as a header. This same value should be included in request headers as an If-Match for any subsequent update to that record.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the X-Request-Id, if present.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the opc-Request-Id, if present.
Back to Top