Create a TEFCA-CommonWell organization record

Last updated: Jun 9, 2026
IMPLEMENTATION
DEVELOPER
Who can use this how-to
  • Existing customers using Network Onramps to connect to TEFCA via CommonWell

An organization record (i.e., OID in the Redox organization) is the unique identifier for your organization within the CommonWell Health Alliance. The organization OID is how you identify yourself when searching for patients—and how other TEFCA-CommonWell participants can find you and your patients.

You should plan to register at least one organization record per unique master patient index (MPI) or physical location. Learn more about OIDs and identity to understand why you may want to register more than one organization.

Prerequisites

  • You must have qualified for TEFCA and set up your credentials and OIDs. Learn more about setting up your onramp to TEFCA.
  • Be familiar with the following terms and concepts to send requests to TEFCA-CommonWell:
Use curl for technical validation

You can copy our code examples and send the test requests with curl (learn more about curl) instead of Postman. If you do, remember to:

  • Remove any comments from the code examples (starting with //).
  • Replace any variables (e.g., {{YOUR-VARIABLE}}).
  • Add the source-id if you have multiple sources. We don’t include {{source-id}} in the code examples, so you’ll have to add them yourself. Learn about including source details.
  • Make sure you have a full request for your own use since some of the code examples are abbreviated.

Check out these troubleshooting guides if you run into errors:

Create your organization record

When testing, create an organization record in your development environment, then in your production environment once you’ve finished testing.

  1. Using Postman or curl, send an Organization.New request to create your organization record in TEFCA-CommonWell.
    • The PIAA ID is your patient identifier assigning authority, which has its own ID. Your IDs will be scoped under this and show up as an IDType in any patient or document queries.
    • For other IDs, TEFCA requires at least one of the following ID types to be assigned to each organization: TIN, NPI Type 1, NPI Type 2. Include all ID types that are applicable to your organization.
    • The PartOf identifier refers to the parent organization, which is Redox. Use the Redox ID value.
    • For Contacts, replace our example data with your organization’s contact information.
      Example: Create a TEFCA-CommonWell organization record
      bash
      1
      curl \
      2
      -X POST https://api.redoxengine.com/endpoint \
      3
      -H "Content-Type: application/json" \
      4
      -H "Authorization: Bearer $API_TOKEN" \
      5
      -d '{
      6
      "Meta": {
      7
      "DataModel": "Organization",
      8
      "EventType": "New",
      9
      "Destinations": [
      10
      {
      11
      "ID": "3122bfff-f1fb-4fdf-97de-294f24338229",
      12
      "Name": "CommonWell EMPI [Integration]"
      13
      }
      14
      ]
      15
      },
      16
      "Directory": "CommonWell",
      17
      "Action": "Create",
      18
      "Organizations": [
      19
      {
      20
      "Name": "My Company",
      21
      "Aliases": ["My Company, LLC", "MY"],
      22
      "Active": true,
      23
      24
      "Identifiers": [
      25
      {
      26
      "ID": "{{YOUR-ORGANIZATION-OID}}",
      27
      "IDType": "OID"
      28
      },
      29
      {
      30
      "ID": "{{YOUR-PIAA-ID}}",
      31
      "IDType": "PIAA"
      32
      },
      33
      {
      34
      "ID": "{{YOUR-NPI-TYPE-1-ID}}",
      35
      "IDType": "NPI Type 1"
      36
      },
      37
      {
      38
      "ID": "{{YOUR-NPI-TYPE-2-ID}}",
      39
      "IDType": "NPI Type 2"
      40
      },
      41
      {
      42
      "ID": "{{YOUR-TIN-ID}}",
      43
      "IDType": "Tax Identification Number"
      44
      },
      45
      ],
      46
      "PartOf": {
      47
      "Identifier": {
      48
      "Value": "2.16.840.1.113883.3.6147.458.2"
      49
      }
      50
      },
      51
      "Contacts": [
      52
      {
      53
      "Purpose": "Technical",
      54
      "Name": "Redox CommonWell Support - Test",
      55
      "EmailAddresses": ["support@redoxengine.com"],
      56
      "PhoneNumber": {
      57
      "Work": "+16085359501",
      58
      "Mobile": "+16085359501"
      59
      }
      60
      }
      61
      ],
      62
      "Address": {
      63
      "StreetAddress": "2020 Eastwood Dr",
      64
      "City": "Madison",
      65
      "State": "WI",
      66
      "ZIP": "53704",
      67
      "County": "Dane",
      68
      "Country": "USA"
      69
      }
      70
      }
      71
      ]
      72
      }'
      API reference

      Review the Organization data model schema for more technical details.

  2. If the request is successful, you receive a synchronous response indicating that your organization record was created.
    Example: Successful response for new TEFCA-CommonWell organization record
    json
    1
    {
    2
    "Meta": {
    3
    "DataModel": "Organization",
    4
    "EventType": "New",
    5
    "Message": {
    6
    "ID": 4606153124
    7
    },
    8
    "Source": {
    9
    "ID": "7f296bb4-83fd-498d-92f3-a76960648788",
    10
    },
    11
    "Destinations": [
    12
    {
    13
    "ID": "a07afe3b-d247-4415-827f-6837707e1b8b"
    14
    }
    15
    ],
    16
    "Extensions": {
    17
    "ResponseDetail": {
    18
    "string": "New organization was added successfully."
    19
    }
    20
    }
    21
    }
    22
    }
    Redoxer must set up DNPR first

    Every organization record created in CommonWell-TEFCA must have an associated Data Network Participant Repository (DNPR) set up within Redox. Only a Redoxer can manage your DNPR. If you don’t receive the expected response, submit a Help Center request to get help. In the ticket, include your organization OID, your destination ID for document responding, and your supported purpose(s) of use.

    For help with errors, review common TEFCA-CommonWell errors.

  3. Once you complete all of your testing, repeat these steps to create your organization record in production, too.

