These records are used to record where a patient has asked to Opt Out of their data being used for a particular purpose. This will usually (but potentially not always) be where inclusion would otherwise be assumed due to s251 permissions etc.

If a patient decides to end their Opt Out a ToTime should be added to the record. If then then subsequently withdraw it again a new record with a different ExternalId should be created.


Schema OptOut (github)


1 2 3 4 5 6 7 8 9 10 11 12 13 14 <OptOuts> <OptOut> <EnteredAt> <CodingStandard>UKRR</CodingStandard> <Code>RR1+</Code> <Description>Demonstration Entries</Description> </EnteredAt> <ProgramName>UKRR</ProgramName> <ProgramDescription>UK Renal Registry</ProgramDescription> <FromTime>2018-06-25</FromTime> <UpdatedOn>2018-06-25T07:24:31</UpdatedOn> <ExternalId>50889490</ExternalId> </OptOut> </OptOuts>