Mermaid:Test w explicit: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 39: Line 39:
click L_Pharm_Flowsheet "https://ccmdb.kuality.ca/index.php?title=L_Pharm_Flowsheet_table"
click L_Pharm_Flowsheet "https://ccmdb.kuality.ca/index.php?title=L_Pharm_Flowsheet_table"


L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_TISS_Item[L_TISS_Item table]
L_Log -->|"D_ID to #8734; D_ID"| L_TISS_Item[L_TISS_Item table]
click L_TISS_Item "https://ccmdb.kuality.ca/index.php?title=L_TISS_Item_table"
click L_TISS_Item "https://ccmdb.kuality.ca/index.php?title=L_TISS_Item_table"


L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_TISS_Form[L_TISS_Form table]
L_Log -->|"D_ID to #8734; D_ID"| L_TISS_Form[L_TISS_Form table]
click L_TISS_Form "https://ccmdb.kuality.ca/index.php?title=L_TISS_Form_table"
click L_TISS_Form "https://ccmdb.kuality.ca/index.php?title=L_TISS_Form_table"



Revision as of 11:23, 2023 May 9

%% Test with explicit code works graph LR%% Test with explicit code worksgraph LR %% L_ tables L_Log[L_Log table] click L_Log "https://ccmdb.kuality.ca/index.php?title=L_Log_table" L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_PHI[L_PHI table] click L_PHI "https://ccmdb.kuality.ca/index.php?title=L_PHI_table" L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_CCI_Component[L_CCI_Component table] click L_CCI_Component "https://ccmdb.kuality.ca/index.php?title=L_CCI_Component table" L_CCI_Component -->|"CCI_1_Code to #8734; CCI_1_Code"| s_CCI_1[s_CCI_1 table] L_CCI_Component -->|"CCI_2_Code to #8734; CCI_2_Code"| s_CCI_2[s_CCI_2 table] s_CCI_1 -->|"CCI_1_code to #8734; CCI_code"| s_CCI_Categories_Collection_Mode[s_CCI_Categories_Collection_Mode table] s_CCI_2 -->|"CCI_2_code to #8734; CCI_code"| s_CCI_Categories_Collection_Mode[s_CCI_Categories_Collection_Mode table] s_CCI_1 -->|"CCI_1_code to #8734; CCI_code"| s_CCI_Categories[s_CCI_Categories table] s_CCI_2 -->|"CCI_2_code to #8734; CCI_code"| s_CCI_Categories[s_CCI_Categories table] L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_CCI_Picklist[L_CCI_Picklist table] click L_CCI_Picklist "https://ccmdb.kuality.ca/index.php?title=L_CCI_Picklist_table" L_CCI_Picklist -->|"CCI_Picklist_Code to #8734; CCI_Picklist_Code"| s_CCI_Picklist[s_CCI_Picklist table] s_CCI_Picklist -->|"CCI_Picklist_code to #8734; CCI_code"| s_CCI_Categories_Collection_Mode[s_CCI_Categories_Collection_Mode table] s_CCI_Picklist -->|"CCI_Picklist_code to #8734; CCI_code"| s_CCI_Categories[s_CCI_Categories table] L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_ICD10[L_ICD10 table] click L_ICD10 "https://ccmdb.kuality.ca/index.php?title=L_ICD10_table" L_ICD10 -->|"ICD10_code to #8734; ICD10_code"| s_ICD10[s_ICD10 table] s_ICD10 -->|"ICD10_code to #8734; ICD10_code"| s_ICD10_Categories[s_ICD10_Categories table] L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_Labs_DSM[L_Labs_DSM table] click L_Labs_DSM "https://ccmdb.kuality.ca/index.php?title=L_Labs_DSM_table" L_Labs_DSM -->|"ICD10_code to #8734; ICD10_code"| s_group[s_group table] L_Labs_DSM -->|"ICD10_code to #8734; ICD10_code"| s_mapping_lab[s_mapping_lab table] L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_Labs_Flowsheet[L_Labs_Flowsheet table] click L_Labs_Flowsheet "https://ccmdb.kuality.ca/index.php?title=L_Labs_Flowsheet_table" L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_Pharm_Flowsheet[L_Pharm_Flowsheet table] click L_Pharm_Flowsheet "https://ccmdb.kuality.ca/index.php?title=L_Pharm_Flowsheet_table" L_Log -->|"D_ID to #8734; D_ID"| L_TISS_Item[L_TISS_Item table] click L_TISS_Item "https://ccmdb.kuality.ca/index.php?title=L_TISS_Item_table" L_Log -->|"D_ID to #8734; D_ID"| L_TISS_Form[L_TISS_Form table] click L_TISS_Form "https://ccmdb.kuality.ca/index.php?title=L_TISS_Form_table" L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_TmpV2[L_TmpV2 table] click L_TmpV2 "https://ccmdb.kuality.ca/index.php?title=L_TmpV2_table" L_TmpV2 -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| s_Tmp[s_tmp table] click s_Tmp "https://ccmdb.kuality.ca/index.php?title=s_Tmp_table" L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_Dxs[L_Dxs table] click L_Dxs "https://ccmdb.kuality.ca/index.php?title=L_Dxs_table" L_Dxs -->|"DiagnosisCodeto #8734; DiagnosisCode"| s_AllDiagnoses[s_AllDiagnoses table] click s_AllDiagnoses "https://ccmdb.kuality.ca/index.php?title=s_AllDiagnoses" L_Dxs -->|"DiagnosisCode to #8734; xxx"| s_Pathogens[s_Pathogens table] click ss_Pathogens "https://ccmdb.kuality.ca/index.php?title=s_s_Pathogens" %%s_ tables L_Log -->|"R_Province to #8734; Code"| s_Provinces click s_Provinces "https://ccmdb.kuality.ca/index.php?title=s_Provinces_table" L_Log -->|"RecordStatus to #8734; RecordStatus_value"| s_RecordStatus click s_RecordStatus "https://ccmdb.kuality.ca/index.php?title=s_RecordStatus_table" L_Log -->|"dispo_ID to #8734; Pre-admit Inpatient Institution"| s_dispo L_Log -->|"dispo_ID to #8734; Previous Location"|s_dispo L_Log -->|"dispo_ID to #8734; Dispo"| s_dispo[s_dispo table] click s_dispo "https://ccmdb.kuality.ca/index.php?title=s_dispo_table" L_Log -->|"ADL_Bathing to #8734; ADL_Bathing"| s_ADLOptions[s_ADLOptions table] L_Log -->|"ADL_Dressing to #8734; ADL_Bathing"| s_ADLOptions[s_ADLOptions table] L_Log -->|"ADL_Toileting to #8734; ADL_Bathing"| s_ADLOptions[s_ADLOptions table] L_Log -->|"ADL_Transfering to #8734; ADL_Bathing"| s_ADLOptions[s_ADLOptions table] L_Log -->|"ADL_Continence to #8734; ADL_Bathing"| s_ADLOptions[s_ADLOptions table] L_Log -->|"ADL_Feeding to #8734; ADL_Bathing"| s_ADLOptions[s_ADLOptions table] click s_ADLOptions "https://ccmdb.kuality.ca/index.php?title=s_ADLOptions_table" L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| s_AP_AdmitType[s_AP_AdmitType table] click s_AP_AdmitType "https://ccmdb.kuality.ca/index.php?title=s_AP_AdmitType_table" L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| s_AP_Chronic[s_AP_Chronic table] click s_AP_Chronic "https://ccmdb.kuality.ca/index.php?title=s_AP_Chronic_table" L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| s_FIO2[s_FIO2 table] click s_FIO2 "https://ccmdb.kuality.ca/index.php?title=s_FIO2_table" L_Log -->|"AP_Eye to #8734; full_text"| s_GCS[s_GCS table] L_Log -->|"AP_Motor to #8734; full_text"| s_GCS[s_GCS table] L_Log -->|"AP_Verbal to #8734; full_text"| s_GCS[s_GCS table] click s_GCS "https://ccmdb.kuality.ca/index.php?title=s_GCs_table"
%% Test with explicit code works
graph LR%% Test with explicit code worksgraph LR
%% L_ tables 
L_Log[L_Log table]
click L_Log "https://ccmdb.kuality.ca/index.php?title=L_Log_table"