Maintain your organization record

Whenever there are changes to your organization details (e.g., address or contact information), follow these steps to keep your organization record up-to-date:

  1. Using Postman or curl, send an Organization.Update request with the updated or new organization details.
    Example: Update a TEFCA-CommonWell organization record
    bash
    1
    curl \
    2
    -X POST https://api.redoxengine.com/endpoint \
    3
    -H "Content-Type: application/json" \
    4
    -H "Authorization: Bearer $API_TOKEN" \
    5
    -d '{
    6
    "Meta": {
    7
    "DataModel": "Organization",
    8
    "EventType": "Update",
    9
    "Destinations": [
    10
    {
    11
    "ID": "3122bfff-f1fb-4fdf-97de-294f24338229",
    12
    "Name": "CommonWell EMPI [Integration]"
    13
    }
    14
    ]
    15
    },
    16
    "Directory": "CommonWell",
    17
    "Action": "Update",
    18
    "Organizations": [
    19
    {
    20
    "Name": "My Company",
    21
    "Aliases": ["My Company, LLC", "MY"],
    22
    "Active": true,
    23
    24
    "Identifiers": [
    25
    {
    26
    "ID": "{{YOUR-ORGANIZATION-OID}}",
    27
    "IDType": "OID"
    28
    },
    29
    {
    30
    "ID": "{{YOUR-PIAA-ID}}",
    31
    "IDType": "PIAA"
    32
    },
    33
    {
    34
    "ID": "{{YOUR-NPI-TYPE-1-ID}}",
    35
    "IDType": "NPI Type 1"
    36
    },
    37
    {
    38
    "ID": "{{YOUR-NPI-TYPE-2-ID}}",
    39
    "IDType": "NPI Type 2"
    40
    },
    41
    {
    42
    "ID": "{{YOUR-TIN-ID}}",
    43
    "IDType": "Tax Identification Number"
    44
    },
    45
    ],
    46
    "PartOf": {
    47
    "Identifier": {
    48
    "Value": "2.16.840.1.113883.3.6147.458.2"
    49
    }
    50
    },
    51
    "Contacts": [
    52
    {
    53
    "Purpose": "Technical",
    54
    "Name": "Redox CommonWell Support - Test",
    55
    "EmailAddresses": ["support@redoxengine.com"],
    56
    "PhoneNumber": {
    57
    "Work": "+16085359501",
    58
    "Mobile": "+16085359501"
    59
    }
    60
    }
    61
    ],
    62
    "Address": {
    63
    "StreetAddress": "2020 Eastwood Dr",
    64
    "City": "Madison",
    65
    "State": "WI",
    66
    "ZIP": "53704",
    67
    "County": "Dane",
    68
    "Country": "USA"
    69
    }
    70
    }
    71
    ]
    72
    }'
    API reference

    Review the Organization data model schema for more technical details.

  2. If the request is successful, you receive a synchronous response indicating that your organization record was updated.

Next steps

FHIR® is a registered trademark of Health Level Seven International (HL7) and is used with the permission of HL7. Use of this trademark does not constitute an endorsement of products/services by HL7®.