Schema GPDataExtract-0.77.xsd


schema location C:\Users\david\OneDrive\Documents\GP Data Schema\GPDataExtract-0.77.xsd
attributeFormDefault unqualified
elementFormDefault qualified
targetNamespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
 
Elements  Complex types  Attr. groups 
gpdata-extract  Allergy-Table-Type  Allergy-Attributes 
patient-extract-snapshot  Appointment-Extract-Type  Appointment-Attributes 
practice-extract  Appointment-Reference-Data-Type  Appointment-Extract-Attributes 
practice-patient-extracts  Appointment-Reference-Value-Type  Appointment-Reference-Data-Attributes 
Appointment-Table-Type  Appointment-Reference-Value-Attributes 
Encounter-Table-Type  CodeableConcept-Allergy-Reaction-Attributes 
Immunisation-Table-Type  CodeableConcept-Attributes 
Medication-Table-Type  CodeableConcept-Immunisation-Substance-Attributes 
Observation-Table-Type  CodeableConcept-Medication-Stop-Attributes 
Organisation-Table-Type  CodeableConcept-Value-Attributes 
patient-extract-snapshot-type  Encounter-Attributes 
Patient-Extracts-Type  gpdata-extract-attributes 
Patient-Table-Type  Immunisation-Attributes 
Practice-Directory-Type  Mandatory-Event-Attributes 
Practitioner-Table-Type  Medication-Attributes 
Problem-Link-Table-Type  NoEnd-Optional-Event-Attributes 
Problem-Table-Type  Observation-Attributes 
Recall-Table-Type  Optional-Event-Attributes 
Referral-Table-Type  Organisation-Table-Attributes 
Patient-Extract-Attributes 
Patient-Table-Attributes 
practice-extract-attributes 
Practitioner-Table-Attributes 
Problem-Attributes 
Problem-Link-Table-Attributes 
Referral-Attributes 


element gpdata-extract
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p1.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
properties
content complex
children practice-extract
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA EXTRACT UNIQUE IDENTIFIER
gpdata-version  xs:string  required    0.77  
documentation
DATA SET VERSION NUMBER
issue-date-time  ns:GPData-dateTime  required      
documentation
DATE AND TIME DATA SET CREATED
channel-id  ns:UUID-Type  required      
documentation
GP DATA EXTRACT CHANNEL IDENTIFIER
channel-sequence  positiveInt-primitive  required      
documentation
GP DATA EXTRACT CHANNEL SEQUENCE NUMBER
source  ns:Source-Type  required      
documentation
GP DATA EXTRACT SOURCE SUPPLIER
source-system  ns:Source-Type  required      
documentation
GP DATA EXTRACT SOURCE SYSTEM
source-version  ns:Source-Type  required      
documentation
GP DATA EXTRACT SOURCE SYSTEM VERSION
source-message-address  ns:Source-Message-Address-Type  required      
documentation
GP DATA EXTRACT SOURCE MESSAGE ADDRESS
identity constraints
  Name  Refer  Selector  Field(s)  Annotation
unique  UniquePractitionerID    ./gp:practice-extract/gp:practice-directory/gp:prct  @id  
documentation
Enforce Uniqueness of practitioner-table prct/@id
unique  UniqueOrganisationID    ./gp:practice-extract/gp:practice-directory/gp:ort  @id  
documentation
Enforce Uniqueness of organisation-table prct/@id
unique  UniquePatientExtractID    ./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot  @id  
documentation
Enforce Uniqueness of patient-extract-snapshot/@id
unique  GlobalUniqueObservationIDs    ./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:ot  @id  
documentation
Enforce Uniqueness of all Observation key @ids
unique  GlobalUniqueMedicationIDs    ./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt  @id  
documentation
Enforce Uniqueness of all Medication key @ids
unique  GlobalUniqueRecallIDs    ./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rt  @id  
documentation
Enforce Uniqueness of all Recall @ids
unique  GlobalUniqueProblemIDs    ./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt  @id  
documentation
Enforce Uniqueness of all key Problem @ids
unique  GlobalUniqueReferralIDs    ./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rft  @id  
documentation
Enforce Uniqueness of all Referral key @ids
unique  GlobalUniqueAllergyIDs    ./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:at  @id  
documentation
Enforce Uniqueness of all Allergy key @ids
unique  GlobalUniqueImmunisationIDs    ./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:it  @id  
documentation
Enforce Uniqueness of all Immunisation key @ids
unique  GlobalUniqueEncounterIDs    ./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:et  @id  
documentation
Enforce Uniqueness of all Encounter key @ids
unique  GlobalUniquePatientIDs    ./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:pt  @id  
documentation
Enforce Uniqueness of all Patient key @ids
annotation
documentation
Root element for all GP Data Extracts
source <xs:element name="gpdata-extract">
 
<xs:annotation>
   
<xs:documentation>Root element for all GP Data Extracts</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="practice-extract" minOccurs="1" maxOccurs="1"/>
   
</xs:sequence>
   
<xs:attributeGroup ref="gpdata-extract-attributes"/>
 
</xs:complexType>
 
<xs:unique name="UniquePractitionerID">
   
<xs:annotation>
     
<xs:documentation>Enforce Uniqueness of practitioner-table prct/@id</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-extract/gp:practice-directory/gp:prct"/>
   
<xs:field xpath="@id"/>
 
</xs:unique>
 
<xs:unique name="UniqueOrganisationID">
   
<xs:annotation>
     
<xs:documentation>Enforce Uniqueness of organisation-table prct/@id</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-extract/gp:practice-directory/gp:ort"/>
   
<xs:field xpath="@id"/>
 
</xs:unique>
 
<xs:unique name="UniquePatientExtractID">
   
<xs:annotation>
     
<xs:documentation>Enforce Uniqueness of patient-extract-snapshot/@id</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot"/>
   
<xs:field xpath="@id"/>
 
</xs:unique>
 
<xs:unique name="GlobalUniqueObservationIDs">
   
<xs:annotation>
     
<xs:documentation>Enforce Uniqueness of all Observation key @ids</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:ot"/>
   
<xs:field xpath="@id"/>
 
</xs:unique>
 
<xs:unique name="GlobalUniqueMedicationIDs">
   
<xs:annotation>
     
<xs:documentation>Enforce Uniqueness of all Medication key @ids</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt"/>
   
<xs:field xpath="@id"/>
 
</xs:unique>
 
<xs:unique name="GlobalUniqueRecallIDs">
   
<xs:annotation>
     
<xs:documentation>Enforce Uniqueness of all Recall @ids</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rt"/>
   
<xs:field xpath="@id"/>
 
</xs:unique>
 
<xs:unique name="GlobalUniqueProblemIDs">
   
<xs:annotation>
     
<xs:documentation>Enforce Uniqueness of all key Problem @ids</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt"/>
   
<xs:field xpath="@id"/>
 
</xs:unique>
 
<xs:unique name="GlobalUniqueReferralIDs">
   
<xs:annotation>
     
<xs:documentation>Enforce Uniqueness of all Referral key @ids</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rft"/>
   
<xs:field xpath="@id"/>
 
</xs:unique>
 
<xs:unique name="GlobalUniqueAllergyIDs">
   
<xs:annotation>
     
<xs:documentation>Enforce Uniqueness of all Allergy key @ids</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:at"/>
   
<xs:field xpath="@id"/>
 
</xs:unique>
 
<xs:unique name="GlobalUniqueImmunisationIDs">
   
<xs:annotation>
     
<xs:documentation>Enforce Uniqueness of all Immunisation key @ids</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:it"/>
   
<xs:field xpath="@id"/>
 
</xs:unique>
 
<xs:unique name="GlobalUniqueEncounterIDs">
   
<xs:annotation>
     
<xs:documentation>Enforce Uniqueness of all Encounter key @ids</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:et"/>
   
<xs:field xpath="@id"/>
 
</xs:unique>
 
<xs:unique name="GlobalUniquePatientIDs">
   
<xs:annotation>
     
<xs:documentation>Enforce Uniqueness of all Patient key @ids</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-extract/gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:pt"/>
   
<xs:field xpath="@id"/>
 
</xs:unique>
</xs:element>

element patient-extract-snapshot
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p2.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type patient-extract-snapshot-type
properties
content complex
children et ot it rt at mt rft prt plt pt et ot it rt at mt rft prt plt
used by
complexType Patient-Extracts-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
sequence  positiveInt-primitive  optional      
issue-date-time  ns:GPData-dateTime  required      
registration-id  ns:UUID-Type  required      
continuity-hint  xs:boolean  required      
patient-id-deid  ns:DEID-Transit-Token-Type  optional      
local-id-deid  ns:DEID-Transit-Token-Type  optional      
source <xs:element name="patient-extract-snapshot" type="patient-extract-snapshot-type"/>

element practice-extract
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p3.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
properties
content complex
children practice-directory slot-extract practice-patient-extracts
used by
element gpdata-extract
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PRACTICE EXTRACT IDENTIFIER
issue-date-time  ns:GPData-dateTime  required      
documentation
GP DATA PRACTICE EXTRACT CREATION DATE AND TIME
source-system  ns:Source-Type  required      
documentation
PRIMARY DATA COLLECTION SYSTEM IN USE
source-version  ns:Source-Type  required      
documentation
PRIMARY DATA COLLECTION SYSTEM IN USE (VERSION)
supplier-provider-id  ns:Source-Type  optional      
documentation
SUPPLIER ALLOCATED PROVIDER IDENTIFIER
provider-id  ns:Org-Code-Type  required      
documentation
ORGANISATION IDENTIFIER (CODE OF PROVIDER)
identity constraints
  Name  Refer  Selector  Field(s)  Annotation
key  Snapshot-Encounter-Id    ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:et  @id  
documentation
Define Encounter key
keyref  Snapshot-Event-Encounter-Id  Snapshot-Encounter-Id  ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:ot | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:at | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rt | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rft | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:it  @eid  
documentation
Enforce X-Table to Encounter-Table et relationship via foreign key Encounter-ID
key  Snapshot-Medication-Id    ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt  @id  
documentation
Define Medication key to check Authorisation references
keyref  Snapshot-Medication-Issue-Authorisation-Id  Snapshot-Medication-Id  ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt  @aid  
documentation
Enforce Medication Authorisation to Issue Linkage in Snapshots
key  Snapshot-Problem-Id    ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt  @id  
documentation
Define Problem key to check Problem to Problem references via Problem-id
keyref  Snapshot-Problem-Problem-Id  Snapshot-Problem-Id  ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt  @pi  
documentation
Enforce Problem to Problem Link via Problem-ID
key  Snapshot-ProblemLink-Id    ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt  @id  
documentation
Define Problem ID key to check Problem Link Table
keyref  Snapshot-Problem-Link-Problem-Id  Snapshot-ProblemLink-Id  ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:plt  @pid  
documentation
Enforce Problem to Problem Link via Problem-ID
key  Snapshot-Template-Id    ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:ot  @id  
documentation
Define Observation id as key to check Template-ID against
keyref  Snapshot-Observation-Template-Id  Snapshot-Template-Id  ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:ot | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:at | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rt | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rft | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:it  @tid  
documentation
Enforce X-Table to template header et relationship via foreign key Template-ID
keyref  Referral-Outcome-Observation  Snapshot-Template-Id  ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rft  @otc  
documentation
Enforce Referral Outcome to Observation relationship for snapshot
keyref  Medication-Reason-Observation  Snapshot-Template-Id  ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt  @rr  
documentation
Enforce Medication Reason to Observation relationship for snapshot
key  Practitioner-ID-Key    ./gp:practice-directory/gp:prct  @id  
documentation
Practitioner key - use to enforce Practioner references e.g. Named GP, Practitioner etc ...
keyref  Patient-Named-GP-Practitioner  Practitioner-ID-Key  ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:pt  @ng  
documentation
Ensure that named GP references a practitioner in practitioner-table prct
key  Organisation-ID-Key    ./gp:practice-directory/gp:ort  @id  
documentation
Organisation key - use to enforce organisation references
keyref  Practitioner-Employer-Organisation  Organisation-ID-Key  ./gp:practice-directory/gp:prct  @oid  
documentation
Ensure that practitioner employer references an organisation record
keyref  Patient-Practice-Organisation  Organisation-ID-Key  ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:pt  @p  
documentation
Ensure patient practice registration is reference to Organisation record
keyref  Encounter-Organisation  Organisation-ID-Key  ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:et  @or  
documentation
Ensure encounter organisation is reference to record in organisation table
keyref  Referral-To-Organisation  Organisation-ID-Key  ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rft  @to  
documentation
Ensure referral organisation referred to is record in organisation table
keyref  Appointment-Provider-Organisation  Organisation-ID-Key  ./gp:slot-extract/gp:apt  @prid  
documentation
Ensure that provider linkes to organisation
keyref  Appointment-External-Organisation  Organisation-ID-Key  ./gp:slot-extract/gp:apt  @eo  
documentation
Ensure that references external organisatio for external patient links to organisation
keyref  Appointment-Practitioner-Links-Appointment-Clinician  Practitioner-ID-Key  ./gp:slot-extract/gp:apt  @ac  
documentation
Ensure that Appointment-Clinician links to a Practitioner if present
keyref  Appointment-Practitioner-Links-Slot-Clinician  Practitioner-ID-Key  ./gp:slot-extract/gp:apt  @sc  
documentation
Ensure that Slot-Clinician links to a Practitioner if present
keyref  Event-To-Practitioner  Practitioner-ID-Key  ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:ot | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:at | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rt | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rft | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:it | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:et  @pid  
documentation
Ensure that event level practitioner-ids reference a practitioner in practitioner-table prct
annotation
documentation
GP Data extract from a single provider (practice)
source <xs:element name="practice-extract">
 
<xs:annotation>
   
<xs:documentation>GP Data extract from a single provider (practice)</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="practice-directory" type="Practice-Directory-Type" minOccurs="1" maxOccurs="1">
       
<xs:annotation>
         
<xs:documentation>Practice Directory Containing Practitioners attributed or linked to clinical events</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:choice minOccurs="1" maxOccurs="1">
       
<xs:element name="slot-extract" type="Appointment-Extract-Type" maxOccurs="1"/>
       
<xs:element ref="practice-patient-extracts" maxOccurs="1"/>
     
</xs:choice>
   
</xs:sequence>
   
<xs:attributeGroup ref="practice-extract-attributes"/>
 
</xs:complexType>
 
<xs:key name="Snapshot-Encounter-Id">
   
<xs:annotation>
     
<xs:documentation>Define Encounter key</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:et"/>
   
<xs:field xpath="@id"/>
 
</xs:key>
 
<xs:keyref name="Snapshot-Event-Encounter-Id" refer="Snapshot-Encounter-Id">
   
<xs:annotation>
     
<xs:documentation>Enforce X-Table to Encounter-Table et relationship via foreign key Encounter-ID</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:ot | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:at | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt
| ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rt
| ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rft | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt |
./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:it
"/>
   
<xs:field xpath="@eid"/>
 
</xs:keyref>
 
<xs:key name="Snapshot-Medication-Id">
   
<xs:annotation>
     
<xs:documentation>Define Medication key to check Authorisation references</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt"/>
   
<xs:field xpath="@id"/>
 
</xs:key>
 
<xs:keyref name="Snapshot-Medication-Issue-Authorisation-Id" refer="Snapshot-Medication-Id">
   
<xs:annotation>
     
<xs:documentation>Enforce Medication Authorisation to Issue Linkage in Snapshots</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt"/>
   
<xs:field xpath="@aid"/>
 
</xs:keyref>
 
<xs:key name="Snapshot-Problem-Id">
   
<xs:annotation>
     
<xs:documentation>Define Problem key to check Problem to Problem references via Problem-id</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt"/>
   
<xs:field xpath="@id"/>
 
</xs:key>
 
<xs:keyref name="Snapshot-Problem-Problem-Id" refer="Snapshot-Problem-Id">
   
<xs:annotation>
     
<xs:documentation>Enforce Problem to Problem Link via Problem-ID</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt"/>
   
<xs:field xpath="@pi"/>
 
</xs:keyref>
 
<xs:key name="Snapshot-ProblemLink-Id">
   
<xs:annotation>
     
<xs:documentation>Define Problem ID key to check Problem Link Table</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt"/>
   
<xs:field xpath="@id"/>
 
</xs:key>
 
<xs:keyref name="Snapshot-Problem-Link-Problem-Id" refer="Snapshot-ProblemLink-Id">
   
<xs:annotation>
     
<xs:documentation>Enforce Problem to Problem Link via Problem-ID</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:plt"/>
   
<xs:field xpath="@pid"/>
 
</xs:keyref>
 
<xs:key name="Snapshot-Template-Id">
   
<xs:annotation>
     
<xs:documentation>Define Observation id as key to check Template-ID against</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:ot"/>
   
<xs:field xpath="@id"/>
 
</xs:key>
 
<xs:keyref name="Snapshot-Observation-Template-Id" refer="Snapshot-Template-Id">
   
<xs:annotation>
     
<xs:documentation>Enforce X-Table to template header et relationship via foreign key Template-ID</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:ot | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:at | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt
| ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rt
| ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rft | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt |
./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:it
"/>
   
<xs:field xpath="@tid"/>
 
</xs:keyref>
 
<xs:keyref name="Referral-Outcome-Observation" refer="Snapshot-Template-Id">
   
<xs:annotation>
     
<xs:documentation>Enforce Referral Outcome to Observation relationship for snapshot</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rft"/>
   
<xs:field xpath="@otc"/>
 
</xs:keyref>
 
<xs:keyref name="Medication-Reason-Observation" refer="Snapshot-Template-Id">
   
<xs:annotation>
     
<xs:documentation>Enforce Medication Reason to Observation relationship for snapshot</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt"/>
   
<xs:field xpath="@rr"/>
 
</xs:keyref>
 
<xs:key name="Practitioner-ID-Key">
   
<xs:annotation>
     
<xs:documentation>Practitioner key - use to enforce Practioner references e.g. Named GP, Practitioner etc ...</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-directory/gp:prct"/>
   
<xs:field xpath="@id"/>
 
</xs:key>
 
<xs:keyref name="Patient-Named-GP-Practitioner" refer="Practitioner-ID-Key">
   
<xs:annotation>
     
<xs:documentation>Ensure that named GP references a practitioner in practitioner-table prct</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:pt"/>
   
<xs:field xpath="@ng"/>
 
</xs:keyref>
 
<xs:key name="Organisation-ID-Key">
   
<xs:annotation>
     
<xs:documentation>Organisation key - use to enforce organisation references</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-directory/gp:ort"/>
   
<xs:field xpath="@id"/>
 
</xs:key>
 
<xs:keyref name="Practitioner-Employer-Organisation" refer="Organisation-ID-Key">
   
<xs:annotation>
     
<xs:documentation>Ensure that practitioner employer references an organisation record</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-directory/gp:prct"/>
   
<xs:field xpath="@oid"/>
 
</xs:keyref>
 
<xs:keyref name="Patient-Practice-Organisation" refer="Organisation-ID-Key">
   
<xs:annotation>
     
<xs:documentation>Ensure patient practice registration is reference to Organisation record</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:pt"/>
   
<xs:field xpath="@p"/>
 
</xs:keyref>
 
<xs:keyref name="Encounter-Organisation" refer="Organisation-ID-Key">
   
<xs:annotation>
     
<xs:documentation>Ensure encounter organisation is reference to record in organisation table</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:et"/>
   
<xs:field xpath="@or"/>
 
</xs:keyref>
 
<xs:keyref name="Referral-To-Organisation" refer="Organisation-ID-Key">
   
<xs:annotation>
     
<xs:documentation>Ensure referral organisation referred to is record in organisation table</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rft"/>
   
<xs:field xpath="@to"/>
 
</xs:keyref>
 
<xs:keyref name="Appointment-Provider-Organisation" refer="Organisation-ID-Key">
   
<xs:annotation>
     
<xs:documentation>Ensure that provider linkes to organisation</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:slot-extract/gp:apt"/>
   
<xs:field xpath="@prid"/>
 
</xs:keyref>
 
<xs:keyref name="Appointment-External-Organisation" refer="Organisation-ID-Key">
   
<xs:annotation>
     
<xs:documentation>Ensure that references external organisatio for external patient links to organisation</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:slot-extract/gp:apt"/>
   
<xs:field xpath="@eo"/>
 
</xs:keyref>
 
<xs:keyref name="Appointment-Practitioner-Links-Appointment-Clinician" refer="Practitioner-ID-Key">
   
<xs:annotation>
     
<xs:documentation>Ensure that Appointment-Clinician links to a Practitioner if present</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:slot-extract/gp:apt"/>
   
<xs:field xpath="@ac"/>
 
</xs:keyref>
 
<xs:keyref name="Appointment-Practitioner-Links-Slot-Clinician" refer="Practitioner-ID-Key">
   
<xs:annotation>
     
<xs:documentation>Ensure that Slot-Clinician links to a Practitioner if present</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:slot-extract/gp:apt"/>
   
<xs:field xpath="@sc"/>
 
</xs:keyref>
 
<xs:keyref name="Event-To-Practitioner" refer="Practitioner-ID-Key">
   
<xs:annotation>
     
<xs:documentation>Ensure that event level practitioner-ids reference a practitioner in practitioner-table prct</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:ot | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:at | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:mt
| ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rt
| ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:rft | ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:prt
| ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:it |  ./gp:practice-patient-extracts/gp:patient-extract-snapshot/gp:et
"/>
   
<xs:field xpath="@pid"/>
 
</xs:keyref>
</xs:element>

element practice-extract/practice-directory
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p4.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Practice-Directory-Type
properties
content complex
children ort prct
annotation
documentation
Practice Directory Containing Practitioners attributed or linked to clinical events
source <xs:element name="practice-directory" type="Practice-Directory-Type" minOccurs="1" maxOccurs="1">
 
<xs:annotation>
   
<xs:documentation>Practice Directory Containing Practitioners attributed or linked to clinical events</xs:documentation>
 
</xs:annotation>
</xs:element>

element practice-extract/slot-extract
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p5.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Appointment-Extract-Type
properties
content complex
children appointment-reference-data apt
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA APPOINTMENT EXTRACT IDENTIFIER
issue-date-time  ns:GPData-dateTime  required      
documentation
GP DATA APPOINTMENT EXTRACT CREATION DATE TIME
type  ns:Extract-Type  required      
documentation
GP DATA APPOINTMENT EXTRACT TYPE
sequence  positiveInt-primitive  required      
documentation
GP DATA APPOINTMENT EXTRACT SEQUENCE NUMBER
source <xs:element name="slot-extract" type="Appointment-Extract-Type" maxOccurs="1"/>

element practice-patient-extracts
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p6.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Patient-Extracts-Type
properties
content complex
children patient-extract-snapshot
used by
element practice-extract
identity constraints
  Name  Refer  Selector  Field(s)  Annotation
key  Snapshot-Registration-Id    ./gp:patient-extract-snapshot  @registration-id  
documentation
Define Registration key
keyref  Snapshot-Event-Registration-ID  Snapshot-Registration-Id  ./gp:patient-extract-snapshot/gp:ot | ./gp:patient-extract-snapshot/gp:at | ./gp:patient-extract-snapshot/gp:mt | ./gp:patient-extract-snapshot/gp:rt | ./gp:patient-extract-snapshot/gp:rft | ./gp:patient-extract-snapshot/gp:prt | ./gp:patient-extract-snapshot/gp:plt | ./gp:patient-extract-snapshot/gp:it | ./gp:patient-extract-snapshot/gp:et  @rid  
documentation
Enforce X-Table to patient-extract-snapshot relationship via foreign key Registration-ID
keyref  Snapshot-Patient-Table-Registration-ID  Snapshot-Registration-Id  ./gp:patient-extract-snapshot/gp:pt  @id  
documentation
Enforce Patient-Table pt to patient-extract-snapshot Registration-ID relationship via foreign key id
source <xs:element name="practice-patient-extracts" type="Patient-Extracts-Type">
 
<xs:key name="Snapshot-Registration-Id">
   
<xs:annotation>
     
<xs:documentation>Define Registration key</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:patient-extract-snapshot"/>
   
<xs:field xpath="@registration-id"/>
 
</xs:key>
 
<xs:keyref name="Snapshot-Event-Registration-ID" refer="Snapshot-Registration-Id">
   
<xs:annotation>
     
<xs:documentation>Enforce X-Table to patient-extract-snapshot relationship via foreign key Registration-ID</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:patient-extract-snapshot/gp:ot | ./gp:patient-extract-snapshot/gp:at | ./gp:patient-extract-snapshot/gp:mt | ./gp:patient-extract-snapshot/gp:rt
| ./gp:patient-extract-snapshot/gp:rft | ./gp:patient-extract-snapshot/gp:prt | ./gp:patient-extract-snapshot/gp:plt |
./gp:patient-extract-snapshot/gp:it | ./gp:patient-extract-snapshot/gp:et
"/>
   
<xs:field xpath="@rid"/>
 
</xs:keyref>
 
<xs:keyref name="Snapshot-Patient-Table-Registration-ID" refer="Snapshot-Registration-Id">
   
<xs:annotation>
     
<xs:documentation>Enforce Patient-Table pt to patient-extract-snapshot Registration-ID relationship via foreign key id</xs:documentation>
   
</xs:annotation>
   
<xs:selector xpath="./gp:patient-extract-snapshot/gp:pt"/>
   
<xs:field xpath="@id"/>
 
</xs:keyref>
</xs:element>

complexType Allergy-Table-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p7.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
elements patient-extract-snapshot-type/at patient-extract-snapshot-type/at
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
st  ns:Allergy-Status-Type  required      
documentation
ALLERGY CLINICAL STATUS
ct  ns:Allergy-Category-Type  required      
documentation
ALLERGY CATEGORY
tp  AllergyIntoleranceType-list  optional      
documentation
ALLERGY TYPE
sv  AllergyIntoleranceSeverity-list  optional      
documentation
ALLERGY SEVERITY
cr  AllergyIntoleranceCriticality-list  optional      
documentation
ALLERGY CRITICALITY
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
r-cid  ns:SCT-Identifier-Type  optional      
documentation
REACTION SNOMED CT CONCEPT IDENTIFIER
r-did  ns:SCT-Identifier-Type  optional      
documentation
REACTION SNOMED CT DESCRIPTION IDENTIFIER
r-rct  ns:ReadV2-Code-Type  optional      
documentation
REACTION READ V2 CODE AND TERM ID
r-ctv3  ns:CTV3-Code-Type  optional      
documentation
REACTION CLINICAL TERMS VERSION 3 CODE
r-ocs  ns:Code-System-Type  optional      
documentation
REACTION OTHER CODE SYSTEM
r-oc  ns:Other-Code-Type  optional      
documentation
REACTION OTHER CODE IN OTHER CODE SYSTEM
r-od  ns:Other-Display-Type  optional      
documentation
REACTION TERM/RUBRIC IN OTHER CODE SYSTEM
r-us  ns:User-Selected-Type  optional      
documentation
REACTION USER SELECTED FLAG
r-rb  ns:Rubric-Type  optional      
documentation
REACTION DISPLAYED TERM/RUBRIC
r-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
r-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
annotation
documentation
Represents drug or non drug allergies within the source patient record
source <xs:complexType name="Allergy-Table-Type">
 
<xs:annotation>
   
<xs:documentation>Represents drug or non drug allergies within the source patient record</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Mandatory-Event-Attributes"/>
 
<xs:attributeGroup ref="Optional-Event-Attributes"/>
 
<xs:attributeGroup ref="Allergy-Attributes"/>
 
<xs:attributeGroup ref="CodeableConcept-Attributes"/>
 
<xs:attributeGroup ref="CodeableConcept-Allergy-Reaction-Attributes"/>
</xs:complexType>

complexType Appointment-Extract-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p8.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
children appointment-reference-data apt
used by
element practice-extract/slot-extract
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA APPOINTMENT EXTRACT IDENTIFIER
issue-date-time  ns:GPData-dateTime  required      
documentation
GP DATA APPOINTMENT EXTRACT CREATION DATE TIME
type  ns:Extract-Type  required      
documentation
GP DATA APPOINTMENT EXTRACT TYPE
sequence  positiveInt-primitive  required      
documentation
GP DATA APPOINTMENT EXTRACT SEQUENCE NUMBER
annotation
documentation
The appointment extract for a given provider
source <xs:complexType name="Appointment-Extract-Type">
 
