/
RECORD SETTINGS

RECORD SETTINGS

When a TASK has the "RECORD" SETTING defined, it indicates that when the TASK is closed, it should be considered a MEDICAL RECORD.

To define a MEDICAL RECORD it is necessary to provide the following information:

  • Date: is the date assigned to the MEDICAL RECORD. By default it will be assigned to the date of the TASK, but it is possible to indicate a different date
  • Visibility: (Introduced in API Version 2.7.26) Allows to indicate whether the MEDICAL RECORD will be visible by everybody (the patient and all professionals) or only by professionals. Allowed values are:
    • "all"
    • "professional"
  • tags: it is possible to categorize the MEDICAL RECORDS using tags. Each tag is a CODE OBJECT, which is identified by a STANDARD CODE (e.g. /wiki/spaces/DES/pages/29262074) and a value that corresponds to the selected STANDARD CODE  (e.g. "Circulatory System"). Normally the MEDICAL RECORDS are tagged using DIAGNOSIS.MDC and/or RECORD.TYPE tags)

The "RECORD" SETTING_VALUE must be expressed as a JSON which contains the previously commented information using the following format:

{"date": "2017-11-19",
 "visibility":"all",
 "tags": [
    {"code": "DIAGNOSIS.MDC", "value": "5"},
    {"code": "#RECORD.TYPE", "value": "MEDICAL_IMAGE"}
]}

It is possible to customize the JSON using OBJECT CODES:

{"date": "FORM{MEDICAL_RECORD_TEST}.DATE",
 "visibility":"all",
 "tags": [
    {"code": "DIAGNOSIS.MDC", "value": "FORM{MEDICAL_RECORD_TEST}.ITEM{1}.ANSWER{VALUE}"},
    {"code": "#RECORD.TYPE", "value": "FORM{MEDICAL_RECORD_TEST}.ITEM{2}.ANSWER{VALUE}"}
]}

Note that currently only DIAGNOSIS.MDC AND #RECORD.TYPE values are accepted as MEDICAL RECORD SETTINGS. Other values are ignored

Related content