Example #1
0
def annotate(bcds1):
    bcds1.patient.surname = "HALL"
    bcds1.patient.forename = "AIDAN"
    bcds1.patient.address = ["27 HIGH STREET"]
    bcds1.patient.sex = 'M'
    bcds1.patient.date_of_birth = datetime.date(1980, 5, 31)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 20)

    # "Income Support"
    bcds1.exemption_remission = {
        'code': exemptions.INCOME_SUPPORT.EVIDENCE_SEEN,
    }

    # Treatments: "Fillings x 1, Other Treatment (9399), Decayed Permanent 11,
    # Ethnic Origin 10"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(2),
        treatments.ETHNIC_ORIGIN_11_OTHER_ASIAN_BACKGROUND,

        # "Treatment on referral" service
        treatments.REFERRAL_FOR_ADVANCED_MANDATORY_SERVICES(2),
    ]

    return bcds1
Example #2
0
def annotate(bcds1):
    bcds1.patient.surname = "BINGHAM"
    bcds1.patient.forename = "AVRIL"
    bcds1.patient.address = ["11 HIGH STREET"]
    bcds1.patient.sex = 'F'
    bcds1.patient.date_of_birth = datetime.date(1969, 10, 7)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 5, 1)

    # "Nursing Mother (Evidence Not Seen)"
    bcds1.exemption_remission = {
        'code': exemptions.NURSING_MOTHER.NO_EVIDENCE_SEEN,
    }

    # Treatments: "Examination (9317), Radiographs x 2, Fillings x 2,
    # Extractions x 6, Referral for Advanced Mandatory Services,Recall Interval
    # (9172 12), Ethic Origin 11"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(3),
        treatments.RADIOGRAPHS(2),
        treatments.PERMANENT_FILLINGS_AND_SEALANT_RESTORATIONS(2),
        treatments.EXTRACTION(6),
        treatments.REFERRAL_FOR_ADVANCED_MANDATORY_SERVICES(3),
        treatments.RECALL_INTERVAL(num_months=12),
        treatments.ETHNIC_ORIGIN_11_OTHER_ASIAN_BACKGROUND,
    ]

    return bcds1
Example #3
0
def annotate(bcds1):
    bcds1.patient.surname = "BORDESLEY"
    bcds1.patient.forename = "ANGELA"
    bcds1.patient.address = ["12 HIGH STREET"]
    bcds1.patient.sex = 'F'
    bcds1.patient.date_of_birth = datetime.date(1998, 11, 30)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 10)

    # "18 in full time education"
    bcds1.exemption_remission = {
        'code': exemptions.AGED_18_IN_FULL_TIME_EDUCATION.EVIDENCE_SEEN,
    }

    # Treatments: "Examination (9317), Scale and Polish, Radiographs x 1,
    # Fillings x 3, Recall Interval 24, Decayed Deciduous 4, Ethnic Origin 12"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(2),
        treatments.EXAMINATION,
        treatments.SCALE_AND_POLISH,
        treatments.RADIOGRAPHS(1),
        treatments.PERMANENT_FILLINGS_AND_SEALANT_RESTORATIONS(3),
        treatments.RECALL_INTERVAL(24),
        treatments.DECAYED_DECIDUOUS(4),
        treatments.ETHNIC_ORIGIN_12_BLACK_OR_BLACK_BRITISH_CARIBBEAN,
    ]

    return bcds1
Example #4
0
def annotate(bcds1):
    bcds1.patient.surname = "BARROW"
    bcds1.patient.forename = "CHARLIE"
    bcds1.patient.address = ["3 HIGH STREET"]
    bcds1.patient.sex = 'M'
    bcds1.patient.date_of_birth = datetime.date(2001, 1, 24)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 5, 1)

    # "Under 18"
    bcds1.exemption_remission = {
        'code': exemptions.PATIENT_UNDER_18.EVIDENCE_SEEN,
    }

    # Treatments: "Radiographs x 2, Crown x 1, Filled Deciduous 2, Ethnic Origin 3"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(3),
        treatments.RADIOGRAPHS(2),
        treatments.CROWN(1),
        treatments.FILLED_TEETH_DECIDUOUS(2),
        treatments.ETHNIC_ORIGIN_3_WHITE_OTHER,
    ]

    return bcds1