<xs:annotation>
   
<xs:documentation>The appointment extract for a given provider</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="appointment-reference-data" type="Appointment-Reference-Data-Type" minOccurs="0" maxOccurs="1"/>
   
<xs:element name="apt" type="Appointment-Table-Type" minOccurs="1" maxOccurs="unbounded"/>
 
</xs:sequence>
 
<xs:attributeGroup ref="Appointment-Extract-Attributes"/>
</xs:complexType>

element Appointment-Extract-Type/appointment-reference-data
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p9.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Appointment-Reference-Data-Type
properties
minOcc 0
maxOcc 1
content complex
children arv
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA APPOINTMENT REFERENCE DATA EXTRACT
issue-date-time  ns:GPData-dateTime  required      
documentation
GP DATA APPOINTMENT REFERENCE DATA EXTRACT CREATION DATE TIME
sequence  positiveInt-primitive  required      
documentation
GP DATA APPOINTMENT REFERENCE DATA SEQUENCE NUMBER
source <xs:element name="appointment-reference-data" type="Appointment-Reference-Data-Type" minOccurs="0" maxOccurs="1"/>

element Appointment-Extract-Type/apt
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p10.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Appointment-Table-Type
properties
minOcc 1
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
APPOINTMENT SLOT IDENTIFIER
prid  ns:UUID-Type  required      
documentation
REFERENCE TO ORGANISATION IDENTIFIER (CODE OF PROVIDER)
pidd  ns:DEID-Transit-Token-Type  optional      
documentation
NHS NUMBER DE-IDENTIFIED TRANSIT TOKEN
eid  ns:UUID-Type  optional      
documentation
APPOINTMENT TO ENCOUNTER IDENTIFIER
sid  ns:Appointment-Session-Identifier-Type  required      
documentation
APPOINTMENT SLOT SESSION IDENTIFIER
rd  ns:GPData-dateTime  required      
documentation
APPOINTMENT TIMESTAMP
aid  ns:UUID-Type  optional      
documentation
APPOINTMENT IDENTIFIER
bid  ns:Appointment-Booking-Identifier-Type  optional      
documentation
APPOINTMENT BOOKING IDENTIFIER
ht  ns:GPES-HCP-Type  optional      
documentation
GPES HEALTH CARE PROFESSIONAL TYPE
ac  ns:UUID-Type  optional      
documentation
APPOINTMENT RESPONSIBLE CLINICIAN
sc  ns:UUID-Type  optional      
documentation
APPOINTMENT SLOT RESPONSIBLE CLINICIAN
ss  ns:GPData-dateTime  required      
documentation
APPOINTMENT SLOT SCHEDULED START DATE TIME
tp  ns:Appointment-Slot-Type  required      
documentation
APPOINTMENT SLOT TYPE
sf  ns:Appointment-Slot-National-Category-Code-Type  optional      
documentation
NATIONAL SLOT TYPE CATEGORY
sns  ns:Appointment-Slot-National-Setting-Type  optional      
documentation
NATIONAL SLOT SETTING
snc  ns:Appointment-Slot-National-Context-Type  optional      
documentation
NATIONAL SLOT CONTEXT
st  ns:Appointment-Status-Type  required      
documentation
APPOINTMENT STATUS
bd  ns:GPData-dateTime  optional      
documentation
APPOINTMENT BOOKING DATE TIME
bm  ns:Appointment-Booking-Method-Type  optional      
documentation
APPOINTMENT BOOKING METHOD
cd  ns:GPData-dateTime  optional      
documentation
APPOINTMENT CANCELLATION DATE TIME
md  ns:Appointment-Mode-Type  optional      
documentation
MODE OF APPOINTMENT
rld  ns:GPData-dateTime  optional      
documentation
APPOINTMENT SLOT RELEASE DATETIME
ep  xs:boolean  optional      
documentation
APPOINTMENT EXTERNAL PATIENT IDENTIFIER
eo  ns:UUID-Type  optional      
documentation
REFERENCE TO APPOINTMENT EXTERNAL PATIENT ORGANISATION
bs  ns:Appointment-Booking-Source-Type  optional      
documentation
APPOINTMENT BOOKING SOURCE
bso  ns:Org-Code-Type  optional      
documentation
APPOINTMENT BOOKING SOURCE ORGANISATION
se  ns:GPData-dateTime  optional      
documentation
APPOINTMENT SLOT SCHEDULED END DATE TIME
sd  decimal-primitive  optional      
documentation
APPOINTMENT SLOT SCHEDULED DURATION
at  ns:GPData-dateTime  optional      
appinfo
PATIENT ARRIVAL DATE TIME
ast  ns:GPData-dateTime  optional      
documentation
APPOINTMENT ACTUAL START DATE TIME
aet  ns:GPData-dateTime  optional      
documentation
APPOINTMENT ACTUAL END DATE TIME
ad  decimal-primitive  optional      
documentation
APPOINTMENT DURATION
scd  ns:GPData-dateTime  required      
documentation
APPOINTMENT SLOT CREATION DATE TIME
sdd  ns:GPData-dateTime  optional      
documentation
APPOINTMENT SLOT DELETION DATE TIME
scrd  ns:GPData-dateTime  required      
documentation
SCHEDULE CREATION DATE TIME
bkb  xs:boolean  required      
documentation
APPOINTMENT SLOT BOOKABILITY FLAG
ool  xs:boolean  optional      
documentation
APPOINTMENT OFFERED ON-LINE
om  ns:Appointment-Offered-Method-Type  optional      
documentation
APPOINTMENT OFFERED METHOD
source <xs:element name="apt" type="Appointment-Table-Type" minOccurs="1" maxOccurs="unbounded"/>

complexType Appointment-Reference-Data-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p11.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
children arv
used by
element Appointment-Extract-Type/appointment-reference-data
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA APPOINTMENT REFERENCE DATA EXTRACT
issue-date-time  ns:GPData-dateTime  required      
documentation
GP DATA APPOINTMENT REFERENCE DATA EXTRACT CREATION DATE TIME
sequence  positiveInt-primitive  required      
documentation
GP DATA APPOINTMENT REFERENCE DATA SEQUENCE NUMBER
annotation
documentation
A set of appointment reference data issued by a provider
source <xs:complexType name="Appointment-Reference-Data-Type">
 
<xs:annotation>
   
<xs:documentation>A set of appointment reference data issued by a provider</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="arv" type="Appointment-Reference-Value-Type" minOccurs="1" maxOccurs="unbounded"/>
 
</xs:sequence>
 
<xs:attributeGroup ref="Appointment-Reference-Data-Attributes"/>
</xs:complexType>

element Appointment-Reference-Data-Type/arv
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p12.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Appointment-Reference-Value-Type
properties
minOcc 1
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
f  ns:Appointment-Ref-Field-Name-Type  required      
documentation
APPOINTMENT REFERENCE DATA SET FIELD NAME
v  ns:Appointment-Ref-Value-Type  required      
documentation
APPOINTMENT REFERENCE DATA SET VALUE
m  ns:Appointment-Ref-Map-Value-Type  required      
documentation
APPOINTMENT REFERENCE DATA SET MAPPED VALUE
fd  ns:GPData-dateTime  required      
documentation
APPOINTMENT REFERENCE DATA EFFECTIVE FROM DATE
td  ns:GPData-dateTime  optional      
documentation
APPOINTMENT REFERENCE DATA EFFECTIVE TO DATE
source <xs:element name="arv" type="Appointment-Reference-Value-Type" minOccurs="1" maxOccurs="unbounded"/>

complexType Appointment-Reference-Value-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p13.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
element Appointment-Reference-Data-Type/arv
attributes
Name  Type  Use  Default  Fixed  Annotation
f  ns:Appointment-Ref-Field-Name-Type  required      
documentation
APPOINTMENT REFERENCE DATA SET FIELD NAME
v  ns:Appointment-Ref-Value-Type  required      
documentation
APPOINTMENT REFERENCE DATA SET VALUE
m  ns:Appointment-Ref-Map-Value-Type  required      
documentation
APPOINTMENT REFERENCE DATA SET MAPPED VALUE
fd  ns:GPData-dateTime  required      
documentation
APPOINTMENT REFERENCE DATA EFFECTIVE FROM DATE
td  ns:GPData-dateTime  optional      
documentation
APPOINTMENT REFERENCE DATA EFFECTIVE TO DATE
annotation
documentation
An item of appointment reference data
source <xs:complexType name="Appointment-Reference-Value-Type">
 
<xs:annotation>
   
<xs:documentation>An item of appointment reference data</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Appointment-Reference-Value-Attributes"/>
</xs:complexType>

complexType Appointment-Table-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p14.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
element Appointment-Extract-Type/apt
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
APPOINTMENT SLOT IDENTIFIER
prid  ns:UUID-Type  required      
documentation
REFERENCE TO ORGANISATION IDENTIFIER (CODE OF PROVIDER)
pidd  ns:DEID-Transit-Token-Type  optional      
documentation
NHS NUMBER DE-IDENTIFIED TRANSIT TOKEN
eid  ns:UUID-Type  optional      
documentation
APPOINTMENT TO ENCOUNTER IDENTIFIER
sid  ns:Appointment-Session-Identifier-Type  required      
documentation
APPOINTMENT SLOT SESSION IDENTIFIER
rd  ns:GPData-dateTime  required      
documentation
APPOINTMENT TIMESTAMP
aid  ns:UUID-Type  optional      
documentation
APPOINTMENT IDENTIFIER
bid  ns:Appointment-Booking-Identifier-Type  optional      
documentation
APPOINTMENT BOOKING IDENTIFIER
ht  ns:GPES-HCP-Type  optional      
documentation
GPES HEALTH CARE PROFESSIONAL TYPE
ac  ns:UUID-Type  optional      
documentation
APPOINTMENT RESPONSIBLE CLINICIAN
sc  ns:UUID-Type  optional      
documentation
APPOINTMENT SLOT RESPONSIBLE CLINICIAN
ss  ns:GPData-dateTime  required      
documentation
APPOINTMENT SLOT SCHEDULED START DATE TIME
tp  ns:Appointment-Slot-Type  required      
documentation
APPOINTMENT SLOT TYPE
sf  ns:Appointment-Slot-National-Category-Code-Type  optional      
documentation
NATIONAL SLOT TYPE CATEGORY
sns  ns:Appointment-Slot-National-Setting-Type  optional      
documentation
NATIONAL SLOT SETTING
snc  ns:Appointment-Slot-National-Context-Type  optional      
documentation
NATIONAL SLOT CONTEXT
st  ns:Appointment-Status-Type  required      
documentation
APPOINTMENT STATUS
bd  ns:GPData-dateTime  optional      
documentation
APPOINTMENT BOOKING DATE TIME
bm  ns:Appointment-Booking-Method-Type  optional      
documentation
APPOINTMENT BOOKING METHOD
cd  ns:GPData-dateTime  optional      
documentation
APPOINTMENT CANCELLATION DATE TIME
md  ns:Appointment-Mode-Type  optional      
documentation
MODE OF APPOINTMENT
rld  ns:GPData-dateTime  optional      
documentation
APPOINTMENT SLOT RELEASE DATETIME
ep  xs:boolean  optional      
documentation
APPOINTMENT EXTERNAL PATIENT IDENTIFIER
eo  ns:UUID-Type  optional      
documentation
REFERENCE TO APPOINTMENT EXTERNAL PATIENT ORGANISATION
bs  ns:Appointment-Booking-Source-Type  optional      
documentation
APPOINTMENT BOOKING SOURCE
bso  ns:Org-Code-Type  optional      
documentation
APPOINTMENT BOOKING SOURCE ORGANISATION
se  ns:GPData-dateTime  optional      
documentation
APPOINTMENT SLOT SCHEDULED END DATE TIME
sd  decimal-primitive  optional      
documentation
APPOINTMENT SLOT SCHEDULED DURATION
at  ns:GPData-dateTime  optional      
appinfo
PATIENT ARRIVAL DATE TIME
ast  ns:GPData-dateTime  optional      
documentation
APPOINTMENT ACTUAL START DATE TIME
aet  ns:GPData-dateTime  optional      
documentation
APPOINTMENT ACTUAL END DATE TIME
ad  decimal-primitive  optional      
documentation
APPOINTMENT DURATION
scd  ns:GPData-dateTime  required      
documentation
APPOINTMENT SLOT CREATION DATE TIME
sdd  ns:GPData-dateTime  optional      
documentation
APPOINTMENT SLOT DELETION DATE TIME
scrd  ns:GPData-dateTime  required      
documentation
SCHEDULE CREATION DATE TIME
bkb  xs:boolean  required      
documentation
APPOINTMENT SLOT BOOKABILITY FLAG
ool  xs:boolean  optional      
documentation
APPOINTMENT OFFERED ON-LINE
om  ns:Appointment-Offered-Method-Type  optional      
documentation
APPOINTMENT OFFERED METHOD
annotation
documentation
Describes an appointment slot and associated appointments
source <xs:complexType name="Appointment-Table-Type">
 
<xs:annotation>
   
<xs:documentation>Describes an appointment slot and associated appointments</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Appointment-Attributes"/>
</xs:complexType>

complexType Encounter-Table-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p15.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
elements patient-extract-snapshot-type/et patient-extract-snapshot-type/et
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
dr  decimal-primitive  optional      
documentation
ENCOUNTER DURATION
aid  ns:UUID-Type  optional      
documentation
ASSOCIATED APPOINTMENT
lc  ns:SCT-Identifier-Type  optional      
documentation
ENCOUNTER LOCATION TYPE
or  ns:UUID-Type  optional      
documentation
REFERENCE TO ENCOUNTER ORGANISATION
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
annotation
documentation
Represents encounter or consultation records within source patient record
source <xs:complexType name="Encounter-Table-Type">
 
<xs:annotation>
   
<xs:documentation>Represents encounter or consultation records within source patient record</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Encounter-Attributes"/>
 
<xs:attributeGroup ref="CodeableConcept-Attributes"/>
</xs:complexType>

complexType Immunisation-Table-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p16.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
elements patient-extract-snapshot-type/it patient-extract-snapshot-type/it
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
bt  ns:Immunisation-Batch-Type  optional      
documentation
IMMUNISATION BATCH NUMBER
st  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION ADMINISTRATION SITE
rt  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION ROUTE
mf  ns:Immunisation-Manufacturer-Type  optional      
documentation
IMMUNISATION MANUFACTURER
xd  ns:GPData-dateTime  optional      
documentation
IMMUNISATION EXPIRY DATE
qt  decimal-primitive  optional      
documentation
IMMUNISATION QUANTITY ADMINISTERED
um  ns:UoM-Type  optional      
documentation
IMMUNISATION UNIT OF MEASURE
ud  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION UNIT OF MEASURE (DMD)
rs  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION REASON CODE
pp  xs:boolean  optional      
documentation
IMMUNISATION PARENT PRESENT AT ADMINISTRATION
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
s-cid  ns:SCT-Identifier-Type  optional      
documentation
SUBSTANCE SNOMED CT CONCEPT IDENTIFIER
s-did  ns:SCT-Identifier-Type  optional      
documentation
SUBSTANCE SNOMED CT DESCRIPTION IDENTIFIER
s-rct  ns:ReadV2-Code-Type  optional      
documentation
SUBSTANCE READ V2 CODE AND TERM ID
s-ctv3  ns:CTV3-Code-Type  optional      
documentation
SUBSTANCE CLINICAL TERMS VERSION 3 CODE
s-ocs  ns:Code-System-Type  optional      
documentation
SUBSTANCE OTHER CODE SYSTEM
s-oc  ns:Other-Code-Type  optional      
documentation
SUBSTANCE OTHER CODE IN OTHER CODE SYSTEM
s-od  ns:Other-Display-Type  optional      
documentation
SUBSTANCE TERM/RUBRIC IN OTHER CODE SYSTEM
s-us  ns:User-Selected-Type  optional      
documentation
SUBSTANCE USER SELECTED FLAG
s-rb  ns:Rubric-Type  optional      
documentation
SUBSTANCE DISPLAYED TERM/RUBRIC
s-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
s-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
annotation
documentation
Represents planned or diarised items in the patient record e.g. recalls for screening
source <xs:complexType name="Immunisation-Table-Type">
 
<xs:annotation>
   
<xs:documentation>Represents planned or diarised items in the patient record e.g. recalls for screening</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Mandatory-Event-Attributes"/>
 
<xs:attributeGroup ref="NoEnd-Optional-Event-Attributes"/>
 
<xs:attributeGroup ref="Immunisation-Attributes"/>
 
<xs:attributeGroup ref="CodeableConcept-Attributes"/>
 
<xs:attributeGroup ref="CodeableConcept-Immunisation-Substance-Attributes"/>
</xs:complexType>

complexType Medication-Table-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p17.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
elements patient-extract-snapshot-type/mt patient-extract-snapshot-type/mt
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
aid  ns:UUID-Type  optional      
documentation
LINKED MEDICATION AUTHORISATION
st  ns:Medication-Status-Type  required      
documentation
MEDICATION STATUS
in  ns:Medication-Intent-Type  required      
documentation
MEDICATION INTENT
ag  ns:Medication-Agency-Type  required      
documentation
MEDICATION SOURCE
qt  decimal-primitive  optional      
documentation
MEDICATION QUANTITY
um  ns:UoM-Type  optional      
documentation
UNIT OF MEASURE
ud  ns:SCT-Identifier-Type  optional      
documentation
UNIT OF MEASURE (CODED)
ds  ns:Medication-Dose-Type  optional      
documentation
MEDICATION DOSE UNSTRUCTURED
dst  ns:Medication-Dose-Structured-Type  optional      
documentation
MEDICATION DOSE IN STRUCTURED DOSE FORM
rt  ns:Medication-Reimbursement-Type  optional      
documentation
MEDICATION REIMBURSEMENT TYPE(S)
na  decimal-primitive  optional      
documentation
MEDICATION NUMBER OF ISSUES AUTHORISED
tp  ns:Medication-Type  required      
documentation
PRESCRIPTION TYPE
epi  ns:UUID-Type  optional      
documentation
EPS PRESCRIPTION IDENTIFIER
sd  ns:GPData-dateTime  optional      
documentation
DATE MEDICATION STOPPED/DISCONTINUED
rvd  ns:GPData-dateTime  optional      
documentation
MEDICATION REVIEW DATE
dr  decimal-primitive  optional      
documentation
MEDICATION SUPPLY DURATION
dru  ns:UoM-Type  optional      
documentation
MEDICATION SUPPLY DURATION UNIT OF MEASURE UCUM
rr  ns:UUID-Type  optional      
documentation
MEDICATION REASON REFERENCE
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
st-cid  ns:SCT-Identifier-Type  optional      
documentation
STOP SNOMED CT CONCEPT IDENTIFIER
st-did  ns:SCT-Identifier-Type  optional      
documentation
STOP SNOMED CT DESCRIPTION IDENTIFIER
st-rct  ns:ReadV2-Code-Type  optional      
documentation
STOP READ V2 CODE AND TERM ID
st-ctv3  ns:CTV3-Code-Type  optional      
documentation
STOP CLINICAL TERMS VERSION 3 CODE
st-ocs  ns:Code-System-Type  optional      
documentation
STOP OTHER CODE SYSTEM
st-oc  ns:Other-Code-Type  optional      
documentation
STOP OTHER CODE IN OTHER CODE SYSTEM
st-od  ns:Other-Display-Type  optional      
documentation
STOP TERM/RUBRIC IN OTHER CODE SYSTEM
st-us  ns:User-Selected-Type  optional      
documentation
STOP USER SELECTED FLAG
st-rb  ns:Rubric-Type  optional      
documentation
STOP DISPLAYED TERM/RUBRIC
st-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
st-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
annotation
documentation
Represents medications recorded within the source patient record
source <xs:complexType name="Medication-Table-Type">
 
<xs:annotation>
   
<xs:documentation>Represents medications recorded within the source patient record</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Mandatory-Event-Attributes"/>
 
<xs:attributeGroup ref="Optional-Event-Attributes"/>
 
<xs:attributeGroup ref="Medication-Attributes"/>
 
<xs:attributeGroup ref="CodeableConcept-Attributes"/>
 
<xs:attributeGroup ref="CodeableConcept-Medication-Stop-Attributes"/>
</xs:complexType>

complexType Observation-Table-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p18.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
elements patient-extract-snapshot-type/ot patient-extract-snapshot-type/ot
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
v1  decimal-primitive  optional      
documentation
CLINICAL INVESTIGATION RESULT VALUE
v2  decimal-primitive  optional      
documentation
CLINICAL INVESTIGATION RESULT VALUE
um  ns:UoM-Type  optional      
documentation
UNIT OF MEASURE
uu  ns:UoM-Type  optional      
documentation
UCUM UNIT OF MEASURE
co  ns:Comparator-Type  optional      
documentation
CLINICAL INVESTIGATION RESULT COMPARATOR
rl  decimal-primitive  optional      
documentation
REFERENCE LIMIT LOWER QUANTITY
ru  decimal-primitive  optional      
documentation
REFERENCE LIMIT UPPER QUANTITY
ic  ns:Interpretation-Code-Type  optional      
documentation
DEVIATING RESULT ENTRY
vs  ns:Value-String-Type  optional      
documentation
OBSERVATION TEXT VALUE
vd  ns:GPData-dateTime  optional      
documentation
OBSERVATION DATE TIME VALUE
ith  xs:boolean  optional    true  
documentation
GP DATA TEMPLATE HEADER INDICATOR
ep  ns:Condition-Episodicity-Type  optional      
documentation
PROBLEM EPISODICITY
v-cid  ns:SCT-Identifier-Type  optional      
documentation
VALUE SNOMED CT CONCEPT IDENTIFIER
v-did  ns:SCT-Identifier-Type  optional      
documentation
VALUE SNOMED CT DESCRIPTION IDENTIFIER
v-rct  ns:ReadV2-Code-Type  optional      
documentation
VALUE READ V2 CODE AND TERM ID
v-ctv3  ns:CTV3-Code-Type  optional      
documentation
VALUE CLINICAL TERMS VERSION 3 CODE
v-ocs  ns:Code-System-Type  optional      
documentation
VALUE OTHER CODE SYSTEM
v-oc  ns:Other-Code-Type  optional      
documentation
VALUE OTHER CODE IN OTHER CODE SYSTEM
v-od  ns:Other-Display-Type  optional      
documentation
VALUE TERM/RUBRIC IN OTHER CODE SYSTEM
v-us  ns:User-Selected-Type  optional      
documentation
VALUE USER SELECTED FLAG
v-rb  ns:Rubric-Type  optional      
documentation
VALUE DISPLAYED TERM/RUBRIC
v-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
v-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
annotation
documentation
Represents observations about a patient e.g. measuremeents and values as well as uncategorised data
source <xs:complexType name="Observation-Table-Type">
 
<xs:annotation>
   
<xs:documentation>Represents observations about a patient e.g. measuremeents and values as well as uncategorised data</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Mandatory-Event-Attributes"/>
 
<xs:attributeGroup ref="Optional-Event-Attributes"/>
 
<xs:attributeGroup ref="CodeableConcept-Attributes"/>
 
<xs:attributeGroup ref="Observation-Attributes"/>
 
<xs:attributeGroup ref="CodeableConcept-Value-Attributes"/>
</xs:complexType>

complexType Organisation-Table-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p19.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
element Practice-Directory-Type/ort
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
EXTRACT LOCAL ORGANISATION IDENTIFIER
nm  ns:Org-Name-Type  optional      
documentation
ORGANISATION NAME
oc  ns:Org-Code-Type  optional      
documentation
ODS ORGANISATION CODE
rl  ns:ODS-Org-Role-Type  optional      
documentation
ODS ORGANISATION CODE
lc  ns:Local-Org-Code-Type  optional      
documentation
LOCAL ORGANISATION CODE
tp  ns:Local-Org-Type-Type  optional      
documentation
LOCAL ORGANISATION TYPE
po  ns:UUID-Type  optional      
documentation
PARENT ORGANISATION
sp  ns:Main-Specialty-Code-Type  optional      
documentation
MAIN SPECIALTY CODE
ls  ns:Local-Specialty-Name-Type  optional      
documentation
MAIN SPECIALTY CODE
al1  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 1
al2  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 2
al3  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 3
al4  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 4
al5  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 5
annotation
documentation
Represents organisations referenced by extract content
source <xs:complexType name="Organisation-Table-Type">
 
<xs:annotation>
   
<xs:documentation>Represents organisations referenced by extract content</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Organisation-Table-Attributes"/>
</xs:complexType>

complexType patient-extract-snapshot-type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p20.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
children et ot it rt at mt rft prt plt pt et ot it rt at mt rft prt plt
used by
element patient-extract-snapshot
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
sequence  positiveInt-primitive  optional      
issue-date-time  ns:GPData-dateTime  required      
registration-id  ns:UUID-Type  required      
continuity-hint  xs:boolean  required      
patient-id-deid  ns:DEID-Transit-Token-Type  optional      
local-id-deid  ns:DEID-Transit-Token-Type  optional      
annotation
documentation
Patient Extract containing the record entries that make up the patient record
source <xs:complexType name="patient-extract-snapshot-type">
 
<xs:annotation>
   
<xs:documentation>Patient Extract containing the record entries that make up the patient record</xs:documentation>
 
</xs:annotation>
 
<xs:sequence minOccurs="1" maxOccurs="1">
   
<xs:choice minOccurs="0" maxOccurs="unbounded">
     
<xs:element name="et" type="Encounter-Table-Type" minOccurs="0"/>
     
<xs:element name="ot" type="Observation-Table-Type" minOccurs="0"/>
     
<xs:element name="it" type="Immunisation-Table-Type" minOccurs="0"/>
     
<xs:element name="rt" type="Recall-Table-Type" minOccurs="0"/>
     
<xs:element name="at" type="Allergy-Table-Type" minOccurs="0"/>
     
<xs:element name="mt" type="Medication-Table-Type" minOccurs="0"/>
     
<xs:element name="rft" type="Referral-Table-Type" minOccurs="0"/>
     
<xs:element name="prt" type="Problem-Table-Type" minOccurs="0"/>
     
<xs:element name="plt" type="Problem-Link-Table-Type" minOccurs="0"/>
   
</xs:choice>
   
<xs:element name="pt" type="Patient-Table-Type" minOccurs="1" maxOccurs="1"/>
   
<xs:choice minOccurs="0" maxOccurs="unbounded">
     
<xs:element name="et" type="Encounter-Table-Type" minOccurs="0"/>
     
<xs:element name="ot" type="Observation-Table-Type" minOccurs="0"/>
     
<xs:element name="it" type="Immunisation-Table-Type" minOccurs="0"/>
     
<xs:element name="rt" type="Recall-Table-Type" minOccurs="0"/>
     
<xs:element name="at" type="Allergy-Table-Type" minOccurs="0"/>
     
<xs:element name="mt" type="Medication-Table-Type" minOccurs="0"/>
     
<xs:element name="rft" type="Referral-Table-Type" minOccurs="0"/>
     
<xs:element name="prt" type="Problem-Table-Type" minOccurs="0"/>
     
<xs:element name="plt" type="Problem-Link-Table-Type" minOccurs="0"/>
   
</xs:choice>
 
</xs:sequence>
 
<xs:attributeGroup ref="Patient-Extract-Attributes"/>
</xs:complexType>

