- Master table of Diagnosis
| Sno | Diagnosis |
|---|---|
| 1 | Acute diarrhoea (Gastroenteritis) |
| 2 | Acute fever |
| 3 | Acute Suppurative Otitis Media (ASOM) |
| 4 | Anaemia |
| 5 | Aphthous ulcers (Stomatitis) |
| 6 | ARTI (URI) |
| 7 | Breast abscess |
| 8 | Conjunctivitis (Purulent) |
| 9 | Conjunctivitis (Xen-purulent) |
| 10 | Dysentry |
| 11 | Dyspepsia |
| 12 | External ear furunculosis |
| 13 | Genital ulcer |
| 14 | LRTI (Pneumonia) |
| 15 | Osteoarthritis |
| 16 | Pica syndrome |
| 17 | PID |
| 18 | Post menopausal bleeding |
| 19 | Pulmonary tuberculosis |
| 20 | Pyoderma |
| 21 | Scabies |
| 22 | Tinea capitis |
| 23 | Tinea corporis |
| 24 | Tinea cruris |
| 25 | Tinea versicolor |
| 26 | Traumatic wounds |
| 27 | Vaginal discharge |
| 28 | Worm infestation |
Data of diagnosis collected via form
| Sno | Diagnosis data |
|---|---|
| 1 | ARTI (URI) Aphthous ulcers (Stomatitis) |
| 2 | ARTI (URI) Acute diarrhoea (Gastroenteritis) |
| 3 | Acute fever Pyoderma |
| 4 | Acute diarrhoea (Gastroenteritis) ARTI (URI) |
| 5 | ARTI (URI) Acute diarrhoea (Gastroenteritis) |
| 6 | Acute diarrhoea (Gastroenteritis) ARTI (URI) |
| 7 | Acute diarrhoea (Gastroenteritis) Pyoderma |
| 8 | Acute diarrhoea (Gastroenteritis) ARTI (URI) |
| 9 | Anaemia Tinea corporis |
| 10 | ARTI (URI) Acute diarrhoea (Gastroenteritis) |
| 11 | Scabies Acute fever |
| 12 | Acute diarrhoea (Gastroenteritis) Worm infestation |
| 13 | ARTI (URI) Acute diarrhoea (Gastroenteritis) |
| 14 | ARTI (URI) Traumatic wounds |
| 15 | Dyspepsia Worm infestation |
| 16 | Acute diarrhoea (Gastroenteritis) ARTI (URI) |
| 17 | ARTI (URI) Acute diarrhoea (Gastroenteritis) |
| 18 | Anaemia Worm infestation |
| 19 | Acute diarrhoea (Gastroenteritis) Acute fever |
As seen, second table has got more than 1 value from the first table concatenated with 1 space. how to separate the second table value based on the first table values?
Is there a way to have the second table value separated as per first table value? like below,
| Sno | Diagnosis data | First Diagnosis | Second Diagnosis |
|---|---|---|---|
| 1 | ARTI (URI) Aphthous ulcers (Stomatitis) | ARTI (URI) | Aphthous ulcers (Stomatitis) |
| 2 | ARTI (URI) Acute diarrhoea (Gastroenteritis) | ARTI (URI) | Acute diarrhoea (Gastroenteritis) |
| 3 | Acute fever Pyoderma | Acute fever | Pyoderma |
| 4 | Acute diarrhoea (Gastroenteritis) ARTI (URI) | Acute diarrhoea (Gastroenteritis) | ARTI (URI) |
| 5 | ARTI (URI) Acute diarrhoea (Gastroenteritis) | ARTI (URI) | Acute diarrhoea (Gastroenteritis) |
| 6 | Acute diarrhoea (Gastroenteritis) ARTI (URI) | Acute diarrhoea (Gastroenteritis) | ARTI (URI) |
| 7 | Acute diarrhoea (Gastroenteritis) Pyoderma | Acute diarrhoea (Gastroenteritis) | Pyoderma |
| 8 | Acute diarrhoea (Gastroenteritis) ARTI (URI) | Acute diarrhoea (Gastroenteritis) | ARTI (URI) |
| 9 | Anaemia Tinea corporis | Anaemia | Tinea corporis |
| 10 | ARTI (URI) Acute diarrhoea (Gastroenteritis) | ARTI (URI) | Acute diarrhoea (Gastroenteritis) |
| 11 | Scabies Acute fever | Scabies | Acute fever |
| 12 | Acute diarrhoea (Gastroenteritis) Worm infestation | Acute diarrhoea (Gastroenteritis) | Worm infestation |
| 13 | ARTI (URI) Acute diarrhoea (Gastroenteritis) | ARTI (URI) | Acute diarrhoea (Gastroenteritis) |
| 14 | ARTI (URI) Traumatic wounds | ARTI (URI) | Traumatic wounds |
| 15 | Dyspepsia Worm infestation | Dyspepsia | Worm infestation |
| 16 | Acute diarrhoea (Gastroenteritis) ARTI (URI) | Acute diarrhoea (Gastroenteritis) | ARTI (URI) |
| 17 | ARTI (URI) Acute diarrhoea (Gastroenteritis) | ARTI (URI) | Acute diarrhoea (Gastroenteritis) |
| 18 | Anaemia Worm infestation | Anaemia | Worm infestation |
| 19 | Acute diarrhoea (Gastroenteritis) Acute fever | Acute diarrhoea (Gastroenteritis) | Acute fever |