Example #5
0
def annotate(bcds1):
    bcds1.patient.surname = "ALSAGER"
    bcds1.patient.forename = "SAM"
    bcds1.patient.address = ["31 HIGH STREET"]
    bcds1.patient.sex = 'F'
    bcds1.patient.date_of_birth = datetime.date(1947, 8, 16)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    bcds1.patient_charge_pence = 5630

    # Treatments: "Fillings x 2, Scale and Polish, Radiographs x 2, Examination
    # (9317), Antibiotic Items Prescribed (9318 x 1), Other Treatment (9399),
    # Recall Interval (9172 18), Ethnic Origin 1, Best Practice Prevention"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(2),
        treatments.PERMANENT_FILLINGS_AND_SEALANT_RESTORATIONS(2),
        treatments.SCALE_AND_POLISH,
        treatments.RADIOGRAPHS(2),
        treatments.EXAMINATION,
        treatments.ANTIBIOTIC_ITEMS(1),
        treatments.OTHER_TREATMENT,
        treatments.RECALL_INTERVAL(18),
        treatments.ETHNIC_ORIGIN_1_WHITE_BRITISH,
        treatments.BEST_PRACTICE_PREVENTION,
    ]

    return bcds1
Example #6
0
 def to_messages(self):
     messages = super().to_messages()
     category = ["Band 1", "Band 2", "Band 3"]
     if self.model_instance.treatment_category:
         # urgent treatments do not have a treatment category
         band_number = category.index(
             self.model_instance.treatment_category)
         band_number = band_number + 1
         messages.insert(0, t.TREATMENT_CATEGORY(band_number))
     return messages
Example #7
0
def annotate(bcds1):
    bcds1.patient.surname = "HATTON"
    bcds1.patient.forename = "TONY"
    bcds1.patient.address = ["34 HIGH STREET"]
    bcds1.patient.sex = 'M'
    bcds1.patient.date_of_birth = datetime.date(1970, 1, 31)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 5, 1)

    bcds1.patient_charge_pence = 24430

    # Treatments: "Scale and Polish,Examination (9317), Fluoride Varnish, Other Treatment (9399), Ethnic Origin 99 "
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(3),
    ]

    return bcds1
Example #8
0
def annotate(bcds1):
    bcds1.patient.surname = "BORAGE"
    bcds1.patient.forename = "ARNOLD"
    bcds1.patient.address = ["41 HIGH STREET"]
    bcds1.patient.sex = 'M'
    bcds1.patient.date_of_birth = datetime.date(1935, 11, 17)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 5, 1)

    bcds1.patient_charge_pence = 24430

    # Treatments: "Crowns x 2, Missing Permanent 8"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(3),
    ]

    return bcds1
Example #9
0
def annotate(bcds1):
    bcds1.patient.surname = "BARNT"
    bcds1.patient.forename = "ANNIE"
    bcds1.patient.address = ["2 HIGH STREET"]
    bcds1.patient.sex = 'F'
    bcds1.patient.date_of_birth = datetime.date(1985, 7, 5)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    bcds1.patient_charge_pence = 5630

    # Treatments: "Filling x 1, Recall Interval 6, Ethnic Origin 2"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(2),
        treatments.RECALL_INTERVAL(num_months=6),
        treatments.ETHNIC_ORIGIN_2_WHITE_IRISH,
    ]

    return bcds1
Example #10
0
def annotate(bcds1):
    bcds1.patient.surname = "BOURNEVILLE"
    bcds1.patient.forename = "RITA"
    bcds1.patient.address = ["14 HIGH STREET"]
    bcds1.patient.sex = 'F'
    bcds1.patient.date_of_birth = datetime.date(1940, 6, 5)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 12)

    bcds1.patient_charge_pence = 5630

    # Treatments: "Fluoride Varnish, Filling x 1, Ethnic Origin 14"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(2),
        treatments.PERMANENT_FILLINGS_AND_SEALANT_RESTORATIONS(1),
        treatments.ETHNIC_ORIGIN_14_OTHER_BLACK_BACKGROUND,
    ]

    return bcds1