element patient-extract-snapshot-type/et
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p21.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Encounter-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
dr  decimal-primitive  optional      
documentation
ENCOUNTER DURATION
aid  ns:UUID-Type  optional      
documentation
ASSOCIATED APPOINTMENT
lc  ns:SCT-Identifier-Type  optional      
documentation
ENCOUNTER LOCATION TYPE
or  ns:UUID-Type  optional      
documentation
REFERENCE TO ENCOUNTER ORGANISATION
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="et" type="Encounter-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/ot
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p22.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Observation-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
v1  decimal-primitive  optional      
documentation
CLINICAL INVESTIGATION RESULT VALUE
v2  decimal-primitive  optional      
documentation
CLINICAL INVESTIGATION RESULT VALUE
um  ns:UoM-Type  optional      
documentation
UNIT OF MEASURE
uu  ns:UoM-Type  optional      
documentation
UCUM UNIT OF MEASURE
co  ns:Comparator-Type  optional      
documentation
CLINICAL INVESTIGATION RESULT COMPARATOR
rl  decimal-primitive  optional      
documentation
REFERENCE LIMIT LOWER QUANTITY
ru  decimal-primitive  optional      
documentation
REFERENCE LIMIT UPPER QUANTITY
ic  ns:Interpretation-Code-Type  optional      
documentation
DEVIATING RESULT ENTRY
vs  ns:Value-String-Type  optional      
documentation
OBSERVATION TEXT VALUE
vd  ns:GPData-dateTime  optional      
documentation
OBSERVATION DATE TIME VALUE
ith  xs:boolean  optional    true  
documentation
GP DATA TEMPLATE HEADER INDICATOR
ep  ns:Condition-Episodicity-Type  optional      
documentation
PROBLEM EPISODICITY
v-cid  ns:SCT-Identifier-Type  optional      
documentation
VALUE SNOMED CT CONCEPT IDENTIFIER
v-did  ns:SCT-Identifier-Type  optional      
documentation
VALUE SNOMED CT DESCRIPTION IDENTIFIER
v-rct  ns:ReadV2-Code-Type  optional      
documentation
VALUE READ V2 CODE AND TERM ID
v-ctv3  ns:CTV3-Code-Type  optional      
documentation
VALUE CLINICAL TERMS VERSION 3 CODE
v-ocs  ns:Code-System-Type  optional      
documentation
VALUE OTHER CODE SYSTEM
v-oc  ns:Other-Code-Type  optional      
documentation
VALUE OTHER CODE IN OTHER CODE SYSTEM
v-od  ns:Other-Display-Type  optional      
documentation
VALUE TERM/RUBRIC IN OTHER CODE SYSTEM
v-us  ns:User-Selected-Type  optional      
documentation
VALUE USER SELECTED FLAG
v-rb  ns:Rubric-Type  optional      
documentation
VALUE DISPLAYED TERM/RUBRIC
v-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
v-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="ot" type="Observation-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/it
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p23.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Immunisation-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
bt  ns:Immunisation-Batch-Type  optional      
documentation
IMMUNISATION BATCH NUMBER
st  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION ADMINISTRATION SITE
rt  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION ROUTE
mf  ns:Immunisation-Manufacturer-Type  optional      
documentation
IMMUNISATION MANUFACTURER
xd  ns:GPData-dateTime  optional      
documentation
IMMUNISATION EXPIRY DATE
qt  decimal-primitive  optional      
documentation
IMMUNISATION QUANTITY ADMINISTERED
um  ns:UoM-Type  optional      
documentation
IMMUNISATION UNIT OF MEASURE
ud  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION UNIT OF MEASURE (DMD)
rs  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION REASON CODE
pp  xs:boolean  optional      
documentation
IMMUNISATION PARENT PRESENT AT ADMINISTRATION
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
s-cid  ns:SCT-Identifier-Type  optional      
documentation
SUBSTANCE SNOMED CT CONCEPT IDENTIFIER
s-did  ns:SCT-Identifier-Type  optional      
documentation
SUBSTANCE SNOMED CT DESCRIPTION IDENTIFIER
s-rct  ns:ReadV2-Code-Type  optional      
documentation
SUBSTANCE READ V2 CODE AND TERM ID
s-ctv3  ns:CTV3-Code-Type  optional      
documentation
SUBSTANCE CLINICAL TERMS VERSION 3 CODE
s-ocs  ns:Code-System-Type  optional      
documentation
SUBSTANCE OTHER CODE SYSTEM
s-oc  ns:Other-Code-Type  optional      
documentation
SUBSTANCE OTHER CODE IN OTHER CODE SYSTEM
s-od  ns:Other-Display-Type  optional      
documentation
SUBSTANCE TERM/RUBRIC IN OTHER CODE SYSTEM
s-us  ns:User-Selected-Type  optional      
documentation
SUBSTANCE USER SELECTED FLAG
s-rb  ns:Rubric-Type  optional      
documentation
SUBSTANCE DISPLAYED TERM/RUBRIC
s-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
s-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="it" type="Immunisation-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/rt
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p24.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Recall-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="rt" type="Recall-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/at
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p25.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Allergy-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
st  ns:Allergy-Status-Type  required      
documentation
ALLERGY CLINICAL STATUS
ct  ns:Allergy-Category-Type  required      
documentation
ALLERGY CATEGORY
tp  AllergyIntoleranceType-list  optional      
documentation
ALLERGY TYPE
sv  AllergyIntoleranceSeverity-list  optional      
documentation
ALLERGY SEVERITY
cr  AllergyIntoleranceCriticality-list  optional      
documentation
ALLERGY CRITICALITY
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
r-cid  ns:SCT-Identifier-Type  optional      
documentation
REACTION SNOMED CT CONCEPT IDENTIFIER
r-did  ns:SCT-Identifier-Type  optional      
documentation
REACTION SNOMED CT DESCRIPTION IDENTIFIER
r-rct  ns:ReadV2-Code-Type  optional      
documentation
REACTION READ V2 CODE AND TERM ID
r-ctv3  ns:CTV3-Code-Type  optional      
documentation
REACTION CLINICAL TERMS VERSION 3 CODE
r-ocs  ns:Code-System-Type  optional      
documentation
REACTION OTHER CODE SYSTEM
r-oc  ns:Other-Code-Type  optional      
documentation
REACTION OTHER CODE IN OTHER CODE SYSTEM
r-od  ns:Other-Display-Type  optional      
documentation
REACTION TERM/RUBRIC IN OTHER CODE SYSTEM
r-us  ns:User-Selected-Type  optional      
documentation
REACTION USER SELECTED FLAG
r-rb  ns:Rubric-Type  optional      
documentation
REACTION DISPLAYED TERM/RUBRIC
r-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
r-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="at" type="Allergy-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/mt
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p26.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Medication-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
aid  ns:UUID-Type  optional      
documentation
LINKED MEDICATION AUTHORISATION
st  ns:Medication-Status-Type  required      
documentation
MEDICATION STATUS
in  ns:Medication-Intent-Type  required      
documentation
MEDICATION INTENT
ag  ns:Medication-Agency-Type  required      
documentation
MEDICATION SOURCE
qt  decimal-primitive  optional      
documentation
MEDICATION QUANTITY
um  ns:UoM-Type  optional      
documentation
UNIT OF MEASURE
ud  ns:SCT-Identifier-Type  optional      
documentation
UNIT OF MEASURE (CODED)
ds  ns:Medication-Dose-Type  optional      
documentation
MEDICATION DOSE UNSTRUCTURED
dst  ns:Medication-Dose-Structured-Type  optional      
documentation
MEDICATION DOSE IN STRUCTURED DOSE FORM
rt  ns:Medication-Reimbursement-Type  optional      
documentation
MEDICATION REIMBURSEMENT TYPE(S)
na  decimal-primitive  optional      
documentation
MEDICATION NUMBER OF ISSUES AUTHORISED
tp  ns:Medication-Type  required      
documentation
PRESCRIPTION TYPE
epi  ns:UUID-Type  optional      
documentation
EPS PRESCRIPTION IDENTIFIER
sd  ns:GPData-dateTime  optional      
documentation
DATE MEDICATION STOPPED/DISCONTINUED
rvd  ns:GPData-dateTime  optional      
documentation
MEDICATION REVIEW DATE
dr  decimal-primitive  optional      
documentation
MEDICATION SUPPLY DURATION
dru  ns:UoM-Type  optional      
documentation
MEDICATION SUPPLY DURATION UNIT OF MEASURE UCUM
rr  ns:UUID-Type  optional      
documentation
MEDICATION REASON REFERENCE
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
st-cid  ns:SCT-Identifier-Type  optional      
documentation
STOP SNOMED CT CONCEPT IDENTIFIER
st-did  ns:SCT-Identifier-Type  optional      
documentation
STOP SNOMED CT DESCRIPTION IDENTIFIER
st-rct  ns:ReadV2-Code-Type  optional      
documentation
STOP READ V2 CODE AND TERM ID
st-ctv3  ns:CTV3-Code-Type  optional      
documentation
STOP CLINICAL TERMS VERSION 3 CODE
st-ocs  ns:Code-System-Type  optional      
documentation
STOP OTHER CODE SYSTEM
st-oc  ns:Other-Code-Type  optional      
documentation
STOP OTHER CODE IN OTHER CODE SYSTEM
st-od  ns:Other-Display-Type  optional      
documentation
STOP TERM/RUBRIC IN OTHER CODE SYSTEM
st-us  ns:User-Selected-Type  optional      
documentation
STOP USER SELECTED FLAG
st-rb  ns:Rubric-Type  optional      
documentation
STOP DISPLAYED TERM/RUBRIC
st-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
st-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="mt" type="Medication-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/rft
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p27.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Referral-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
ub  ns:UBRN-Type  optional      
documentation
UNIQUE BOOKING REFERENCE NUMBER
ad  ns:GPData-dateTime  optional      
documentation
REFERRAL ACTION DATE
pr  ns:Referral-Priority-Type  optional      
documentation
PRIORITY TYPE
src  ns:Referral-Source  optional      
documentation
REFERRAL SOURCE
svc  ns:SCT-Identifier-Type  optional      
documentation
REFERRAL SERVICE REQUESTED
dir  ns:Referral-Direction-Type  required      
documentation
REFERRAL INBOUND OR OUTBOUND
sp  ns:Treatment-Function-Code-Type  optional      
documentation
TREATMENT FUNCTION CODE
tp  ns:UUID-Type  optional      
documentation
REFERRAL RECIPIENT PERSON
to  ns:UUID-Type  optional      
documentation
REFERENCE REFERRAL RECIPIENT ORGANISATION
otc  ns:UUID-Type  optional      
documentation
REFERENCE TO REFERRAL OUTCOME OBSERVATION
opr  ns:Original-Priority-Type  optional      
documentation
REFERRAL PRIORITY AT SOURCE
typ  ns:Referral-Type-Code  optional      
documentation
REFERRAL TYPE CODE
otyp  ns:Original-Referral-Type  optional      
documentation
REFERRAL TYPE AT SOURCE
osvc  ns:Original-Referral-Service-Type  optional      
documentation
REFERRAL SERVICE REQUESTED AT SOURCE
orsn  ns:Original-Referral-Reason-Type  optional      
documentation
OTHER REASON FOR REFERRAL
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="rft" type="Referral-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/prt
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p28.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Problem-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
sg  ns:Problem-Significance-Type  optional      
documentation
PROBLEM SIGNIFICANCE
st  ns:Problem-Status-Type  required      
documentation
PROBLEM STATUS
ap  ns:UUID-Type  optional      
documentation
REFERENCE TO REAL PROBLEM
pi  ns:UUID-Type  optional      
documentation
REFERENCE TO LINKED PROBLEM
rl  ns:Problem-Relationship-Type  optional      
documentation
TYPE OF PROBLEM RELATIONSHIP
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="prt" type="Problem-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/plt
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p29.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Problem-Link-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
pid  ns:UUID-Type  required      
documentation
REFERENCE TO LINKED PROBLEM
eid  ns:UUID-Type  required      
documentation
REFERENCE TO LINKED EVENT ENTRY
source <xs:element name="plt" type="Problem-Link-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/pt
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p30.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Patient-Table-Type
properties
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pidd  ns:DEID-Transit-Token-Type  optional      
documentation
NHS NUMBER DE-IDENTIFIED TRANSIT TOKEN
lid  ns:DEID-Transit-Token-Type  optional      
documentation
LOCAL PATIENT IDENTIFIER DE-IDENTIFIED TRANSIT TOKEN
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
pd  ns:DEID-Transit-Token-Type  optional      
documentation
POSTCODE OF USUAL ADDRESS DE_IDENTIFIED TRANSIT TOKEN
ps  ns:Postcode-Sector-Type  optional      
documentation
POSTCODE OF USUAL ADDRESS DERIVED TO SECTOR PRECISION
lsoa  ns:LSOA-Type  optional      
documentation
LOWER LAYER SUPER OUTPUT AREA
ddd  ns:DEID-Transit-Token-Type  optional      
documentation
PERSON DEATH DATE AND TIME DE-IDENTIFIED TRANSIT TOKEN
wd  ns:WOYY-Type  optional      
documentation
PERSON DEATH DATE AND TIME DERIVED WEEK AND YEAR OF DEATH
rgd  ns:GPData-dateTime  required      
documentation
START DATE AND TIME (GMP PATIENT REGISTRATION)
red  ns:GPData-dateTime  optional      
documentation
END DATE AND TIME (GMP PATIENT REGISTRATION)
rt  ns:Registration-Type  required      
documentation
REGISTRATION TYPE
srt  ns:Source-Registration-Type  required      
documentation
REGISTRATION TYPE AT SOURCE
rs  xs:boolean  required      
documentation
REGISTRATION STATUS
dbd  ns:DEID-Transit-Token-Type  required      
documentation
PERSON BIRTH DATE DE-IDENTIFIED TRANSIT TOKEN
wb  ns:WOYY-Type  required      
documentation
PERSON BIRTH DATE DERIVED TO WEEK AND YEAR OF BIRTH
g  ns:Gender-Type  required      
documentation
PERSON STATED GENDER CODE
so  ns:Sexual-Orientation-Type  optional      
documentation
PERSON STATED SEXUAL ORIENTATION CODE
ec  ns:SCT-Identifier-Type  optional      
documentation
PDS ETHNIC CATEGORY CODE
lp  ns:SCT-Identifier-Type  optional      
documentation
LANGUAGE CODE(PREFERRED)
ir  xs:boolean  optional      
documentation
INTERPRETER REQUIRED
ng  ns:UUID-Type  optional      
documentation
GENERAL MEDICAL PRACTITIONER (SPECIFIED)
p  ns:UUID-Type  required      
documentation
REFERENCE TO ORGANISATION HOLDING PATIENTS REGISTRATION
oas  xs:boolean  optional      
documentation
PATIENT ON-LINE APPOINTMENT BOOKING STATUS
ops  xs:boolean  optional      
documentation
PATIENT ON-LINE PRESCRIPTION REQUEST STATUS
ors  xs:boolean  optional      
documentation
PATIENT ON-LINE RECORD ACCESS
source <xs:element name="pt" type="Patient-Table-Type" minOccurs="1" maxOccurs="1"/>

element patient-extract-snapshot-type/et
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p31.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Encounter-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
dr  decimal-primitive  optional      
documentation
ENCOUNTER DURATION
aid  ns:UUID-Type  optional      
documentation
ASSOCIATED APPOINTMENT
lc  ns:SCT-Identifier-Type  optional      
documentation
ENCOUNTER LOCATION TYPE
or  ns:UUID-Type  optional      
documentation
REFERENCE TO ENCOUNTER ORGANISATION
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="et" type="Encounter-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/ot
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p32.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Observation-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
v1  decimal-primitive  optional      
documentation
CLINICAL INVESTIGATION RESULT VALUE
v2  decimal-primitive  optional      
documentation
CLINICAL INVESTIGATION RESULT VALUE
um  ns:UoM-Type  optional      
documentation
UNIT OF MEASURE
uu  ns:UoM-Type  optional      
documentation
UCUM UNIT OF MEASURE
co  ns:Comparator-Type  optional      
documentation
CLINICAL INVESTIGATION RESULT COMPARATOR
rl  decimal-primitive  optional      
documentation
REFERENCE LIMIT LOWER QUANTITY
ru  decimal-primitive  optional      
documentation
REFERENCE LIMIT UPPER QUANTITY
ic  ns:Interpretation-Code-Type  optional      
documentation
DEVIATING RESULT ENTRY
vs  ns:Value-String-Type  optional      
documentation
OBSERVATION TEXT VALUE
vd  ns:GPData-dateTime  optional      
documentation
OBSERVATION DATE TIME VALUE
ith  xs:boolean  optional    true  
documentation
GP DATA TEMPLATE HEADER INDICATOR
ep  ns:Condition-Episodicity-Type  optional      
documentation
PROBLEM EPISODICITY
v-cid  ns:SCT-Identifier-Type  optional      
documentation
VALUE SNOMED CT CONCEPT IDENTIFIER
v-did  ns:SCT-Identifier-Type  optional      
documentation
VALUE SNOMED CT DESCRIPTION IDENTIFIER
v-rct  ns:ReadV2-Code-Type  optional      
documentation
VALUE READ V2 CODE AND TERM ID
v-ctv3  ns:CTV3-Code-Type  optional      
documentation
VALUE CLINICAL TERMS VERSION 3 CODE
v-ocs  ns:Code-System-Type  optional      
documentation
VALUE OTHER CODE SYSTEM
v-oc  ns:Other-Code-Type  optional      
documentation
VALUE OTHER CODE IN OTHER CODE SYSTEM
v-od  ns:Other-Display-Type  optional      
documentation
VALUE TERM/RUBRIC IN OTHER CODE SYSTEM
v-us  ns:User-Selected-Type  optional      
documentation
VALUE USER SELECTED FLAG
v-rb  ns:Rubric-Type  optional      
documentation
VALUE DISPLAYED TERM/RUBRIC
v-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
v-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="ot" type="Observation-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/it
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p33.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Immunisation-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
bt  ns:Immunisation-Batch-Type  optional      
documentation
IMMUNISATION BATCH NUMBER
st  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION ADMINISTRATION SITE
rt  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION ROUTE
mf  ns:Immunisation-Manufacturer-Type  optional      
documentation
IMMUNISATION MANUFACTURER
xd  ns:GPData-dateTime  optional      
documentation
IMMUNISATION EXPIRY DATE
qt  decimal-primitive  optional      
documentation
IMMUNISATION QUANTITY ADMINISTERED
um  ns:UoM-Type  optional      
documentation
IMMUNISATION UNIT OF MEASURE
ud  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION UNIT OF MEASURE (DMD)
rs  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION REASON CODE
pp  xs:boolean  optional      
documentation
IMMUNISATION PARENT PRESENT AT ADMINISTRATION
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
s-cid  ns:SCT-Identifier-Type  optional      
documentation
SUBSTANCE SNOMED CT CONCEPT IDENTIFIER
s-did  ns:SCT-Identifier-Type  optional      
documentation
SUBSTANCE SNOMED CT DESCRIPTION IDENTIFIER
s-rct  ns:ReadV2-Code-Type  optional      
documentation
SUBSTANCE READ V2 CODE AND TERM ID
s-ctv3  ns:CTV3-Code-Type  optional      
documentation
SUBSTANCE CLINICAL TERMS VERSION 3 CODE
s-ocs  ns:Code-System-Type  optional      
documentation
SUBSTANCE OTHER CODE SYSTEM
s-oc  ns:Other-Code-Type  optional      
documentation
SUBSTANCE OTHER CODE IN OTHER CODE SYSTEM
s-od  ns:Other-Display-Type  optional      
documentation
SUBSTANCE TERM/RUBRIC IN OTHER CODE SYSTEM
s-us  ns:User-Selected-Type  optional      
documentation
SUBSTANCE USER SELECTED FLAG
s-rb  ns:Rubric-Type  optional      
documentation
SUBSTANCE DISPLAYED TERM/RUBRIC
s-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
s-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="it" type="Immunisation-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/rt
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p34.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Recall-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="rt" type="Recall-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/at
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p35.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Allergy-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
st  ns:Allergy-Status-Type  required      
documentation
ALLERGY CLINICAL STATUS
ct  ns:Allergy-Category-Type  required      
documentation
ALLERGY CATEGORY
tp  AllergyIntoleranceType-list  optional      
documentation
ALLERGY TYPE
sv  AllergyIntoleranceSeverity-list  optional      
documentation
ALLERGY SEVERITY
cr  AllergyIntoleranceCriticality-list  optional      
documentation
ALLERGY CRITICALITY
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
r-cid  ns:SCT-Identifier-Type  optional      
documentation
REACTION SNOMED CT CONCEPT IDENTIFIER
r-did  ns:SCT-Identifier-Type  optional      
documentation
REACTION SNOMED CT DESCRIPTION IDENTIFIER
r-rct  ns:ReadV2-Code-Type  optional      
documentation
REACTION READ V2 CODE AND TERM ID
r-ctv3  ns:CTV3-Code-Type  optional      
documentation
REACTION CLINICAL TERMS VERSION 3 CODE
r-ocs  ns:Code-System-Type  optional      
documentation
REACTION OTHER CODE SYSTEM
r-oc  ns:Other-Code-Type  optional      
documentation
REACTION OTHER CODE IN OTHER CODE SYSTEM
r-od  ns:Other-Display-Type  optional      
documentation
REACTION TERM/RUBRIC IN OTHER CODE SYSTEM
r-us  ns:User-Selected-Type  optional      
documentation
REACTION USER SELECTED FLAG
r-rb  ns:Rubric-Type  optional      
documentation
REACTION DISPLAYED TERM/RUBRIC
r-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
r-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="at" type="Allergy-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/mt
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p36.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Medication-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
aid  ns:UUID-Type  optional      
documentation
LINKED MEDICATION AUTHORISATION
st  ns:Medication-Status-Type  required      
documentation
MEDICATION STATUS
in  ns:Medication-Intent-Type  required      
documentation
MEDICATION INTENT
ag  ns:Medication-Agency-Type  required      
documentation
MEDICATION SOURCE
qt  decimal-primitive  optional      
documentation
MEDICATION QUANTITY
um  ns:UoM-Type  optional      
documentation
UNIT OF MEASURE
ud  ns:SCT-Identifier-Type  optional      
documentation
UNIT OF MEASURE (CODED)
ds  ns:Medication-Dose-Type  optional      
documentation
MEDICATION DOSE UNSTRUCTURED
dst  ns:Medication-Dose-Structured-Type  optional      
documentation
MEDICATION DOSE IN STRUCTURED DOSE FORM
rt  ns:Medication-Reimbursement-Type  optional      
documentation
MEDICATION REIMBURSEMENT TYPE(S)
na  decimal-primitive  optional      
documentation
MEDICATION NUMBER OF ISSUES AUTHORISED
tp  ns:Medication-Type  required      
documentation
PRESCRIPTION TYPE
epi  ns:UUID-Type  optional      
documentation
EPS PRESCRIPTION IDENTIFIER
sd  ns:GPData-dateTime  optional      
documentation
DATE MEDICATION STOPPED/DISCONTINUED
rvd  ns:GPData-dateTime  optional      
documentation
MEDICATION REVIEW DATE
dr  decimal-primitive  optional      
documentation
MEDICATION SUPPLY DURATION
dru  ns:UoM-Type  optional      
documentation
MEDICATION SUPPLY DURATION UNIT OF MEASURE UCUM
rr  ns:UUID-Type  optional      
documentation
MEDICATION REASON REFERENCE
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
st-cid  ns:SCT-Identifier-Type  optional      
documentation
STOP SNOMED CT CONCEPT IDENTIFIER
st-did  ns:SCT-Identifier-Type  optional      
documentation
STOP SNOMED CT DESCRIPTION IDENTIFIER
st-rct  ns:ReadV2-Code-Type  optional      
documentation
STOP READ V2 CODE AND TERM ID
st-ctv3  ns:CTV3-Code-Type  optional      
documentation
STOP CLINICAL TERMS VERSION 3 CODE
st-ocs  ns:Code-System-Type  optional      
documentation
STOP OTHER CODE SYSTEM
st-oc  ns:Other-Code-Type  optional      
documentation
STOP OTHER CODE IN OTHER CODE SYSTEM
st-od  ns:Other-Display-Type  optional      
documentation
STOP TERM/RUBRIC IN OTHER CODE SYSTEM
st-us  ns:User-Selected-Type  optional      
documentation
STOP USER SELECTED FLAG
st-rb  ns:Rubric-Type  optional      
documentation
STOP DISPLAYED TERM/RUBRIC
st-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
st-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="mt" type="Medication-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/rft
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p37.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Referral-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
ub  ns:UBRN-Type  optional      
documentation
UNIQUE BOOKING REFERENCE NUMBER
ad  ns:GPData-dateTime  optional      
documentation
REFERRAL ACTION DATE
pr  ns:Referral-Priority-Type  optional      
documentation
PRIORITY TYPE
src  ns:Referral-Source  optional      
documentation
REFERRAL SOURCE
svc  ns:SCT-Identifier-Type  optional      
documentation
REFERRAL SERVICE REQUESTED
dir  ns:Referral-Direction-Type  required      
documentation
REFERRAL INBOUND OR OUTBOUND
sp  ns:Treatment-Function-Code-Type  optional      
documentation
TREATMENT FUNCTION CODE
tp  ns:UUID-Type  optional      
documentation
REFERRAL RECIPIENT PERSON
to  ns:UUID-Type  optional      
documentation
REFERENCE REFERRAL RECIPIENT ORGANISATION
otc  ns:UUID-Type  optional      
documentation
REFERENCE TO REFERRAL OUTCOME OBSERVATION
opr  ns:Original-Priority-Type  optional      
documentation
REFERRAL PRIORITY AT SOURCE
typ  ns:Referral-Type-Code  optional      
documentation
REFERRAL TYPE CODE
otyp  ns:Original-Referral-Type  optional      
documentation
REFERRAL TYPE AT SOURCE
osvc  ns:Original-Referral-Service-Type  optional      
documentation
REFERRAL SERVICE REQUESTED AT SOURCE
orsn  ns:Original-Referral-Reason-Type  optional      
documentation
OTHER REASON FOR REFERRAL
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="rft" type="Referral-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/prt
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p38.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Problem-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
sg  ns:Problem-Significance-Type  optional      
documentation
PROBLEM SIGNIFICANCE
st  ns:Problem-Status-Type  required      
documentation
PROBLEM STATUS
ap  ns:UUID-Type  optional      
documentation
REFERENCE TO REAL PROBLEM
pi  ns:UUID-Type  optional      
documentation
REFERENCE TO LINKED PROBLEM
rl  ns:Problem-Relationship-Type  optional      
documentation
TYPE OF PROBLEM RELATIONSHIP
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:element name="prt" type="Problem-Table-Type" minOccurs="0"/>

element patient-extract-snapshot-type/plt
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p39.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Problem-Link-Table-Type
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
pid  ns:UUID-Type  required      
documentation
REFERENCE TO LINKED PROBLEM
eid  ns:UUID-Type  required      
documentation
REFERENCE TO LINKED EVENT ENTRY
source <xs:element name="plt" type="Problem-Link-Table-Type" minOccurs="0"/>

complexType Patient-Extracts-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p40.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
children patient-extract-snapshot
used by
element practice-patient-extracts
source <xs:complexType name="Patient-Extracts-Type">
 
<xs:sequence minOccurs="1" maxOccurs="unbounded">
   
<xs:element ref="patient-extract-snapshot" maxOccurs="1"/>
 
</xs:sequence>
</xs:complexType>

