Back to Openemr

document_templates

Documentation/EHI_Export/docs/tables/document_templates.html

latest1.8 KB
Original Source

Columns

ColumnTypeSizeNullsAutoDefaultChildrenParentsComments
idBIGINT UNSIGNED20null

|

| | | pid | BIGINT | 19 | √ | | NULL |

|

| patient_data.pid | Defined in XML | R |

|

The internal patient identifier.

| | provider | INT UNSIGNED | 10 | √ | | NULL |

|

| | | encounter | INT UNSIGNED | 10 | √ | | NULL |

|

| | | modified_date | DATETIME | 19 | | | current_timestamp() |

|

| | | profile | VARCHAR | 63 | | | null |

|

| | | category | VARCHAR | 63 | | | null |

|

| | | location | VARCHAR | 255 | √ | | NULL |

|

| | | template_name | VARCHAR | 255 | √ | | NULL |

|

| | | status | VARCHAR | 31 | √ | | NULL |

|

| | | send_date | DATETIME | 19 | | | current_timestamp() |

|

| | | end_date | DATETIME | 19 | √ | | NULL |

|

| | | size | INT | 10 | | | 0 |

|

| | | template_content | MEDIUMBLOB | 16777215 | √ | | NULL |

|

|

Digital document template that is assigned to a patient to be filled out. Uses Domain Specific Language (DSL) template tags to inject specific functionality into the template for patients to fill out. Patient data template tags can be found at the following URL: https://www.open-emr.org/wiki/index.php/Patient_Portal_Document_Templates

| | mime | VARCHAR | 31 | √ | | NULL |

|

| |

Indexes

Constraint NameTypeSortColumn(s)
PRIMARYPrimary keyAscid
locationMust be uniqueAsc/Asc/Asc/Ascpid + profile + category + template_name

Relationships

Close relationships within degrees of separation