Example #11
0
def annotate(bcds1):
    bcds1.patient.surname = "ASTON"
    bcds1.patient.forename = "ZARA"
    bcds1.patient.address = ["33 HIGH STREET"]
    bcds1.patient.sex = 'F'
    bcds1.patient.date_of_birth = datetime.date(1960, 6, 26)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    bcds1.patient_charge_pence = 5630

    # Treatments: "Extraction x 1, Ethnic Origin 99"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(2),
        treatments.EXTRACTION(1),
        treatments.ETHNIC_ORIGIN_PATIENT_DECLINED,
    ]

    return bcds1
Example #12
0
def annotate(bcds1):
    bcds1.patient.surname = "BOTTESFORD"
    bcds1.patient.forename = "JULIAN"
    bcds1.patient.address = ["13 HIGH STREET"]
    bcds1.patient.sex = 'M'
    bcds1.patient.date_of_birth = datetime.date(1950, 2, 14)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    bcds1.patient_charge_pence = 2060

    # Treatments: "Examination (9317), Ethnic Origin 13"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(1),
        treatments.EXAMINATION,
        treatments.ETHNIC_ORIGIN_13_BLACK_OR_BLACK_BRITISH_AFRICAN,
    ]

    return bcds1
Example #13
0
def annotate(bcds1):
    bcds1.patient.surname = "CARSTAIRS"
    bcds1.patient.forename = "EMMA"
    bcds1.patient.address = ["38 HIGH STREET"]
    bcds1.patient.sex = 'F'
    bcds1.patient.date_of_birth = datetime.date(1990, 6, 21)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    # "Prisoner"
    bcds1.exemption_remission = {
        'code': exemptions.PRISONER,
    }

    # Treatments: "None"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(1),
    ]

    return bcds1
Example #14
0
def annotate(bcds1):
    bcds1.patient.surname = "AMBERGATE"
    bcds1.patient.forename = "TINA"
    bcds1.patient.address = ["32 HIGH STREET"]
    bcds1.patient.sex = 'F'
    bcds1.patient.date_of_birth = datetime.date(1940, 11, 13)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    bcds1.patient_charge_pence = 2060

    # Treatments: "Scale & polish, Domicilliary Visit, Ethnic Origin 99"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(1),
        treatments.SCALE_AND_POLISH,
        treatments.DOMICILIARY_SERVICES,
        treatments.ETHNIC_ORIGIN_PATIENT_DECLINED,
    ]

    return bcds1
Example #15
0
def annotate(bcds1):
    bcds1.patient.surname = "ALFRETON"
    bcds1.patient.forename = "RAY"
    bcds1.patient.address = ["30 HIGH STREET"]
    bcds1.patient.sex = 'M'
    bcds1.patient.date_of_birth = datetime.date(1978, 6, 28)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    # Treatments: "Fissure Sealants x 2, Ethnic Origin (9025 99)"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(2),
        treatments.FISSURE_SEALANTS(2),
        treatments.ETHNIC_ORIGIN_PATIENT_DECLINED,

        # "Treatment on referral" service
        treatments.REFERRAL_FOR_ADVANCED_MANDATORY_SERVICES(2),
    ]

    return bcds1
Example #16
0
def annotate(bcds1):
    bcds1.patient.surname = "ALVERCHURCH"
    bcds1.patient.forename = "CARL"
    bcds1.patient.address = ["31 HIGH STREET"]
    bcds1.patient.sex = 'M'
    bcds1.patient.date_of_birth = datetime.date(1958, 4, 14)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    bcds1.patient_charge_pence = 5630

    # Treatments: "Fillings x 1, Examination (9317), Ethnic Origin 16"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(2),
        treatments.PERMANENT_FILLINGS_AND_SEALANT_RESTORATIONS(1),
        treatments.EXAMINATION,
        treatments.ETHNIC_ORIGIN_ANY_OTHER_ETHNIC_GROUP,
    ]

    return bcds1