complexType Patient-Table-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p41.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
element patient-extract-snapshot-type/pt
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pidd  ns:DEID-Transit-Token-Type  optional      
documentation
NHS NUMBER DE-IDENTIFIED TRANSIT TOKEN
lid  ns:DEID-Transit-Token-Type  optional      
documentation
LOCAL PATIENT IDENTIFIER DE-IDENTIFIED TRANSIT TOKEN
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
pd  ns:DEID-Transit-Token-Type  optional      
documentation
POSTCODE OF USUAL ADDRESS DE_IDENTIFIED TRANSIT TOKEN
ps  ns:Postcode-Sector-Type  optional      
documentation
POSTCODE OF USUAL ADDRESS DERIVED TO SECTOR PRECISION
lsoa  ns:LSOA-Type  optional      
documentation
LOWER LAYER SUPER OUTPUT AREA
ddd  ns:DEID-Transit-Token-Type  optional      
documentation
PERSON DEATH DATE AND TIME DE-IDENTIFIED TRANSIT TOKEN
wd  ns:WOYY-Type  optional      
documentation
PERSON DEATH DATE AND TIME DERIVED WEEK AND YEAR OF DEATH
rgd  ns:GPData-dateTime  required      
documentation
START DATE AND TIME (GMP PATIENT REGISTRATION)
red  ns:GPData-dateTime  optional      
documentation
END DATE AND TIME (GMP PATIENT REGISTRATION)
rt  ns:Registration-Type  required      
documentation
REGISTRATION TYPE
srt  ns:Source-Registration-Type  required      
documentation
REGISTRATION TYPE AT SOURCE
rs  xs:boolean  required      
documentation
REGISTRATION STATUS
dbd  ns:DEID-Transit-Token-Type  required      
documentation
PERSON BIRTH DATE DE-IDENTIFIED TRANSIT TOKEN
wb  ns:WOYY-Type  required      
documentation
PERSON BIRTH DATE DERIVED TO WEEK AND YEAR OF BIRTH
g  ns:Gender-Type  required      
documentation
PERSON STATED GENDER CODE
so  ns:Sexual-Orientation-Type  optional      
documentation
PERSON STATED SEXUAL ORIENTATION CODE
ec  ns:SCT-Identifier-Type  optional      
documentation
PDS ETHNIC CATEGORY CODE
lp  ns:SCT-Identifier-Type  optional      
documentation
LANGUAGE CODE(PREFERRED)
ir  xs:boolean  optional      
documentation
INTERPRETER REQUIRED
ng  ns:UUID-Type  optional      
documentation
GENERAL MEDICAL PRACTITIONER (SPECIFIED)
p  ns:UUID-Type  required      
documentation
REFERENCE TO ORGANISATION HOLDING PATIENTS REGISTRATION
oas  xs:boolean  optional      
documentation
PATIENT ON-LINE APPOINTMENT BOOKING STATUS
ops  xs:boolean  optional      
documentation
PATIENT ON-LINE PRESCRIPTION REQUEST STATUS
ors  xs:boolean  optional      
documentation
PATIENT ON-LINE RECORD ACCESS
annotation
documentation
Element representing Patient demographics and registration information within GP Data Extract
source <xs:complexType name="Patient-Table-Type">
 
<xs:annotation>
   
<xs:documentation>Element representing Patient demographics and registration information within GP Data Extract</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Patient-Table-Attributes"/>
</xs:complexType>

complexType Practice-Directory-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p42.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
children ort prct
used by
element practice-extract/practice-directory
annotation
documentation
Practice Directory Containing Practitioners attributed or linked to clinical events
source <xs:complexType name="Practice-Directory-Type">
 
<xs:annotation>
   
<xs:documentation>Practice Directory Containing Practitioners attributed or linked to clinical events</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="ort" type="Organisation-Table-Type" minOccurs="1" maxOccurs="unbounded"/>
   
<xs:element name="prct" type="Practitioner-Table-Type" minOccurs="0" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

element Practice-Directory-Type/ort
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p43.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Organisation-Table-Type
properties
minOcc 1
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
EXTRACT LOCAL ORGANISATION IDENTIFIER
nm  ns:Org-Name-Type  optional      
documentation
ORGANISATION NAME
oc  ns:Org-Code-Type  optional      
documentation
ODS ORGANISATION CODE
rl  ns:ODS-Org-Role-Type  optional      
documentation
ODS ORGANISATION CODE
lc  ns:Local-Org-Code-Type  optional      
documentation
LOCAL ORGANISATION CODE
tp  ns:Local-Org-Type-Type  optional      
documentation
LOCAL ORGANISATION TYPE
po  ns:UUID-Type  optional      
documentation
PARENT ORGANISATION
sp  ns:Main-Specialty-Code-Type  optional      
documentation
MAIN SPECIALTY CODE
ls  ns:Local-Specialty-Name-Type  optional      
documentation
MAIN SPECIALTY CODE
al1  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 1
al2  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 2
al3  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 3
al4  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 4
al5  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 5
source <xs:element name="ort" type="Organisation-Table-Type" minOccurs="1" maxOccurs="unbounded"/>

element Practice-Directory-Type/prct
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p44.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
type Practitioner-Table-Type
properties
minOcc 0
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
EXTRACT LOCAL PRACTITIONER IDENTIFIER
oid  ns:UUID-Type  required      
documentation
ORGANISATION CODE
sc  ns:SDS-Job-Role-Codes-Type  optional      
documentation
SDS JOB ROLE CODE
sr  ns:SDS-Role-Profile-ID-Type  optional      
documentation
SDS ROLE PROFILE ID
su  ns:SDS-User-ID-Type  optional      
documentation
SDS USER ID
li  ns:Practitioner-Local-ID-Type  optional      
documentation
CARE PROFESSIONAL LOCAL IDENTIFIER
sp  ns:Main-Specialty-Code-Type  optional      
documentation
MAIN SPECIALITY CODE
lr  ns:Practitioner-Local-Job-Role-Type  optional      
documentation
LOCAL JOB ROLE
ht  ns:GPES-HCP-Type  optional      
documentation
GPES HEALTH CARE PROFESSIONAL TYPE
gn  ns:GMP-Code-Type  optional      
documentation
GENERAL MEDICAL PRACTITIONER PPD CODE
ib  ns:Professional-Registration-Issuer-Code-Type  optional      
documentation
PROFESSIONAL REGISTRATION ISSUER CODE
pi  ns:Professional-Registration-Identifier-Type  optional      
documentation
PROFESSIONAL REGISTRATION IDENTIFIER (MAIN OPERATING CARE PROFESSIONAL)
fn  ns:Person-Name-Type  optional      
documentation
PERSON GIVEN NAME
sn  ns:Person-Name-Type  optional      
documentation
PERSON FAMILY NAME
t  ns:Person-Title-Type  optional      
documentation
PERSON TITLE
source <xs:element name="prct" type="Practitioner-Table-Type" minOccurs="0" maxOccurs="unbounded"/>

complexType Practitioner-Table-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p45.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
element Practice-Directory-Type/prct
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
EXTRACT LOCAL PRACTITIONER IDENTIFIER
oid  ns:UUID-Type  required      
documentation
ORGANISATION CODE
sc  ns:SDS-Job-Role-Codes-Type  optional      
documentation
SDS JOB ROLE CODE
sr  ns:SDS-Role-Profile-ID-Type  optional      
documentation
SDS ROLE PROFILE ID
su  ns:SDS-User-ID-Type  optional      
documentation
SDS USER ID
li  ns:Practitioner-Local-ID-Type  optional      
documentation
CARE PROFESSIONAL LOCAL IDENTIFIER
sp  ns:Main-Specialty-Code-Type  optional      
documentation
MAIN SPECIALITY CODE
lr  ns:Practitioner-Local-Job-Role-Type  optional      
documentation
LOCAL JOB ROLE
ht  ns:GPES-HCP-Type  optional      
documentation
GPES HEALTH CARE PROFESSIONAL TYPE
gn  ns:GMP-Code-Type  optional      
documentation
GENERAL MEDICAL PRACTITIONER PPD CODE
ib  ns:Professional-Registration-Issuer-Code-Type  optional      
documentation
PROFESSIONAL REGISTRATION ISSUER CODE
pi  ns:Professional-Registration-Identifier-Type  optional      
documentation
PROFESSIONAL REGISTRATION IDENTIFIER (MAIN OPERATING CARE PROFESSIONAL)
fn  ns:Person-Name-Type  optional      
documentation
PERSON GIVEN NAME
sn  ns:Person-Name-Type  optional      
documentation
PERSON FAMILY NAME
t  ns:Person-Title-Type  optional      
documentation
PERSON TITLE
annotation
documentation
Represents attributed cliniciand and other practitioners
source <xs:complexType name="Practitioner-Table-Type">
 
<xs:annotation>
   
<xs:documentation>Represents attributed cliniciand and other practitioners</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Practitioner-Table-Attributes"/>
</xs:complexType>

complexType Problem-Link-Table-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p46.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
elements patient-extract-snapshot-type/plt patient-extract-snapshot-type/plt
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
pid  ns:UUID-Type  required      
documentation
REFERENCE TO LINKED PROBLEM
eid  ns:UUID-Type  required      
documentation
REFERENCE TO LINKED EVENT ENTRY
annotation
documentation
Links event records to problems - supporting 1:n relationship allowing an event to be linked to more than 1 problem
source <xs:complexType name="Problem-Link-Table-Type">
 
<xs:annotation>
   
<xs:documentation>Links event records to problems - supporting 1:n relationship allowing an event to be linked to more than 1 problem</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Problem-Link-Table-Attributes"/>
</xs:complexType>

complexType Problem-Table-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p47.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
elements patient-extract-snapshot-type/prt patient-extract-snapshot-type/prt
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
sg  ns:Problem-Significance-Type  optional      
documentation
PROBLEM SIGNIFICANCE
st  ns:Problem-Status-Type  required      
documentation
PROBLEM STATUS
ap  ns:UUID-Type  optional      
documentation
REFERENCE TO REAL PROBLEM
pi  ns:UUID-Type  optional      
documentation
REFERENCE TO LINKED PROBLEM
rl  ns:Problem-Relationship-Type  optional      
documentation
TYPE OF PROBLEM RELATIONSHIP
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
annotation
documentation
Represents problems within the source patient record
source <xs:complexType name="Problem-Table-Type">
 
<xs:annotation>
   
<xs:documentation>Represents problems within the source patient record</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Mandatory-Event-Attributes"/>
 
<xs:attributeGroup ref="Optional-Event-Attributes"/>
 
<xs:attributeGroup ref="Problem-Attributes"/>
 
<xs:attributeGroup ref="CodeableConcept-Attributes"/>
</xs:complexType>

complexType Recall-Table-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p48.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
elements patient-extract-snapshot-type/rt patient-extract-snapshot-type/rt
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
annotation
documentation
Represents planned or diarised items in the patiet record e.g. recalls for screening
source <xs:complexType name="Recall-Table-Type">
 
<xs:annotation>
   
<xs:documentation>Represents planned or diarised items in the patiet record e.g. recalls for screening</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Mandatory-Event-Attributes"/>
 
<xs:attributeGroup ref="NoEnd-Optional-Event-Attributes"/>
 
<xs:attributeGroup ref="CodeableConcept-Attributes"/>
</xs:complexType>

complexType Referral-Table-Type
diagram GPDataExtract-0.77_diagrams/GPDataExtract-0.77_p49.png
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
elements patient-extract-snapshot-type/rft patient-extract-snapshot-type/rft
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
ub  ns:UBRN-Type  optional      
documentation
UNIQUE BOOKING REFERENCE NUMBER
ad  ns:GPData-dateTime  optional      
documentation
REFERRAL ACTION DATE
pr  ns:Referral-Priority-Type  optional      
documentation
PRIORITY TYPE
src  ns:Referral-Source  optional      
documentation
REFERRAL SOURCE
svc  ns:SCT-Identifier-Type  optional      
documentation
REFERRAL SERVICE REQUESTED
dir  ns:Referral-Direction-Type  required      
documentation
REFERRAL INBOUND OR OUTBOUND
sp  ns:Treatment-Function-Code-Type  optional      
documentation
TREATMENT FUNCTION CODE
tp  ns:UUID-Type  optional      
documentation
REFERRAL RECIPIENT PERSON
to  ns:UUID-Type  optional      
documentation
REFERENCE REFERRAL RECIPIENT ORGANISATION
otc  ns:UUID-Type  optional      
documentation
REFERENCE TO REFERRAL OUTCOME OBSERVATION
opr  ns:Original-Priority-Type  optional      
documentation
REFERRAL PRIORITY AT SOURCE
typ  ns:Referral-Type-Code  optional      
documentation
REFERRAL TYPE CODE
otyp  ns:Original-Referral-Type  optional      
documentation
REFERRAL TYPE AT SOURCE
osvc  ns:Original-Referral-Service-Type  optional      
documentation
REFERRAL SERVICE REQUESTED AT SOURCE
orsn  ns:Original-Referral-Reason-Type  optional      
documentation
OTHER REASON FOR REFERRAL
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
annotation
documentation
Represents referrals recorded within the source patient record
source <xs:complexType name="Referral-Table-Type">
 
<xs:annotation>
   
<xs:documentation>Represents referrals recorded within the source patient record</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="Mandatory-Event-Attributes"/>
 
<xs:attributeGroup ref="NoEnd-Optional-Event-Attributes"/>
 
<xs:attributeGroup ref="Referral-Attributes"/>
 
<xs:attributeGroup ref="CodeableConcept-Attributes"/>
</xs:complexType>

attributeGroup Allergy-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Allergy-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
st  ns:Allergy-Status-Type  required      
documentation
ALLERGY CLINICAL STATUS
ct  ns:Allergy-Category-Type  required      
documentation
ALLERGY CATEGORY
tp  AllergyIntoleranceType-list  optional      
documentation
ALLERGY TYPE
sv  AllergyIntoleranceSeverity-list  optional      
documentation
ALLERGY SEVERITY
cr  AllergyIntoleranceCriticality-list  optional      
documentation
ALLERGY CRITICALITY
annotation
documentation
The specific attributes associated with Allergies
source <xs:attributeGroup name="Allergy-Attributes">
 
<xs:annotation>
   
<xs:documentation>The specific attributes associated with Allergies</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="st" type="Allergy-Status-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>ALLERGY CLINICAL STATUS</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ct" type="Allergy-Category-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>ALLERGY CATEGORY</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="tp" type="fhir:AllergyIntoleranceType-list" use="optional">
   
<xs:annotation>
     
<xs:documentation>ALLERGY TYPE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sv" type="fhir:AllergyIntoleranceSeverity-list" use="optional">
   
<xs:annotation>
     
<xs:documentation>ALLERGY SEVERITY</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="cr" type="fhir:AllergyIntoleranceCriticality-list" use="optional">
   
<xs:annotation>
     
<xs:documentation>ALLERGY CRITICALITY</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Allergy-Attributes/@st
type ns:Allergy-Status-Type
properties
use required
facets
Kind Value Annotation
minLength 1
pattern [^\s]+([\s]?[^\s]+)*
enumeration active
enumeration resolved
annotation
documentation
ALLERGY CLINICAL STATUS
source <xs:attribute name="st" type="Allergy-Status-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>ALLERGY CLINICAL STATUS</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Allergy-Attributes/@ct
type ns:Allergy-Category-Type
properties
use required
facets
Kind Value Annotation
minLength 1
pattern [^\s]+([\s]?[^\s]+)*
enumeration medication
enumeration environment
annotation
documentation
ALLERGY CATEGORY
source <xs:attribute name="ct" type="Allergy-Category-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>ALLERGY CATEGORY</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Allergy-Attributes/@tp
type AllergyIntoleranceType-list
properties
use optional
facets
Kind Value Annotation
minLength 1
pattern [^\s]+([\s]?[^\s]+)*
enumeration allergy
documentation
Allergy
enumeration intolerance
documentation
Intolerance
annotation
documentation
ALLERGY TYPE
source <xs:attribute name="tp" type="fhir:AllergyIntoleranceType-list" use="optional">
 
<xs:annotation>
   
<xs:documentation>ALLERGY TYPE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Allergy-Attributes/@sv
type AllergyIntoleranceSeverity-list
properties
use optional
facets
Kind Value Annotation
minLength 1
pattern [^\s]+([\s]?[^\s]+)*
enumeration mild
documentation
Mild
enumeration moderate
documentation
Moderate
enumeration severe
documentation
Severe
annotation
documentation
ALLERGY SEVERITY
source <xs:attribute name="sv" type="fhir:AllergyIntoleranceSeverity-list" use="optional">
 
<xs:annotation>
   
<xs:documentation>ALLERGY SEVERITY</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Allergy-Attributes/@cr
type AllergyIntoleranceCriticality-list
properties
use optional
facets
Kind Value Annotation
minLength 1
pattern [^\s]+([\s]?[^\s]+)*
enumeration low
documentation
Low Risk
enumeration high
documentation
High Risk
enumeration unable-to-assess
documentation
Unable to Assess Risk
annotation
documentation
ALLERGY CRITICALITY
source <xs:attribute name="cr" type="fhir:AllergyIntoleranceCriticality-list" use="optional">
 
<xs:annotation>
   
<xs:documentation>ALLERGY CRITICALITY</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Appointment-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Appointment-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
APPOINTMENT SLOT IDENTIFIER
prid  ns:UUID-Type  required      
documentation
REFERENCE TO ORGANISATION IDENTIFIER (CODE OF PROVIDER)
pidd  ns:DEID-Transit-Token-Type  optional      
documentation
NHS NUMBER DE-IDENTIFIED TRANSIT TOKEN
eid  ns:UUID-Type  optional      
documentation
APPOINTMENT TO ENCOUNTER IDENTIFIER
sid  ns:Appointment-Session-Identifier-Type  required      
documentation
APPOINTMENT SLOT SESSION IDENTIFIER
rd  ns:GPData-dateTime  required      
documentation
APPOINTMENT TIMESTAMP
aid  ns:UUID-Type  optional      
documentation
APPOINTMENT IDENTIFIER
bid  ns:Appointment-Booking-Identifier-Type  optional      
documentation
APPOINTMENT BOOKING IDENTIFIER
ht  ns:GPES-HCP-Type  optional      
documentation
GPES HEALTH CARE PROFESSIONAL TYPE
ac  ns:UUID-Type  optional      
documentation
APPOINTMENT RESPONSIBLE CLINICIAN
sc  ns:UUID-Type  optional      
documentation
APPOINTMENT SLOT RESPONSIBLE CLINICIAN
ss  ns:GPData-dateTime  required      
documentation
APPOINTMENT SLOT SCHEDULED START DATE TIME
tp  ns:Appointment-Slot-Type  required      
documentation
APPOINTMENT SLOT TYPE
sf  ns:Appointment-Slot-National-Category-Code-Type  optional      
documentation
NATIONAL SLOT TYPE CATEGORY
sns  ns:Appointment-Slot-National-Setting-Type  optional      
documentation
NATIONAL SLOT SETTING
snc  ns:Appointment-Slot-National-Context-Type  optional      
documentation
NATIONAL SLOT CONTEXT
st  ns:Appointment-Status-Type  required      
documentation
APPOINTMENT STATUS
bd  ns:GPData-dateTime  optional      
documentation
APPOINTMENT BOOKING DATE TIME
bm  ns:Appointment-Booking-Method-Type  optional      
documentation
APPOINTMENT BOOKING METHOD
cd  ns:GPData-dateTime  optional      
documentation
APPOINTMENT CANCELLATION DATE TIME
md  ns:Appointment-Mode-Type  optional      
documentation
MODE OF APPOINTMENT
rld  ns:GPData-dateTime  optional      
documentation
APPOINTMENT SLOT RELEASE DATETIME
ep  xs:boolean  optional      
documentation
APPOINTMENT EXTERNAL PATIENT IDENTIFIER
eo  ns:UUID-Type  optional      
documentation
REFERENCE TO APPOINTMENT EXTERNAL PATIENT ORGANISATION
bs  ns:Appointment-Booking-Source-Type  optional      
documentation
APPOINTMENT BOOKING SOURCE
bso  ns:Org-Code-Type  optional      
documentation
APPOINTMENT BOOKING SOURCE ORGANISATION
se  ns:GPData-dateTime  optional      
documentation
APPOINTMENT SLOT SCHEDULED END DATE TIME
sd  decimal-primitive  optional      
documentation
APPOINTMENT SLOT SCHEDULED DURATION
at  ns:GPData-dateTime  optional      
appinfo
PATIENT ARRIVAL DATE TIME
ast  ns:GPData-dateTime  optional      
documentation
APPOINTMENT ACTUAL START DATE TIME
aet  ns:GPData-dateTime  optional      
documentation
APPOINTMENT ACTUAL END DATE TIME
ad  decimal-primitive  optional      
documentation
APPOINTMENT DURATION
scd  ns:GPData-dateTime  required      
documentation
APPOINTMENT SLOT CREATION DATE TIME
sdd  ns:GPData-dateTime  optional      
documentation
APPOINTMENT SLOT DELETION DATE TIME
scrd  ns:GPData-dateTime  required      
documentation
SCHEDULE CREATION DATE TIME
bkb  xs:boolean  required      
documentation
APPOINTMENT SLOT BOOKABILITY FLAG
ool  xs:boolean  optional      
documentation
APPOINTMENT OFFERED ON-LINE
om  ns:Appointment-Offered-Method-Type  optional      
documentation
APPOINTMENT OFFERED METHOD
annotation
documentation
Attributes for Appointment-Table elements
source <xs:attributeGroup name="Appointment-Attributes">
 
<xs:annotation>
   
<xs:documentation>Attributes for Appointment-Table elements</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="id" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT SLOT IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="prid" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>REFERENCE TO ORGANISATION IDENTIFIER (CODE OF PROVIDER)</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="pidd" type="DEID-Transit-Token-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>NHS NUMBER DE-IDENTIFIED TRANSIT TOKEN</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="eid" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT TO ENCOUNTER IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sid" type="Appointment-Session-Identifier-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT SLOT SESSION IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rd" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT TIMESTAMP</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="aid" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="bid" type="Appointment-Booking-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT BOOKING IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ht" type="GPES-HCP-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>GPES HEALTH CARE PROFESSIONAL TYPE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ac" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT RESPONSIBLE CLINICIAN</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sc" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT SLOT RESPONSIBLE CLINICIAN</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ss" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT SLOT SCHEDULED START DATE TIME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="tp" type="Appointment-Slot-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT SLOT TYPE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sf" type="Appointment-Slot-National-Category-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>NATIONAL SLOT TYPE CATEGORY</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sns" type="Appointment-Slot-National-Setting-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>NATIONAL SLOT SETTING</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="snc" type="Appointment-Slot-National-Context-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>NATIONAL SLOT CONTEXT</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st" type="Appointment-Status-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT STATUS</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="bd" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT BOOKING DATE TIME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="bm" type="Appointment-Booking-Method-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT BOOKING METHOD</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="cd" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT CANCELLATION DATE TIME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="md" type="Appointment-Mode-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>MODE OF APPOINTMENT</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rld" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT SLOT RELEASE DATETIME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ep" type="xs:boolean" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT EXTERNAL PATIENT IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="eo" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERENCE TO APPOINTMENT EXTERNAL PATIENT ORGANISATION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="bs" type="Appointment-Booking-Source-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT BOOKING SOURCE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="bso" type="Org-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT BOOKING SOURCE ORGANISATION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="se" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT SLOT SCHEDULED END DATE TIME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sd" type="fhir:decimal-primitive" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT SLOT SCHEDULED DURATION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="at" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:appinfo>PATIENT ARRIVAL DATE TIME</xs:appinfo>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ast" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT ACTUAL START DATE TIME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="aet" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT ACTUAL END DATE TIME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ad" type="fhir:decimal-primitive" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT DURATION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="scd" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT SLOT CREATION DATE TIME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sdd" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT SLOT DELETION DATE TIME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="scrd" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>SCHEDULE CREATION DATE TIME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="bkb" type="xs:boolean" use="required">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT SLOT BOOKABILITY FLAG</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ool" type="xs:boolean" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT OFFERED ON-LINE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="om" type="Appointment-Offered-Method-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT OFFERED METHOD</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Appointment-Attributes/@id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
APPOINTMENT SLOT IDENTIFIER
source <xs:attribute name="id" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT SLOT IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@prid
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
REFERENCE TO ORGANISATION IDENTIFIER (CODE OF PROVIDER)
source <xs:attribute name="prid" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>REFERENCE TO ORGANISATION IDENTIFIER (CODE OF PROVIDER)</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@pidd
type ns:DEID-Transit-Token-Type
properties
use optional
facets
Kind Value Annotation
length 200
annotation
documentation
NHS NUMBER DE-IDENTIFIED TRANSIT TOKEN
source <xs:attribute name="pidd" type="DEID-Transit-Token-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>NHS NUMBER DE-IDENTIFIED TRANSIT TOKEN</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@eid
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
APPOINTMENT TO ENCOUNTER IDENTIFIER
source <xs:attribute name="eid" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT TO ENCOUNTER IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@sid
type ns:Appointment-Session-Identifier-Type
properties
use required
facets
Kind Value Annotation
minLength 1
maxLength 50
annotation
documentation
APPOINTMENT SLOT SESSION IDENTIFIER
source <xs:attribute name="sid" type="Appointment-Session-Identifier-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT SLOT SESSION IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@rd
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
APPOINTMENT TIMESTAMP
source <xs:attribute name="rd" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT TIMESTAMP</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@aid
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
APPOINTMENT IDENTIFIER
source <xs:attribute name="aid" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@bid
type ns:Appointment-Booking-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 32
annotation
documentation
APPOINTMENT BOOKING IDENTIFIER
source <xs:attribute name="bid" type="Appointment-Booking-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT BOOKING IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@ht
type ns:GPES-HCP-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 3
enumeration A
enumeration B
enumeration C
enumeration D
enumeration D06
enumeration D07
enumeration D08
enumeration D09
enumeration D10
enumeration D11
enumeration D12
enumeration D13
enumeration D14
enumeration D15
enumeration D16
enumeration D17
enumeration D18
enumeration D19
annotation
documentation
GPES HEALTH CARE PROFESSIONAL TYPE
source <xs:attribute name="ht" type="GPES-HCP-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>GPES HEALTH CARE PROFESSIONAL TYPE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@ac
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
APPOINTMENT RESPONSIBLE CLINICIAN
source <xs:attribute name="ac" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT RESPONSIBLE CLINICIAN</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@sc
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
APPOINTMENT SLOT RESPONSIBLE CLINICIAN
source <xs:attribute name="sc" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT SLOT RESPONSIBLE CLINICIAN</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@ss
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
APPOINTMENT SLOT SCHEDULED START DATE TIME
source <xs:attribute name="ss" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT SLOT SCHEDULED START DATE TIME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@tp
type ns:Appointment-Slot-Type
properties
use required
facets
Kind Value Annotation
minLength 1
maxLength 300
annotation
documentation
APPOINTMENT SLOT TYPE
source <xs:attribute name="tp" type="Appointment-Slot-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT SLOT TYPE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@sf
type ns:Appointment-Slot-National-Category-Code-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 150
annotation
documentation
NATIONAL SLOT TYPE CATEGORY
source <xs:attribute name="sf" type="Appointment-Slot-National-Category-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>NATIONAL SLOT TYPE CATEGORY</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@sns
type ns:Appointment-Slot-National-Setting-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 100
annotation
documentation
NATIONAL SLOT SETTING
source <xs:attribute name="sns" type="Appointment-Slot-National-Setting-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>NATIONAL SLOT SETTING</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@snc
type ns:Appointment-Slot-National-Context-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 100
annotation
documentation
NATIONAL SLOT CONTEXT
source <xs:attribute name="snc" type="Appointment-Slot-National-Context-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>NATIONAL SLOT CONTEXT</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@st
type ns:Appointment-Status-Type
properties
use required
facets
Kind Value Annotation
enumeration available
enumeration booked
enumeration cancelled
enumeration attended
enumeration dna
annotation
documentation
APPOINTMENT STATUS
source <xs:attribute name="st" type="Appointment-Status-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT STATUS</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@bd
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
APPOINTMENT BOOKING DATE TIME
source <xs:attribute name="bd" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT BOOKING DATE TIME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@bm
type ns:Appointment-Booking-Method-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
APPOINTMENT BOOKING METHOD
source <xs:attribute name="bm" type="Appointment-Booking-Method-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT BOOKING METHOD</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@cd
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
APPOINTMENT CANCELLATION DATE TIME
source <xs:attribute name="cd" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT CANCELLATION DATE TIME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@md
type ns:Appointment-Mode-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 20
annotation
documentation
MODE OF APPOINTMENT
source <xs:attribute name="md" type="Appointment-Mode-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>MODE OF APPOINTMENT</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@rld
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
APPOINTMENT SLOT RELEASE DATETIME
source <xs:attribute name="rld" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT SLOT RELEASE DATETIME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@ep
type xs:boolean
properties
use optional
annotation
documentation
APPOINTMENT EXTERNAL PATIENT IDENTIFIER
source <xs:attribute name="ep" type="xs:boolean" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT EXTERNAL PATIENT IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@eo
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
REFERENCE TO APPOINTMENT EXTERNAL PATIENT ORGANISATION
source <xs:attribute name="eo" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERENCE TO APPOINTMENT EXTERNAL PATIENT ORGANISATION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@bs
type ns:Appointment-Booking-Source-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 32
annotation
documentation
APPOINTMENT BOOKING SOURCE
source <xs:attribute name="bs" type="Appointment-Booking-Source-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT BOOKING SOURCE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@bso
type ns:Org-Code-Type
properties
use optional
facets
Kind Value Annotation
minLength 3
maxLength 12
annotation
documentation
APPOINTMENT BOOKING SOURCE ORGANISATION
source <xs:attribute name="bso" type="Org-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT BOOKING SOURCE ORGANISATION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@se
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
APPOINTMENT SLOT SCHEDULED END DATE TIME
source <xs:attribute name="se" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT SLOT SCHEDULED END DATE TIME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@sd
type decimal-primitive
properties
use optional
facets
Kind Value Annotation
pattern -?([0]|([1-9][0-9]*))(\.[0-9]+)?
annotation
documentation
APPOINTMENT SLOT SCHEDULED DURATION
source <xs:attribute name="sd" type="fhir:decimal-primitive" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT SLOT SCHEDULED DURATION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@at
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
appinfo
PATIENT ARRIVAL DATE TIME
source <xs:attribute name="at" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:appinfo>PATIENT ARRIVAL DATE TIME</xs:appinfo>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@ast
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
APPOINTMENT ACTUAL START DATE TIME
source <xs:attribute name="ast" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT ACTUAL START DATE TIME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@aet
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
APPOINTMENT ACTUAL END DATE TIME
source <xs:attribute name="aet" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT ACTUAL END DATE TIME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@ad
type decimal-primitive
properties
use optional
facets
Kind Value Annotation
pattern -?([0]|([1-9][0-9]*))(\.[0-9]+)?
annotation
documentation
APPOINTMENT DURATION
source <xs:attribute name="ad" type="fhir:decimal-primitive" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT DURATION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@scd
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
APPOINTMENT SLOT CREATION DATE TIME
source <xs:attribute name="scd" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT SLOT CREATION DATE TIME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@sdd
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
APPOINTMENT SLOT DELETION DATE TIME
source <xs:attribute name="sdd" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT SLOT DELETION DATE TIME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@scrd
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
SCHEDULE CREATION DATE TIME
source <xs:attribute name="scrd" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>SCHEDULE CREATION DATE TIME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@bkb
type xs:boolean
properties
use required
annotation
documentation
APPOINTMENT SLOT BOOKABILITY FLAG
source <xs:attribute name="bkb" type="xs:boolean" use="required">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT SLOT BOOKABILITY FLAG</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@ool
type xs:boolean
properties
use optional
annotation
documentation
APPOINTMENT OFFERED ON-LINE
source <xs:attribute name="ool" type="xs:boolean" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT OFFERED ON-LINE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Attributes/@om
type ns:Appointment-Offered-Method-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
APPOINTMENT OFFERED METHOD
source <xs:attribute name="om" type="Appointment-Offered-Method-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT OFFERED METHOD</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Appointment-Extract-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Appointment-Extract-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA APPOINTMENT EXTRACT IDENTIFIER
issue-date-time  ns:GPData-dateTime  required      
documentation
GP DATA APPOINTMENT EXTRACT CREATION DATE TIME
type  ns:Extract-Type  required      
documentation
GP DATA APPOINTMENT EXTRACT TYPE
sequence  positiveInt-primitive  required      
documentation
GP DATA APPOINTMENT EXTRACT SEQUENCE NUMBER
annotation
documentation
Attributes for practice-extract element
source <xs:attributeGroup name="Appointment-Extract-Attributes">
 