L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_PHI[L_PHI table]
click L_PHI "https://ccmdb.kuality.ca/index.php?title=L_PHI_table"

L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_CCI_Component[L_CCI_Component table]
click L_CCI_Component "https://ccmdb.kuality.ca/index.php?title=L_CCI_Component table"
L_CCI_Component -->|"CCI_1_Code to #8734; CCI_1_Code"| s_CCI_1[s_CCI_1 table]
L_CCI_Component -->|"CCI_2_Code to #8734; CCI_2_Code"| s_CCI_2[s_CCI_2 table]
s_CCI_1 -->|"CCI_1_code to #8734; CCI_code"| s_CCI_Categories_Collection_Mode[s_CCI_Categories_Collection_Mode table]
s_CCI_2 -->|"CCI_2_code to #8734; CCI_code"| s_CCI_Categories_Collection_Mode[s_CCI_Categories_Collection_Mode table]
s_CCI_1 -->|"CCI_1_code to #8734; CCI_code"| s_CCI_Categories[s_CCI_Categories table]
s_CCI_2 -->|"CCI_2_code to #8734; CCI_code"| s_CCI_Categories[s_CCI_Categories table]

L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_CCI_Picklist[L_CCI_Picklist table]
click L_CCI_Picklist "https://ccmdb.kuality.ca/index.php?title=L_CCI_Picklist_table"
L_CCI_Picklist -->|"CCI_Picklist_Code to #8734; CCI_Picklist_Code"| s_CCI_Picklist[s_CCI_Picklist table]
s_CCI_Picklist -->|"CCI_Picklist_code to #8734; CCI_code"| s_CCI_Categories_Collection_Mode[s_CCI_Categories_Collection_Mode table]
s_CCI_Picklist -->|"CCI_Picklist_code to #8734; CCI_code"| s_CCI_Categories[s_CCI_Categories table]

