Пример #1
0
bc = AliquotType(name='Buffy Coat', alpha_code='BC', numeric_code='16')
pl = AliquotType(name='Plasma', alpha_code='PL', numeric_code='32')

wb.add_derivatives(pl, bc)

processing_profile = ProcessingProfile(name='viral_load', aliquot_type=wb)
process_vl_bc = Process(aliquot_type=bc, aliquot_count=2)
process_vl_pl = Process(aliquot_type=pl, aliquot_count=3)
processing_profile.add_processes(process_vl_bc, process_vl_pl)

processing_profile = ProcessingProfile(name='rbd', aliquot_type=wb)
process_rbd_bc = Process(aliquot_type=bc, aliquot_count=2)
process_rbd_pl = Process(aliquot_type=pl, aliquot_count=4)
processing_profile.add_processes(process_rbd_bc, process_rbd_pl)

panel_vl = RequisitionPanel(name=VIRAL_LOAD,
                            abbreviation='VL',
                            aliquot_type=wb,
                            processing_profile=processing_profile)

panel_rbd = RequisitionPanel(name=RESEARCH_BLOOD_DRAW,
                             aliquot_type=wb,
                             abbreviation='RBD',
                             processing_profile=processing_profile)

lab_profile.add_panel(panel_vl)
lab_profile.add_panel(panel_rbd)

site_labs.register(lab_profile,
                   requisition_model='bcpp_clinic_subject.subjectrequisition')
Пример #2
0
pl = AliquotType(name='Plasma', alpha_code='PL', numeric_code='36')

bc = AliquotType(name='Buffy Coat', alpha_code='BC', numeric_code='12')

wb = AliquotType(name='Whole Blood', alpha_code='WB', numeric_code='02')

wb.add_derivatives(bc, pl)

viral_load_processing = ProcessingProfile(name='viral_load', aliquot_type=wb)
vl_pl_process = Process(aliquot_type=pl, aliquot_count=3)
vl_bc_process = Process(aliquot_type=bc, aliquot_count=2)
viral_load_processing.add_processes(vl_pl_process, vl_bc_process)

viral_load_panel = RequisitionPanel(name=VIRAL_LOAD,
                                    abbreviation='VL',
                                    aliquot_type=wb,
                                    processing_profile=viral_load_processing)
lab_profile.add_panel(viral_load_panel)

microtube_processing = ProcessingProfile(name='microtube', aliquot_type=wb)
microtube_pl_process = Process(aliquot_type=pl, aliquot_count=1)
microtube_bc_process = Process(aliquot_type=bc, aliquot_count=1)
microtube_processing.add_processes(microtube_pl_process, microtube_bc_process)

microtube_panel = RequisitionPanel(name=MICROTUBE,
                                   abbreviation='MAP',
                                   aliquot_type=wb,
                                   processing_profile=microtube_processing)
lab_profile.add_panel(microtube_panel)

elisa_processing = ProcessingProfile(name='elisa', aliquot_type=wb)
Пример #3
0
from edc_lab import RequisitionPanel

from .processing_profiles import (
    fbc_processing,
    hba1c_processing,
    chemistry_processing,
    blood_glucose_processing,
    poc_processing,
)


hba1c_panel = RequisitionPanel(
    name="hba1c",
    verbose_name="HbA1c (Venous)",
    processing_profile=hba1c_processing,
    abbreviation="HBA1C",
)


hba1c_poc_panel = RequisitionPanel(
    name="hba1c_poc",
    verbose_name="HbA1c (POC)",
    abbreviation="HBA1C_POC",
    processing_profile=poc_processing,
)


fbc_panel = RequisitionPanel(
    name="fbc", verbose_name="Full Blood Count", processing_profile=fbc_processing
)
Пример #4
0
from .aliquot_types import wb
from .processing_profiles import dbs_processing, infant_insulin, dna_pcr
from .processing_profiles import infant_glucose_processing, elisa_processing
from .processing_profiles import infant_pbmc_pl_processing
from .processing_profiles import infant_serum_processing, infant_pbmc_plasma_processing
from .processing_profiles import infant_wholeblood_processing, infant_paxgene_processing
from .processing_profiles import karabo_pbmc_pl_processing, karabo_wb_pbmc_pl_processing

infant_lab_profile = LabProfile(
    name='td_infant_lab_profile',
    requisition_model='td_infant.infantrequisition')

infant_glucose_panel = RequisitionPanel(
    name='infant_glucose',
    verbose_name='Infant Glucose',
    aliquot_type=wb,
    processing_profile=infant_glucose_processing)

infant_insulin = RequisitionPanel(name='infant_insulin',
                                  verbose_name='Infant Insulin',
                                  aliquot_type=wb,
                                  processing_profile=infant_insulin)

dna_pcr = RequisitionPanel(name='dna_pcr',
                           verbose_name='DNA PCR',
                           aliquot_type=wb,
                           processing_profile=dna_pcr)