<xs:annotation>
   
<xs:documentation>Attributes for practice-extract element</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="id" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA APPOINTMENT EXTRACT IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="issue-date-time" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA APPOINTMENT EXTRACT CREATION DATE TIME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="type" type="Extract-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA APPOINTMENT EXTRACT TYPE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sequence" type="fhir:positiveInt-primitive" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA APPOINTMENT EXTRACT SEQUENCE NUMBER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Appointment-Extract-Attributes/@id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
GP DATA APPOINTMENT EXTRACT IDENTIFIER
source <xs:attribute name="id" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA APPOINTMENT EXTRACT IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Extract-Attributes/@issue-date-time
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
GP DATA APPOINTMENT EXTRACT CREATION DATE TIME
source <xs:attribute name="issue-date-time" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA APPOINTMENT EXTRACT CREATION DATE TIME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Extract-Attributes/@type
type ns:Extract-Type
properties
use required
facets
Kind Value Annotation
enumeration snapshot
enumeration delta
annotation
documentation
GP DATA APPOINTMENT EXTRACT TYPE
source <xs:attribute name="type" type="Extract-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA APPOINTMENT EXTRACT TYPE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Extract-Attributes/@sequence
type positiveInt-primitive
properties
use required
facets
Kind Value Annotation
pattern [1-9][0-9]*
annotation
documentation
GP DATA APPOINTMENT EXTRACT SEQUENCE NUMBER
source <xs:attribute name="sequence" type="fhir:positiveInt-primitive" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA APPOINTMENT EXTRACT SEQUENCE NUMBER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Appointment-Reference-Data-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Appointment-Reference-Data-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA APPOINTMENT REFERENCE DATA EXTRACT
issue-date-time  ns:GPData-dateTime  required      
documentation
GP DATA APPOINTMENT REFERENCE DATA EXTRACT CREATION DATE TIME
sequence  positiveInt-primitive  required      
documentation
GP DATA APPOINTMENT REFERENCE DATA SEQUENCE NUMBER
annotation
documentation
Attributes for practice-extract element
source <xs:attributeGroup name="Appointment-Reference-Data-Attributes">
 
<xs:annotation>
   
<xs:documentation>Attributes for practice-extract element</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="id" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA APPOINTMENT REFERENCE DATA EXTRACT</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="issue-date-time" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA APPOINTMENT REFERENCE DATA EXTRACT CREATION DATE TIME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sequence" type="fhir:positiveInt-primitive" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA APPOINTMENT REFERENCE DATA SEQUENCE NUMBER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Appointment-Reference-Data-Attributes/@id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
GP DATA APPOINTMENT REFERENCE DATA EXTRACT
source <xs:attribute name="id" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA APPOINTMENT REFERENCE DATA EXTRACT</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Reference-Data-Attributes/@issue-date-time
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
GP DATA APPOINTMENT REFERENCE DATA EXTRACT CREATION DATE TIME
source <xs:attribute name="issue-date-time" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA APPOINTMENT REFERENCE DATA EXTRACT CREATION DATE TIME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Reference-Data-Attributes/@sequence
type positiveInt-primitive
properties
use required
facets
Kind Value Annotation
pattern [1-9][0-9]*
annotation
documentation
GP DATA APPOINTMENT REFERENCE DATA SEQUENCE NUMBER
source <xs:attribute name="sequence" type="fhir:positiveInt-primitive" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA APPOINTMENT REFERENCE DATA SEQUENCE NUMBER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Appointment-Reference-Value-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Appointment-Reference-Value-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
f  ns:Appointment-Ref-Field-Name-Type  required      
documentation
APPOINTMENT REFERENCE DATA SET FIELD NAME
v  ns:Appointment-Ref-Value-Type  required      
documentation
APPOINTMENT REFERENCE DATA SET VALUE
m  ns:Appointment-Ref-Map-Value-Type  required      
documentation
APPOINTMENT REFERENCE DATA SET MAPPED VALUE
fd  ns:GPData-dateTime  required      
documentation
APPOINTMENT REFERENCE DATA EFFECTIVE FROM DATE
td  ns:GPData-dateTime  optional      
documentation
APPOINTMENT REFERENCE DATA EFFECTIVE TO DATE
annotation
documentation
Attributes for an item of appointent referece data
source <xs:attributeGroup name="Appointment-Reference-Value-Attributes">
 
<xs:annotation>
   
<xs:documentation>Attributes for an item of appointent referece data</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="f" type="Appointment-Ref-Field-Name-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT REFERENCE DATA SET FIELD NAME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="v" type="Appointment-Ref-Value-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT REFERENCE DATA SET VALUE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="m" type="Appointment-Ref-Map-Value-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT REFERENCE DATA SET MAPPED VALUE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="fd" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT REFERENCE DATA EFFECTIVE FROM DATE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="td" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>APPOINTMENT REFERENCE DATA EFFECTIVE TO DATE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Appointment-Reference-Value-Attributes/@f
type ns:Appointment-Ref-Field-Name-Type
properties
use required
facets
Kind Value Annotation
minLength 1
maxLength 36
annotation
documentation
APPOINTMENT REFERENCE DATA SET FIELD NAME
source <xs:attribute name="f" type="Appointment-Ref-Field-Name-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT REFERENCE DATA SET FIELD NAME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Reference-Value-Attributes/@v
type ns:Appointment-Ref-Value-Type
properties
use required
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
APPOINTMENT REFERENCE DATA SET VALUE
source <xs:attribute name="v" type="Appointment-Ref-Value-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT REFERENCE DATA SET VALUE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Reference-Value-Attributes/@m
type ns:Appointment-Ref-Map-Value-Type
properties
use required
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
APPOINTMENT REFERENCE DATA SET MAPPED VALUE
source <xs:attribute name="m" type="Appointment-Ref-Map-Value-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT REFERENCE DATA SET MAPPED VALUE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Reference-Value-Attributes/@fd
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
APPOINTMENT REFERENCE DATA EFFECTIVE FROM DATE
source <xs:attribute name="fd" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT REFERENCE DATA EFFECTIVE FROM DATE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Appointment-Reference-Value-Attributes/@td
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
APPOINTMENT REFERENCE DATA EFFECTIVE TO DATE
source <xs:attribute name="td" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>APPOINTMENT REFERENCE DATA EFFECTIVE TO DATE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup CodeableConcept-Allergy-Reaction-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Allergy-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
r-cid  ns:SCT-Identifier-Type  optional      
documentation
REACTION SNOMED CT CONCEPT IDENTIFIER
r-did  ns:SCT-Identifier-Type  optional      
documentation
REACTION SNOMED CT DESCRIPTION IDENTIFIER
r-rct  ns:ReadV2-Code-Type  optional      
documentation
REACTION READ V2 CODE AND TERM ID
r-ctv3  ns:CTV3-Code-Type  optional      
documentation
REACTION CLINICAL TERMS VERSION 3 CODE
r-ocs  ns:Code-System-Type  optional      
documentation
REACTION OTHER CODE SYSTEM
r-oc  ns:Other-Code-Type  optional      
documentation
REACTION OTHER CODE IN OTHER CODE SYSTEM
r-od  ns:Other-Display-Type  optional      
documentation
REACTION TERM/RUBRIC IN OTHER CODE SYSTEM
r-us  ns:User-Selected-Type  optional      
documentation
REACTION USER SELECTED FLAG
r-rb  ns:Rubric-Type  optional      
documentation
REACTION DISPLAYED TERM/RUBRIC
r-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
r-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
annotation
documentation
Codeable concept attributes specifying the reaction to an allergy
source <xs:attributeGroup name="CodeableConcept-Allergy-Reaction-Attributes">
 
<xs:annotation>
   
<xs:documentation>Codeable concept attributes specifying the reaction to an allergy</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="r-cid" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REACTION SNOMED CT CONCEPT IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="r-did" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REACTION SNOMED CT DESCRIPTION IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="r-rct" type="ReadV2-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REACTION READ V2 CODE AND TERM ID</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="r-ctv3" type="CTV3-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REACTION CLINICAL TERMS VERSION 3 CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="r-ocs" type="Code-System-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REACTION OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="r-oc" type="Other-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REACTION OTHER CODE IN OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="r-od" type="Other-Display-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REACTION TERM/RUBRIC IN OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="r-us" type="User-Selected-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REACTION USER SELECTED FLAG</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="r-rb" type="Rubric-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REACTION DISPLAYED TERM/RUBRIC</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="r-sce" type="SCT-Expression-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>A qualifying SCT Expression in the SCT compositional grammar</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="r-ote" type="Other-Expression-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>A qualifying expression to the proprietary code in a proprietary format</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute CodeableConcept-Allergy-Reaction-Attributes/@r-cid
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
REACTION SNOMED CT CONCEPT IDENTIFIER
source <xs:attribute name="r-cid" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REACTION SNOMED CT CONCEPT IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Allergy-Reaction-Attributes/@r-did
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
REACTION SNOMED CT DESCRIPTION IDENTIFIER
source <xs:attribute name="r-did" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REACTION SNOMED CT DESCRIPTION IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Allergy-Reaction-Attributes/@r-rct
type ns:ReadV2-Code-Type
properties
use optional
facets
Kind Value Annotation
length 7
annotation
documentation
REACTION READ V2 CODE AND TERM ID
source <xs:attribute name="r-rct" type="ReadV2-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REACTION READ V2 CODE AND TERM ID</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Allergy-Reaction-Attributes/@r-ctv3
type ns:CTV3-Code-Type
properties
use optional
facets
Kind Value Annotation
length 5
annotation
documentation
REACTION CLINICAL TERMS VERSION 3 CODE
source <xs:attribute name="r-ctv3" type="CTV3-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REACTION CLINICAL TERMS VERSION 3 CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Allergy-Reaction-Attributes/@r-ocs
type ns:Code-System-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
REACTION OTHER CODE SYSTEM
source <xs:attribute name="r-ocs" type="Code-System-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REACTION OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Allergy-Reaction-Attributes/@r-oc
type ns:Other-Code-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 100
annotation
documentation
REACTION OTHER CODE IN OTHER CODE SYSTEM
source <xs:attribute name="r-oc" type="Other-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REACTION OTHER CODE IN OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Allergy-Reaction-Attributes/@r-od
type ns:Other-Display-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
REACTION TERM/RUBRIC IN OTHER CODE SYSTEM
source <xs:attribute name="r-od" type="Other-Display-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REACTION TERM/RUBRIC IN OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Allergy-Reaction-Attributes/@r-us
type ns:User-Selected-Type
properties
use optional
facets
Kind Value Annotation
enumeration sct
enumeration rvt
enumeration ctv3
enumeration other
annotation
documentation
REACTION USER SELECTED FLAG
source <xs:attribute name="r-us" type="User-Selected-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REACTION USER SELECTED FLAG</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Allergy-Reaction-Attributes/@r-rb
type ns:Rubric-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
REACTION DISPLAYED TERM/RUBRIC
source <xs:attribute name="r-rb" type="Rubric-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REACTION DISPLAYED TERM/RUBRIC</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Allergy-Reaction-Attributes/@r-sce
type ns:SCT-Expression-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 1024
annotation
documentation
A qualifying SCT Expression in the SCT compositional grammar
source <xs:attribute name="r-sce" type="SCT-Expression-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>A qualifying SCT Expression in the SCT compositional grammar</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Allergy-Reaction-Attributes/@r-ote
type ns:Other-Expression-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 1024
annotation
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:attribute name="r-ote" type="Other-Expression-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>A qualifying expression to the proprietary code in a proprietary format</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup CodeableConcept-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexTypes Allergy-Table-Type Encounter-Table-Type Immunisation-Table-Type Medication-Table-Type Observation-Table-Type Problem-Table-Type Recall-Table-Type Referral-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
cid  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT CONCEPT IDENTIFIER
did  ns:SCT-Identifier-Type  optional      
documentation
SNOMED CT DESCRIPTION IDENTIFIER
rct  ns:ReadV2-Code-Type  optional      
documentation
READ V2 CODE AND TERM ID
ctv3  ns:CTV3-Code-Type  optional      
documentation
CLINICAL TERMS VERSION 3 CODE
ocs  ns:Code-System-Type  optional      
documentation
OTHER CODE SYSTEM
oc  ns:Other-Code-Type  optional      
documentation
OTHER CODE IN OTHER CODE SYSTEM
od  ns:Other-Display-Type  optional      
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
us  ns:User-Selected-Type  optional      
documentation
USER SELECTED FLAG
rb  ns:Rubric-Type  optional      
documentation
DISPLAYED TERM/RUBRIC
sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
annotation
documentation
The attributes associated with the main codeable concept in a record entry
source <xs:attributeGroup name="CodeableConcept-Attributes">
 
<xs:annotation>
   
<xs:documentation>The attributes associated with the main codeable concept in a record entry</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="cid" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SNOMED CT CONCEPT IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="did" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SNOMED CT DESCRIPTION IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rct" type="ReadV2-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>READ V2 CODE AND TERM ID</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ctv3" type="CTV3-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>CLINICAL TERMS VERSION 3 CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ocs" type="Code-System-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="oc" type="Other-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>OTHER CODE IN OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="od" type="Other-Display-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>TERM/RUBRIC IN OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="us" type="User-Selected-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>USER SELECTED FLAG</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rb" type="Rubric-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>DISPLAYED TERM/RUBRIC</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sce" type="SCT-Expression-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>A qualifying SCT Expression in the SCT compositional grammar</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ote" type="Other-Expression-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>A qualifying expression to the proprietary code in a proprietary format</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute CodeableConcept-Attributes/@cid
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
SNOMED CT CONCEPT IDENTIFIER
source <xs:attribute name="cid" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SNOMED CT CONCEPT IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Attributes/@did
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
SNOMED CT DESCRIPTION IDENTIFIER
source <xs:attribute name="did" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SNOMED CT DESCRIPTION IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Attributes/@rct
type ns:ReadV2-Code-Type
properties
use optional
facets
Kind Value Annotation
length 7
annotation
documentation
READ V2 CODE AND TERM ID
source <xs:attribute name="rct" type="ReadV2-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>READ V2 CODE AND TERM ID</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Attributes/@ctv3
type ns:CTV3-Code-Type
properties
use optional
facets
Kind Value Annotation
length 5
annotation
documentation
CLINICAL TERMS VERSION 3 CODE
source <xs:attribute name="ctv3" type="CTV3-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>CLINICAL TERMS VERSION 3 CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Attributes/@ocs
type ns:Code-System-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
OTHER CODE SYSTEM
source <xs:attribute name="ocs" type="Code-System-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Attributes/@oc
type ns:Other-Code-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 100
annotation
documentation
OTHER CODE IN OTHER CODE SYSTEM
source <xs:attribute name="oc" type="Other-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>OTHER CODE IN OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Attributes/@od
type ns:Other-Display-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
TERM/RUBRIC IN OTHER CODE SYSTEM
source <xs:attribute name="od" type="Other-Display-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>TERM/RUBRIC IN OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Attributes/@us
type ns:User-Selected-Type
properties
use optional
facets
Kind Value Annotation
enumeration sct
enumeration rvt
enumeration ctv3
enumeration other
annotation
documentation
USER SELECTED FLAG
source <xs:attribute name="us" type="User-Selected-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>USER SELECTED FLAG</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Attributes/@rb
type ns:Rubric-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
DISPLAYED TERM/RUBRIC
source <xs:attribute name="rb" type="Rubric-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>DISPLAYED TERM/RUBRIC</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Attributes/@sce
type ns:SCT-Expression-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 1024
annotation
documentation
A qualifying SCT Expression in the SCT compositional grammar
source <xs:attribute name="sce" type="SCT-Expression-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>A qualifying SCT Expression in the SCT compositional grammar</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Attributes/@ote
type ns:Other-Expression-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 1024
annotation
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:attribute name="ote" type="Other-Expression-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>A qualifying expression to the proprietary code in a proprietary format</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup CodeableConcept-Immunisation-Substance-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Immunisation-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
s-cid  ns:SCT-Identifier-Type  optional      
documentation
SUBSTANCE SNOMED CT CONCEPT IDENTIFIER
s-did  ns:SCT-Identifier-Type  optional      
documentation
SUBSTANCE SNOMED CT DESCRIPTION IDENTIFIER
s-rct  ns:ReadV2-Code-Type  optional      
documentation
SUBSTANCE READ V2 CODE AND TERM ID
s-ctv3  ns:CTV3-Code-Type  optional      
documentation
SUBSTANCE CLINICAL TERMS VERSION 3 CODE
s-ocs  ns:Code-System-Type  optional      
documentation
SUBSTANCE OTHER CODE SYSTEM
s-oc  ns:Other-Code-Type  optional      
documentation
SUBSTANCE OTHER CODE IN OTHER CODE SYSTEM
s-od  ns:Other-Display-Type  optional      
documentation
SUBSTANCE TERM/RUBRIC IN OTHER CODE SYSTEM
s-us  ns:User-Selected-Type  optional      
documentation
SUBSTANCE USER SELECTED FLAG
s-rb  ns:Rubric-Type  optional      
documentation
SUBSTANCE DISPLAYED TERM/RUBRIC
s-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
s-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
annotation
documentation
Substance codeable concept types associated with Immunisation i.e. the product/substance administered
source <xs:attributeGroup name="CodeableConcept-Immunisation-Substance-Attributes">
 
<xs:annotation>
   
<xs:documentation>Substance codeable concept types associated with Immunisation i.e. the product/substance administered</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="s-cid" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SUBSTANCE SNOMED CT CONCEPT IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="s-did" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SUBSTANCE SNOMED CT DESCRIPTION IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="s-rct" type="ReadV2-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SUBSTANCE READ V2 CODE AND TERM ID</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="s-ctv3" type="CTV3-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SUBSTANCE CLINICAL TERMS VERSION 3 CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="s-ocs" type="Code-System-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SUBSTANCE OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="s-oc" type="Other-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SUBSTANCE OTHER CODE IN OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="s-od" type="Other-Display-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SUBSTANCE TERM/RUBRIC IN OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="s-us" type="User-Selected-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SUBSTANCE USER SELECTED FLAG</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="s-rb" type="Rubric-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SUBSTANCE DISPLAYED TERM/RUBRIC</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="s-sce" type="SCT-Expression-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>A qualifying SCT Expression in the SCT compositional grammar</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="s-ote" type="Other-Expression-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>A qualifying expression to the proprietary code in a proprietary format</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute CodeableConcept-Immunisation-Substance-Attributes/@s-cid
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
SUBSTANCE SNOMED CT CONCEPT IDENTIFIER
source <xs:attribute name="s-cid" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SUBSTANCE SNOMED CT CONCEPT IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Immunisation-Substance-Attributes/@s-did
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
SUBSTANCE SNOMED CT DESCRIPTION IDENTIFIER
source <xs:attribute name="s-did" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SUBSTANCE SNOMED CT DESCRIPTION IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Immunisation-Substance-Attributes/@s-rct
type ns:ReadV2-Code-Type
properties
use optional
facets
Kind Value Annotation
length 7
annotation
documentation
SUBSTANCE READ V2 CODE AND TERM ID
source <xs:attribute name="s-rct" type="ReadV2-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SUBSTANCE READ V2 CODE AND TERM ID</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Immunisation-Substance-Attributes/@s-ctv3
type ns:CTV3-Code-Type
properties
use optional
facets
Kind Value Annotation
length 5
annotation
documentation
SUBSTANCE CLINICAL TERMS VERSION 3 CODE
source <xs:attribute name="s-ctv3" type="CTV3-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SUBSTANCE CLINICAL TERMS VERSION 3 CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Immunisation-Substance-Attributes/@s-ocs
type ns:Code-System-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
SUBSTANCE OTHER CODE SYSTEM
source <xs:attribute name="s-ocs" type="Code-System-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SUBSTANCE OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Immunisation-Substance-Attributes/@s-oc
type ns:Other-Code-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 100
annotation
documentation
SUBSTANCE OTHER CODE IN OTHER CODE SYSTEM
source <xs:attribute name="s-oc" type="Other-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SUBSTANCE OTHER CODE IN OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Immunisation-Substance-Attributes/@s-od
type ns:Other-Display-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
SUBSTANCE TERM/RUBRIC IN OTHER CODE SYSTEM
source <xs:attribute name="s-od" type="Other-Display-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SUBSTANCE TERM/RUBRIC IN OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Immunisation-Substance-Attributes/@s-us
type ns:User-Selected-Type
properties
use optional
facets
Kind Value Annotation
enumeration sct
enumeration rvt
enumeration ctv3
enumeration other
annotation
documentation
SUBSTANCE USER SELECTED FLAG
source <xs:attribute name="s-us" type="User-Selected-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SUBSTANCE USER SELECTED FLAG</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Immunisation-Substance-Attributes/@s-rb
type ns:Rubric-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
SUBSTANCE DISPLAYED TERM/RUBRIC
source <xs:attribute name="s-rb" type="Rubric-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SUBSTANCE DISPLAYED TERM/RUBRIC</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Immunisation-Substance-Attributes/@s-sce
type ns:SCT-Expression-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 1024
annotation
documentation
A qualifying SCT Expression in the SCT compositional grammar
source <xs:attribute name="s-sce" type="SCT-Expression-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>A qualifying SCT Expression in the SCT compositional grammar</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Immunisation-Substance-Attributes/@s-ote
type ns:Other-Expression-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 1024
annotation
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:attribute name="s-ote" type="Other-Expression-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>A qualifying expression to the proprietary code in a proprietary format</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup CodeableConcept-Medication-Stop-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Medication-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
st-cid  ns:SCT-Identifier-Type  optional      
documentation
STOP SNOMED CT CONCEPT IDENTIFIER
st-did  ns:SCT-Identifier-Type  optional      
documentation
STOP SNOMED CT DESCRIPTION IDENTIFIER
st-rct  ns:ReadV2-Code-Type  optional      
documentation
STOP READ V2 CODE AND TERM ID
st-ctv3  ns:CTV3-Code-Type  optional      
documentation
STOP CLINICAL TERMS VERSION 3 CODE
st-ocs  ns:Code-System-Type  optional      
documentation
STOP OTHER CODE SYSTEM
st-oc  ns:Other-Code-Type  optional      
documentation
STOP OTHER CODE IN OTHER CODE SYSTEM
st-od  ns:Other-Display-Type  optional      
documentation
STOP TERM/RUBRIC IN OTHER CODE SYSTEM
st-us  ns:User-Selected-Type  optional      
documentation
STOP USER SELECTED FLAG
st-rb  ns:Rubric-Type  optional      
documentation
STOP DISPLAYED TERM/RUBRIC
st-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
st-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
annotation
documentation
Codeable concept attributes specifying the reason a medication was stopped
source <xs:attributeGroup name="CodeableConcept-Medication-Stop-Attributes">
 
<xs:annotation>
   
