Uploaded image for project: 'HTML Form Entry Module'
  1. HTML Form Entry Module
  2. HTML-68

Strange Viewing and Merged Observations when Editing a Concept Group that appears multiple times on a form

    Details

    • Complexity:
      Undetermined

      Description

      With the following HTML form, with multiple repeated concept groups, there is a problem with viewing (the obs that were entered aren't displayed properly on the HTML Form View). The obs were created properly. When the form is edited, it causes the obs to be merged into the wrong obs group. Diagnosis end up under the medication group or medications end up under the diagnosis group, depending which is edited. Here is the form.

      <htmlform>
      <macros>
      lightgrey=#e0e0e0
      lightblue=#95ADCA
      darkblue=#4444ff
      </macros>
      <div style="background-color: $lightblue" align="center"><b>FOM KONSILTASYON DISPANSE</b></div><BR/>
      <center>Location <encounterLocation default="15" order="1,2,4,5,8,9"/>
      Date <encounterDate default="today"/></center>

      <table bgcolor="#f9f9f9" border="1" width="80%" cellspacing="4" cellpadding="6" align="center">
      <tr>
      <td>
      <table border="1" cellspacing="0" width="95%" align="center">
      <tr>
      <td>KOB <obs conceptId="1719" />goud</td>
      <td>TMP <obs conceptId="5088" /></td>
      <td>TA <obs conceptId="5085" /> / <obs conceptId="5086" /></td>
      <td>PWA <obs conceptId="5089" />kg</td>
      </tr>
      </table>
      </td>
      </tr>

      <tr>
      <td>
      <table border="1" cellspacing="0" width="95%" align="center">
      <tr><td colspan="3" bgcolor="#95ADCA" align="center"><b>DYAGNOSTIK</b></td></tr>
      <tr>
      <td>TIP VIZIT</td>
      <td>TIP DYAGNOSTIK</td>
      <td>KOD DYAGNOSTIK</td>
      </tr>
      <obsgroup groupingConceptId="2629">
      <tr>

      <td><obs conceptId="3100" /></td>
      <td><obs conceptId="3104" /></td>
      <td><obs conceptId="2879" answerConceptIds="3125,114,3149,1799,3159,3165,3178,3185,1897,3126,1898,3137,3138,1899,3139,3140,3141,891,1903,3142,3143,3144,3145,3146,117,1804,3148,1905,5334,3150,1910,212,16,1797,3151,3152,3153,3154,1801,29,1913,3155,3156,151,3157,3158,140,1970,3160,3161,892,3162,63,1965,3163,1998,3164,134,128,166,1981,1798,3166,3167,3168,3168,6103,3170,3179,1927,1920,3182,3183,3177,3208,141,3176,3184,3186,3,3187,3188,3189,1796,3190,903,3191,3192,3175,1949,1945,1942,1800,3171,3172,3173,3174,3127,3128,2014,5995,3129,3130,127,3131,3132,3133,3134,3135,3136" answerLabels="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,109,110,111,112,113"/></td>

      </tr></obsgroup>
      <obsgroup groupingConceptId="2629">
      <tr>

      <td><obs conceptId="3100" /></td>
      <td><obs conceptId="3104" /></td>
      <td><obs conceptId="2879" answerConceptIds="3125,114,3149,1799,3159,3165,3178,3185,1897,3126,1898,3137,3138,1899,3139,3140,3141,891,1903,3142,3143,3144,3145,3146,117,1804,3148,1905,5334,3150,1910,212,16,1797,3151,3152,3153,3154,1801,29,1913,3155,3156,151,3157,3158,140,1970,3160,3161,892,3162,63,1965,3163,1998,3164,134,128,166,1981,1798,3166,3167,3168,3168,6103,3170,3179,1927,1920,3182,3183,3177,3208,141,3176,3184,3186,3,3187,3188,3189,1796,3190,903,3191,3192,3175,1949,1945,1942,1800,3171,3172,3173,3174,3127,3128,2014,5995,3129,3130,127,3131,3132,3133,3134,3135,3136" answerLabels="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,109,110,111,112,113"/></td>

      </tr></obsgroup>
      <obsgroup groupingConceptId="2629">
      <tr>

      <td><obs conceptId="3100" /></td>
      <td><obs conceptId="3104" /></td>
      <td><obs conceptId="2879" answerConceptIds="3125,114,3149,1799,3159,3165,3178,3185,1897,3126,1898,3137,3138,1899,3139,3140,3141,891,1903,3142,3143,3144,3145,3146,117,1804,3148,1905,5334,3150,1910,212,16,1797,3151,3152,3153,3154,1801,29,1913,3155,3156,151,3157,3158,140,1970,3160,3161,892,3162,63,1965,3163,1998,3164,134,128,166,1981,1798,3166,3167,3168,3168,6103,3170,3179,1927,1920,3182,3183,3177,3208,141,3176,3184,3186,3,3187,3188,3189,1796,3190,903,3191,3192,3175,1949,1945,1942,1800,3171,3172,3173,3174,3127,3128,2014,5995,3129,3130,127,3131,3132,3133,3134,3135,3136" answerLabels="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,109,110,111,112,113" /></td>

      </tr></obsgroup>
      <obsgroup groupingConceptId="2629">
      <tr>
      <td><obs conceptId="3100" /></td>
      <td><obs conceptId="3104" /></td>
      <td><obs conceptId="2879" answerConceptIds="3125,114,3149,1799,3159,3165,3178,3185,1897,3126,1898,3137,3138,1899,3139,3140,3141,891,1903,3142,3143,3144,3145,3146,117,1804,3148,1905,5334,3150,1910,212,16,1797,3151,3152,3153,3154,1801,29,1913,3155,3156,151,3157,3158,140,1970,3160,3161,892,3162,63,1965,3163,1998,3164,134,128,166,1981,1798,3166,3167,3168,3168,6103,3170,3179,1927,1920,3182,3183,3177,3208,141,3176,3184,3186,3,3187,3188,3189,1796,3190,903,3191,3192,3175,1949,1945,1942,1800,3171,3172,3173,3174,3127,3128,2014,5995,3129,3130,127,3131,3132,3133,3134,3135,3136" answerLabels="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,109,110,111,112,113" /></td>

      </tr></obsgroup>
      </table>
      </td>
      </tr>

      <tr>
      <td>
      <table border="1" cellspacing="0" width="95%" align="center">
      <tr><td colspan="2" bgcolor="#95ADCA" align="center"><b>MEDIKAMAN</b></td></tr>
      <tr>
      <td>PASYAN</td>
      <td>KOD MEDIKAMAN</td>
      </tr>
      <obsgroup groupingConceptId="3094" >
      <tr>
      <td><obs conceptId="3092" /></td>
      <td><obs conceptId="3093" answerConceptIds="88,2078,6101,2757,2512,2114,2339,2341,2117,3056,3111,2121,2122,2521,446,2321,2440,2495,2303,2085,2427,2125,2128,2327,2406,3118,351,2425,2490,246,3108,3066,3124,3123,3113,2130,2543,190,907,3114,2416,2415,409,2442,2444,2358,2362,3120,3119,3121,2398,323,2486,3122,2340,3117,3115,944,2779,2368" answerLabels="1-ASPIRIN 75 mg,2-ASPIRIN 500 mg,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,63" /></td>
      </tr>
      </obsgroup>
      <obsgroup groupingConceptId="3094" >
      <tr>
      <td><obs conceptId="3092" /></td>
      <td><obs conceptId="3093" answerConceptIds="88,2078,6101,2757,2512,2114,2339,2341,2117,3056,3111,2121,2122,2521,446,2321,2440,2495,2303,2085,2427,2125,2128,2327,2406,3118,351,2425,2490,246,3108,3066,3124,3123,3113,2130,2543,190,907,3114,2416,2415,409,2442,2444,2358,2362,3120,3119,3121,2398,323,2486,3122,2340,3117,3115,944,2779,2368" answerLabels="1-ASPIRIN 75 mg,2-ASPIRIN 500 mg,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,63" /></td>
      </tr>
      </obsgroup>
      <obsgroup groupingConceptId="3094" >
      <tr>
      <td><obs conceptId="3092" /></td>
      <td><obs conceptId="3093" answerConceptIds="88,2078,6101,2757,2512,2114,2339,2341,2117,3056,3111,2121,2122,2521,446,2321,2440,2495,2303,2085,2427,2125,2128,2327,2406,3118,351,2425,2490,246,3108,3066,3124,3123,3113,2130,2543,190,907,3114,2416,2415,409,2442,2444,2358,2362,3120,3119,3121,2398,323,2486,3122,2340,3117,3115,944,2779,2368" answerLabels="1-ASPIRIN 75 mg,2-ASPIRIN 500 mg,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,63" /></td>
      </tr>
      </obsgroup>
      <obsgroup groupingConceptId="3094" >
      <tr>
      <td><obs conceptId="3092" /></td>
      <td><obs conceptId="3093" answerConceptIds="88,2078,6101,2757,2512,2114,2339,2341,2117,3056,3111,2121,2122,2521,446,2321,2440,2495,2303,2085,2427,2125,2128,2327,2406,3118,351,2425,2490,246,3108,3066,3124,3123,3113,2130,2543,190,907,3114,2416,2415,409,2442,2444,2358,2362,3120,3119,3121,2398,323,2486,3122,2340,3117,3115,944,2779,2368" answerLabels="1-ASPIRIN 75 mg,2-ASPIRIN 500 mg,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,63" /></td>
      </tr>
      </obsgroup>
      <tr>
      <td colspan="2"><font color="#f9f9f9">.</font></td>
      <tr>
      <td>DAT RANDEVOU <obs conceptId="5096" allowFutureDates="true"/></td>
      <td>DAT REFERAL <obs conceptId="3097" allowFutureDates="true"/></td>
      </tr>
      </tr>
      </table>
      </td>
      </tr>
      </table>
      <CENTER>MOUN KI SIYEN <encounterProvider role="Provider"/>

      <submit/></CENTER>
      </htmlform>

      See the screenshots for additional details.

      This problem happens in OpenMRS 1.6.1 and OpenMRS 1.7.0 RC Build 14794 with HTML Form Entry Module version 1.6.6.

        Attachments

        1. encounter_merged_obs_after_edit.pdf
          75 kB
        2. encounter_obs_ok.pdf
          72 kB
        3. view_strange_before_edit.pdf
          95 kB

          Issue Links

            Activity

              People

              • Assignee:
                dthomas Dave Thomas [X] (Inactive)
                Reporter:
                arbaughj James Arbaugh [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: