Skip to content
Partner Developer Portal

Schema

Column NameData TypeDescriptionExample
authorised_course_datetimetimestamp(6) with time zoneDate the course was authorised; Rounded to the first of the month2023-05-01 00:00:00.000000 UTC
cancellation_datetimetimestamp(6) with time zoneDate the issue was cancelled; NULL if not cancelled2023-05-12 14:30:15.000000 UTC
code_idbigintEMIS code ID - internal identifier2986010
course_duration_in_daysbigintIntended course duration in days28
dmd_product_code_idbigintDictionary of Medicines and Devices (dm+d) product identifier; also a SNOMED CT concept identifier12354611500001104
dosagevarcharDosage instructions for the medication as recorded at the point of issueTAKE ONE TWICE DAILY
drug_record_idvarbinaryUnique identifier for the medication drug recordF422B34E0AC397B6 [16]
effective_datetimetimestamp(6) with time zoneDate and time the issue record came into effect2023-05-12 14:30:15.000000 UTC
expiry_datetimetimestamp(6) with time zoneWhen this prescription expires; Rounded to the first of the month2023-05-01 00:00:00.000000 UTC
first_issue_datetimetimestamp(6) with time zoneDate of the first issue of this prescription; Rounded to the first of the month2023-05-01 00:00:00.000000 UTC
is_deletedbooleanIf this record should be considered soft deleted; all columns excluding primary keys will be NULL if TRUEfalse
is_prescribed_as_contraceptivebooleanIndicates if the medication is prescribed as a contraceptivefalse
is_privately_prescribedbooleanIndicates if the medication is privately prescribedfalse
issued_countbigintNumber of issues already issued1
local_mixture_namevarcharName of the local mixture, populated when the issue relates to a locally prepared mixtureHYDROCORTISONE 0.5 PERCENT IN WSP
max_next_issue_daysbigintThe maximum number of days that a patient can wait for before getting a prescription25
min_next_issue_daysbigintThe number of days that a patient needs to wait in-between getting prescriptions12
model_updated_datetimetimestamp(6) with time zoneDate and time the model last updated this record2023-05-12 14:30:15.000000 UTC
most_recent_issue_datetimetimestamp(6) with time zoneDate of the most recent issue; Rounded to the first of the month2023-05-01 00:00:00.000000 UTC
most_recent_issue_method_descriptionvarcharDescription of the issue methodElectronic
number_of_issues_authorisedbigintThe number of issues that have been authorised6
organisationvarcharThe organisation that this data was replicated fromCDB-001
patient_idvarbinaryUnique patient identifierF422B34E0AC397B6 [16]
prescription_type_descriptionvarcharDescription of the prescription type (‘Acute’, ‘Repeat’, ‘Repeat Dispensing’ or ‘Automatic’)Acute
quantitydecimal(9,3)Total quantity of medication issued1000
quantity_multiplicanddecimal(9,3)Multiplicand component of the quantity calculation1
quantity_multiplierdecimal(9,3)Multiplier component of the quantity calculation120
quantity_multiplier_uomvarcharUnit of measure for the quantity multiplierml
quantity_representationvarcharHuman-readable representation of the quantity1000 ml
quantity_unitvarcharUnit of measure for the total issued quantityml
review_datetimestamp(6) with time zoneDate that this prescription needs to be reviewed by a clinician2023-05-12 14:30:15.000000 UTC
transform_datetimetimestamp(6) with time zoneDate and time the data was made available in the model with a relevant change2023-05-12 14:30:15.000000 UTC