Back to Openemr

notes

Documentation/EHI_Export/docs/tables/notes.html

latest1.2 KB
Original Source

Columns

ColumnTypeSizeNullsAutoDefaultChildrenParentsComments
idINT100

|

|

Surrogate id of the record used as the primary incrementing key

| | foreign_id | INT | 10 | | | 0 |

|

| documents.id | Defined in XML | R |

|

The documents.id key for the document this note is connected to

| | note | VARCHAR | 255 | √ | | NULL |

|

|

The notes or comments for the document referenced in foreign_id

| | owner | INT | 10 | √ | | NULL |

|

| users.id | Defined in XML | R |

|

Foreign key identifier to users of who initially created this note

| | date | DATETIME | 19 | √ | | NULL |

|

|

Date and time the note was created

| | revision | TIMESTAMP | 19 | | | current_timestamp() |

|

|

UNUSED

|

Indexes

Constraint NameTypeSortColumn(s)
PRIMARYPrimary keyAscid
datePerformanceAscdate
foreign_idPerformanceAscowner
foreign_id_2PerformanceAscforeign_id

Relationships

Close relationships within degrees of separation