Back to Openemr

clinical_notes_documents

Documentation/EHI_Export/docs/tables/clinical_notes_documents.html

latest1.2 KB
Original Source

Columns

ColumnTypeSizeNullsAutoDefaultChildrenParentsComments
idBIGINT19null

|

| | | clinical_note_id | BIGINT | 19 | | | null |

|

| form_clinical_notes.id | Defined in XML | R |

|

Foreign key to form_clinical_notes.id

| | document_id | BIGINT | 19 | | | null |

|

| documents.id | Defined in XML | R |

|

Foreign key to documents.id

| | created_at | TIMESTAMP | 19 | | | current_timestamp() |

|

|

When the link was created

| | created_by | VARCHAR | 255 | √ | | NULL |

|

| users.username | Defined in XML | R |

|

Username who created the link

|

Indexes

Constraint NameTypeSortColumn(s)
PRIMARYPrimary keyAscid
idx_clinical_note_idPerformanceAscclinical_note_id
idx_created_atPerformanceAsccreated_at
idx_document_idPerformanceAscdocument_id
unique_note_documentMust be uniqueAsc/Ascclinical_note_id + document_id

Relationships

Close relationships within degrees of separation