<xs:documentation>Codeable concept attributes specifying the reason a medication was stopped</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="st-cid" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>STOP SNOMED CT CONCEPT IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st-did" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>STOP SNOMED CT DESCRIPTION IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st-rct" type="ReadV2-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>STOP READ V2 CODE AND TERM ID</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st-ctv3" type="CTV3-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>STOP CLINICAL TERMS VERSION 3 CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st-ocs" type="Code-System-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>STOP OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st-oc" type="Other-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>STOP OTHER CODE IN OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st-od" type="Other-Display-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>STOP TERM/RUBRIC IN OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st-us" type="User-Selected-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>STOP USER SELECTED FLAG</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st-rb" type="Rubric-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>STOP DISPLAYED TERM/RUBRIC</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st-sce" type="SCT-Expression-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>A qualifying SCT Expression in the SCT compositional grammar</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st-ote" type="Other-Expression-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>A qualifying expression to the proprietary code in a proprietary format</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute CodeableConcept-Medication-Stop-Attributes/@st-cid
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
STOP SNOMED CT CONCEPT IDENTIFIER
source <xs:attribute name="st-cid" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>STOP SNOMED CT CONCEPT IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Medication-Stop-Attributes/@st-did
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
STOP SNOMED CT DESCRIPTION IDENTIFIER
source <xs:attribute name="st-did" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>STOP SNOMED CT DESCRIPTION IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Medication-Stop-Attributes/@st-rct
type ns:ReadV2-Code-Type
properties
use optional
facets
Kind Value Annotation
length 7
annotation
documentation
STOP READ V2 CODE AND TERM ID
source <xs:attribute name="st-rct" type="ReadV2-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>STOP READ V2 CODE AND TERM ID</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Medication-Stop-Attributes/@st-ctv3
type ns:CTV3-Code-Type
properties
use optional
facets
Kind Value Annotation
length 5
annotation
documentation
STOP CLINICAL TERMS VERSION 3 CODE
source <xs:attribute name="st-ctv3" type="CTV3-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>STOP CLINICAL TERMS VERSION 3 CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Medication-Stop-Attributes/@st-ocs
type ns:Code-System-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
STOP OTHER CODE SYSTEM
source <xs:attribute name="st-ocs" type="Code-System-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>STOP OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Medication-Stop-Attributes/@st-oc
type ns:Other-Code-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 100
annotation
documentation
STOP OTHER CODE IN OTHER CODE SYSTEM
source <xs:attribute name="st-oc" type="Other-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>STOP OTHER CODE IN OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Medication-Stop-Attributes/@st-od
type ns:Other-Display-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
STOP TERM/RUBRIC IN OTHER CODE SYSTEM
source <xs:attribute name="st-od" type="Other-Display-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>STOP TERM/RUBRIC IN OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Medication-Stop-Attributes/@st-us
type ns:User-Selected-Type
properties
use optional
facets
Kind Value Annotation
enumeration sct
enumeration rvt
enumeration ctv3
enumeration other
annotation
documentation
STOP USER SELECTED FLAG
source <xs:attribute name="st-us" type="User-Selected-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>STOP USER SELECTED FLAG</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Medication-Stop-Attributes/@st-rb
type ns:Rubric-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
STOP DISPLAYED TERM/RUBRIC
source <xs:attribute name="st-rb" type="Rubric-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>STOP DISPLAYED TERM/RUBRIC</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Medication-Stop-Attributes/@st-sce
type ns:SCT-Expression-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 1024
annotation
documentation
A qualifying SCT Expression in the SCT compositional grammar
source <xs:attribute name="st-sce" type="SCT-Expression-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>A qualifying SCT Expression in the SCT compositional grammar</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Medication-Stop-Attributes/@st-ote
type ns:Other-Expression-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 1024
annotation
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:attribute name="st-ote" type="Other-Expression-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>A qualifying expression to the proprietary code in a proprietary format</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup CodeableConcept-Value-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Observation-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
v-cid  ns:SCT-Identifier-Type  optional      
documentation
VALUE SNOMED CT CONCEPT IDENTIFIER
v-did  ns:SCT-Identifier-Type  optional      
documentation
VALUE SNOMED CT DESCRIPTION IDENTIFIER
v-rct  ns:ReadV2-Code-Type  optional      
documentation
VALUE READ V2 CODE AND TERM ID
v-ctv3  ns:CTV3-Code-Type  optional      
documentation
VALUE CLINICAL TERMS VERSION 3 CODE
v-ocs  ns:Code-System-Type  optional      
documentation
VALUE OTHER CODE SYSTEM
v-oc  ns:Other-Code-Type  optional      
documentation
VALUE OTHER CODE IN OTHER CODE SYSTEM
v-od  ns:Other-Display-Type  optional      
documentation
VALUE TERM/RUBRIC IN OTHER CODE SYSTEM
v-us  ns:User-Selected-Type  optional      
documentation
VALUE USER SELECTED FLAG
v-rb  ns:Rubric-Type  optional      
documentation
VALUE DISPLAYED TERM/RUBRIC
v-sce  ns:SCT-Expression-Type  optional      
documentation
A qualifying SCT Expression in the SCT compositional grammar
v-ote  ns:Other-Expression-Type  optional      
documentation
A qualifying expression to the proprietary code in a proprietary format
annotation
documentation
The attributes associated with codeable concept as value in an observation
source <xs:attributeGroup name="CodeableConcept-Value-Attributes">
 
<xs:annotation>
   
<xs:documentation>The attributes associated with codeable concept as value in an observation</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="v-cid" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>VALUE SNOMED CT CONCEPT IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="v-did" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>VALUE SNOMED CT DESCRIPTION IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="v-rct" type="ReadV2-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>VALUE READ V2 CODE AND TERM ID</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="v-ctv3" type="CTV3-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>VALUE CLINICAL TERMS VERSION 3 CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="v-ocs" type="Code-System-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>VALUE OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="v-oc" type="Other-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>VALUE OTHER CODE IN OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="v-od" type="Other-Display-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>VALUE TERM/RUBRIC IN OTHER CODE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="v-us" type="User-Selected-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>VALUE USER SELECTED FLAG</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="v-rb" type="Rubric-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>VALUE DISPLAYED TERM/RUBRIC</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="v-sce" type="SCT-Expression-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>A qualifying SCT Expression in the SCT compositional grammar</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="v-ote" type="Other-Expression-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>A qualifying expression to the proprietary code in a proprietary format</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute CodeableConcept-Value-Attributes/@v-cid
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
VALUE SNOMED CT CONCEPT IDENTIFIER
source <xs:attribute name="v-cid" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>VALUE SNOMED CT CONCEPT IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Value-Attributes/@v-did
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
VALUE SNOMED CT DESCRIPTION IDENTIFIER
source <xs:attribute name="v-did" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>VALUE SNOMED CT DESCRIPTION IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Value-Attributes/@v-rct
type ns:ReadV2-Code-Type
properties
use optional
facets
Kind Value Annotation
length 7
annotation
documentation
VALUE READ V2 CODE AND TERM ID
source <xs:attribute name="v-rct" type="ReadV2-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>VALUE READ V2 CODE AND TERM ID</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Value-Attributes/@v-ctv3
type ns:CTV3-Code-Type
properties
use optional
facets
Kind Value Annotation
length 5
annotation
documentation
VALUE CLINICAL TERMS VERSION 3 CODE
source <xs:attribute name="v-ctv3" type="CTV3-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>VALUE CLINICAL TERMS VERSION 3 CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Value-Attributes/@v-ocs
type ns:Code-System-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
VALUE OTHER CODE SYSTEM
source <xs:attribute name="v-ocs" type="Code-System-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>VALUE OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Value-Attributes/@v-oc
type ns:Other-Code-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 100
annotation
documentation
VALUE OTHER CODE IN OTHER CODE SYSTEM
source <xs:attribute name="v-oc" type="Other-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>VALUE OTHER CODE IN OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Value-Attributes/@v-od
type ns:Other-Display-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
VALUE TERM/RUBRIC IN OTHER CODE SYSTEM
source <xs:attribute name="v-od" type="Other-Display-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>VALUE TERM/RUBRIC IN OTHER CODE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Value-Attributes/@v-us
type ns:User-Selected-Type
properties
use optional
facets
Kind Value Annotation
enumeration sct
enumeration rvt
enumeration ctv3
enumeration other
annotation
documentation
VALUE USER SELECTED FLAG
source <xs:attribute name="v-us" type="User-Selected-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>VALUE USER SELECTED FLAG</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Value-Attributes/@v-rb
type ns:Rubric-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
VALUE DISPLAYED TERM/RUBRIC
source <xs:attribute name="v-rb" type="Rubric-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>VALUE DISPLAYED TERM/RUBRIC</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Value-Attributes/@v-sce
type ns:SCT-Expression-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 1024
annotation
documentation
A qualifying SCT Expression in the SCT compositional grammar
source <xs:attribute name="v-sce" type="SCT-Expression-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>A qualifying SCT Expression in the SCT compositional grammar</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CodeableConcept-Value-Attributes/@v-ote
type ns:Other-Expression-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 1024
annotation
documentation
A qualifying expression to the proprietary code in a proprietary format
source <xs:attribute name="v-ote" type="Other-Expression-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>A qualifying expression to the proprietary code in a proprietary format</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Encounter-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Encounter-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
dr  decimal-primitive  optional      
documentation
ENCOUNTER DURATION
aid  ns:UUID-Type  optional      
documentation
ASSOCIATED APPOINTMENT
lc  ns:SCT-Identifier-Type  optional      
documentation
ENCOUNTER LOCATION TYPE
or  ns:UUID-Type  optional      
documentation
REFERENCE TO ENCOUNTER ORGANISATION
annotation
documentation
The common set of mandatory attributes associated with encounters
source <xs:attributeGroup name="Encounter-Attributes">
 
<xs:annotation>
   
<xs:documentation>The common set of mandatory attributes associated with encounters</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="id" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA PERSISTENT RECORD IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rid" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA PATIENT REGISTRATION IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="pid" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>ATTRIBUTED CLINICIAN</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rd" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>DATE RECORDED</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="df" type="xs:boolean" use="optional" fixed="true">
   
<xs:annotation>
     
<xs:documentation>GP DATA RESOURCE DELETION FLAG</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ed" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>EFFECTIVE DATE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="end" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>EFFECTIVE END DATE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="dr" type="fhir:decimal-primitive" use="optional">
   
<xs:annotation>
     
<xs:documentation>ENCOUNTER DURATION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="aid" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>ASSOCIATED APPOINTMENT</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="lc" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>ENCOUNTER LOCATION TYPE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="or" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERENCE TO ENCOUNTER ORGANISATION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Encounter-Attributes/@id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
source <xs:attribute name="id" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA PERSISTENT RECORD IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Encounter-Attributes/@rid
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
source <xs:attribute name="rid" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA PATIENT REGISTRATION IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Encounter-Attributes/@pid
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
ATTRIBUTED CLINICIAN
source <xs:attribute name="pid" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>ATTRIBUTED CLINICIAN</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Encounter-Attributes/@rd
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
DATE RECORDED
source <xs:attribute name="rd" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>DATE RECORDED</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Encounter-Attributes/@df
type xs:boolean
properties
use optional
fixed true
annotation
documentation
GP DATA RESOURCE DELETION FLAG
source <xs:attribute name="df" type="xs:boolean" use="optional" fixed="true">
 
<xs:annotation>
   
<xs:documentation>GP DATA RESOURCE DELETION FLAG</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Encounter-Attributes/@ed
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
EFFECTIVE DATE
source <xs:attribute name="ed" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>EFFECTIVE DATE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Encounter-Attributes/@end
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
EFFECTIVE END DATE
source <xs:attribute name="end" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>EFFECTIVE END DATE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Encounter-Attributes/@dr
type decimal-primitive
properties
use optional
facets
Kind Value Annotation
pattern -?([0]|([1-9][0-9]*))(\.[0-9]+)?
annotation
documentation
ENCOUNTER DURATION
source <xs:attribute name="dr" type="fhir:decimal-primitive" use="optional">
 
<xs:annotation>
   
<xs:documentation>ENCOUNTER DURATION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Encounter-Attributes/@aid
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
ASSOCIATED APPOINTMENT
source <xs:attribute name="aid" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>ASSOCIATED APPOINTMENT</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Encounter-Attributes/@lc
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
ENCOUNTER LOCATION TYPE
source <xs:attribute name="lc" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>ENCOUNTER LOCATION TYPE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Encounter-Attributes/@or
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
REFERENCE TO ENCOUNTER ORGANISATION
source <xs:attribute name="or" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERENCE TO ENCOUNTER ORGANISATION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup gpdata-extract-attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
element gpdata-extract
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA EXTRACT UNIQUE IDENTIFIER
gpdata-version  xs:string  required    0.77  
documentation
DATA SET VERSION NUMBER
issue-date-time  ns:GPData-dateTime  required      
documentation
DATE AND TIME DATA SET CREATED
channel-id  ns:UUID-Type  required      
documentation
GP DATA EXTRACT CHANNEL IDENTIFIER
channel-sequence  positiveInt-primitive  required      
documentation
GP DATA EXTRACT CHANNEL SEQUENCE NUMBER
source  ns:Source-Type  required      
documentation
GP DATA EXTRACT SOURCE SUPPLIER
source-system  ns:Source-Type  required      
documentation
GP DATA EXTRACT SOURCE SYSTEM
source-version  ns:Source-Type  required      
documentation
GP DATA EXTRACT SOURCE SYSTEM VERSION
source-message-address  ns:Source-Message-Address-Type  required      
documentation
GP DATA EXTRACT SOURCE MESSAGE ADDRESS
annotation
documentation
Attributes for root gpdata-extract Element
source <xs:attributeGroup name="gpdata-extract-attributes">
 
<xs:annotation>
   
<xs:documentation>Attributes for root gpdata-extract Element</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="id" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA EXTRACT UNIQUE IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="gpdata-version" type="xs:string" use="required" fixed="0.77">
   
<xs:annotation>
     
<xs:documentation>DATA SET VERSION NUMBER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="issue-date-time" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>DATE AND TIME DATA SET CREATED</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="channel-id" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA EXTRACT CHANNEL IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="channel-sequence" type="fhir:positiveInt-primitive" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA EXTRACT CHANNEL SEQUENCE NUMBER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="source" type="Source-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA EXTRACT SOURCE SUPPLIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="source-system" type="Source-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA EXTRACT SOURCE SYSTEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="source-version" type="Source-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA EXTRACT SOURCE SYSTEM VERSION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="source-message-address" type="Source-Message-Address-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA EXTRACT SOURCE MESSAGE ADDRESS</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute gpdata-extract-attributes/@id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
GP DATA EXTRACT UNIQUE IDENTIFIER
source <xs:attribute name="id" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA EXTRACT UNIQUE IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute gpdata-extract-attributes/@gpdata-version
type xs:string
properties
use required
fixed 0.77
annotation
documentation
DATA SET VERSION NUMBER
source <xs:attribute name="gpdata-version" type="xs:string" use="required" fixed="0.77">
 
<xs:annotation>
   
<xs:documentation>DATA SET VERSION NUMBER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute gpdata-extract-attributes/@issue-date-time
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
DATE AND TIME DATA SET CREATED
source <xs:attribute name="issue-date-time" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>DATE AND TIME DATA SET CREATED</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute gpdata-extract-attributes/@channel-id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
GP DATA EXTRACT CHANNEL IDENTIFIER
source <xs:attribute name="channel-id" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA EXTRACT CHANNEL IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute gpdata-extract-attributes/@channel-sequence
type positiveInt-primitive
properties
use required
facets
Kind Value Annotation
pattern [1-9][0-9]*
annotation
documentation
GP DATA EXTRACT CHANNEL SEQUENCE NUMBER
source <xs:attribute name="channel-sequence" type="fhir:positiveInt-primitive" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA EXTRACT CHANNEL SEQUENCE NUMBER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute gpdata-extract-attributes/@source
type ns:Source-Type
properties
use required
facets
Kind Value Annotation
minLength 1
maxLength 36
annotation
documentation
GP DATA EXTRACT SOURCE SUPPLIER
source <xs:attribute name="source" type="Source-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA EXTRACT SOURCE SUPPLIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute gpdata-extract-attributes/@source-system
type ns:Source-Type
properties
use required
facets
Kind Value Annotation
minLength 1
maxLength 36
annotation
documentation
GP DATA EXTRACT SOURCE SYSTEM
source <xs:attribute name="source-system" type="Source-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA EXTRACT SOURCE SYSTEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute gpdata-extract-attributes/@source-version
type ns:Source-Type
properties
use required
facets
Kind Value Annotation
minLength 1
maxLength 36
annotation
documentation
GP DATA EXTRACT SOURCE SYSTEM VERSION
source <xs:attribute name="source-version" type="Source-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA EXTRACT SOURCE SYSTEM VERSION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute gpdata-extract-attributes/@source-message-address
type ns:Source-Message-Address-Type
properties
use required
facets
Kind Value Annotation
minLength 1
maxLength 128
annotation
documentation
GP DATA EXTRACT SOURCE MESSAGE ADDRESS
source <xs:attribute name="source-message-address" type="Source-Message-Address-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA EXTRACT SOURCE MESSAGE ADDRESS</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Immunisation-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Immunisation-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
bt  ns:Immunisation-Batch-Type  optional      
documentation
IMMUNISATION BATCH NUMBER
st  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION ADMINISTRATION SITE
rt  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION ROUTE
mf  ns:Immunisation-Manufacturer-Type  optional      
documentation
IMMUNISATION MANUFACTURER
xd  ns:GPData-dateTime  optional      
documentation
IMMUNISATION EXPIRY DATE
qt  decimal-primitive  optional      
documentation
IMMUNISATION QUANTITY ADMINISTERED
um  ns:UoM-Type  optional      
documentation
IMMUNISATION UNIT OF MEASURE
ud  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION UNIT OF MEASURE (DMD)
rs  ns:SCT-Identifier-Type  optional      
documentation
IMMUNISATION REASON CODE
pp  xs:boolean  optional      
documentation
IMMUNISATION PARENT PRESENT AT ADMINISTRATION
annotation
documentation
The optional attributes associated with Immunisations
source <xs:attributeGroup name="Immunisation-Attributes">
 
<xs:annotation>
   
<xs:documentation>The optional attributes associated with Immunisations</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="bt" type="Immunisation-Batch-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>IMMUNISATION BATCH NUMBER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>IMMUNISATION ADMINISTRATION SITE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rt" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>IMMUNISATION ROUTE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="mf" type="Immunisation-Manufacturer-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>IMMUNISATION MANUFACTURER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="xd" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>IMMUNISATION EXPIRY DATE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="qt" type="fhir:decimal-primitive" use="optional">
   
<xs:annotation>
     
<xs:documentation>IMMUNISATION QUANTITY ADMINISTERED</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="um" type="UoM-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>IMMUNISATION UNIT OF MEASURE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ud" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>IMMUNISATION UNIT OF MEASURE (DMD)</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rs" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>IMMUNISATION REASON CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="pp" type="xs:boolean" use="optional">
   
<xs:annotation>
     
<xs:documentation>IMMUNISATION PARENT PRESENT AT ADMINISTRATION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Immunisation-Attributes/@bt
type ns:Immunisation-Batch-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 128
annotation
documentation
IMMUNISATION BATCH NUMBER
source <xs:attribute name="bt" type="Immunisation-Batch-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>IMMUNISATION BATCH NUMBER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Immunisation-Attributes/@st
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
IMMUNISATION ADMINISTRATION SITE
source <xs:attribute name="st" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>IMMUNISATION ADMINISTRATION SITE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Immunisation-Attributes/@rt
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
IMMUNISATION ROUTE
source <xs:attribute name="rt" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>IMMUNISATION ROUTE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Immunisation-Attributes/@mf
type ns:Immunisation-Manufacturer-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 128
annotation
documentation
IMMUNISATION MANUFACTURER
source <xs:attribute name="mf" type="Immunisation-Manufacturer-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>IMMUNISATION MANUFACTURER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Immunisation-Attributes/@xd
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
IMMUNISATION EXPIRY DATE
source <xs:attribute name="xd" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>IMMUNISATION EXPIRY DATE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Immunisation-Attributes/@qt
type decimal-primitive
properties
use optional
facets
Kind Value Annotation
pattern -?([0]|([1-9][0-9]*))(\.[0-9]+)?
annotation
documentation
IMMUNISATION QUANTITY ADMINISTERED
source <xs:attribute name="qt" type="fhir:decimal-primitive" use="optional">
 
<xs:annotation>
   
<xs:documentation>IMMUNISATION QUANTITY ADMINISTERED</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Immunisation-Attributes/@um
type ns:UoM-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 512
annotation
documentation
IMMUNISATION UNIT OF MEASURE
source <xs:attribute name="um" type="UoM-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>IMMUNISATION UNIT OF MEASURE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Immunisation-Attributes/@ud
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
IMMUNISATION UNIT OF MEASURE (DMD)
source <xs:attribute name="ud" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>IMMUNISATION UNIT OF MEASURE (DMD)</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Immunisation-Attributes/@rs
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
IMMUNISATION REASON CODE
source <xs:attribute name="rs" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>IMMUNISATION REASON CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Immunisation-Attributes/@pp
type xs:boolean
properties
use optional
annotation
documentation
IMMUNISATION PARENT PRESENT AT ADMINISTRATION
source <xs:attribute name="pp" type="xs:boolean" use="optional">
 
<xs:annotation>
   
<xs:documentation>IMMUNISATION PARENT PRESENT AT ADMINISTRATION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Mandatory-Event-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexTypes Allergy-Table-Type Immunisation-Table-Type Medication-Table-Type Observation-Table-Type Problem-Table-Type Recall-Table-Type Referral-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pid  ns:UUID-Type  required      
documentation
ATTRIBUTED CLINICIAN
eid  ns:UUID-Type  optional      
documentation
RELATED ENCOUNTER
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
annotation
documentation
The common set of mandatory attributes associated with all 'event' level attributes
source <xs:attributeGroup name="Mandatory-Event-Attributes">
 
<xs:annotation>
   
<xs:documentation>The common set of mandatory attributes associated with all 'event' level attributes</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="id" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA PERSISTENT RECORD IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rid" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA PATIENT REGISTRATION IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="pid" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>ATTRIBUTED CLINICIAN</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="eid" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>RELATED ENCOUNTER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rd" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>DATE RECORDED</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Mandatory-Event-Attributes/@id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
source <xs:attribute name="id" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA PERSISTENT RECORD IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Mandatory-Event-Attributes/@rid
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
source <xs:attribute name="rid" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA PATIENT REGISTRATION IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Mandatory-Event-Attributes/@pid
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
ATTRIBUTED CLINICIAN
source <xs:attribute name="pid" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>ATTRIBUTED CLINICIAN</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Mandatory-Event-Attributes/@eid
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
RELATED ENCOUNTER
source <xs:attribute name="eid" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>RELATED ENCOUNTER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Mandatory-Event-Attributes/@rd
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
DATE RECORDED
source <xs:attribute name="rd" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>DATE RECORDED</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Medication-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Medication-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
aid  ns:UUID-Type  optional      
documentation
LINKED MEDICATION AUTHORISATION
st  ns:Medication-Status-Type  required      
documentation
MEDICATION STATUS
in  ns:Medication-Intent-Type  required      
documentation
MEDICATION INTENT
ag  ns:Medication-Agency-Type  required      
documentation
MEDICATION SOURCE
qt  decimal-primitive  optional      
documentation
MEDICATION QUANTITY
um  ns:UoM-Type  optional      
documentation
UNIT OF MEASURE
ud  ns:SCT-Identifier-Type  optional      
documentation
UNIT OF MEASURE (CODED)
ds  ns:Medication-Dose-Type  optional      
documentation
MEDICATION DOSE UNSTRUCTURED
dst  ns:Medication-Dose-Structured-Type  optional      
documentation
MEDICATION DOSE IN STRUCTURED DOSE FORM
rt  ns:Medication-Reimbursement-Type  optional      
documentation
MEDICATION REIMBURSEMENT TYPE(S)
na  decimal-primitive  optional      
documentation
MEDICATION NUMBER OF ISSUES AUTHORISED
tp  ns:Medication-Type  required      
documentation
PRESCRIPTION TYPE
epi  ns:UUID-Type  optional      
documentation
EPS PRESCRIPTION IDENTIFIER
sd  ns:GPData-dateTime  optional      
documentation
DATE MEDICATION STOPPED/DISCONTINUED
rvd  ns:GPData-dateTime  optional      
documentation
MEDICATION REVIEW DATE
dr  decimal-primitive  optional      
documentation
MEDICATION SUPPLY DURATION
dru  ns:UoM-Type  optional      
documentation
MEDICATION SUPPLY DURATION UNIT OF MEASURE UCUM
rr  ns:UUID-Type  optional      
documentation
MEDICATION REASON REFERENCE
annotation
documentation
The specific attributes associated with Allergies
source <xs:attributeGroup name="Medication-Attributes">
 
<xs:annotation>
   
<xs:documentation>The specific attributes associated with Allergies</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="aid" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>LINKED MEDICATION AUTHORISATION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st" type="Medication-Status-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>MEDICATION STATUS</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="in" type="Medication-Intent-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>MEDICATION INTENT</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ag" type="Medication-Agency-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>MEDICATION SOURCE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="qt" type="fhir:decimal-primitive" use="optional">
   
<xs:annotation>
     
<xs:documentation>MEDICATION QUANTITY</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="um" type="UoM-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>UNIT OF MEASURE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ud" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>UNIT OF MEASURE (CODED)</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ds" type="Medication-Dose-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>MEDICATION DOSE UNSTRUCTURED</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="dst" type="Medication-Dose-Structured-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>MEDICATION DOSE IN STRUCTURED DOSE FORM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rt" type="Medication-Reimbursement-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>MEDICATION REIMBURSEMENT TYPE(S)</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="na" type="fhir:decimal-primitive" use="optional">
   
<xs:annotation>
     
<xs:documentation>MEDICATION NUMBER OF ISSUES AUTHORISED</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="tp" type="Medication-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>PRESCRIPTION TYPE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="epi" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>EPS PRESCRIPTION IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sd" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>DATE MEDICATION STOPPED/DISCONTINUED</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rvd" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>MEDICATION REVIEW DATE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="dr" type="fhir:decimal-primitive" use="optional">
   
<xs:annotation>
     
<xs:documentation>MEDICATION SUPPLY DURATION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="dru" type="UoM-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>MEDICATION SUPPLY DURATION UNIT OF MEASURE UCUM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rr" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>MEDICATION REASON REFERENCE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Medication-Attributes/@aid
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
LINKED MEDICATION AUTHORISATION
source <xs:attribute name="aid" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>LINKED MEDICATION AUTHORISATION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@st
type ns:Medication-Status-Type
properties
use required
facets
Kind Value Annotation
minLength 1
pattern [^\s]+([\s]?[^\s]+)*
enumeration active
enumeration completed
enumeration stopped
annotation
documentation
MEDICATION STATUS
source <xs:attribute name="st" type="Medication-Status-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>MEDICATION STATUS</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@in
type ns:Medication-Intent-Type
properties
use required
facets
Kind Value Annotation
minLength 1
pattern [^\s]+([\s]?[^\s]+)*
enumeration plan
enumeration order
annotation
documentation
MEDICATION INTENT
source <xs:attribute name="in" type="Medication-Intent-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>MEDICATION INTENT</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@ag
type ns:Medication-Agency-Type
properties
use required
facets
Kind Value Annotation
enumeration prescribed-at-gp-practice
enumeration prescribed-by-another-organisation
annotation
documentation
MEDICATION SOURCE
source <xs:attribute name="ag" type="Medication-Agency-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>MEDICATION SOURCE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@qt
type decimal-primitive
properties
use optional
facets
Kind Value Annotation
pattern -?([0]|([1-9][0-9]*))(\.[0-9]+)?
annotation
documentation
MEDICATION QUANTITY
source <xs:attribute name="qt" type="fhir:decimal-primitive" use="optional">
 
<xs:annotation>
   
<xs:documentation>MEDICATION QUANTITY</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@um
type ns:UoM-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 512
annotation
documentation
UNIT OF MEASURE
source <xs:attribute name="um" type="UoM-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>UNIT OF MEASURE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@ud
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
UNIT OF MEASURE (CODED)
source <xs:attribute name="ud" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>UNIT OF MEASURE (CODED)</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@ds
type ns:Medication-Dose-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 1024
annotation
documentation
MEDICATION DOSE UNSTRUCTURED
source <xs:attribute name="ds" type="Medication-Dose-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>MEDICATION DOSE UNSTRUCTURED</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@dst
type ns:Medication-Dose-Structured-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 1024
annotation
documentation
MEDICATION DOSE IN STRUCTURED DOSE FORM
source <xs:attribute name="dst" type="Medication-Dose-Structured-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>MEDICATION DOSE IN STRUCTURED DOSE FORM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@rt
type ns:Medication-Reimbursement-Type
properties
use optional
facets
Kind Value Annotation
maxLength 1024
pattern [0-9:]*
annotation
documentation
MEDICATION REIMBURSEMENT TYPE(S)
source <xs:attribute name="rt" type="Medication-Reimbursement-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>MEDICATION REIMBURSEMENT TYPE(S)</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@na
type decimal-primitive
properties
use optional
facets
Kind Value Annotation
pattern -?([0]|([1-9][0-9]*))(\.[0-9]+)?
annotation
documentation
MEDICATION NUMBER OF ISSUES AUTHORISED
source <xs:attribute name="na" type="fhir:decimal-primitive" use="optional">
 
