Esempio n. 1
0
from edc_lab import AliquotType, LabProfile, ProcessingProfile, RequisitionPanel
from edc_lab.lab.processing_profile import Process
from edc_lab.site_labs import site_labs

from .constants import VIRAL_LOAD, RESEARCH_BLOOD_DRAW

lab_profile = LabProfile(name='bcpp_clinic_subject')

wb = AliquotType(name='Whole Blood', alpha_code='WB', numeric_code='02')
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,
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)
Esempio n. 3
0
from edc_lab import AliquotType, LabProfile, ProcessingProfile, RequisitionPanel
from edc_lab.site_labs import site_labs
from edc_lab.lab.processing_profile import Process

from .constants import RESEARCH_BLOOD_DRAW, MICROTUBE, VIRAL_LOAD, ELISA, VENOUS

lab_profile = LabProfile(name='bcpp_subject')

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)
Esempio n. 4
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)
Esempio n. 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 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)
Esempio n. 6
0
    pk_plasma_panel_t4,
    pk_plasma_panel_t7,
    plasma_buffycoat_panel,
    qpcr24_blood_panel,
    qpcr_blood_panel,
    qpcr_csf_panel,
    serum_panel,
    sputum_storage_panel,
    urine_storage_panel,
    viral_load_panel,
    wb_panel,
    wb_paxgene_panel,
)

subject_lab_profile = LabProfile(
    name="subject_lab_profile",
    requisition_model="ambition_subject.subjectrequisition")

subject_lab_profile.add_panel(wb_panel)
subject_lab_profile.add_panel(csf_pkpd_panel)
subject_lab_profile.add_panel(qpcr_csf_panel)
subject_lab_profile.add_panel(csf_panel)
subject_lab_profile.add_panel(csf_stop_panel)
subject_lab_profile.add_panel(csf_chemistry_panel)  # goes to PMH
subject_lab_profile.add_panel(cd4_panel)
subject_lab_profile.add_panel(viral_load_panel)
subject_lab_profile.add_panel(fbc_panel)
subject_lab_profile.add_panel(chemistry_panel)
subject_lab_profile.add_panel(chemistry_alt_panel)
subject_lab_profile.add_panel(serum_panel)
subject_lab_profile.add_panel(plasma_buffycoat_panel)
Esempio n. 7
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)
Esempio n. 8
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="data_manager_app.subjectrequisition")

lab_profile.add_panel(panel_one)
lab_profile.add_panel(panel_two)
Esempio n. 9
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)
Esempio n. 10
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="edc_model_admin.requisition")

lab_profile.add_panel(panel_one)
lab_profile.add_panel(panel_two)
Esempio n. 11
0
    hba1c_poc_panel,
    lft_panel,
    lipids_panel,
    rft_panel,
)

chemistry_panel = RequisitionPanelGroup(
    lft_panel,
    rft_panel,
    lipids_panel,
    name="chemistry",
    verbose_name="Chemistry: LFT, RFT, Lipids",
    reference_range_collection_name="meta",
)

subject_lab_profile = LabProfile(
    name="subject_lab_profile",
    requisition_model=settings.SUBJECT_REQUISITION_MODEL,
    reference_range_collection_name="meta",
)

subject_lab_profile.add_panel(fbc_panel)
subject_lab_profile.add_panel(blood_glucose_panel)
subject_lab_profile.add_panel(blood_glucose_poc_panel)
subject_lab_profile.add_panel(hba1c_panel)
subject_lab_profile.add_panel(hba1c_poc_panel)
# subject_lab_profile.add_panel(lipids_panel)
# subject_lab_profile.add_panel(lft_panel)
# subject_lab_profile.add_panel(rft_panel)
subject_lab_profile.add_panel_group(chemistry_panel)
Esempio n. 12
0
from django.conf import settings
from edc_lab import LabProfile

from .panels import (
    blood_glucose_panel,
    blood_glucose_poc_panel,
    chemistry_panel,
    fbc_panel,
    hba1c_panel,
    hba1c_poc_panel,
)

subject_lab_profile = LabProfile(
    name="subject_lab_profile",
    requisition_model=settings.SUBJECT_REQUISITION_MODEL)

subject_lab_profile.add_panel(fbc_panel)
subject_lab_profile.add_panel(blood_glucose_panel)
subject_lab_profile.add_panel(blood_glucose_poc_panel)
subject_lab_profile.add_panel(hba1c_panel)
subject_lab_profile.add_panel(hba1c_poc_panel)
subject_lab_profile.add_panel(chemistry_panel)