L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_ICD10[L_ICD10 table]
click L_ICD10 "https://ccmdb.kuality.ca/index.php?title=L_ICD10_table"
L_ICD10 -->|"ICD10_code to #8734; ICD10_code"| s_ICD10[s_ICD10 table]
s_ICD10 -->|"ICD10_code to #8734; ICD10_code"| s_ICD10_Categories[s_ICD10_Categories table]

L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_Labs_DSM[L_Labs_DSM table]
click L_Labs_DSM "https://ccmdb.kuality.ca/index.php?title=L_Labs_DSM_table"
L_Labs_DSM -->|"ICD10_code to #8734; ICD10_code"| s_group[s_group table]
L_Labs_DSM -->|"ICD10_code to #8734; ICD10_code"| s_mapping_lab[s_mapping_lab table]

L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_Labs_Flowsheet[L_Labs_Flowsheet table]
click L_Labs_Flowsheet "https://ccmdb.kuality.ca/index.php?title=L_Labs_Flowsheet_table"

L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_Pharm_Flowsheet[L_Pharm_Flowsheet table]
click L_Pharm_Flowsheet "https://ccmdb.kuality.ca/index.php?title=L_Pharm_Flowsheet_table"

L_Log -->|"D_ID to #8734; D_ID"| L_TISS_Item[L_TISS_Item table]
click L_TISS_Item "https://ccmdb.kuality.ca/index.php?title=L_TISS_Item_table"