<xs:annotation>
   
<xs:documentation>MEDICATION NUMBER OF ISSUES AUTHORISED</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@tp
type ns:Medication-Type
properties
use required
facets
Kind Value Annotation
enumeration acute
enumeration acute-handwritten
enumeration delayed-prescribing
enumeration repeat
enumeration repeat-dispensing
annotation
documentation
PRESCRIPTION TYPE
source <xs:attribute name="tp" type="Medication-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>PRESCRIPTION TYPE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@epi
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
EPS PRESCRIPTION IDENTIFIER
source <xs:attribute name="epi" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>EPS PRESCRIPTION IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@sd
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
DATE MEDICATION STOPPED/DISCONTINUED
source <xs:attribute name="sd" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>DATE MEDICATION STOPPED/DISCONTINUED</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@rvd
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
MEDICATION REVIEW DATE
source <xs:attribute name="rvd" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>MEDICATION REVIEW DATE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@dr
type decimal-primitive
properties
use optional
facets
Kind Value Annotation
pattern -?([0]|([1-9][0-9]*))(\.[0-9]+)?
annotation
documentation
MEDICATION SUPPLY DURATION
source <xs:attribute name="dr" type="fhir:decimal-primitive" use="optional">
 
<xs:annotation>
   
<xs:documentation>MEDICATION SUPPLY DURATION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@dru
type ns:UoM-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 512
annotation
documentation
MEDICATION SUPPLY DURATION UNIT OF MEASURE UCUM
source <xs:attribute name="dru" type="UoM-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>MEDICATION SUPPLY DURATION UNIT OF MEASURE UCUM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Medication-Attributes/@rr
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
MEDICATION REASON REFERENCE
source <xs:attribute name="rr" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>MEDICATION REASON REFERENCE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup NoEnd-Optional-Event-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexTypes Immunisation-Table-Type Recall-Table-Type Referral-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
annotation
documentation
Specialisation on other common optional event attributes because recall and referral does not have an end date
source <xs:attributeGroup name="NoEnd-Optional-Event-Attributes">
 
<xs:annotation>
   
<xs:documentation>Specialisation on other common optional event attributes because recall and referral does not have an end date</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="df" type="xs:boolean" use="optional" fixed="true">
   
<xs:annotation>
     
<xs:documentation>GP DATA RESOURCE DELETION FLAG</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ed" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>EFFECTIVE DATE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="tid" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERENCE TO TEMPLATE HEADER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute NoEnd-Optional-Event-Attributes/@df
type xs:boolean
properties
use optional
fixed true
annotation
documentation
GP DATA RESOURCE DELETION FLAG
source <xs:attribute name="df" type="xs:boolean" use="optional" fixed="true">
 
<xs:annotation>
   
<xs:documentation>GP DATA RESOURCE DELETION FLAG</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute NoEnd-Optional-Event-Attributes/@ed
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
EFFECTIVE DATE
source <xs:attribute name="ed" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>EFFECTIVE DATE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute NoEnd-Optional-Event-Attributes/@tid
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
REFERENCE TO TEMPLATE HEADER
source <xs:attribute name="tid" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERENCE TO TEMPLATE HEADER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Observation-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Observation-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
v1  decimal-primitive  optional      
documentation
CLINICAL INVESTIGATION RESULT VALUE
v2  decimal-primitive  optional      
documentation
CLINICAL INVESTIGATION RESULT VALUE
um  ns:UoM-Type  optional      
documentation
UNIT OF MEASURE
uu  ns:UoM-Type  optional      
documentation
UCUM UNIT OF MEASURE
co  ns:Comparator-Type  optional      
documentation
CLINICAL INVESTIGATION RESULT COMPARATOR
rl  decimal-primitive  optional      
documentation
REFERENCE LIMIT LOWER QUANTITY
ru  decimal-primitive  optional      
documentation
REFERENCE LIMIT UPPER QUANTITY
ic  ns:Interpretation-Code-Type  optional      
documentation
DEVIATING RESULT ENTRY
vs  ns:Value-String-Type  optional      
documentation
OBSERVATION TEXT VALUE
vd  ns:GPData-dateTime  optional      
documentation
OBSERVATION DATE TIME VALUE
ith  xs:boolean  optional    true  
documentation
GP DATA TEMPLATE HEADER INDICATOR
ep  ns:Condition-Episodicity-Type  optional      
documentation
PROBLEM EPISODICITY
annotation
documentation
The common set of optional attributes associated with Observation
source <xs:attributeGroup name="Observation-Attributes">
 
<xs:annotation>
   
<xs:documentation>The common set of optional attributes associated with Observation</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="v1" type="fhir:decimal-primitive" use="optional">
   
<xs:annotation>
     
<xs:documentation>CLINICAL INVESTIGATION RESULT VALUE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="v2" type="fhir:decimal-primitive" use="optional">
   
<xs:annotation>
     
<xs:documentation>CLINICAL INVESTIGATION RESULT VALUE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="um" type="UoM-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>UNIT OF MEASURE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="uu" type="UoM-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>UCUM UNIT OF MEASURE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="co" type="Comparator-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>CLINICAL INVESTIGATION RESULT COMPARATOR</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rl" type="fhir:decimal-primitive" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERENCE LIMIT LOWER QUANTITY</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ru" type="fhir:decimal-primitive" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERENCE LIMIT UPPER QUANTITY</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ic" type="Interpretation-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>DEVIATING RESULT ENTRY</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="vs" type="Value-String-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>OBSERVATION TEXT VALUE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="vd" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>OBSERVATION DATE TIME VALUE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ith" type="xs:boolean" use="optional" fixed="true">
   
<xs:annotation>
     
<xs:documentation>GP DATA TEMPLATE HEADER INDICATOR</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ep" type="Condition-Episodicity-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>PROBLEM EPISODICITY</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Observation-Attributes/@v1
type decimal-primitive
properties
use optional
facets
Kind Value Annotation
pattern -?([0]|([1-9][0-9]*))(\.[0-9]+)?
annotation
documentation
CLINICAL INVESTIGATION RESULT VALUE
source <xs:attribute name="v1" type="fhir:decimal-primitive" use="optional">
 
<xs:annotation>
   
<xs:documentation>CLINICAL INVESTIGATION RESULT VALUE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Observation-Attributes/@v2
type decimal-primitive
properties
use optional
facets
Kind Value Annotation
pattern -?([0]|([1-9][0-9]*))(\.[0-9]+)?
annotation
documentation
CLINICAL INVESTIGATION RESULT VALUE
source <xs:attribute name="v2" type="fhir:decimal-primitive" use="optional">
 
<xs:annotation>
   
<xs:documentation>CLINICAL INVESTIGATION RESULT VALUE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Observation-Attributes/@um
type ns:UoM-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 512
annotation
documentation
UNIT OF MEASURE
source <xs:attribute name="um" type="UoM-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>UNIT OF MEASURE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Observation-Attributes/@uu
type ns:UoM-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 512
annotation
documentation
UCUM UNIT OF MEASURE
source <xs:attribute name="uu" type="UoM-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>UCUM UNIT OF MEASURE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Observation-Attributes/@co
type ns:Comparator-Type
properties
use optional
facets
Kind Value Annotation
enumeration &lt;=
enumeration &gt;=
enumeration &lt;
enumeration &gt;
enumeration ~
annotation
documentation
CLINICAL INVESTIGATION RESULT COMPARATOR
source <xs:attribute name="co" type="Comparator-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>CLINICAL INVESTIGATION RESULT COMPARATOR</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Observation-Attributes/@rl
type decimal-primitive
properties
use optional
facets
Kind Value Annotation
pattern -?([0]|([1-9][0-9]*))(\.[0-9]+)?
annotation
documentation
REFERENCE LIMIT LOWER QUANTITY
source <xs:attribute name="rl" type="fhir:decimal-primitive" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERENCE LIMIT LOWER QUANTITY</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Observation-Attributes/@ru
type decimal-primitive
properties
use optional
facets
Kind Value Annotation
pattern -?([0]|([1-9][0-9]*))(\.[0-9]+)?
annotation
documentation
REFERENCE LIMIT UPPER QUANTITY
source <xs:attribute name="ru" type="fhir:decimal-primitive" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERENCE LIMIT UPPER QUANTITY</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Observation-Attributes/@ic
type ns:Interpretation-Code-Type
properties
use optional
facets
Kind Value Annotation
enumeration H
enumeration L
enumeration OR
enumeration PA
annotation
documentation
DEVIATING RESULT ENTRY
source <xs:attribute name="ic" type="Interpretation-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>DEVIATING RESULT ENTRY</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Observation-Attributes/@vs
type ns:Value-String-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 256
annotation
documentation
OBSERVATION TEXT VALUE
source <xs:attribute name="vs" type="Value-String-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>OBSERVATION TEXT VALUE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Observation-Attributes/@vd
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
OBSERVATION DATE TIME VALUE
source <xs:attribute name="vd" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>OBSERVATION DATE TIME VALUE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Observation-Attributes/@ith
type xs:boolean
properties
use optional
fixed true
annotation
documentation
GP DATA TEMPLATE HEADER INDICATOR
source <xs:attribute name="ith" type="xs:boolean" use="optional" fixed="true">
 
<xs:annotation>
   
<xs:documentation>GP DATA TEMPLATE HEADER INDICATOR</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Observation-Attributes/@ep
type ns:Condition-Episodicity-Type
properties
use optional
facets
Kind Value Annotation
enumeration end
enumeration first
enumeration new
enumeration review
annotation
documentation
PROBLEM EPISODICITY
source <xs:attribute name="ep" type="Condition-Episodicity-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>PROBLEM EPISODICITY</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Optional-Event-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexTypes Allergy-Table-Type Medication-Table-Type Observation-Table-Type Problem-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
ed  ns:GPData-dateTime  optional      
documentation
EFFECTIVE DATE
end  ns:GPData-dateTime  optional      
documentation
EFFECTIVE END DATE
tid  ns:UUID-Type  optional      
documentation
REFERENCE TO TEMPLATE HEADER
annotation
documentation
The common set of optional attributes associated with all 'event' level attributes
source <xs:attributeGroup name="Optional-Event-Attributes">
 
<xs:annotation>
   
<xs:documentation>The common set of optional attributes associated with all 'event' level attributes</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="df" type="xs:boolean" use="optional" fixed="true">
   
<xs:annotation>
     
<xs:documentation>GP DATA RESOURCE DELETION FLAG</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ed" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>EFFECTIVE DATE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="end" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>EFFECTIVE END DATE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="tid" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERENCE TO TEMPLATE HEADER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Optional-Event-Attributes/@df
type xs:boolean
properties
use optional
fixed true
annotation
documentation
GP DATA RESOURCE DELETION FLAG
source <xs:attribute name="df" type="xs:boolean" use="optional" fixed="true">
 
<xs:annotation>
   
<xs:documentation>GP DATA RESOURCE DELETION FLAG</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Optional-Event-Attributes/@ed
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
EFFECTIVE DATE
source <xs:attribute name="ed" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>EFFECTIVE DATE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Optional-Event-Attributes/@end
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
EFFECTIVE END DATE
source <xs:attribute name="end" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>EFFECTIVE END DATE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Optional-Event-Attributes/@tid
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
REFERENCE TO TEMPLATE HEADER
source <xs:attribute name="tid" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERENCE TO TEMPLATE HEADER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Organisation-Table-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Organisation-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
EXTRACT LOCAL ORGANISATION IDENTIFIER
nm  ns:Org-Name-Type  optional      
documentation
ORGANISATION NAME
oc  ns:Org-Code-Type  optional      
documentation
ODS ORGANISATION CODE
rl  ns:ODS-Org-Role-Type  optional      
documentation
ODS ORGANISATION CODE
lc  ns:Local-Org-Code-Type  optional      
documentation
LOCAL ORGANISATION CODE
tp  ns:Local-Org-Type-Type  optional      
documentation
LOCAL ORGANISATION TYPE
po  ns:UUID-Type  optional      
documentation
PARENT ORGANISATION
sp  ns:Main-Specialty-Code-Type  optional      
documentation
MAIN SPECIALTY CODE
ls  ns:Local-Specialty-Name-Type  optional      
documentation
MAIN SPECIALTY CODE
al1  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 1
al2  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 2
al3  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 3
al4  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 4
al5  ns:Unstructured-Address-Line-Type  optional      
documentation
ADDRESS LINE 5
annotation
documentation
Attributes for Organisation-Table ort element
source <xs:attributeGroup name="Organisation-Table-Attributes">
 
<xs:annotation>
   
<xs:documentation>Attributes for Organisation-Table ort element</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="id" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>EXTRACT LOCAL ORGANISATION IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="nm" type="Org-Name-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>ORGANISATION NAME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="oc" type="Org-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>ODS ORGANISATION CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rl" type="ODS-Org-Role-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>ODS ORGANISATION CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="lc" type="Local-Org-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>LOCAL ORGANISATION CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="tp" type="Local-Org-Type-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>LOCAL ORGANISATION TYPE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="po" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>PARENT ORGANISATION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sp" type="Main-Specialty-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>MAIN SPECIALTY CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ls" type="Local-Specialty-Name-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>MAIN SPECIALTY CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="al1" type="Unstructured-Address-Line-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>ADDRESS LINE 1</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="al2" type="Unstructured-Address-Line-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>ADDRESS LINE 2</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="al3" type="Unstructured-Address-Line-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>ADDRESS LINE 3</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="al4" type="Unstructured-Address-Line-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>ADDRESS LINE 4</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="al5" type="Unstructured-Address-Line-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>ADDRESS LINE 5</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Organisation-Table-Attributes/@id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
EXTRACT LOCAL ORGANISATION IDENTIFIER
source <xs:attribute name="id" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>EXTRACT LOCAL ORGANISATION IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Organisation-Table-Attributes/@nm
type ns:Org-Name-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
ORGANISATION NAME
source <xs:attribute name="nm" type="Org-Name-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>ORGANISATION NAME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Organisation-Table-Attributes/@oc
type ns:Org-Code-Type
properties
use optional
facets
Kind Value Annotation
minLength 3
maxLength 12
annotation
documentation
ODS ORGANISATION CODE
source <xs:attribute name="oc" type="Org-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>ODS ORGANISATION CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Organisation-Table-Attributes/@rl
type ns:ODS-Org-Role-Type
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{2,3}
annotation
documentation
ODS ORGANISATION CODE
source <xs:attribute name="rl" type="ODS-Org-Role-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>ODS ORGANISATION CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Organisation-Table-Attributes/@lc
type ns:Local-Org-Code-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
LOCAL ORGANISATION CODE
source <xs:attribute name="lc" type="Local-Org-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>LOCAL ORGANISATION CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Organisation-Table-Attributes/@tp
type ns:Local-Org-Type-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
LOCAL ORGANISATION TYPE
source <xs:attribute name="tp" type="Local-Org-Type-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>LOCAL ORGANISATION TYPE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Organisation-Table-Attributes/@po
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
PARENT ORGANISATION
source <xs:attribute name="po" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>PARENT ORGANISATION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Organisation-Table-Attributes/@sp
type ns:Main-Specialty-Code-Type
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{3}
annotation
documentation
MAIN SPECIALTY CODE
source <xs:attribute name="sp" type="Main-Specialty-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>MAIN SPECIALTY CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Organisation-Table-Attributes/@ls
type ns:Local-Specialty-Name-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 255
annotation
documentation
MAIN SPECIALTY CODE
source <xs:attribute name="ls" type="Local-Specialty-Name-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>MAIN SPECIALTY CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Organisation-Table-Attributes/@al1
type ns:Unstructured-Address-Line-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 150
annotation
documentation
ADDRESS LINE 1
source <xs:attribute name="al1" type="Unstructured-Address-Line-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>ADDRESS LINE 1</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Organisation-Table-Attributes/@al2
type ns:Unstructured-Address-Line-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 150
annotation
documentation
ADDRESS LINE 2
source <xs:attribute name="al2" type="Unstructured-Address-Line-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>ADDRESS LINE 2</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Organisation-Table-Attributes/@al3
type ns:Unstructured-Address-Line-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 150
annotation
documentation
ADDRESS LINE 3
source <xs:attribute name="al3" type="Unstructured-Address-Line-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>ADDRESS LINE 3</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Organisation-Table-Attributes/@al4
type ns:Unstructured-Address-Line-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 150
annotation
documentation
ADDRESS LINE 4
source <xs:attribute name="al4" type="Unstructured-Address-Line-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>ADDRESS LINE 4</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Organisation-Table-Attributes/@al5
type ns:Unstructured-Address-Line-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 150
annotation
documentation
ADDRESS LINE 5
source <xs:attribute name="al5" type="Unstructured-Address-Line-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>ADDRESS LINE 5</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Patient-Extract-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType patient-extract-snapshot-type
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
sequence  positiveInt-primitive  optional      
issue-date-time  ns:GPData-dateTime  required      
registration-id  ns:UUID-Type  required      
continuity-hint  xs:boolean  required      
patient-id-deid  ns:DEID-Transit-Token-Type  optional      
local-id-deid  ns:DEID-Transit-Token-Type  optional      
annotation
documentation
Attributes for patient-extract element
source <xs:attributeGroup name="Patient-Extract-Attributes">
 
<xs:annotation>
   
<xs:documentation>Attributes for patient-extract element</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="id" type="UUID-Type" use="required"/>
 
<xs:attribute name="sequence" type="fhir:positiveInt-primitive" use="optional"/>
 
<xs:attribute name="issue-date-time" type="GPData-dateTime" use="required"/>
 
<xs:attribute name="registration-id" type="UUID-Type" use="required"/>
 
<xs:attribute name="continuity-hint" type="xs:boolean" use="required"/>
 
<xs:attribute name="patient-id-deid" type="DEID-Transit-Token-Type" use="optional"/>
 
<xs:attribute name="local-id-deid" type="DEID-Transit-Token-Type" use="optional"/>
</xs:attributeGroup>

attribute Patient-Extract-Attributes/@id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
source <xs:attribute name="id" type="UUID-Type" use="required"/>

attribute Patient-Extract-Attributes/@sequence
type positiveInt-primitive
properties
use optional
facets
Kind Value Annotation
pattern [1-9][0-9]*
source <xs:attribute name="sequence" type="fhir:positiveInt-primitive" use="optional"/>

attribute Patient-Extract-Attributes/@issue-date-time
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
source <xs:attribute name="issue-date-time" type="GPData-dateTime" use="required"/>

attribute Patient-Extract-Attributes/@registration-id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
source <xs:attribute name="registration-id" type="UUID-Type" use="required"/>

attribute Patient-Extract-Attributes/@continuity-hint
type xs:boolean
properties
use required
source <xs:attribute name="continuity-hint" type="xs:boolean" use="required"/>

attribute Patient-Extract-Attributes/@patient-id-deid
type ns:DEID-Transit-Token-Type
properties
use optional
facets
Kind Value Annotation
length 200
source <xs:attribute name="patient-id-deid" type="DEID-Transit-Token-Type" use="optional"/>

attribute Patient-Extract-Attributes/@local-id-deid
type ns:DEID-Transit-Token-Type
properties
use optional
facets
Kind Value Annotation
length 200
source <xs:attribute name="local-id-deid" type="DEID-Transit-Token-Type" use="optional"/>

attributeGroup Patient-Table-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Patient-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
pidd  ns:DEID-Transit-Token-Type  optional      
documentation
NHS NUMBER DE-IDENTIFIED TRANSIT TOKEN
lid  ns:DEID-Transit-Token-Type  optional      
documentation
LOCAL PATIENT IDENTIFIER DE-IDENTIFIED TRANSIT TOKEN
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
pd  ns:DEID-Transit-Token-Type  optional      
documentation
POSTCODE OF USUAL ADDRESS DE_IDENTIFIED TRANSIT TOKEN
ps  ns:Postcode-Sector-Type  optional      
documentation
POSTCODE OF USUAL ADDRESS DERIVED TO SECTOR PRECISION
lsoa  ns:LSOA-Type  optional      
documentation
LOWER LAYER SUPER OUTPUT AREA
ddd  ns:DEID-Transit-Token-Type  optional      
documentation
PERSON DEATH DATE AND TIME DE-IDENTIFIED TRANSIT TOKEN
wd  ns:WOYY-Type  optional      
documentation
PERSON DEATH DATE AND TIME DERIVED WEEK AND YEAR OF DEATH
rgd  ns:GPData-dateTime  required      
documentation
START DATE AND TIME (GMP PATIENT REGISTRATION)
red  ns:GPData-dateTime  optional      
documentation
END DATE AND TIME (GMP PATIENT REGISTRATION)
rt  ns:Registration-Type  required      
documentation
REGISTRATION TYPE
srt  ns:Source-Registration-Type  required      
documentation
REGISTRATION TYPE AT SOURCE
rs  xs:boolean  required      
documentation
REGISTRATION STATUS
dbd  ns:DEID-Transit-Token-Type  required      
documentation
PERSON BIRTH DATE DE-IDENTIFIED TRANSIT TOKEN
wb  ns:WOYY-Type  required      
documentation
PERSON BIRTH DATE DERIVED TO WEEK AND YEAR OF BIRTH
g  ns:Gender-Type  required      
documentation
PERSON STATED GENDER CODE
so  ns:Sexual-Orientation-Type  optional      
documentation
PERSON STATED SEXUAL ORIENTATION CODE
ec  ns:SCT-Identifier-Type  optional      
documentation
PDS ETHNIC CATEGORY CODE
lp  ns:SCT-Identifier-Type  optional      
documentation
LANGUAGE CODE(PREFERRED)
ir  xs:boolean  optional      
documentation
INTERPRETER REQUIRED
ng  ns:UUID-Type  optional      
documentation
GENERAL MEDICAL PRACTITIONER (SPECIFIED)
p  ns:UUID-Type  required      
documentation
REFERENCE TO ORGANISATION HOLDING PATIENTS REGISTRATION
oas  xs:boolean  optional      
documentation
PATIENT ON-LINE APPOINTMENT BOOKING STATUS
ops  xs:boolean  optional      
documentation
PATIENT ON-LINE PRESCRIPTION REQUEST STATUS
ors  xs:boolean  optional      
documentation
PATIENT ON-LINE RECORD ACCESS
annotation
documentation
Attributes for Patient-Table element
source <xs:attributeGroup name="Patient-Table-Attributes">
 
<xs:annotation>
   
<xs:documentation>Attributes for Patient-Table element</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="id" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA PATIENT REGISTRATION IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="pidd" type="DEID-Transit-Token-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>NHS NUMBER DE-IDENTIFIED TRANSIT TOKEN</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="lid" type="DEID-Transit-Token-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>LOCAL PATIENT IDENTIFIER DE-IDENTIFIED TRANSIT TOKEN</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rd" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>DATE RECORDED</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="pd" type="DEID-Transit-Token-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>POSTCODE OF USUAL ADDRESS DE_IDENTIFIED TRANSIT TOKEN</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ps" type="Postcode-Sector-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>POSTCODE OF USUAL ADDRESS DERIVED TO SECTOR PRECISION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="lsoa" type="LSOA-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>LOWER LAYER SUPER OUTPUT AREA</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ddd" type="DEID-Transit-Token-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>PERSON DEATH DATE AND TIME DE-IDENTIFIED TRANSIT TOKEN</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="wd" type="WOYY-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>PERSON DEATH DATE AND TIME DERIVED WEEK AND YEAR OF DEATH</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rgd" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>START DATE AND TIME (GMP PATIENT REGISTRATION)</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="red" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>END DATE AND TIME (GMP PATIENT REGISTRATION)</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rt" type="Registration-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>REGISTRATION TYPE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="srt" type="Source-Registration-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>REGISTRATION TYPE AT SOURCE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rs" type="xs:boolean" use="required">
   
<xs:annotation>
     
<xs:documentation>REGISTRATION STATUS</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="dbd" type="DEID-Transit-Token-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>PERSON BIRTH DATE DE-IDENTIFIED TRANSIT TOKEN</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="wb" type="WOYY-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>PERSON BIRTH DATE DERIVED TO WEEK AND YEAR OF BIRTH</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="g" type="Gender-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>PERSON STATED GENDER CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="so" type="Sexual-Orientation-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>PERSON STATED SEXUAL ORIENTATION CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ec" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>PDS ETHNIC CATEGORY CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="lp" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>LANGUAGE CODE(PREFERRED)</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ir" type="xs:boolean" use="optional">
   
<xs:annotation>
     
<xs:documentation>INTERPRETER REQUIRED</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ng" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>GENERAL MEDICAL PRACTITIONER (SPECIFIED)</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="p" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>REFERENCE TO ORGANISATION HOLDING PATIENTS REGISTRATION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="oas" type="xs:boolean" use="optional">
   
<xs:annotation>
     
<xs:documentation>PATIENT ON-LINE APPOINTMENT BOOKING STATUS</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ops" type="xs:boolean" use="optional">
   
<xs:annotation>
     
<xs:documentation>PATIENT ON-LINE PRESCRIPTION REQUEST STATUS</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ors" type="xs:boolean" use="optional">
   
<xs:annotation>
     
<xs:documentation>PATIENT ON-LINE RECORD ACCESS</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Patient-Table-Attributes/@id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
source <xs:attribute name="id" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA PATIENT REGISTRATION IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@pidd
type ns:DEID-Transit-Token-Type
properties
use optional
facets
Kind Value Annotation
length 200
annotation
documentation
NHS NUMBER DE-IDENTIFIED TRANSIT TOKEN
source <xs:attribute name="pidd" type="DEID-Transit-Token-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>NHS NUMBER DE-IDENTIFIED TRANSIT TOKEN</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@lid
type ns:DEID-Transit-Token-Type
properties
use optional
facets
Kind Value Annotation
length 200
annotation
documentation
LOCAL PATIENT IDENTIFIER DE-IDENTIFIED TRANSIT TOKEN
source <xs:attribute name="lid" type="DEID-Transit-Token-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>LOCAL PATIENT IDENTIFIER DE-IDENTIFIED TRANSIT TOKEN</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@rd
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
DATE RECORDED
source <xs:attribute name="rd" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>DATE RECORDED</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@pd
type ns:DEID-Transit-Token-Type
properties
use optional
facets
Kind Value Annotation
length 200
annotation
documentation
POSTCODE OF USUAL ADDRESS DE_IDENTIFIED TRANSIT TOKEN
source <xs:attribute name="pd" type="DEID-Transit-Token-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>POSTCODE OF USUAL ADDRESS DE_IDENTIFIED TRANSIT TOKEN</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@ps
type ns:Postcode-Sector-Type
properties
use optional
facets
Kind Value Annotation
minLength 3
maxLength 6
annotation
documentation
POSTCODE OF USUAL ADDRESS DERIVED TO SECTOR PRECISION
source <xs:attribute name="ps" type="Postcode-Sector-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>POSTCODE OF USUAL ADDRESS DERIVED TO SECTOR PRECISION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@lsoa
type ns:LSOA-Type
properties
use optional
facets
Kind Value Annotation
maxLength 9
annotation
documentation
LOWER LAYER SUPER OUTPUT AREA
source <xs:attribute name="lsoa" type="LSOA-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>LOWER LAYER SUPER OUTPUT AREA</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@ddd
type ns:DEID-Transit-Token-Type
properties
use optional
facets
Kind Value Annotation
length 200
annotation
documentation
PERSON DEATH DATE AND TIME DE-IDENTIFIED TRANSIT TOKEN
source <xs:attribute name="ddd" type="DEID-Transit-Token-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>PERSON DEATH DATE AND TIME DE-IDENTIFIED TRANSIT TOKEN</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@wd
type ns:WOYY-Type
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{6}
annotation
documentation
PERSON DEATH DATE AND TIME DERIVED WEEK AND YEAR OF DEATH
source <xs:attribute name="wd" type="WOYY-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>PERSON DEATH DATE AND TIME DERIVED WEEK AND YEAR OF DEATH</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@rgd
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
START DATE AND TIME (GMP PATIENT REGISTRATION)
source <xs:attribute name="rgd" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>START DATE AND TIME (GMP PATIENT REGISTRATION)</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@red
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
END DATE AND TIME (GMP PATIENT REGISTRATION)
source <xs:attribute name="red" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>END DATE AND TIME (GMP PATIENT REGISTRATION)</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@rt
type ns:Registration-Type
properties
use required
facets
Kind Value Annotation
enumeration E
enumeration IN
enumeration O
enumeration P
enumeration R
enumeration S
enumeration T
annotation
documentation
REGISTRATION TYPE
source <xs:attribute name="rt" type="Registration-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>REGISTRATION TYPE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@srt
type ns:Source-Registration-Type
properties
use required
facets
Kind Value Annotation
minLength 1
maxLength 64
annotation
documentation
REGISTRATION TYPE AT SOURCE
source <xs:attribute name="srt" type="Source-Registration-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>REGISTRATION TYPE AT SOURCE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@rs
type xs:boolean
properties
use required
annotation
documentation
REGISTRATION STATUS
source <xs:attribute name="rs" type="xs:boolean" use="required">
 
