Skip to content
Partner Developer Portal

Definition

The Prescribing Servicecostcentre model holds prescribing service cost-centre details, including a code, name and recorded identifier. It also stores address lines, postcode and telephone information, together with source organisation information describing the organisational context of the cost-centre record.

_deleted indicates whether the record has been deleted in the source system.

SELECT DISTINCT
"organisation"
FROM prescribing.servicecostcentre
ORDER BY "organisation";
SELECT
"addressline1",
COUNT(*) AS row_count
FROM prescribing.servicecostcentre
GROUP BY "addressline1"
ORDER BY row_count DESC;