L_Log -->|"D_ID to #8734; D_ID"| L_TISS_Form[L_TISS_Form table]
click L_TISS_Form "https://ccmdb.kuality.ca/index.php?title=L_TISS_Form_table"

L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_TmpV2[L_TmpV2 table]
click L_TmpV2 "https://ccmdb.kuality.ca/index.php?title=L_TmpV2_table"
L_TmpV2 -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| s_Tmp[s_tmp table]
click s_Tmp "https://ccmdb.kuality.ca/index.php?title=s_Tmp_table"

L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| L_Dxs[L_Dxs table]
click L_Dxs "https://ccmdb.kuality.ca/index.php?title=L_Dxs_table"
L_Dxs -->|"DiagnosisCodeto #8734; DiagnosisCode"| s_AllDiagnoses[s_AllDiagnoses table]
click s_AllDiagnoses "https://ccmdb.kuality.ca/index.php?title=s_AllDiagnoses"
L_Dxs -->|"DiagnosisCode to #8734; xxx"| s_Pathogens[s_Pathogens table]
click ss_Pathogens "https://ccmdb.kuality.ca/index.php?title=s_s_Pathogens"



%%s_ tables
L_Log -->|"R_Province to #8734; Code"| s_Provinces
click s_Provinces "https://ccmdb.kuality.ca/index.php?title=s_Provinces_table"

L_Log -->|"RecordStatus to #8734; RecordStatus_value"| s_RecordStatus 
click s_RecordStatus "https://ccmdb.kuality.ca/index.php?title=s_RecordStatus_table"

L_Log -->|"dispo_ID to #8734; Pre-admit Inpatient Institution"| s_dispo 
L_Log -->|"dispo_ID to #8734; Previous Location"|s_dispo  
L_Log -->|"dispo_ID to #8734; Dispo"| s_dispo[s_dispo table]
click s_dispo "https://ccmdb.kuality.ca/index.php?title=s_dispo_table"

L_Log -->|"ADL_Bathing to #8734; ADL_Bathing"| s_ADLOptions[s_ADLOptions table]
L_Log -->|"ADL_Dressing to #8734; ADL_Bathing"| s_ADLOptions[s_ADLOptions table]
L_Log -->|"ADL_Toileting to #8734; ADL_Bathing"| s_ADLOptions[s_ADLOptions table]
L_Log -->|"ADL_Transfering to #8734; ADL_Bathing"| s_ADLOptions[s_ADLOptions table]
L_Log -->|"ADL_Continence to #8734; ADL_Bathing"| s_ADLOptions[s_ADLOptions table]
L_Log -->|"ADL_Feeding to #8734; ADL_Bathing"| s_ADLOptions[s_ADLOptions table]
click s_ADLOptions "https://ccmdb.kuality.ca/index.php?title=s_ADLOptions_table"

L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| s_AP_AdmitType[s_AP_AdmitType table]
click s_AP_AdmitType "https://ccmdb.kuality.ca/index.php?title=s_AP_AdmitType_table"

L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| s_AP_Chronic[s_AP_Chronic table]
click s_AP_Chronic "https://ccmdb.kuality.ca/index.php?title=s_AP_Chronic_table"

L_Log -->|"D_ID/Pat_ID to #8734; D_ID/Pat_ID"| s_FIO2[s_FIO2 table]
click s_FIO2 "https://ccmdb.kuality.ca/index.php?title=s_FIO2_table"

L_Log -->|"AP_Eye to #8734; full_text"| s_GCS[s_GCS table]
L_Log -->|"AP_Motor to #8734; full_text"| s_GCS[s_GCS table]
L_Log -->|"AP_Verbal to #8734; full_text"| s_GCS[s_GCS table]
click s_GCS "https://ccmdb.kuality.ca/index.php?title=s_GCs_table"