Warning!

This application has been migrated to Atlassian Cloud.

Any changes made here may be lost. Please use the above link for all work going forward.

Page tree
Skip to end of metadata
Go to start of metadata

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.

Types

Complex Types

OptOut
EnteredBy
Person entering the consent as a National Clinicial code where possible or other local code if not.
Clinician
EnteredAt
National code for the trust recording the opt-out - e.g. RXF01
Location
ProgramName
Name of RDG or study
xs:string
ProgramDescription
Free text
xs:string (restricted)
maxLength: 220
FromTime
Date of Withdrawal
xs:date
ToTime
Date Withdrawal Ended
xs:date

Schema

Schema OptOut (github)

Example

    <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>