Skip to content
Partner Developer Portal byOptum

Schema

Column NameData TypeDescription
is_deletedbooleanIf this record should be considered soft deleted
issue_record_idvarbinaryUnique identifier for the issue record
patient_idvarbinaryUnique identifier for the patient associated with this issue
drug_record_idvarbinaryUnique identifier for the associated drug record
consultation_idvarbinaryIdentifier of the consultation associated with this issue, if applicable
is_cancelledbooleanIndicates if the prescription issue has been cancelled
code_idbigintIdentifier for the clinical code associated with this medication issue
consultation_source_code_idbigintIdentifier for the consultation source code
dosagevarcharDosage instructions for the medication as recorded at the point of issue
course_duration_in_daysbigintThe duration of the medication course in days
effective_datetimetimestamp(6) with time zoneThe date the issue became effective
issue_method_descriptionvarcharDescription of the method used to issue the prescription
prescription_type_descriptionvarcharDescription of the prescription type
estimated_nhs_costdecimal(10,4)Estimated NHS cost of the issued medication
max_next_issue_daysbigintMaximum number of days before the next issue is permitted
min_next_issue_daysbigintMinimum number of days before the next issue is permitted
is_prescribed_as_contraceptivebooleanIndicates if the medication is prescribed as a contraceptive
is_privately_prescribedbooleanIndicates if the medication is privately prescribed
quantitydecimal(9,3)Total quantity of medication issued
quantity_multiplicanddecimal(9,3)Multiplicand component of the quantity calculation
quantity_multiplierdecimal(9,3)Multiplier component of the quantity calculation
quantity_multiplier_uomvarcharUnit of measure for the quantity multiplier
quantity_representationvarcharHuman-readable representation of the quantity
quantity_unitvarcharUnit of measure for the total issued quantity
review_datedateDate the medication is due for review
local_mixture_namevarcharName of the local mixture, populated when the issue relates to a locally prepared mixture
cancellation_datetimetimestamp(6) with time zoneDate the issue was cancelled; NULL if not cancelled
dmd_product_code_idbigintdm+d (Dictionary of Medicines and Devices) product code identifier for the medication
organisationvarcharAn identifier for the source of data (an organisation) relating to a given GP practice
transform_datetimetimestamp(6) with time zoneThe date that the data was made available in the model with a relevant change
model_updated_datetimetimestamp(6) with time zoneThe date that the model record was last updated in the source system