/
NUTRINTG Hospital, HCP, VoucherBank

NUTRINTG Hospital, HCP, VoucherBank

Hospitals

Adding Hospital: Currently inactive

For development purposes:

  • Epsilon endpoint: api/v1/infrastructure/scripts/AddHospital/invoke


When to use: in case of adding new Hospital

Method: POST

Notice:

  • The purpose of the call is to add a hospital record into CDP hospital master.

  • This service adds a new Hospital record into CDP segmented by Brand-Org-Code (Country/Region), Account Source Code (Data Source) and Source Account Number (External Unique Identifier, namely, Salesforce ID/ Veeva ID)

  • Source-Account-Number - External system unique identifier for the Hospital. This should be the Health Care Provider Salesforce ID.

Endpoint:

  • TBD

Headers:

  • all headers are mandatory:

Accept-Language: en-US (example) Authorization: Token acba6c8f-8ce2-43e5-8c67-84eee6aac515 (example) Program-Code: MJNPOL (example) Brand-Org-Code: MJNPOL (example) Source-Account-Number: ... (External system unique identifier for the Hospital) Content-Type: application/json Account-Source: POLGWTPL (example)

Body:

Example data payload

{ "SAPHospitalNumber": "000198123", "SFACode": "THC311391", "HospitalName": "Chinook Regional Hospistal", "Customer Group": "Hospital", "AccountClassification": "Hospital", "AccountProfile": "Government Hospital", "Address1": "440 3 St E", "Address2": "", "Address3": "", "Address4": "", "City": "Brooks", "State": "AB", "FSACode": "T1R", "PostalCode": "T1R 0G5", "Country": "CAN", "HealthAuthority": "Zone 1-South", "NetTotalBirths": 300, "ManufacturerAgreement": "MJN", "Status": "A" }

Response:

  • Response code: 200

  • Response description: OK

  • Response body: Data for added activity, example:

    •  

      { "HospitalId": 1234567, "HospitalSourceCode": "SFSC-HOSP", "SFACode": "THC311391", "BrandOrgCode": "MJNCAN", "SourceHospitalId": "CAN600816", "SAPHospitalNumber": "000198123", "HospitalName": "Chinook Regional Hospistal", "Customer Group": "Hospital", "AccountClassification": "Hospital", "AccountProfile": "Government Hospital", "Address1": "440 3 St E", "Address2": "", "Address3": "", "Address4": "", "City": "Brooks", "State": "AB", "FSACode": "T1R", "PostalCode": "T1R 0G5", "Country": "CAN", "HealthAuthority": "Zone 1-South", "NetTotalBirths": 300, "ManufacturerAgreement": "MJN", "Status": "A" "CreateUser": "CreateDate": "UpdateUser": "UpdateDate": "CRM_ADMIN", "2016-08-02T17:35:20.295968Z", "CRM_ADMIN", "2016-08-02T17:35:20.295968Z" }

Updating Hospital: Currently inactive

For development purposes:

  • Epsilon endpoint: api/v1/infrastructure/scripts/UpdateHospital/invoke


When to use: in case of update an existing Hospital

Method: POST

Notice:

  • The purpose of the call is to add a hospital record into CDP hospital master.

  • The Update Hospital is a full update and it requires all hospital attributes to be submitted as part of the request if the values are previously populated. If not, the value will be removed.

  • Source-Account-Number - External system unique identifier for the Hospital. This should be the Health Care Provider Salesforce ID.

Endpoint:

  • TBD

Headers:

  • all headers are mandatory:

Body:

Example data payload

Response:

  • Response code: 200

  • Response description: OK

  • Response body: Data for added activity, example:

    •  

HCP

Adding Health Care Provider HCP: Currently inactive

For development purposes:

  • Epsilon endpoint: api/v1/infrastructure/scripts/AddHCP/invoke


When to use: in case of adding new or update an existing HCP

Method: POST

Notice:

  • The purpose of the call is to add a HCP record into CDP hospital master.

  • Source-Account-Number - External system unique identifier for the HCP. This should be the Health Care Provider Salesforce ID.

Endpoint:

  • TBD

Headers:

  • all headers are mandatory:

Body:

Example data payload

Response:

  • Response code: 200

  • Response description: OK

  • Response body: Data for added activity, example:

    •  

Updating Health Care Provider HCP: Currently inactive

For development purposes:

  • Epsilon endpoint: api/v1/infrastructure/scripts/UpdateHCP/invoke


When to use: in case of adding new or update an existing HCP

Method: POST

Notice:

  • The purpose of the call is to add a HCP record into CDP hospital master.

  • Source-Account-Number - External system unique identifier for the HCP. This should be the Health Care Provider Salesforce ID.

  • The Update HCP is a full update and it requires all hospital attributes to be submitted as part of the request if the values are previously populated. If not, the value will be removed.

  • The full update also applies to the hospital record collection associated to the HCP

Endpoint:

  • TBD

Headers:

  • all headers are mandatory:

Body:

Example data payload

Response:

  • Response code: 200

  • Response description: OK

  • Response body: Data for added activity, example:

    •  

Voucher

Adding Voucher Redemption: Currently inactive

For development purposes:

  • Epsilon endpoint: /api/v1/infrastructure/scripts/AddVoucherRedemptions/invoke


When to use: in case of adding new or update an existing Hospital

Method: POST

Notice:

  • The purpose of the call is to add a voucher redemption.

Endpoint:

  • TBD

Headers:

  • all headers are mandatory:

Body:

Example data payload

Response:

  • Response code: 201

  • Response Description: Created

  • Response body: Data for added activity, example:

    •  

Adding assign voucher: Currently inactive

Get treatment: Currently inactive