Other/helpers

Hint

For each request on this page you need to add identication data. More information about this can be found in Identification / access chapter.

NHG memo

This method is used to search for the NHG memo based on the numeric code in Bricks.

Request

{
  "Name": "{{name}}",
  "Key": "{{key}}",
  "Target": "{{target}}",
  "Method": "NHGMemo",
  "nummer": 3348
}

Parameters

  • nummer: Number of the (NHG) memo code you want to get. The memo code can also be found in the “Bepalingenviewer” of the NHG.

Response

{
   "memo": "CAC4/RQ/",
   "ReturnValue": {
       "ResponseCode": 200,
       "ResponseText": "OK",
       "Melding": "OK",
       "Gelukt": true
   }
}

De numerieke code waarvoor de NHG memo moet worden opgehaald.

Send alert

Warning

  • Experimental feature

  • This options is only working in the webbased version of Bricks Huisarts.

Send a message/alert to all logged in users.

Request

{
   "Name": "{{name}}",
   "Key": "{{key}}",
   "Target": "{{target}}",
   "Method": "StuurAlert",
   "tekst": "Patient Jansen heeft de deur geopend"
}
  • tekst: Text that is displayed in Bricks Huisarts.

Response

{
   "ReturnValue": {
      "ResponseCode": 200,
      "ResponseText": "OK",
      "Melding": "Toegevoegd. Alert verstuurd.",
      "Gelukt": true
   }
}

Opening a medical file for user

When a user is signed in to Bricks Huisarts and your application is running in another tab within the same browser you can open a medical file for the signed in user.

The following steps make this possible:

  1. Open/create an hidden iframe in your application

  2. Call the following URL:
    https://brickshuisarts.nl/{CustomerNumber}/do/start+consult+{PatientId}
    Replace {CustomerNumber} (which can be obtained from the customer) and {PatientId} (which your system already knows) with the appropriate values
  3. The system will return True as s string once the patient record has been successfully opened

  4. The requested patient record is opened in the browser tab that contains Bricks Huisarts

Attention

  • The application that calls the URL needs to be running in the same browser as Bricks Huisarts.

  • The user need to manually switch to the tab where Bricks Huisarts is running.
    It is not possible to automatically switch or open browser tabs on behalf of the user unless your application originally created the Bricks Huisarts tab.