Medical Center

Medical centers is a way to silo data among different medical branches. Each medical center can have it's own local admins, billing providers, service facilities, referring providers, etc.

The medical center model

Properties

  • Name
    id
    Type
    string
    Description

    Unique identifier for the medical center.

  • Name
    object
    Type
    string
    Description

    Always 'medical_center'.

  • Name
    name
    Type
    string
    Description

    Name of the medical center.

  • Name
    address
    Type
    object
    Description
    Address of the medical_center.
  • Name
    custom_data
    Type
    array of objects
    Description
    Custom field and values added to the medical center object.
  • Name
    created_by
    Type
    string
    Description

    Creator of the medical center.

  • Name
    created_at
    Type
    number
    Description

    Timestamp (in ISO 8601 format) of when the medical center was created.

  • Name
    last_updated_at
    Type
    number
    Description

    Timestamp (in ISO 8601 format) of when the medical center was last updated.

Response

{
    "id": "mctr_zRX1SV0oK7vQ5f0j8Vjk",
    "object": "medical_center",
    "name": "Avon – New York Branch",
    "address": {
        "line1": "1 Wall Street",
        "city": "New York",
        "state": "NY",
        "postal_code": "10001",
        "country": "US",
    },
    "custom_data": [{
        "key": "cfld_DTkHKn6FZR6ioEoknLF",
        "value": "Default"
    }],
    "created_by": "user_xeDpGyt67wTor93qKtS7",
    "created_at": "2024-04-10T13:20:21.724Z",
    "last_updated_at": "2024-04-10T13:20:21.724Z"
}


POST/v2/medical_centers

Create a medical center

Creates a new medical center.

Required attributes

    Optional attributes

    • Name
      name
      Type
      string
      Description

      Name of the medical center.

    • Name
      medical_center
      Type
      object
      Description
      Address of the medical_center.
    • Name
      custom_data
      Type
      array of objects
      Description
      Custom field and values added to the medical center object.

    Response

    {
        "id": "mctr_zRX1SV0oK7vQ5f0j8Vjk",
        "object": "medical_center",
        "name": "Avon – New York Branch",
        "address": {
            "line1": "1 Wall Street",
            "city": "New York",
            "state": "NY",
            "postal_code": "10001",
            "country": "US",
        },
        "custom_data": [{
            "key": "cfld_DTkHKn6FZR6ioEoknLF",
            "value": "Default"
        }],
        "created_by": "user_xeDpGyt67wTor93qKtS7",
        "created_at": "2024-04-10T13:20:21.724Z",
        "last_updated_at": "2024-04-10T13:20:21.724Z"
    }
    
    

    GET/v2/medical_centers/:id

    Retrieve a medical center

    Retrieves the specified medical center.

    Response

    
    {
       "id": "mctr_zRX1SV0oK7vQ5f0j8Vjk",
       "object": "medical_center",
       "name": "Avon – New York Branch",
       "address": {
           "line1": "1 Wall Street",
           "city": "New York",
           "state": "NY",
           "postal_code": "10001",
           "country": "US",
       },
       "custom_data": [{
           "key": "cfld_DTkHKn6FZR6ioEoknLF",
           "value": "Default"
       }],
       "created_by": "user_xeDpGyt67wTor93qKtS7",
       "created_at": "2024-04-10T13:20:21.724Z",
       "last_updated_at": "2024-04-10T13:20:21.724Z"
    }
    
    

    POST/v2/medical_centers/:id

    Update a medical center

    Updates the specified medical center object by setting the values of the parameters passed. Any other parameters not provided will not be modified.

    Required attributes

      Optional attributes

      • Name
        name
        Type
        string
        Description

        Name of the medical center.

      • Name
        medical_center
        Type
        object
        Description
        Address of the medical_center.
      • Name
        custom_data
        Type
        array of objects
        Description
        Custom field and values added to the medical center object.

      Response

      
      {
          "id": "mctr_zRX1SV0oK7vQ5f0j8Vjk",
          "object": "medical_center",
          "name": "Avon – New York Branch",
          "address": {
              "line1": "1 Wall Street",
              "city": "New York",
              "state": "NY",
              "postal_code": "10001",
              "country": "US",
          },
          "custom_data": [{
              "key": "cfld_DTkHKn6FZR6ioEoknLF",
              "value": "Default"
          }],
          "created_by": "user_xeDpGyt67wTor93qKtS7",
          "created_at": "2024-04-10T13:20:21.724Z",
          "last_updated_at": "2024-04-10T13:20:21.724Z"
      }
      
      

      GET/v2/medical_centers

      List all medical centers

      Returns a list of all medical center IDs.

      Response

      {
        "object": "list",
        "data": ["mctr_zRX1SV0oK7vQ5f0j8Vjk", "mctr_oK7vQ5fzRX1SV00j8Vjk"]
      }
      

      DELETE/v2/medical_centers/:id

      Delete a medical center

      Deletes the specified medical center.

      Required attributes

        Optional attributes

          Response

          {
              "id": "mctr_zRX1SV0oK7vQ5f0j8Vjk",
              "object": "medical_center",
              "delete": true
          }