|
@@ -203,6 +203,38 @@
|
|
|
$('.note-bottom-toolbar .supplements-center-trigger').trigger('click');
|
|
|
return false;
|
|
|
}
|
|
|
+ else if(editParent.is('[data-segment-template-name="omega_history_past_medical"]')) {
|
|
|
+ openDynamicStagPopup('/note-segment-view-by-name/{{$note->uid}}/past_medical_history/edit',
|
|
|
+ 'edit-univ_history_past_medical-container-{{$note->id}}',
|
|
|
+ 'Past Medical History',
|
|
|
+ false,
|
|
|
+ "overflow-visible");
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ else if(editParent.is('[data-segment-template-name="omega_history_family"]')) {
|
|
|
+ openDynamicStagPopup('/note-segment-view-by-name/{{$note->uid}}/history_family/edit',
|
|
|
+ 'edit-univ_history_family-container-{{$note->id}}',
|
|
|
+ 'Family History',
|
|
|
+ false,
|
|
|
+ "overflow-visible");
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ else if(editParent.is('[data-segment-template-name="omega_history_social"]')) {
|
|
|
+ openDynamicStagPopup('/note-segment-view-by-name/{{$note->uid}}/history_social/edit',
|
|
|
+ 'edit-univ_history_social-container-{{$note->id}}',
|
|
|
+ 'Social History',
|
|
|
+ false,
|
|
|
+ "overflow-visible");
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ else if(editParent.is('[data-segment-template-name="omega_history_surgical"]')) {
|
|
|
+ openDynamicStagPopup('/note-segment-view-by-name/{{$note->uid}}/history_surgical/edit',
|
|
|
+ 'edit-univ_history_surgical-container-{{$note->id}}',
|
|
|
+ 'Surgical History',
|
|
|
+ false,
|
|
|
+ "overflow-visible");
|
|
|
+ return false;
|
|
|
+ }
|
|
|
|
|
|
// TEMP: open in popup if LS segment
|
|
|
if(editParent.is('[data-segment-template-name^="lifestyle_"]')) {
|