Example #17
0
def annotate(bcds1):
    bcds1.patient.surname = "HAMSTEAD"
    bcds1.patient.forename = "MONICA"
    bcds1.patient.address = ["28 HIGH STREET"]
    bcds1.patient.sex = 'F'
    bcds1.patient.date_of_birth = datetime.date(1989, 7, 27)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    bcds1.patient_charge_pence = 5630

    # Treatments: "Fillings x 1, Recall Interval (9172 12), Ethnic Origin 11"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(2),
        treatments.PERMANENT_FILLINGS_AND_SEALANT_RESTORATIONS(1),
        treatments.RECALL_INTERVAL(12),
        treatments.ETHNIC_ORIGIN_11_OTHER_ASIAN_BACKGROUND,
    ]

    return bcds1
Example #18
0
def annotate(bcds1):
    bcds1.patient.surname = "CAMPBELL"
    bcds1.patient.forename = "PAUL"
    bcds1.patient.address = ["39 HIGH STREET"]
    bcds1.patient.sex = 'M'
    bcds1.patient.date_of_birth = datetime.date(1970, 9, 1)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    # "Employment Support Allowance"
    bcds1.exemption_remission = {
        'code': exemptions.INCOME_RELATED_EMPLOYMENT_AND_SUPPORT_ALLOWANCE.EVIDENCE_SEEN,
    }

    # Treatments: "Extraction 1"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(2),
    ]

    return bcds1
Example #19
0
def annotate(bcds1):
    bcds1.patient.surname = "ALBRIGHTON"
    bcds1.patient.forename = "GARY"
    bcds1.patient.address = ["29 HIGH STREET"]
    bcds1.patient.sex = 'M'
    bcds1.patient.date_of_birth = datetime.date(1966, 10, 30)

    bcds1.date_of_acceptance = datetime.date(2017, 5, 1)
    bcds1.date_of_completion = datetime.date(2017, 5, 1)

    # Treatments: "Other Treatment (9399), Ethnic Origin 13"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(1),
        treatments.OTHER_TREATMENT,
        treatments.ETHNIC_ORIGIN_13_BLACK_OR_BLACK_BRITISH_AFRICAN,

        # "Further treatment within 2 months" service
        treatments.FURTHER_TREATMENT_WITHIN_TWO_MONTHS
    ]

    return bcds1
Example #20
0
def annotate(bcds1):
    bcds1.patient.surname = "HAMSTEAD"
    bcds1.patient.forename = "MONICA"
    bcds1.patient.address = ["28 HIGH STREET"]
    bcds1.patient.sex = 'F'
    bcds1.patient.date_of_birth = datetime.date(1989, 7, 27)

    bcds1.date_of_acceptance = datetime.date(2017, 5, 1)
    bcds1.date_of_completion = datetime.date(2017, 5, 1)

    # Treatments: "Fillings x 1, Ethnic Origin 11"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(2),
        treatments.PERMANENT_FILLINGS_AND_SEALANT_RESTORATIONS(1),
        treatments.ETHNIC_ORIGIN_11_OTHER_ASIAN_BACKGROUND,

        # "Free Repair Replacement" service
        treatments.FREE_REPAIR_REPLACEMENT,
    ]

    return bcds1
Example #21
0
def annotate(bcds1):
    bcds1.patient.surname = "BARNES"
    bcds1.patient.forename = "SUSAN"
    bcds1.patient.address = ["34 HIGH STREET"]
    bcds1.patient.sex = 'F'
    bcds1.patient.date_of_birth = datetime.date(1969, 7, 9)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    # "Expectant Mother"
    bcds1.exemption_remission = {
        'code': exemptions.EXPECTANT_MOTHER.EVIDENCE_SEEN,
    }

    # Treatments: "Examination"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(1),
        treatments.EXAMINATION,
    ]

    return bcds1
