Skip to content
Partner Developer Portal byOptum

Schema

Column NameData TypeDescription
is_deletedbooleanIndicates if this record should be considered soft deleted
organisationvarcharAn identifier for the source of data (an organisation) relating to a given GP practice
drug_record_idvarbinaryUnique identifier for the associated drug record
patient_idvarbinaryUnique identifier for the patient associated with this issue
code_idbigintIdentifier for the clinical code associated with this medication issuer
dmd_product_code_idbigintdm+d (Dictionary of Medicines and Devices) product code identifier for the medication
dosagevarcharDosage instructions for the medication as recorded at the point of issue
quantitydoubleTotal quantity of medication issued
quantity_multiplicanddoubleMultiplicand component of the quantity calculation
quantity_multiplierdoubleMultiplier 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
course_duration_in_daysbigintIntended course duration in days
max_next_issue_daysbigintMaximum interval to next issue
min_next_issue_daysbigintMinimum interval to next issue
number_of_issues_authorisedbigintNumber of authorised issues
issued_countbigintNumber of issues already issued
is_prescribed_as_contraceptivebooleanIndicates if the medication is prescribed as a contraceptive
is_privately_prescribedbooleanIndicates if the medication is privately prescribed
prescription_type_descriptionvarcharDescription of the prescription type
first_issue_datetimevarcharFirst issue month/year
most_recent_issue_datetimevarcharMost recent issue month/year
most_recent_issue_method_descriptionvarcharDescription of issue method
authorised_course_datetimevarcharAuthorised course month/year
effective_datetimetimestamp(6) with time zoneEffective date/time of medication
review_datedateDate/time for medication review
expiry_datetimevarcharExpiry month/year
cancellation_datetimetimestamp(6) with time zoneDate the issue was cancelled; NULL if not cancelled
local_mixture_namevarcharName of the local mixture, populated when the issue relates to a locally prepared mixture
model_updated_datetimetimestamp(6) with time zoneThe date that the model record was last updated in the source system
transform_datetimetimestamp(6) with time zoneThe date that the data was made available in the model with a relevant change