Skip to content
Partner Developer Portal

Schema

Column Name Data Type Description Example
_deleted varchar(50) Source deletion marker. ‘true’
_ingest_time varchar(50) Source ingestion time value. ‘20250115093000’
_primary_key varchar(50) Source record key value. ‘12345’
_record_version varchar(50) Source record version value. ‘20250115093000’
careplanagreedbycodeid bigint Care plan agreed by code identifier. 12345
careplanagreeddate datetime Careplanagreed date. ‘2025-01-15 09:30:00.000’
careplanchangestateid bigint Careplanchangestate identifier. 12345
careplandetailid bigint Careplandetail identifier. 12345
careplanepisodeid bigint Careplanepisode identifier. 12345
careplanid bigint Careplan identifier. 12345
careplantypecodeid bigint Careplantypecode identifier. 12345
cliniciannotes nvarchar Clinician notes. ‘Example text’
codeid bigint Code identifier. 12345
confidentialitypolicyid bigint Confidentialitypolicy identifier. 12345
consentnotes varchar(500) Consent notes. ‘Example text’
consultationsectionid bigint Consultationsection identifier. 12345
createdat datetime Createdat value. ‘2025-01-15 09:30:00.000’
createdbyuserinroleid bigint Created by user in role identifier. 12345
dateactivated datetime Dateactivated value. ‘2025-01-15 09:30:00.000’
description varchar(3000) Description. ‘Example description’
enddate datetime End date. ‘2025-01-15 09:30:00.000’
guid varchar(36) GUID. ‘a1b2c3d4-e5f6-4789-abcd-ef1234567890’
hasreviewtime bit hasreviewtime flag. 1
name varchar(90) Name. ‘Example name’
namedclinicianuserinroleid bigint Named clinician user in role identifier. 12345
namedperson varchar(50) Namedperson value. ‘Example value’
notes nvarchar Notes. ‘Example text’
observationid bigint Observation identifier. 12345
originalterm varchar(255) Originalterm value. ‘Example value’
owningserviceid bigint Owningservice identifier. 12345
patientagrees bit patientagrees flag. 1
patienthascapacitytoconsent bit Patient has capacity to consent flag. 1
patientid bigint Patient identifier. 12345
responsibleserviceid bigint Responsibleservice identifier. 12345
responsibleteamid bigint Responsibleteam identifier. 12345
responsibleuserinroleid bigint Responsible user in role identifier. 12345
reviewdate datetime Review date. ‘2025-01-15 09:30:00.000’
startdate datetime Start date. ‘2025-01-15 09:30:00.000’
validfrom datetime Valid from value. ‘2025-01-15 09:30:00.000’
validto datetime Valid to value. ‘2025-01-15 09:30:00.000’
version bigint Version value. 12345
organisation varchar(500) Source organisation value. ‘CDB-12345’