Example #22
0
def annotate(bcds1):
    bcds1.patient.surname = "ALBRIGHTON"
    bcds1.patient.forename = "GARY"
    bcds1.patient.address = ["29 HIGH STREET"]
    bcds1.patient.sex = 'M'
    bcds1.patient.date_of_birth = datetime.date(1966, 10, 30)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    bcds1.patient_charge_pence = 5630

    # Treatments: "Examination (9317), Extractions x 1, Recall Interval (9172
    # 9), Ethnic Origin 13 "
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(2),
        treatments.EXTRACTION(1),
        treatments.RECALL_INTERVAL(9),
        treatments.ETHNIC_ORIGIN_13_BLACK_OR_BLACK_BRITISH_AFRICAN,
    ]

    return bcds1
Example #23
0
def annotate(bcds1):
    bcds1.patient.surname = "CANNOCK"
    bcds1.patient.forename = "CAROL"
    bcds1.patient.address = ["23 HIGH STREET"]
    bcds1.patient.sex = 'F'
    bcds1.patient.date_of_birth = datetime.date(1950, 7, 29)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    # Treatments: "Examination (9317), Scale & Polish, Radiographs x 1,
    # Fillings x 1, Referral for Advanced Mandatory Services,  Ethnic Origin 6"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(2),
        treatments.SCALE_AND_POLISH,
        treatments.RADIOGRAPHS(1),
        treatments.PERMANENT_FILLINGS_AND_SEALANT_RESTORATIONS(1),
        treatments.REFERRAL_FOR_ADVANCED_MANDATORY_SERVICES(2),
        treatments.ETHNIC_ORIGIN_6_WHITE_AND_ASIAN,
    ]

    return bcds1
Example #24
0
def annotate(bcds1):
    bcds1.patient.surname = "BARLASTON"
    bcds1.patient.forename = "SALLY"
    bcds1.patient.address = ["1 HIGH STREET"]
    bcds1.patient.sex = 'F'
    bcds1.patient.date_of_birth = datetime.date(1958, 1, 23)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    bcds1.patient_charge_pence = 2060

    # Treatments: "Examination (9317), Recall Interval (9172 9), Scale &
    # Polish, Ethnic Origin 1"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(1),
        treatments.EXAMINATION,
        treatments.RECALL_INTERVAL(num_months=9),
        treatments.SCALE_AND_POLISH,
        treatments.ETHNIC_ORIGIN_1_WHITE_BRITISH,
    ]

    return bcds1
Example #25
0
def annotate(bcds1):
    bcds1.patient.surname = "HADFIELD"
    bcds1.patient.forename = "DAVID"
    bcds1.patient.address = ["26 HIGH STREET"]
    bcds1.patient.sex = 'M'
    bcds1.patient.date_of_birth = datetime.date(1967, 5, 14)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 4, 1)

    bcds1.patient_charge_pence = 5630

    # Treatments: "Examination (9317), Radiographs x 4,  Bridges x 2,
    # Antibiotic Items (9318 1), Recall Interval (9172 6), Ethnic Origin 9"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(3),
        treatments.RADIOGRAPHS(4),
        treatments.BRIDGES_FITTED(2),
        treatments.ANTIBIOTIC_ITEMS(1),
        treatments.RECALL_INTERVAL(6),
        treatments.ETHNIC_ORIGIN_9_ASIAN_OR_ASIAN_BRITISH_PAKISTANI,
    ]

    return bcds1
Example #26
0
def annotate(bcds1):
    bcds1.patient.surname = "BROMSGROVE"
    bcds1.patient.forename = "GARY"
    bcds1.patient.address = ["15 HIGH STREET"]
    bcds1.patient.sex = 'M'
    bcds1.patient.date_of_birth = datetime.date(1970, 5, 27)

    bcds1.date_of_acceptance = datetime.date(2017, 4, 1)
    bcds1.date_of_completion = datetime.date(2017, 5, 1)

    bcds1.patient_charge_pence = 24430

    # Treatments: "Extraction x 2, Upper Denture Acrylic 2 teeth, Recall
    # Interval 8, Ethnic Origin 15"
    bcds1.treatments = [
        treatments.TREATMENT_CATEGORY(3),
        treatments.EXTRACTION(2),
        treatments.UPPER_DENTURE_ACRYLIC(2),
        treatments.RECALL_INTERVAL(8),
        treatments.ETHNIC_ORIGIN_15_CHINESE,
        treatments.SEDATION_SERVICES,
    ]

    return bcds1