openhealthcare / elcid-rfh

The elCID instance for the Royal Free
Other
1 stars 3 forks source link

Add a TB Trends panel #697

Closed fredkingham closed 5 years ago

fredkingham commented 5 years ago

The TB service are interested in a few different tests in the trends panel

CRP CRP
Liver Profile LALT AST Bilirubin
Hep B surface Antigen
Hep C antibody
HIV 1 & 2 
fredkingham commented 5 years ago

Assumption is that these map to the following lab test/observations...

[
    ("C REACTIVE PROTEIN", "C Reactive Protein"),
    ('LIVER PROFILE', 'ALT',),
    ('LIVER PROFILE', 'AST',),
    ('LIVER PROFILE', 'Total Bilirubin'),
    ('HEPATITIS B SURFACE AG', "Hepatitis B 's'Antigen........"),
    ('HEPATITIS C ANTIBODY', "Hepatitis C IgG Antibody......"),
    ('HIV 1 + 2 ANTIBODIES', 'HIV 1 + 2 Antibodies..........')
]
fredkingham commented 5 years ago

So the issue is that the tests

    ('HEPATITIS B SURFACE AG', "Hepatitis B 's'Antigen........"),
    ('HEPATITIS C ANTIBODY', "Hepatitis C IgG Antibody......"),
    ('HIV 1 + 2 ANTIBODIES', 'HIV 1 + 2 Antibodies..........')

are a) +ve or -ve, which doesn't map to a graph. b) They are not regular test results. The latest is more than 3 weeks ago so nothing shows on the standard trend panel...

fredkingham commented 5 years ago

related https://github.com/openhealthcare/elcid-rfh/issues/469 releated https://github.com/openhealthcare/elcid-rfh/issues/574

fredkingham commented 5 years ago

Possible results based on what we've brought in in rfh test

""" HIV 1 + 2 ANTIBODIES HIV 1 + 2 Antibodies.......... {'', 'Pending', 'Indeterminate - result from ref lab', 'For results, please refer to sample xxxx', 'Positive', 'Duplicate sample. Not processed', 'Not tested', 'Negative', 'Indeterminate'}

HEPATITIS C ANTIBODY Hepatitis C IgG Antibody...... {'', 'Pending', 'Equivocal', 'Positive', 'Insufficient sample for testing', 'Duplicate sample. Not processed', 'Not tested', 'See comments', 'Negative', 'See comment'}

HEPATITIS C ANTIBODY Hepatitis B 's'Antigen........ set()

HEPATITIS B SURFACE AG Hepatitis B 's'Antigen........ {'', 'Weakly positive', 'Pending', 'Positive', 'Ordered in error', 'Insufficient sample for testing', 'Duplicate sample. Not processed', 'Not tested', 'Negative', 'non-specific', 'For results, please refer to sample xxx'}

"""

fredkingham commented 5 years ago

resolved and released