<xs:annotation>
   
<xs:documentation>REGISTRATION STATUS</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@dbd
type ns:DEID-Transit-Token-Type
properties
use required
facets
Kind Value Annotation
length 200
annotation
documentation
PERSON BIRTH DATE DE-IDENTIFIED TRANSIT TOKEN
source <xs:attribute name="dbd" type="DEID-Transit-Token-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>PERSON BIRTH DATE DE-IDENTIFIED TRANSIT TOKEN</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@wb
type ns:WOYY-Type
properties
use required
facets
Kind Value Annotation
pattern [0-9]{6}
annotation
documentation
PERSON BIRTH DATE DERIVED TO WEEK AND YEAR OF BIRTH
source <xs:attribute name="wb" type="WOYY-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>PERSON BIRTH DATE DERIVED TO WEEK AND YEAR OF BIRTH</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@g
type ns:Gender-Type
properties
use required
facets
Kind Value Annotation
enumeration 0
enumeration 1
enumeration 2
enumeration 9
annotation
documentation
PERSON STATED GENDER CODE
source <xs:attribute name="g" type="Gender-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>PERSON STATED GENDER CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@so
type ns:Sexual-Orientation-Type
properties
use optional
facets
Kind Value Annotation
enumeration 1
enumeration 2
enumeration 3
enumeration 4
enumeration U
enumeration Z
enumeration 9
annotation
documentation
PERSON STATED SEXUAL ORIENTATION CODE
source <xs:attribute name="so" type="Sexual-Orientation-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>PERSON STATED SEXUAL ORIENTATION CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@ec
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
PDS ETHNIC CATEGORY CODE
source <xs:attribute name="ec" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>PDS ETHNIC CATEGORY CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@lp
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
LANGUAGE CODE(PREFERRED)
source <xs:attribute name="lp" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>LANGUAGE CODE(PREFERRED)</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@ir
type xs:boolean
properties
use optional
annotation
documentation
INTERPRETER REQUIRED
source <xs:attribute name="ir" type="xs:boolean" use="optional">
 
<xs:annotation>
   
<xs:documentation>INTERPRETER REQUIRED</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@ng
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
GENERAL MEDICAL PRACTITIONER (SPECIFIED)
source <xs:attribute name="ng" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>GENERAL MEDICAL PRACTITIONER (SPECIFIED)</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@p
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
REFERENCE TO ORGANISATION HOLDING PATIENTS REGISTRATION
source <xs:attribute name="p" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>REFERENCE TO ORGANISATION HOLDING PATIENTS REGISTRATION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@oas
type xs:boolean
properties
use optional
annotation
documentation
PATIENT ON-LINE APPOINTMENT BOOKING STATUS
source <xs:attribute name="oas" type="xs:boolean" use="optional">
 
<xs:annotation>
   
<xs:documentation>PATIENT ON-LINE APPOINTMENT BOOKING STATUS</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@ops
type xs:boolean
properties
use optional
annotation
documentation
PATIENT ON-LINE PRESCRIPTION REQUEST STATUS
source <xs:attribute name="ops" type="xs:boolean" use="optional">
 
<xs:annotation>
   
<xs:documentation>PATIENT ON-LINE PRESCRIPTION REQUEST STATUS</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Patient-Table-Attributes/@ors
type xs:boolean
properties
use optional
annotation
documentation
PATIENT ON-LINE RECORD ACCESS
source <xs:attribute name="ors" type="xs:boolean" use="optional">
 
<xs:annotation>
   
<xs:documentation>PATIENT ON-LINE RECORD ACCESS</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup practice-extract-attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
element practice-extract
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PRACTICE EXTRACT IDENTIFIER
issue-date-time  ns:GPData-dateTime  required      
documentation
GP DATA PRACTICE EXTRACT CREATION DATE AND TIME
source-system  ns:Source-Type  required      
documentation
PRIMARY DATA COLLECTION SYSTEM IN USE
source-version  ns:Source-Type  required      
documentation
PRIMARY DATA COLLECTION SYSTEM IN USE (VERSION)
supplier-provider-id  ns:Source-Type  optional      
documentation
SUPPLIER ALLOCATED PROVIDER IDENTIFIER
provider-id  ns:Org-Code-Type  required      
documentation
ORGANISATION IDENTIFIER (CODE OF PROVIDER)
annotation
documentation
Attributes for practice-extract element
source <xs:attributeGroup name="practice-extract-attributes">
 
<xs:annotation>
   
<xs:documentation>Attributes for practice-extract element</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="id" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA PRACTICE EXTRACT IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="issue-date-time" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA PRACTICE EXTRACT CREATION DATE AND TIME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="source-system" type="Source-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>PRIMARY DATA COLLECTION SYSTEM IN USE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="source-version" type="Source-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>PRIMARY DATA COLLECTION SYSTEM IN USE (VERSION)</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="supplier-provider-id" type="Source-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SUPPLIER ALLOCATED PROVIDER IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="provider-id" type="Org-Code-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>ORGANISATION IDENTIFIER (CODE OF PROVIDER)</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute practice-extract-attributes/@id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
GP DATA PRACTICE EXTRACT IDENTIFIER
source <xs:attribute name="id" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA PRACTICE EXTRACT IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute practice-extract-attributes/@issue-date-time
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
GP DATA PRACTICE EXTRACT CREATION DATE AND TIME
source <xs:attribute name="issue-date-time" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA PRACTICE EXTRACT CREATION DATE AND TIME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute practice-extract-attributes/@source-system
type ns:Source-Type
properties
use required
facets
Kind Value Annotation
minLength 1
maxLength 36
annotation
documentation
PRIMARY DATA COLLECTION SYSTEM IN USE
source <xs:attribute name="source-system" type="Source-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>PRIMARY DATA COLLECTION SYSTEM IN USE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute practice-extract-attributes/@source-version
type ns:Source-Type
properties
use required
facets
Kind Value Annotation
minLength 1
maxLength 36
annotation
documentation
PRIMARY DATA COLLECTION SYSTEM IN USE (VERSION)
source <xs:attribute name="source-version" type="Source-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>PRIMARY DATA COLLECTION SYSTEM IN USE (VERSION)</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute practice-extract-attributes/@supplier-provider-id
type ns:Source-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 36
annotation
documentation
SUPPLIER ALLOCATED PROVIDER IDENTIFIER
source <xs:attribute name="supplier-provider-id" type="Source-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SUPPLIER ALLOCATED PROVIDER IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute practice-extract-attributes/@provider-id
type ns:Org-Code-Type
properties
use required
facets
Kind Value Annotation
minLength 3
maxLength 12
annotation
documentation
ORGANISATION IDENTIFIER (CODE OF PROVIDER)
source <xs:attribute name="provider-id" type="Org-Code-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>ORGANISATION IDENTIFIER (CODE OF PROVIDER)</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Practitioner-Table-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Practitioner-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
EXTRACT LOCAL PRACTITIONER IDENTIFIER
oid  ns:UUID-Type  required      
documentation
ORGANISATION CODE
sc  ns:SDS-Job-Role-Codes-Type  optional      
documentation
SDS JOB ROLE CODE
sr  ns:SDS-Role-Profile-ID-Type  optional      
documentation
SDS ROLE PROFILE ID
su  ns:SDS-User-ID-Type  optional      
documentation
SDS USER ID
li  ns:Practitioner-Local-ID-Type  optional      
documentation
CARE PROFESSIONAL LOCAL IDENTIFIER
sp  ns:Main-Specialty-Code-Type  optional      
documentation
MAIN SPECIALITY CODE
lr  ns:Practitioner-Local-Job-Role-Type  optional      
documentation
LOCAL JOB ROLE
ht  ns:GPES-HCP-Type  optional      
documentation
GPES HEALTH CARE PROFESSIONAL TYPE
gn  ns:GMP-Code-Type  optional      
documentation
GENERAL MEDICAL PRACTITIONER PPD CODE
ib  ns:Professional-Registration-Issuer-Code-Type  optional      
documentation
PROFESSIONAL REGISTRATION ISSUER CODE
pi  ns:Professional-Registration-Identifier-Type  optional      
documentation
PROFESSIONAL REGISTRATION IDENTIFIER (MAIN OPERATING CARE PROFESSIONAL)
fn  ns:Person-Name-Type  optional      
documentation
PERSON GIVEN NAME
sn  ns:Person-Name-Type  optional      
documentation
PERSON FAMILY NAME
t  ns:Person-Title-Type  optional      
documentation
PERSON TITLE
annotation
documentation
Attributes for practice-extract element
source <xs:attributeGroup name="Practitioner-Table-Attributes">
 
<xs:annotation>
   
<xs:documentation>Attributes for practice-extract element</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="id" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>EXTRACT LOCAL PRACTITIONER IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="oid" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>ORGANISATION CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sc" type="SDS-Job-Role-Codes-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SDS JOB ROLE CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sr" type="SDS-Role-Profile-ID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SDS ROLE PROFILE ID</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="su" type="SDS-User-ID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>SDS USER ID</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="li" type="Practitioner-Local-ID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>CARE PROFESSIONAL LOCAL IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sp" type="Main-Specialty-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>MAIN SPECIALITY CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="lr" type="Practitioner-Local-Job-Role-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>LOCAL JOB ROLE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ht" type="GPES-HCP-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>GPES HEALTH CARE PROFESSIONAL TYPE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="gn" type="GMP-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>GENERAL MEDICAL PRACTITIONER PPD CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ib" type="Professional-Registration-Issuer-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>PROFESSIONAL REGISTRATION ISSUER CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="pi" type="Professional-Registration-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>PROFESSIONAL REGISTRATION IDENTIFIER (MAIN OPERATING CARE PROFESSIONAL)</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="fn" type="Person-Name-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>PERSON GIVEN NAME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sn" type="Person-Name-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>PERSON FAMILY NAME</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="t" type="Person-Title-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>PERSON TITLE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Practitioner-Table-Attributes/@id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
EXTRACT LOCAL PRACTITIONER IDENTIFIER
source <xs:attribute name="id" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>EXTRACT LOCAL PRACTITIONER IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@oid
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
ORGANISATION CODE
source <xs:attribute name="oid" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>ORGANISATION CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@sc
type ns:SDS-Job-Role-Codes-Type
properties
use optional
facets
Kind Value Annotation
length 5
annotation
documentation
SDS JOB ROLE CODE
source <xs:attribute name="sc" type="SDS-Job-Role-Codes-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SDS JOB ROLE CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@sr
type ns:SDS-Role-Profile-ID-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 256
pattern [0-9]{1,256}
annotation
documentation
SDS ROLE PROFILE ID
source <xs:attribute name="sr" type="SDS-Role-Profile-ID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SDS ROLE PROFILE ID</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@su
type ns:SDS-User-ID-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 256
pattern [0-9]{1,256}
annotation
documentation
SDS USER ID
source <xs:attribute name="su" type="SDS-User-ID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>SDS USER ID</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@li
type ns:Practitioner-Local-ID-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 20
annotation
documentation
CARE PROFESSIONAL LOCAL IDENTIFIER
source <xs:attribute name="li" type="Practitioner-Local-ID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>CARE PROFESSIONAL LOCAL IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@sp
type ns:Main-Specialty-Code-Type
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{3}
annotation
documentation
MAIN SPECIALITY CODE
source <xs:attribute name="sp" type="Main-Specialty-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>MAIN SPECIALITY CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@lr
type ns:Practitioner-Local-Job-Role-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 300
annotation
documentation
LOCAL JOB ROLE
source <xs:attribute name="lr" type="Practitioner-Local-Job-Role-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>LOCAL JOB ROLE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@ht
type ns:GPES-HCP-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 3
enumeration A
enumeration B
enumeration C
enumeration D
enumeration D06
enumeration D07
enumeration D08
enumeration D09
enumeration D10
enumeration D11
enumeration D12
enumeration D13
enumeration D14
enumeration D15
enumeration D16
enumeration D17
enumeration D18
enumeration D19
annotation
documentation
GPES HEALTH CARE PROFESSIONAL TYPE
source <xs:attribute name="ht" type="GPES-HCP-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>GPES HEALTH CARE PROFESSIONAL TYPE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@gn
type ns:GMP-Code-Type
properties
use optional
facets
Kind Value Annotation
length 8
pattern [GSZ][0-9]{7}
annotation
documentation
GENERAL MEDICAL PRACTITIONER PPD CODE
source <xs:attribute name="gn" type="GMP-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>GENERAL MEDICAL PRACTITIONER PPD CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@ib
type ns:Professional-Registration-Issuer-Code-Type
properties
use optional
facets
Kind Value Annotation
length 2
enumeration 02
enumeration 03
enumeration 08
enumeration 09
annotation
documentation
PROFESSIONAL REGISTRATION ISSUER CODE
source <xs:attribute name="ib" type="Professional-Registration-Issuer-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>PROFESSIONAL REGISTRATION ISSUER CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@pi
type ns:Professional-Registration-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 12
annotation
documentation
PROFESSIONAL REGISTRATION IDENTIFIER (MAIN OPERATING CARE PROFESSIONAL)
source <xs:attribute name="pi" type="Professional-Registration-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>PROFESSIONAL REGISTRATION IDENTIFIER (MAIN OPERATING CARE PROFESSIONAL)</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@fn
type ns:Person-Name-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 100
annotation
documentation
PERSON GIVEN NAME
source <xs:attribute name="fn" type="Person-Name-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>PERSON GIVEN NAME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@sn
type ns:Person-Name-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 100
annotation
documentation
PERSON FAMILY NAME
source <xs:attribute name="sn" type="Person-Name-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>PERSON FAMILY NAME</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Practitioner-Table-Attributes/@t
type ns:Person-Title-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 35
annotation
documentation
PERSON TITLE
source <xs:attribute name="t" type="Person-Title-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>PERSON TITLE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Problem-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Problem-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
sg  ns:Problem-Significance-Type  optional      
documentation
PROBLEM SIGNIFICANCE
st  ns:Problem-Status-Type  required      
documentation
PROBLEM STATUS
ap  ns:UUID-Type  optional      
documentation
REFERENCE TO REAL PROBLEM
pi  ns:UUID-Type  optional      
documentation
REFERENCE TO LINKED PROBLEM
rl  ns:Problem-Relationship-Type  optional      
documentation
TYPE OF PROBLEM RELATIONSHIP
annotation
documentation
The specific attributes associated with Problems
source <xs:attributeGroup name="Problem-Attributes">
 
<xs:annotation>
   
<xs:documentation>The specific attributes associated with Problems</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="sg" type="Problem-Significance-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>PROBLEM SIGNIFICANCE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="st" type="Problem-Status-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>PROBLEM STATUS</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ap" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERENCE TO REAL PROBLEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="pi" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERENCE TO LINKED PROBLEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rl" type="Problem-Relationship-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>TYPE OF PROBLEM RELATIONSHIP</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Problem-Attributes/@sg
type ns:Problem-Significance-Type
properties
use optional
facets
Kind Value Annotation
enumeration major
enumeration minor
annotation
documentation
PROBLEM SIGNIFICANCE
source <xs:attribute name="sg" type="Problem-Significance-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>PROBLEM SIGNIFICANCE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Problem-Attributes/@st
type ns:Problem-Status-Type
properties
use required
facets
Kind Value Annotation
minLength 1
pattern [^\s]+([\s]?[^\s]+)*
enumeration active
enumeration inactive
annotation
documentation
PROBLEM STATUS
source <xs:attribute name="st" type="Problem-Status-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>PROBLEM STATUS</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Problem-Attributes/@ap
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
REFERENCE TO REAL PROBLEM
source <xs:attribute name="ap" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERENCE TO REAL PROBLEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Problem-Attributes/@pi
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
REFERENCE TO LINKED PROBLEM
source <xs:attribute name="pi" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERENCE TO LINKED PROBLEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Problem-Attributes/@rl
type ns:Problem-Relationship-Type
properties
use optional
facets
Kind Value Annotation
enumeration evolve
enumeration merge-combine
enumeration nesting
annotation
documentation
TYPE OF PROBLEM RELATIONSHIP
source <xs:attribute name="rl" type="Problem-Relationship-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>TYPE OF PROBLEM RELATIONSHIP</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Problem-Link-Table-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Problem-Link-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
id  ns:UUID-Type  required      
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
rid  ns:UUID-Type  required      
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
df  xs:boolean  optional    true  
documentation
GP DATA RESOURCE DELETION FLAG
rd  ns:GPData-dateTime  required      
documentation
DATE RECORDED
pid  ns:UUID-Type  required      
documentation
REFERENCE TO LINKED PROBLEM
eid  ns:UUID-Type  required      
documentation
REFERENCE TO LINKED EVENT ENTRY
annotation
documentation
Attributes for Problem-Link-Table
source <xs:attributeGroup name="Problem-Link-Table-Attributes">
 
<xs:annotation>
   
<xs:documentation>Attributes for Problem-Link-Table</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="id" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA PERSISTENT RECORD IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rid" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>GP DATA PATIENT REGISTRATION IDENTIFIER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="df" type="xs:boolean" use="optional" fixed="true">
   
<xs:annotation>
     
<xs:documentation>GP DATA RESOURCE DELETION FLAG</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="rd" type="GPData-dateTime" use="required">
   
<xs:annotation>
     
<xs:documentation>DATE RECORDED</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="pid" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>REFERENCE TO LINKED PROBLEM</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="eid" type="UUID-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>REFERENCE TO LINKED EVENT ENTRY</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Problem-Link-Table-Attributes/@id
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
GP DATA PERSISTENT RECORD IDENTIFIER
source <xs:attribute name="id" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA PERSISTENT RECORD IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Problem-Link-Table-Attributes/@rid
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
GP DATA PATIENT REGISTRATION IDENTIFIER
source <xs:attribute name="rid" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>GP DATA PATIENT REGISTRATION IDENTIFIER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Problem-Link-Table-Attributes/@df
type xs:boolean
properties
use optional
fixed true
annotation
documentation
GP DATA RESOURCE DELETION FLAG
source <xs:attribute name="df" type="xs:boolean" use="optional" fixed="true">
 
<xs:annotation>
   
<xs:documentation>GP DATA RESOURCE DELETION FLAG</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Problem-Link-Table-Attributes/@rd
type ns:GPData-dateTime
properties
use required
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
DATE RECORDED
source <xs:attribute name="rd" type="GPData-dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation>DATE RECORDED</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Problem-Link-Table-Attributes/@pid
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
REFERENCE TO LINKED PROBLEM
source <xs:attribute name="pid" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>REFERENCE TO LINKED PROBLEM</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Problem-Link-Table-Attributes/@eid
type ns:UUID-Type
properties
use required
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
REFERENCE TO LINKED EVENT ENTRY
source <xs:attribute name="eid" type="UUID-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>REFERENCE TO LINKED EVENT ENTRY</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup Referral-Attributes
namespace http://www.nhsdigital.nhs.uk/GPDFSU/XMLSchema/GPDataExtract/ns
used by
complexType Referral-Table-Type
attributes
Name  Type  Use  Default  Fixed  Annotation
ub  ns:UBRN-Type  optional      
documentation
UNIQUE BOOKING REFERENCE NUMBER
ad  ns:GPData-dateTime  optional      
documentation
REFERRAL ACTION DATE
pr  ns:Referral-Priority-Type  optional      
documentation
PRIORITY TYPE
src  ns:Referral-Source  optional      
documentation
REFERRAL SOURCE
svc  ns:SCT-Identifier-Type  optional      
documentation
REFERRAL SERVICE REQUESTED
dir  ns:Referral-Direction-Type  required      
documentation
REFERRAL INBOUND OR OUTBOUND
sp  ns:Treatment-Function-Code-Type  optional      
documentation
TREATMENT FUNCTION CODE
tp  ns:UUID-Type  optional      
documentation
REFERRAL RECIPIENT PERSON
to  ns:UUID-Type  optional      
documentation
REFERENCE REFERRAL RECIPIENT ORGANISATION
otc  ns:UUID-Type  optional      
documentation
REFERENCE TO REFERRAL OUTCOME OBSERVATION
opr  ns:Original-Priority-Type  optional      
documentation
REFERRAL PRIORITY AT SOURCE
typ  ns:Referral-Type-Code  optional      
documentation
REFERRAL TYPE CODE
otyp  ns:Original-Referral-Type  optional      
documentation
REFERRAL TYPE AT SOURCE
osvc  ns:Original-Referral-Service-Type  optional      
documentation
REFERRAL SERVICE REQUESTED AT SOURCE
orsn  ns:Original-Referral-Reason-Type  optional      
documentation
OTHER REASON FOR REFERRAL
annotation
documentation
The specific attributes associated with Problems
source <xs:attributeGroup name="Referral-Attributes">
 
<xs:annotation>
   
<xs:documentation>The specific attributes associated with Problems</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="ub" type="UBRN-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>UNIQUE BOOKING REFERENCE NUMBER</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="ad" type="GPData-dateTime" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERRAL ACTION DATE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="pr" type="Referral-Priority-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>PRIORITY TYPE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="src" type="Referral-Source" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERRAL SOURCE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="svc" type="SCT-Identifier-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERRAL SERVICE REQUESTED</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="dir" type="Referral-Direction-Type" use="required">
   
<xs:annotation>
     
<xs:documentation>REFERRAL INBOUND OR OUTBOUND</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="sp" type="Treatment-Function-Code-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>TREATMENT FUNCTION CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="tp" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERRAL RECIPIENT PERSON</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="to" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERENCE REFERRAL RECIPIENT ORGANISATION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="otc" type="UUID-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERENCE TO REFERRAL OUTCOME OBSERVATION</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="opr" type="Original-Priority-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERRAL PRIORITY AT SOURCE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="typ" type="Referral-Type-Code" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERRAL TYPE CODE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="otyp" type="Original-Referral-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERRAL TYPE AT SOURCE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="osvc" type="Original-Referral-Service-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>REFERRAL SERVICE REQUESTED AT SOURCE</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="orsn" type="Original-Referral-Reason-Type" use="optional">
   
<xs:annotation>
     
<xs:documentation>OTHER REASON FOR REFERRAL</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute Referral-Attributes/@ub
type ns:UBRN-Type
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{12}
annotation
documentation
UNIQUE BOOKING REFERENCE NUMBER
source <xs:attribute name="ub" type="UBRN-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>UNIQUE BOOKING REFERENCE NUMBER</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@ad
type ns:GPData-dateTime
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{4}-(0[1-9]|1[0-2])-((0[0-9]|[1-2][0-9]|3[0-1]))T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]{0,3})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
annotation
documentation
REFERRAL ACTION DATE
source <xs:attribute name="ad" type="GPData-dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERRAL ACTION DATE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@pr
type ns:Referral-Priority-Type
properties
use optional
facets
Kind Value Annotation
length 1
enumeration 1
enumeration 2
enumeration 3
annotation
documentation
PRIORITY TYPE
source <xs:attribute name="pr" type="Referral-Priority-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>PRIORITY TYPE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@src
type ns:Referral-Source
properties
use optional
facets
Kind Value Annotation
length 2
enumeration 01
enumeration 02
enumeration 03
enumeration 04
enumeration 05
enumeration 06
enumeration 07
enumeration 08
enumeration 09
enumeration 10
enumeration 11
enumeration 12
enumeration 13
enumeration 14
enumeration 15
enumeration 16
enumeration 17
enumeration 18
enumeration 19
enumeration 20
enumeration 21
enumeration 22
enumeration 23
annotation
documentation
REFERRAL SOURCE
source <xs:attribute name="src" type="Referral-Source" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERRAL SOURCE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@svc
type ns:SCT-Identifier-Type
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
annotation
documentation
REFERRAL SERVICE REQUESTED
source <xs:attribute name="svc" type="SCT-Identifier-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERRAL SERVICE REQUESTED</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@dir
type ns:Referral-Direction-Type
properties
use required
facets
Kind Value Annotation
enumeration in
enumeration out
annotation
documentation
REFERRAL INBOUND OR OUTBOUND
source <xs:attribute name="dir" type="Referral-Direction-Type" use="required">
 
<xs:annotation>
   
<xs:documentation>REFERRAL INBOUND OR OUTBOUND</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@sp
type ns:Treatment-Function-Code-Type
properties
use optional
facets
Kind Value Annotation
pattern [0-9]{3}
annotation
documentation
TREATMENT FUNCTION CODE
source <xs:attribute name="sp" type="Treatment-Function-Code-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>TREATMENT FUNCTION CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@tp
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
REFERRAL RECIPIENT PERSON
source <xs:attribute name="tp" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERRAL RECIPIENT PERSON</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@to
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
REFERENCE REFERRAL RECIPIENT ORGANISATION
source <xs:attribute name="to" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERENCE REFERRAL RECIPIENT ORGANISATION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@otc
type ns:UUID-Type
properties
use optional
facets
Kind Value Annotation
length 36
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
REFERENCE TO REFERRAL OUTCOME OBSERVATION
source <xs:attribute name="otc" type="UUID-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERENCE TO REFERRAL OUTCOME OBSERVATION</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@opr
type ns:Original-Priority-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 32
annotation
documentation
REFERRAL PRIORITY AT SOURCE
source <xs:attribute name="opr" type="Original-Priority-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERRAL PRIORITY AT SOURCE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@typ
type ns:Referral-Type-Code
properties
use optional
facets
Kind Value Annotation
minLength 6
maxLength 18
pattern [0-9]*
enumeration 1066111000000103
enumeration 1089301000000106
enumeration 898791000000105
enumeration 306236001
enumeration 276490004
enumeration 306229002
enumeration 281097001
annotation
documentation
REFERRAL TYPE CODE
source <xs:attribute name="typ" type="Referral-Type-Code" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERRAL TYPE CODE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@otyp
type ns:Original-Referral-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 256
annotation
documentation
REFERRAL TYPE AT SOURCE
source <xs:attribute name="otyp" type="Original-Referral-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERRAL TYPE AT SOURCE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@osvc
type ns:Original-Referral-Service-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 256
annotation
documentation
REFERRAL SERVICE REQUESTED AT SOURCE
source <xs:attribute name="osvc" type="Original-Referral-Service-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>REFERRAL SERVICE REQUESTED AT SOURCE</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Referral-Attributes/@orsn
type ns:Original-Referral-Reason-Type
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 256
annotation
documentation
OTHER REASON FOR REFERRAL
source <xs:attribute name="orsn" type="Original-Referral-Reason-Type" use="optional">
 
<xs:annotation>
   
<xs:documentation>OTHER REASON FOR REFERRAL</xs:documentation>
 
</xs:annotation>
</xs:attribute>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy