This website places cookies on your device to help us improve our service to you. To find out more about the cookies, see our Privacy and Cookies notice
ISD Scotland Home

SMR Datasets

Patient Identification Section

NHS National Services Scotland ISD Scotland & NHS National Services Scotland

Sex (Gender)

expand menu Show full Patient Identification and Demographic Information menu

Name: Sex (Gender)

Number of characters: 1

Priority: Mandatory

Number Description Error / Option code
Sex must be present
Error Message: Sex Code missing
Flag:  Sex
E0306
Only valid codes are acceptable - see Appendix 2 
Error Message: Invalid Sex code
Flag:  Sex
E0808 
If Record Type = 02, Sex must = 2
Error Message: Sex must be Female in Maternity Record
Flag:  Sex
E0810 
Sex should not = 0 or 9 
Query Message:  Sex code unlikely
Flag:  Sex
Q0200 

Cross Checks

Manual Section Data Item E/Q Code
Patient ID  CHI Number   Q0308 
Episode Management  Admission Transfer From E1674
Discharge Transfer To E1836
General Clinical  Main/Other Diagnoses (Composite)  E2220
E2222
Q1308
Q1310 
Main/Other Operation  E2715
E2716
Q1602
Q1603
SMR02  Baby CHI (1,2 and 3) Q2722 
SMR04  Admission - Main/Other Diagnosis (Composite) E2320
E2322
Q1408
Q1410 

Public Health Scotland
Gyle Square
1 South Gyle Crescent
Edinburgh
EH12 9EB