serum_panel = RequisitionPanel(name='serum_storage',
                               verbose_name='Infant Serum (Store Only)',
Пример #5
0
from edc_lab import RequisitionPanel, LabProfile
from edc_lab.site_labs import site_labs

from .aliquot_types import wb
from .processing_profiles import cbc_processing
from .processing_profiles import viral_load_processing, cd4_processing, hematology_processing

caregiver_lab_profile = LabProfile(
    name='flourish_caregiver_lab_profile',
    requisition_model='flourish_caregiver.caregiverrequisition')

viral_load_panel = RequisitionPanel(name='viral_load',
                                    verbose_name='Viral Load',
                                    aliquot_type=wb,
                                    processing_profile=viral_load_processing)

cd4_panel = RequisitionPanel(name='cd4',
                             verbose_name='CD4',
                             aliquot_type=wb,
                             processing_profile=cd4_processing)

hematology_panel = RequisitionPanel(name='hematology',
                                    verbose_name='Hematology',
                                    aliquot_type=wb,
                                    processing_profile=hematology_processing)

cbc_panel = RequisitionPanel(name='complete_blood_count',
                             verbose_name='Complete Blood Count',
                             aliquot_type=wb,
                             processing_profile=cbc_processing)
Пример #6
0
    fbc_processing,
    plasma_buffycoat_processing,
    plasma_processing,
    qpcr_blood_processing,
    qpcr_csf_processing_profile,
    serum_processing,
    suptum_processing_profile,
    urine_processing_profile,
    viral_load_processing,
    wb_paxgene_processing_profile,
    whole_blood_processing,
)

wb_panel = RequisitionPanel(
    name="wb_storage",
    verbose_name="Whole Blood Storage",
    processing_profile=whole_blood_processing,
)

csf_pkpd_panel = RequisitionPanel(  # TODO: Only for Blantyre
    name="csf_pk_pd",
    verbose_name="CSF PK/PD",
    processing_profile=csf_pkpd_processing_profile,
)

qpcr_csf_panel = RequisitionPanel(
    name="qpcr_csf",
    verbose_name="qPCR CSF",
    processing_profile=qpcr_csf_processing_profile,
)
Пример #7
0
from edc_lab import AliquotType, LabProfile, ProcessingProfile, RequisitionPanel

wb = AliquotType(name="Whole Blood", alpha_code="WB", numeric_code="02")


fbc_processing = ProcessingProfile(name="FBC", aliquot_type=wb)

panel_one = RequisitionPanel(name="one", verbose_name="One", processing_profile=fbc_processing)

panel_two = RequisitionPanel(name="two", verbose_name="Two", processing_profile=fbc_processing)

lab_profile = LabProfile(
    name="lab_profile", requisition_model="review_dashboard_app.subjectrequisition"
)

lab_profile.add_panel(panel_one)
lab_profile.add_panel(panel_two)
Пример #8
0
from edc_lab import RequisitionPanel, LabProfile
from edc_lab.site_labs import site_labs

from .aliquot_types import wb
from .processing_profiles import cd4_processing, insulin
from .processing_profiles import glucose_processing, elisa_processing
from .processing_profiles import pbmc_plasma_processing
from .processing_profiles import viral_load_processing, pbmc_vl_processing

maternal_lab_profile = LabProfile(
    name='td_maternal_lab_profile',
    requisition_model='td_maternal.maternalrequisition')

cd4_panel = RequisitionPanel(
    name='cd4',
    verbose_name='CD4',
    aliquot_type=wb,
    processing_profile=cd4_processing)

viral_load_panel = RequisitionPanel(
    name='viral_load',
    verbose_name='Viral Load',
    aliquot_type=wb,
    processing_profile=viral_load_processing)

pbmc_vl_panel = RequisitionPanel(
    name='pbmc_vl',
    verbose_name='PBMC VL',
    aliquot_type=wb,
    processing_profile=pbmc_vl_processing)
Пример #9
0
from edc_lab import RequisitionPanel
from edc_lab_panel.processing_profiles import lipids_processing

lipids_panel = RequisitionPanel(
    name="chemistry",
    verbose_name="Chemistry: Lipids",
    abbreviation="LIPIDS",
    processing_profile=lipids_processing,
    utest_ids=["ldl", "hdl", "trig", "chol"],
    reference_range_collection_name="mocca",
)
Пример #10
0
from edc_lab import RequisitionPanel, LabProfile
from edc_lab.site_labs import site_labs

from .aliquot_types import dna_pcr, ss, wb
from .processing_profiles import dna_pcr_processing, stool_sample_processing
from .processing_profiles import infant_plasma_cykotines_processing

child_lab_profile = LabProfile(
    name='flourish_child_lab_profile',
    requisition_model='flourish_child.childrequisition')

dna_pcr_panel = RequisitionPanel(name='dna_pcr',
                                 verbose_name='DNA PCR',
                                 aliquot_type=dna_pcr,
                                 processing_profile=dna_pcr_processing)

stool_sample_panel = RequisitionPanel(
    name='stool_sample',
    verbose_name='Stool Sample',
    aliquot_type=ss,
    processing_profile=stool_sample_processing)

infant_pl_cytokines_panel = RequisitionPanel(
    name='infant_pl_cytokines',
    verbose_name='Plasma Cytokines',
    aliquot_type=wb,
    processing_profile=infant_plasma_cykotines_processing)

child_lab_profile.add_panel(dna_pcr_panel)
child_lab_profile.add_panel(stool_sample_panel)
child_lab_profile.add_panel(infant_pl_cytokines_panel)