Schema NHSHC_XML_Schema-2.0.0_20110913.xsd


schema location:  D:\work\dd_xmlschema\healthcheck\NHSHC_XML_Schema-2.0.0_20110913.xsd
attribute form default:  unqualified
element form default:  unqualified
block default:  #all
final default:  extension
targetNamespace:  http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
 
Elements  Complex types  Simple types 
Healthcheck  BriefInterventionsProvidedIndicators_Type  AcceptanceIndicator_Type 
DiagnosisIndicators_Type  ActivityLocationTypeCodeNHSHealthCheck_Type 
FurtherAssessmentRequiredIndicators_Type  AgeAtAttendanceDate_Type 
HealthcheckPayload_Type  BloodPressureSitting_Type 
HealthcheckRecord_Type  BodyMassIndex_Type 
InformationAndAdviceIndicators_Type  Boolean_Type 
OrganisationDetails_Type  CardiovascularDiseaseRiskScore_Type 
PersonAssessment_Type  EligiblePopulationTotal_Type 
PersonDemographics_Type  EthnicCategory_Type 
PersonRecord_Type  LowerLayerSuperOutputArea_Residence_Type 
PrescriptionIndicators_Type  PersonGenderCodeCurrent_Type 
ReferralIndicators_Type  PhysicalActivityLevel_type 
ReportingPeriodAndEligiblePopulation_Type  SmokingStatusCode_Type 
SignpostingIndicators_Type  TotalCholesterolHighDensityLipoproteinRatio_Type 
TotalCholesterolLevel_Type 


schema location:  D:\work\dd_xmlschema\healthcheck\NHSHC_Common_Types_XML_Schema-2.0.0-20110913.xsd
attribute form default:  unqualified
element form default:  unqualified
block default:  #all
final default:  extension
targetNamespace:  http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
 
Groups  Simple types 
OrganisationPersonIdentity  ActivityLocationTypeCode_Type 
AlphaNumeric_Type 
CarePlanIdentifier_Type 
CareProfessionalStaffGroup_CommunityCare_Type 
CodeList_Type 
CommunityCareContactIdentifier_Type 
Date_Type 
DateOfBirth_Type 
DateTime_Type 
Decimal_Type 
Duration_Type 
Integer_Type 
LocalPatientIdentifier_Type 
NHSNumber_Type 
NHSNumberStatusIndicatorCode_Type 
OrganisationCode_CodeOfCommissioner_Type 
OrganisationCode_CodeOfProvider_Type 
OrganisationCode_LocalPatientIdentifier_Type 
OrganisationCode_Type 
PopulatedString_Type 
PositiveInteger_Type 
Postcode_Type 
ReferralToTreatmentStatus_Type 
RestrictedString_Type 
ServiceRequestIdentifier_Type 
SiteCode_OfTreatment_Type 
SiteCode_Type 
Time_Type 


element Healthcheck
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type HealthcheckPayload_Type
properties
content complex
children ReportingPeriodDetails HealthcheckRecord
source
<xs:element name="Healthcheck" type="HealthcheckPayload_Type"/>

complexType BriefInterventionsProvidedIndicators_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
used by
element HealthcheckRecord_Type/BriefInterventionsProvidedIndicators
attributes
Name  Type  Use  Default  Fixed  Annotation
PhysicalActivity  Boolean_Typeoptional      
appInfo 
BRIEF INTERVENTION PROVIDED INDICATOR (PHYSICAL ACTIVITY BRIEF)
source
<xs:complexType name="BriefInterventionsProvidedIndicators_Type">
  <xs:attribute name="PhysicalActivity" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>BRIEF INTERVENTION PROVIDED INDICATOR (PHYSICAL ACTIVITY BRIEF)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

complexType DiagnosisIndicators_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
used by
element HealthcheckRecord_Type/DiagnosisIndicators
attributes
Name  Type  Use  Default  Fixed  Annotation
ChronicKidneyDiseaseStage3  Boolean_Typeoptional      
appInfo 
PATIENT DIAGNOSIS INDICATOR (CHRONIC KIDNEY DISEASE STAGE 3)
ChronicKidneyDiseaseStage4  Boolean_Typeoptional      
appInfo 
PATIENT DIAGNOSIS INDICATOR (CHRONIC KIDNEY DISEASE STAGE 4)
ChronicKidneyDiseaseStage5  Boolean_Typeoptional      
appInfo 
PATIENT DIAGNOSIS INDICATOR (CHRONIC KIDNEY DISEASE STAGE 5)
Type2Diabetes  Boolean_Typeoptional      
appInfo 
PATIENT DIAGNOSIS INDICATOR (TYPE 2 DIABETES)
Hypertension  Boolean_Typeoptional      
appInfo 
PATIENT DIAGNOSIS INDICATOR (HYPERTENSION)
NonDiabeticHyperglycaemia  Boolean_Typeoptional      
appInfo 
PATIENT DIAGNOSIS INDICATOR (NON DIABETIC HYPERGLYCAEMIA)
source
<xs:complexType name="DiagnosisIndicators_Type">
  <xs:attribute name="ChronicKidneyDiseaseStage3" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>PATIENT DIAGNOSIS INDICATOR (CHRONIC KIDNEY DISEASE STAGE 3)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="ChronicKidneyDiseaseStage4" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>PATIENT DIAGNOSIS INDICATOR (CHRONIC KIDNEY DISEASE STAGE 4)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="ChronicKidneyDiseaseStage5" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>PATIENT DIAGNOSIS INDICATOR (CHRONIC KIDNEY DISEASE STAGE 5)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="Type2Diabetes" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>PATIENT DIAGNOSIS INDICATOR (TYPE 2 DIABETES)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="Hypertension" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>PATIENT DIAGNOSIS INDICATOR (HYPERTENSION)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="NonDiabeticHyperglycaemia" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>PATIENT DIAGNOSIS INDICATOR (NON DIABETIC HYPERGLYCAEMIA)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

complexType FurtherAssessmentRequiredIndicators_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
used by
element HealthcheckRecord_Type/FurtherAssessmentRequiredIndicators
attributes
Name  Type  Use  Default  Fixed  Annotation
Diabetes  Boolean_Typeoptional      
appInfo 
FURTHER ASSESSMENT REQUIRED INDICATOR (DIABETES ASSESSMENT)
SerumCreatinine  Boolean_Typeoptional      
appInfo 
FURTHER ASSESSMENT REQUIRED INDICATOR (SERUM CREATININE ASSESSMENT)
Hypertension  Boolean_Typeoptional      
appInfo 
FURTHER ASSESSMENT REQUIRED INDICATOR (HYPERTENSION ASSESSMENT)
FastingCholesterol  Boolean_Typeoptional      
appInfo 
FURTHER ASSESSMENT REQUIRED INDICATOR (FASTING CHOLESTEROL ASSESSMENT)
IFG-IGTLifestyleManagement  Boolean_Typeoptional      
appInfo 
FURTHER ASSESSMENT REQUIRED INDICATOR (IMPAIRED FASTING GLYCAEMIA IMPAIRED GLUCOSE TOLERANCE LIFESTYLE MANAGEMENT)
source
<xs:complexType name="FurtherAssessmentRequiredIndicators_Type">
  <xs:attribute name="Diabetes" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>FURTHER ASSESSMENT REQUIRED INDICATOR (DIABETES ASSESSMENT)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="SerumCreatinine" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>FURTHER ASSESSMENT REQUIRED INDICATOR (SERUM CREATININE ASSESSMENT)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="Hypertension" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>FURTHER ASSESSMENT REQUIRED INDICATOR (HYPERTENSION ASSESSMENT)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="FastingCholesterol" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>FURTHER ASSESSMENT REQUIRED INDICATOR (FASTING CHOLESTEROL ASSESSMENT)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="IFG-IGTLifestyleManagement" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>FURTHER ASSESSMENT REQUIRED INDICATOR (IMPAIRED FASTING GLYCAEMIA IMPAIRED GLUCOSE TOLERANCE LIFESTYLE MANAGEMENT)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

complexType HealthcheckPayload_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
children ReportingPeriodDetails HealthcheckRecord
used by
element Healthcheck
source
<xs:complexType name="HealthcheckPayload_Type">
  <xs:sequence>
    <xs:element name="ReportingPeriodDetails" type="ReportingPeriodAndEligiblePopulation_Type"/>
    <xs:element name="HealthcheckRecord" type="HealthcheckRecord_Type" maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

element HealthcheckPayload_Type/ReportingPeriodDetails
diagram
type ReportingPeriodAndEligiblePopulation_Type
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
ReportingPeriodStartDate  Date_Typerequired      
appInfo 

							REPORTING PERIOD START DATE
						
ReportingPeriodEndDate  Date_Typerequired      
appInfo 

							REPORTING PERIOD END DATE
						
EligiblePopulationTotal  EligiblePopulationTotal_Typerequired      
appInfo 

							ELIGIBLE POPULATION TOTAL (NHS HEALTH CHECK)
						
source
<xs:element name="ReportingPeriodDetails" type="ReportingPeriodAndEligiblePopulation_Type"/>

element HealthcheckPayload_Type/HealthcheckRecord
diagram
type HealthcheckRecord_Type
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children OrganisationDetails PersonDemographics PersonRecord PersonAssessment InformationAndAdviceIndicators BriefInterventionsProvidedIndicators SignpostingIndicators ReferralIndicators FurtherAssessmentRequiredIndicators PrescriptionIndicators DiagnosisIndicators
source
<xs:element name="HealthcheckRecord" type="HealthcheckRecord_Type" maxOccurs="unbounded"/>

complexType HealthcheckRecord_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
children OrganisationDetails PersonDemographics PersonRecord PersonAssessment InformationAndAdviceIndicators BriefInterventionsProvidedIndicators SignpostingIndicators ReferralIndicators FurtherAssessmentRequiredIndicators PrescriptionIndicators DiagnosisIndicators
used by
element HealthcheckPayload_Type/HealthcheckRecord
source
<xs:complexType name="HealthcheckRecord_Type">
  <xs:sequence>
    <xs:element name="OrganisationDetails" type="OrganisationDetails_Type"/>
    <xs:element name="PersonDemographics" type="PersonDemographics_Type"/>
    <xs:element name="PersonRecord" type="PersonRecord_Type"/>
    <xs:element name="PersonAssessment" type="PersonAssessment_Type"/>
    <xs:element name="InformationAndAdviceIndicators" type="InformationAndAdviceIndicators_Type" minOccurs="0"/>
    <xs:element name="BriefInterventionsProvidedIndicators" type="BriefInterventionsProvidedIndicators_Type" minOccurs="0"/>
    <xs:element name="SignpostingIndicators" type="SignpostingIndicators_Type" minOccurs="0"/>
    <xs:element name="ReferralIndicators" type="ReferralIndicators_Type" minOccurs="0"/>
    <xs:element name="FurtherAssessmentRequiredIndicators" type="FurtherAssessmentRequiredIndicators_Type" minOccurs="0"/>
    <xs:element name="PrescriptionIndicators" type="PrescriptionIndicators_Type" minOccurs="0"/>
    <xs:element name="DiagnosisIndicators" type="DiagnosisIndicators_Type" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

element HealthcheckRecord_Type/OrganisationDetails
diagram
type OrganisationDetails_Type
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
ProviderCode  OrganisationCode_CodeOfProvider_Typerequired      
appInfo 
ORGANISATION CODE (NHS HEALTHCHECK PROVIDER)
CommissionerCode  OrganisationCode_CodeOfCommissioner_Typerequired      
appInfo 
ORGANISATION CODE (CODE OF COMMISSIONER)
source
<xs:element name="OrganisationDetails" type="OrganisationDetails_Type"/>

element HealthcheckRecord_Type/PersonDemographics
diagram
type PersonDemographics_Type
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
LowerLayerSuperOutputArea_Residence  LowerLayerSuperOutputArea_Residence_Typerequired      
appInfo 
LOWER LAYER SUPER OUTPUT AREA (RESIDENCE)
AgeAtAttendanceDate  AgeAtAttendanceDate_Typerequired      
appInfo 
AGE AT ATTENDANCE DATE
PersonGenderCodeCurrent  PersonGenderCodeCurrent_Typerequired      
appInfo 
PERSON GENDER CODE CURRENT
EthnicCategory  EthnicCategory_Typerequired      
appInfo 
ETHNIC CATEGORY
source
<xs:element name="PersonDemographics" type="PersonDemographics_Type"/>

element HealthcheckRecord_Type/PersonRecord
diagram
type PersonRecord_Type
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
InvitationOfferSentIndicator  Boolean_Typeoptional      
appInfo 
INVITATION OFFER SENT INDICATOR (NHS HEALTH CHECK)
source
<xs:element name="PersonRecord" type="PersonRecord_Type"/>

element HealthcheckRecord_Type/PersonAssessment
diagram
type PersonAssessment_Type
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
ActivityLocationTypeCode  ActivityLocationTypeCodeNHSHealthCheck_Typerequired      
appInfo 
ACTIVITY LOCATION TYPE CODE (NHS HEALTH CHECK)
BodyMassIndex  BodyMassIndex_Typerequired      
appInfo 
BODY MASS INDEX
BloodPressureSitting  BloodPressureSitting_Typerequired      
appInfo 
BLOOD PRESSURE SITTING
TotalCholesterolHighDensityLipoproteinRatio  TotalCholesterolHighDensityLipoproteinRatio_Typerequired      
appInfo 
TOTAL CHOLESTEROL HIGH DENSITY LIPOPROTEIN RATIO
TotalCholesterolLevel  TotalCholesterolLevel_Typerequired      
appInfo 
TOTAL CHOLESTEROL LEVEL
PhysicalActivityLevel  PhysicalActivityLevel_typerequired      
appInfo 
PHYSICAL ACTIVITY LEVEL
SmokingStatusCode  SmokingStatusCode_Typerequired      
appInfo 
SMOKING STATUS CODE
CardiovascularDiseaseRiskScore  CardiovascularDiseaseRiskScore_Typerequired      
appInfo 
CARDIOVASCULAR DISEASE RISK SCORE
source
<xs:element name="PersonAssessment" type="PersonAssessment_Type"/>

element HealthcheckRecord_Type/InformationAndAdviceIndicators
diagram
type InformationAndAdviceIndicators_Type
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
GeneralLifestyleAdvice  Boolean_Typeoptional      
appInfo 
INFORMATION AND ADVICE PROVIDED INDICATOR (GENERAL LIFESTYLE ADVICE)
StopSmokingAdvice  Boolean_Typeoptional      
appInfo 
INFORMATION AND ADVICE PROVIDED INDICATOR (STOP SMOKING ADVICE)
WeightManagementAdvice  Boolean_Typeoptional      
appInfo 
INFORMATION AND ADVICE PROVIDED INDICATOR (WEIGHT MANAGEMENT ADVICE)
source
<xs:element name="InformationAndAdviceIndicators" type="InformationAndAdviceIndicators_Type" minOccurs="0"/>

element HealthcheckRecord_Type/BriefInterventionsProvidedIndicators
diagram
type BriefInterventionsProvidedIndicators_Type
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
PhysicalActivity  Boolean_Typeoptional      
appInfo 
BRIEF INTERVENTION PROVIDED INDICATOR (PHYSICAL ACTIVITY BRIEF)
source
<xs:element name="BriefInterventionsProvidedIndicators" type="BriefInterventionsProvidedIndicators_Type" minOccurs="0"/>

element HealthcheckRecord_Type/SignpostingIndicators
diagram
type SignpostingIndicators_Type
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
PhysicalActivityService  Boolean_Typeoptional      
appInfo 
SIGNPOSTING TO SERVICE INDICATOR (PHYSICAL ACTIVITY SERVICE)
StopSmokingService  Boolean_Typeoptional      
appInfo 
SIGNPOSTING TO SERVICE INDICATOR (STOP SMOKING SERVICE)
WeightManagementService  Boolean_Typeoptional      
appInfo 
SIGNPOSTING TO SERVICE INDICATOR (WEIGHT MANAGEMENT SERVICE)
source
<xs:element name="SignpostingIndicators" type="SignpostingIndicators_Type" minOccurs="0"/>

element HealthcheckRecord_Type/ReferralIndicators
diagram
type ReferralIndicators_Type
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
PhysicalActivityService  AcceptanceIndicator_Typeoptional      
appInfo 
REFERRAL TO SERVICE ACCEPTANCE INDICATOR (PHYSICAL ACTIVITY SERVICE)
StopSmokingService  AcceptanceIndicator_Typeoptional      
appInfo 
REFERRAL TO SERVICE ACCEPTANCE INDICATOR (STOP SMOKING SERVICE)
WeightManagementService  AcceptanceIndicator_Typeoptional      
appInfo 
REFERRAL TO SERVICE ACCEPTANCE INDICATOR (WEIGHT MANAGEMENT SERVICE)
source
<xs:element name="ReferralIndicators" type="ReferralIndicators_Type" minOccurs="0"/>

element HealthcheckRecord_Type/FurtherAssessmentRequiredIndicators
diagram
type FurtherAssessmentRequiredIndicators_Type
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
Diabetes  Boolean_Typeoptional      
appInfo 
FURTHER ASSESSMENT REQUIRED INDICATOR (DIABETES ASSESSMENT)
SerumCreatinine  Boolean_Typeoptional      
appInfo 
FURTHER ASSESSMENT REQUIRED INDICATOR (SERUM CREATININE ASSESSMENT)
Hypertension  Boolean_Typeoptional      
appInfo 
FURTHER ASSESSMENT REQUIRED INDICATOR (HYPERTENSION ASSESSMENT)
FastingCholesterol  Boolean_Typeoptional      
appInfo 
FURTHER ASSESSMENT REQUIRED INDICATOR (FASTING CHOLESTEROL ASSESSMENT)
IFG-IGTLifestyleManagement  Boolean_Typeoptional      
appInfo 
FURTHER ASSESSMENT REQUIRED INDICATOR (IMPAIRED FASTING GLYCAEMIA IMPAIRED GLUCOSE TOLERANCE LIFESTYLE MANAGEMENT)
source
<xs:element name="FurtherAssessmentRequiredIndicators" type="FurtherAssessmentRequiredIndicators_Type" minOccurs="0"/>

element HealthcheckRecord_Type/PrescriptionIndicators
diagram
type PrescriptionIndicators_Type
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
Statins  Boolean_Typeoptional      
appInfo 
PRESCRIPTION PROVIDED INDICATOR (STATINS)
Anti-Hypertensives  Boolean_Typeoptional      
appInfo 
PRESCRIPTION PROVIDED INDICATOR (ANTI-HYPERTENSIVES)
source
<xs:element name="PrescriptionIndicators" type="PrescriptionIndicators_Type" minOccurs="0"/>

element HealthcheckRecord_Type/DiagnosisIndicators
diagram
type DiagnosisIndicators_Type
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
ChronicKidneyDiseaseStage3  Boolean_Typeoptional      
appInfo 
PATIENT DIAGNOSIS INDICATOR (CHRONIC KIDNEY DISEASE STAGE 3)
ChronicKidneyDiseaseStage4  Boolean_Typeoptional      
appInfo 
PATIENT DIAGNOSIS INDICATOR (CHRONIC KIDNEY DISEASE STAGE 4)
ChronicKidneyDiseaseStage5  Boolean_Typeoptional      
appInfo 
PATIENT DIAGNOSIS INDICATOR (CHRONIC KIDNEY DISEASE STAGE 5)
Type2Diabetes  Boolean_Typeoptional      
appInfo 
PATIENT DIAGNOSIS INDICATOR (TYPE 2 DIABETES)
Hypertension  Boolean_Typeoptional      
appInfo 
PATIENT DIAGNOSIS INDICATOR (HYPERTENSION)
NonDiabeticHyperglycaemia  Boolean_Typeoptional      
appInfo 
PATIENT DIAGNOSIS INDICATOR (NON DIABETIC HYPERGLYCAEMIA)
source
<xs:element name="DiagnosisIndicators" type="DiagnosisIndicators_Type" minOccurs="0"/>

complexType InformationAndAdviceIndicators_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
used by
element HealthcheckRecord_Type/InformationAndAdviceIndicators
attributes
Name  Type  Use  Default  Fixed  Annotation
GeneralLifestyleAdvice  Boolean_Typeoptional      
appInfo 
INFORMATION AND ADVICE PROVIDED INDICATOR (GENERAL LIFESTYLE ADVICE)
StopSmokingAdvice  Boolean_Typeoptional      
appInfo 
INFORMATION AND ADVICE PROVIDED INDICATOR (STOP SMOKING ADVICE)
WeightManagementAdvice  Boolean_Typeoptional      
appInfo 
INFORMATION AND ADVICE PROVIDED INDICATOR (WEIGHT MANAGEMENT ADVICE)
source
<xs:complexType name="InformationAndAdviceIndicators_Type">
  <xs:attribute name="GeneralLifestyleAdvice" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>INFORMATION AND ADVICE PROVIDED INDICATOR (GENERAL LIFESTYLE ADVICE)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="StopSmokingAdvice" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>INFORMATION AND ADVICE PROVIDED INDICATOR (STOP SMOKING ADVICE)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="WeightManagementAdvice" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>INFORMATION AND ADVICE PROVIDED INDICATOR (WEIGHT MANAGEMENT ADVICE)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

complexType OrganisationDetails_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
used by
element HealthcheckRecord_Type/OrganisationDetails
attributes
Name  Type  Use  Default  Fixed  Annotation
ProviderCode  OrganisationCode_CodeOfProvider_Typerequired      
appInfo 
ORGANISATION CODE (NHS HEALTHCHECK PROVIDER)
CommissionerCode  OrganisationCode_CodeOfCommissioner_Typerequired      
appInfo 
ORGANISATION CODE (CODE OF COMMISSIONER)
source
<xs:complexType name="OrganisationDetails_Type">
  <xs:attribute name="ProviderCode" type="OrganisationCode_CodeOfProvider_Type" use="required">
    <xs:annotation>
      <xs:appinfo>ORGANISATION CODE (NHS HEALTHCHECK PROVIDER)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="CommissionerCode" type="OrganisationCode_CodeOfCommissioner_Type" use="required">
    <xs:annotation>
      <xs:appinfo>ORGANISATION CODE (CODE OF COMMISSIONER)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

complexType PersonAssessment_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
used by
element HealthcheckRecord_Type/PersonAssessment
attributes
Name  Type  Use  Default  Fixed  Annotation
ActivityLocationTypeCode  ActivityLocationTypeCodeNHSHealthCheck_Typerequired      
appInfo 
ACTIVITY LOCATION TYPE CODE (NHS HEALTH CHECK)
BodyMassIndex  BodyMassIndex_Typerequired      
appInfo 
BODY MASS INDEX
BloodPressureSitting  BloodPressureSitting_Typerequired      
appInfo 
BLOOD PRESSURE SITTING
TotalCholesterolHighDensityLipoproteinRatio  TotalCholesterolHighDensityLipoproteinRatio_Typerequired      
appInfo 
TOTAL CHOLESTEROL HIGH DENSITY LIPOPROTEIN RATIO
TotalCholesterolLevel  TotalCholesterolLevel_Typerequired      
appInfo 
TOTAL CHOLESTEROL LEVEL
PhysicalActivityLevel  PhysicalActivityLevel_typerequired      
appInfo 
PHYSICAL ACTIVITY LEVEL
SmokingStatusCode  SmokingStatusCode_Typerequired      
appInfo 
SMOKING STATUS CODE
CardiovascularDiseaseRiskScore  CardiovascularDiseaseRiskScore_Typerequired      
appInfo 
CARDIOVASCULAR DISEASE RISK SCORE
source
<xs:complexType name="PersonAssessment_Type">
  <xs:attribute name="ActivityLocationTypeCode" type="ActivityLocationTypeCodeNHSHealthCheck_Type" use="required">
    <xs:annotation>
      <xs:appinfo>ACTIVITY LOCATION TYPE CODE (NHS HEALTH CHECK)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="BodyMassIndex" type="BodyMassIndex_Type" use="required">
    <xs:annotation>
      <xs:appinfo>BODY MASS INDEX</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="BloodPressureSitting" type="BloodPressureSitting_Type" use="required">
    <xs:annotation>
      <xs:appinfo>BLOOD PRESSURE SITTING</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="TotalCholesterolHighDensityLipoproteinRatio" type="TotalCholesterolHighDensityLipoproteinRatio_Type" use="required">
    <xs:annotation>
      <xs:appinfo>TOTAL CHOLESTEROL HIGH DENSITY LIPOPROTEIN RATIO</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="TotalCholesterolLevel" type="TotalCholesterolLevel_Type" use="required">
    <xs:annotation>
      <xs:appinfo>TOTAL CHOLESTEROL LEVEL</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="PhysicalActivityLevel" type="PhysicalActivityLevel_type" use="required">
    <xs:annotation>
      <xs:appinfo>PHYSICAL ACTIVITY LEVEL</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="SmokingStatusCode" type="SmokingStatusCode_Type" use="required">
    <xs:annotation>
      <xs:appinfo>SMOKING STATUS CODE</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="CardiovascularDiseaseRiskScore" type="CardiovascularDiseaseRiskScore_Type" use="required">
    <xs:annotation>
      <xs:appinfo>CARDIOVASCULAR DISEASE RISK SCORE</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

complexType PersonDemographics_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
used by
element HealthcheckRecord_Type/PersonDemographics
attributes
Name  Type  Use  Default  Fixed  Annotation
LowerLayerSuperOutputArea_Residence  LowerLayerSuperOutputArea_Residence_Typerequired      
appInfo 
LOWER LAYER SUPER OUTPUT AREA (RESIDENCE)
AgeAtAttendanceDate  AgeAtAttendanceDate_Typerequired      
appInfo 
AGE AT ATTENDANCE DATE
PersonGenderCodeCurrent  PersonGenderCodeCurrent_Typerequired      
appInfo 
PERSON GENDER CODE CURRENT
EthnicCategory  EthnicCategory_Typerequired      
appInfo 
ETHNIC CATEGORY
source
<xs:complexType name="PersonDemographics_Type">
  <xs:attribute name="LowerLayerSuperOutputArea_Residence" type="LowerLayerSuperOutputArea_Residence_Type" use="required">
    <xs:annotation>
      <xs:appinfo>LOWER LAYER SUPER OUTPUT AREA (RESIDENCE)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="AgeAtAttendanceDate" type="AgeAtAttendanceDate_Type" use="required">
    <xs:annotation>
      <xs:appinfo>AGE AT ATTENDANCE DATE</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="PersonGenderCodeCurrent" type="PersonGenderCodeCurrent_Type" use="required">
    <xs:annotation>
      <xs:appinfo>PERSON GENDER CODE CURRENT</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="EthnicCategory" type="EthnicCategory_Type" use="required">
    <xs:annotation>
      <xs:appinfo>ETHNIC CATEGORY</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

complexType PersonRecord_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
used by
element HealthcheckRecord_Type/PersonRecord
attributes
Name  Type  Use  Default  Fixed  Annotation
InvitationOfferSentIndicator  Boolean_Typeoptional      
appInfo 
INVITATION OFFER SENT INDICATOR (NHS HEALTH CHECK)
source
<xs:complexType name="PersonRecord_Type">
  <xs:attribute name="InvitationOfferSentIndicator" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>INVITATION OFFER SENT INDICATOR (NHS HEALTH CHECK)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

complexType PrescriptionIndicators_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
used by
element HealthcheckRecord_Type/PrescriptionIndicators
attributes
Name  Type  Use  Default  Fixed  Annotation
Statins  Boolean_Typeoptional      
appInfo 
PRESCRIPTION PROVIDED INDICATOR (STATINS)
Anti-Hypertensives  Boolean_Typeoptional      
appInfo 
PRESCRIPTION PROVIDED INDICATOR (ANTI-HYPERTENSIVES)
source
<xs:complexType name="PrescriptionIndicators_Type">
  <xs:attribute name="Statins" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>PRESCRIPTION PROVIDED INDICATOR (STATINS)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="Anti-Hypertensives" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>PRESCRIPTION PROVIDED INDICATOR (ANTI-HYPERTENSIVES)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

complexType ReferralIndicators_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
used by
element HealthcheckRecord_Type/ReferralIndicators
attributes
Name  Type  Use  Default  Fixed  Annotation
PhysicalActivityService  AcceptanceIndicator_Typeoptional      
appInfo 
REFERRAL TO SERVICE ACCEPTANCE INDICATOR (PHYSICAL ACTIVITY SERVICE)
StopSmokingService  AcceptanceIndicator_Typeoptional      
appInfo 
REFERRAL TO SERVICE ACCEPTANCE INDICATOR (STOP SMOKING SERVICE)
WeightManagementService  AcceptanceIndicator_Typeoptional      
appInfo 
REFERRAL TO SERVICE ACCEPTANCE INDICATOR (WEIGHT MANAGEMENT SERVICE)
source
<xs:complexType name="ReferralIndicators_Type">
  <xs:attribute name="PhysicalActivityService" type="AcceptanceIndicator_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>REFERRAL TO SERVICE ACCEPTANCE INDICATOR (PHYSICAL ACTIVITY SERVICE)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="StopSmokingService" type="AcceptanceIndicator_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>REFERRAL TO SERVICE ACCEPTANCE INDICATOR (STOP SMOKING SERVICE)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="WeightManagementService" type="AcceptanceIndicator_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>REFERRAL TO SERVICE ACCEPTANCE INDICATOR (WEIGHT MANAGEMENT SERVICE)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

complexType ReportingPeriodAndEligiblePopulation_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
used by
element HealthcheckPayload_Type/ReportingPeriodDetails
attributes
Name  Type  Use  Default  Fixed  Annotation
ReportingPeriodStartDate  Date_Typerequired      
appInfo 

							REPORTING PERIOD START DATE
						
ReportingPeriodEndDate  Date_Typerequired      
appInfo 

							REPORTING PERIOD END DATE
						
EligiblePopulationTotal  EligiblePopulationTotal_Typerequired      
appInfo 

							ELIGIBLE POPULATION TOTAL (NHS HEALTH CHECK)
						
source
<xs:complexType name="ReportingPeriodAndEligiblePopulation_Type">
  <xs:attribute name="ReportingPeriodStartDate" type="Date_Type" use="required">
    <xs:annotation>
      <xs:appinfo>
							REPORTING PERIOD START DATE
						</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="ReportingPeriodEndDate" type="Date_Type" use="required">
    <xs:annotation>
      <xs:appinfo>
							REPORTING PERIOD END DATE
						</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="EligiblePopulationTotal" type="EligiblePopulationTotal_Type" use="required">
    <xs:annotation>
      <xs:appinfo>
							ELIGIBLE POPULATION TOTAL (NHS HEALTH CHECK)
						</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

complexType SignpostingIndicators_Type
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
used by
element HealthcheckRecord_Type/SignpostingIndicators
attributes
Name  Type  Use  Default  Fixed  Annotation
PhysicalActivityService  Boolean_Typeoptional      
appInfo 
SIGNPOSTING TO SERVICE INDICATOR (PHYSICAL ACTIVITY SERVICE)
StopSmokingService  Boolean_Typeoptional      
appInfo 
SIGNPOSTING TO SERVICE INDICATOR (STOP SMOKING SERVICE)
WeightManagementService  Boolean_Typeoptional      
appInfo 
SIGNPOSTING TO SERVICE INDICATOR (WEIGHT MANAGEMENT SERVICE)
source
<xs:complexType name="SignpostingIndicators_Type">
  <xs:attribute name="PhysicalActivityService" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>SIGNPOSTING TO SERVICE INDICATOR (PHYSICAL ACTIVITY SERVICE)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="StopSmokingService" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>SIGNPOSTING TO SERVICE INDICATOR (STOP SMOKING SERVICE)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="WeightManagementService" type="Boolean_Type" use="optional">
    <xs:annotation>
      <xs:appinfo>SIGNPOSTING TO SERVICE INDICATOR (WEIGHT MANAGEMENT SERVICE)</xs:appinfo>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

simpleType AcceptanceIndicator_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of AlphaNumeric_Type
used by
attributes ReferralIndicators_Type/@PhysicalActivityService ReferralIndicators_Type/@StopSmokingService ReferralIndicators_Type/@WeightManagementService
facets
length 1
minLength 1
pattern [A-Za-z0-9]+
enumeration A
enumeration D
source
<xs:simpleType name="AcceptanceIndicator_Type">
  <xs:restriction base="AlphaNumeric_Type">
    <xs:length value="1"/>
    <xs:enumeration value="A"/>
    <xs:enumeration value="D"/>
  </xs:restriction>
</xs:simpleType>

simpleType ActivityLocationTypeCodeNHSHealthCheck_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of ActivityLocationTypeCode_Type
used by
attribute PersonAssessment_Type/@ActivityLocationTypeCode
facets
length 3
minLength 1
pattern [A-Z0-9]+
enumeration CXX
enumeration N05
enumeration XXX
source
<xs:simpleType name="ActivityLocationTypeCodeNHSHealthCheck_Type">
  <xs:restriction base="ActivityLocationTypeCode_Type">
    <xs:enumeration value="CXX"/>
    <xs:enumeration value="N05"/>
    <xs:enumeration value="XXX"/>
  </xs:restriction>
</xs:simpleType>

simpleType AgeAtAttendanceDate_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of Integer_Type
used by
attribute PersonDemographics_Type/@AgeAtAttendanceDate
facets
minInclusive 40
maxInclusive 74
source
<xs:simpleType name="AgeAtAttendanceDate_Type">
  <xs:restriction base="Integer_Type">
    <xs:minInclusive value="40"/>
    <xs:maxInclusive value="74"/>
  </xs:restriction>
</xs:simpleType>

simpleType BloodPressureSitting_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of xs:string
used by
attribute PersonAssessment_Type/@BloodPressureSitting
facets
maxLength 7
pattern \d{1,3}/\d{1,3}
source
<xs:simpleType name="BloodPressureSitting_Type">
  <xs:restriction base="xs:string">
    <xs:maxLength value="7"/>
    <xs:pattern value="\d{1,3}/\d{1,3}"/>
  </xs:restriction>
</xs:simpleType>

simpleType BodyMassIndex_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of xs:string
used by
attribute PersonAssessment_Type/@BodyMassIndex
facets
maxLength 4
pattern \d{1,2}(\.\d){0,1}
source
<xs:simpleType name="BodyMassIndex_Type">
  <xs:restriction base="xs:string">
    <xs:maxLength value="4"/>
    <xs:pattern value="\d{1,2}(\.\d){0,1}"/>
  </xs:restriction>
</xs:simpleType>

simpleType Boolean_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of AlphaNumeric_Type
used by
attributes PrescriptionIndicators_Type/@Anti-Hypertensives DiagnosisIndicators_Type/@ChronicKidneyDiseaseStage3 DiagnosisIndicators_Type/@ChronicKidneyDiseaseStage4 DiagnosisIndicators_Type/@ChronicKidneyDiseaseStage5 FurtherAssessmentRequiredIndicators_Type/@Diabetes FurtherAssessmentRequiredIndicators_Type/@FastingCholesterol InformationAndAdviceIndicators_Type/@GeneralLifestyleAdvice DiagnosisIndicators_Type/@Hypertension FurtherAssessmentRequiredIndicators_Type/@Hypertension FurtherAssessmentRequiredIndicators_Type/@IFG-IGTLifestyleManagement PersonRecord_Type/@InvitationOfferSentIndicator DiagnosisIndicators_Type/@NonDiabeticHyperglycaemia BriefInterventionsProvidedIndicators_Type/@PhysicalActivity SignpostingIndicators_Type/@PhysicalActivityService FurtherAssessmentRequiredIndicators_Type/@SerumCreatinine PrescriptionIndicators_Type/@Statins InformationAndAdviceIndicators_Type/@StopSmokingAdvice SignpostingIndicators_Type/@StopSmokingService DiagnosisIndicators_Type/@Type2Diabetes InformationAndAdviceIndicators_Type/@WeightManagementAdvice SignpostingIndicators_Type/@WeightManagementService
facets
length 1
minLength 1
pattern [A-Za-z0-9]+
enumeration Y
enumeration N
source
<xs:simpleType name="Boolean_Type">
  <xs:restriction base="AlphaNumeric_Type">
    <xs:length value="1"/>
    <xs:enumeration value="Y"/>
    <xs:enumeration value="N"/>
  </xs:restriction>
</xs:simpleType>

simpleType CardiovascularDiseaseRiskScore_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of xs:string
used by
attribute PersonAssessment_Type/@CardiovascularDiseaseRiskScore
facets
maxLength 5
pattern \d{1,2}\.\d{2}
source
<xs:simpleType name="CardiovascularDiseaseRiskScore_Type">
  <xs:restriction base="xs:string">
    <xs:maxLength value="5"/>
    <xs:pattern value="\d{1,2}\.\d{2}"/>
  </xs:restriction>
</xs:simpleType>

simpleType EligiblePopulationTotal_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of Integer_Type
used by
attribute ReportingPeriodAndEligiblePopulation_Type/@EligiblePopulationTotal
facets
maxInclusive 99999999
source
<xs:simpleType name="EligiblePopulationTotal_Type">
  <xs:restriction base="Integer_Type">
    <xs:maxInclusive value="99999999"/>
  </xs:restriction>
</xs:simpleType>

simpleType EthnicCategory_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of AlphaNumeric_Type
used by
attribute PersonDemographics_Type/@EthnicCategory
facets
minLength 1
maxLength 2
pattern 99
pattern [ABCDEFGHJKLMNPRSZ]
pattern [ABCDEFGHJKLMNPRSZ].
source
<xs:simpleType name="EthnicCategory_Type">
  <xs:restriction base="AlphaNumeric_Type">
    <xs:minLength value="1"/>
    <xs:maxLength value="2"/>
    <xs:pattern value="99"/>
    <xs:pattern value="[ABCDEFGHJKLMNPRSZ]"/>
    <xs:pattern value="[ABCDEFGHJKLMNPRSZ]."/>
  </xs:restriction>
</xs:simpleType>

simpleType LowerLayerSuperOutputArea_Residence_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of AlphaNumeric_Type
used by
attribute PersonDemographics_Type/@LowerLayerSuperOutputArea_Residence
facets
length 9
minLength 1
pattern [A-Za-z0-9]+
source
<xs:simpleType name="LowerLayerSuperOutputArea_Residence_Type">
  <xs:restriction base="AlphaNumeric_Type">
    <xs:length value="9"/>
  </xs:restriction>
</xs:simpleType>

simpleType PersonGenderCodeCurrent_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of CodeList_Type
used by
attribute PersonDemographics_Type/@PersonGenderCodeCurrent
facets
length 1
minLength 1
pattern [A-Z0-9]+
enumeration 0
enumeration 1
enumeration 2
enumeration 9
source
<xs:simpleType name="PersonGenderCodeCurrent_Type">
  <xs:restriction base="CodeList_Type">
    <xs:length value="1"/>
    <xs:enumeration value="0"/>
    <xs:enumeration value="1"/>
    <xs:enumeration value="2"/>
    <xs:enumeration value="9"/>
  </xs:restriction>
</xs:simpleType>

simpleType PhysicalActivityLevel_type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of AlphaNumeric_Type
used by
attribute PersonAssessment_Type/@PhysicalActivityLevel
facets
minLength 1
pattern [A-Za-z0-9]+
enumeration 1
enumeration 2
enumeration 3
enumeration 4
source
<xs:simpleType name="PhysicalActivityLevel_type">
  <xs:restriction base="AlphaNumeric_Type">
    <xs:enumeration value="1"/>
    <xs:enumeration value="2"/>
    <xs:enumeration value="3"/>
    <xs:enumeration value="4"/>
  </xs:restriction>
</xs:simpleType>

simpleType SmokingStatusCode_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of CodeList_Type
used by
attribute PersonAssessment_Type/@SmokingStatusCode
facets
minLength 1
pattern [A-Z0-9]+
enumeration 1
enumeration 2
enumeration 3
enumeration 4
enumeration Z
source
<xs:simpleType name="SmokingStatusCode_Type">
  <xs:restriction base="CodeList_Type">
    <xs:enumeration value="1"/>
    <xs:enumeration value="2"/>
    <xs:enumeration value="3"/>
    <xs:enumeration value="4"/>
    <xs:enumeration value="Z"/>
  </xs:restriction>
</xs:simpleType>

simpleType TotalCholesterolHighDensityLipoproteinRatio_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of xs:string
used by
attribute PersonAssessment_Type/@TotalCholesterolHighDensityLipoproteinRatio
facets
maxLength 4
pattern \d{1,2}(\.\d){0,1}
source
<xs:simpleType name="TotalCholesterolHighDensityLipoproteinRatio_Type">
  <xs:restriction base="xs:string">
    <xs:maxLength value="4"/>
    <xs:pattern value="\d{1,2}(\.\d){0,1}"/>
  </xs:restriction>
</xs:simpleType>

simpleType TotalCholesterolLevel_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of xs:string
used by
attribute PersonAssessment_Type/@TotalCholesterolLevel
facets
maxLength 4
pattern \d{1,2}(\.\d){0,1}
source
<xs:simpleType name="TotalCholesterolLevel_Type">
  <xs:restriction base="xs:string">
    <xs:maxLength value="4"/>
    <xs:pattern value="\d{1,2}(\.\d){0,1}"/>
  </xs:restriction>
</xs:simpleType>

group OrganisationPersonIdentity
diagram
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
children NHSNumberStatusIndicatorCode LocalPatientIdentifier OrganisationCode_LocalPatientIdentifier NHSNumber NHSNumber PatientIdentityWithheld
source
<xs:group name="OrganisationPersonIdentity">
  <xs:sequence>
    <xs:element name="NHSNumberStatusIndicatorCode" type="NHSNumberStatusIndicatorCode_Type">
      <xs:annotation>
        <xs:documentation>Not an attribute of NHSNumber as value 08 means number not present</xs:documentation>
        <xs:appinfo>NHS NUMBER STATUS INDICATOR</xs:appinfo>
      </xs:annotation>
    </xs:element>
    <xs:choice>
      <xs:sequence>
        <xs:element name="LocalPatientIdentifier" type="LocalPatientIdentifier_Type">
          <xs:annotation>
            <xs:appinfo>LOCAL PATIENT IDENTIFIER</xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="OrganisationCode_LocalPatientIdentifier" type="OrganisationCode_LocalPatientIdentifier_Type">
          <xs:annotation>
            <xs:appinfo>ORGANISATION CODE (LOCAL PATIENT IDENTIFIER)</xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element name="NHSNumber" type="NHSNumber_Type" minOccurs="0">
          <xs:annotation>
            <xs:appinfo>NHS NUMBER</xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
      <xs:element name="NHSNumber" type="NHSNumber_Type">
        <xs:annotation>
          <xs:appinfo>NHS NUMBER</xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element name="PatientIdentityWithheld"/>
    </xs:choice>
  </xs:sequence>
</xs:group>

element OrganisationPersonIdentity/NHSNumberStatusIndicatorCode
diagram
type NHSNumberStatusIndicatorCode_Type
properties
isRef 0
content simple
facets
minLength 1
maxLength 2
pattern [A-Z0-9]+
enumeration 01
enumeration 02
enumeration 03
enumeration 04
enumeration 05
enumeration 06
enumeration 07
enumeration 08
annotation
documentation 
Not an attribute of NHSNumber as value 08 means number not present
appInfo 
NHS NUMBER STATUS INDICATOR
source
<xs:element name="NHSNumberStatusIndicatorCode" type="NHSNumberStatusIndicatorCode_Type">
  <xs:annotation>
    <xs:documentation>Not an attribute of NHSNumber as value 08 means number not present</xs:documentation>
    <xs:appinfo>NHS NUMBER STATUS INDICATOR</xs:appinfo>
  </xs:annotation>
</xs:element>

element OrganisationPersonIdentity/LocalPatientIdentifier
diagram
type LocalPatientIdentifier_Type
properties
isRef 0
content simple
facets
minLength 1
maxLength 10
pattern [^\s]+
annotation
appInfo 
LOCAL PATIENT IDENTIFIER
source
<xs:element name="LocalPatientIdentifier" type="LocalPatientIdentifier_Type">
  <xs:annotation>
    <xs:appinfo>LOCAL PATIENT IDENTIFIER</xs:appinfo>
  </xs:annotation>
</xs:element>

element OrganisationPersonIdentity/OrganisationCode_LocalPatientIdentifier
diagram
type OrganisationCode_LocalPatientIdentifier_Type
properties
isRef 0
content simple
facets
minLength 3
maxLength 12
pattern [A-Z0-9]*
annotation
appInfo 
ORGANISATION CODE (LOCAL PATIENT IDENTIFIER)
source
<xs:element name="OrganisationCode_LocalPatientIdentifier" type="OrganisationCode_LocalPatientIdentifier_Type">
  <xs:annotation>
    <xs:appinfo>ORGANISATION CODE (LOCAL PATIENT IDENTIFIER)</xs:appinfo>
  </xs:annotation>
</xs:element>

element OrganisationPersonIdentity/NHSNumber
diagram
type NHSNumber_Type
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
length 10
pattern [0-9]{10}
annotation
appInfo 
NHS NUMBER
source
<xs:element name="NHSNumber" type="NHSNumber_Type" minOccurs="0">
  <xs:annotation>
    <xs:appinfo>NHS NUMBER</xs:appinfo>
  </xs:annotation>
</xs:element>

element OrganisationPersonIdentity/NHSNumber
diagram
type NHSNumber_Type
properties
isRef 0
content simple
facets
length 10
pattern [0-9]{10}
annotation
appInfo 
NHS NUMBER
source
<xs:element name="NHSNumber" type="NHSNumber_Type">
  <xs:annotation>
    <xs:appinfo>NHS NUMBER</xs:appinfo>
  </xs:annotation>
</xs:element>

element OrganisationPersonIdentity/PatientIdentityWithheld
diagram
properties
isRef 0
source
<xs:element name="PatientIdentityWithheld"/>

simpleType ActivityLocationTypeCode_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of CodeList_Type
used by
simpleType ActivityLocationTypeCodeNHSHealthCheck_Type
facets
length 3
minLength 1
pattern [A-Z0-9]+
source
<xs:simpleType name="ActivityLocationTypeCode_Type">
  <xs:restriction base="CodeList_Type">
    <xs:length value="3"/>
  </xs:restriction>
</xs:simpleType>

simpleType AlphaNumeric_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of RestrictedString_Type
used by
simpleTypes AcceptanceIndicator_Type Boolean_Type CarePlanIdentifier_Type EthnicCategory_Type LowerLayerSuperOutputArea_Residence_Type OrganisationCode_Type PhysicalActivityLevel_type ReferralToTreatmentStatus_Type SiteCode_Type
facets
minLength 1
pattern [A-Za-z0-9]+
annotation
documentation 
Only allows letters and numbers. Empty string disallowed. Whitespace disallowed.
source
<xs:simpleType name="AlphaNumeric_Type">
  <xs:annotation>
    <xs:documentation>Only allows letters and numbers. Empty string disallowed. Whitespace disallowed.</xs:documentation>
  </xs:annotation>
  <xs:restriction base="RestrictedString_Type">
    <xs:pattern value="[A-Za-z0-9]+"/>
  </xs:restriction>
</xs:simpleType>

simpleType CarePlanIdentifier_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of AlphaNumeric_Type
facets
minLength 1
maxLength 20
pattern [A-Za-z0-9]+
source
<xs:simpleType name="CarePlanIdentifier_Type">
  <xs:restriction base="AlphaNumeric_Type">
    <xs:maxLength value="20"/>
  </xs:restriction>
</xs:simpleType>

simpleType CareProfessionalStaffGroup_CommunityCare_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of CodeList_Type
facets
length 3
minLength 1
pattern [A-Z0-9]+
source
<xs:simpleType name="CareProfessionalStaffGroup_CommunityCare_Type">
  <xs:restriction base="CodeList_Type">
    <xs:length value="3"/>
  </xs:restriction>
</xs:simpleType>

simpleType CodeList_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of xs:token
used by
simpleTypes ActivityLocationTypeCode_Type CareProfessionalStaffGroup_CommunityCare_Type NHSNumberStatusIndicatorCode_Type PersonGenderCodeCurrent_Type SmokingStatusCode_Type
facets
minLength 1
pattern [A-Z0-9]+
annotation
documentation 
CodeList values can be letters or numbers and must not be empty
source
<xs:simpleType name="CodeList_Type">
  <xs:annotation>
    <xs:documentation>CodeList values can be letters or numbers and must not be empty</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:token">
    <xs:minLength value="1"/>
    <xs:pattern value="[A-Z0-9]+"/>
  </xs:restriction>
</xs:simpleType>

simpleType CommunityCareContactIdentifier_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of RestrictedString_Type
facets
minLength 1
maxLength 20
pattern [A-Za-z0-9\s~!"@#$%&'\(\)\*\+,\-\./:;<=>\?\[\\\]_\{\}\^£€†]*
source
<xs:simpleType name="CommunityCareContactIdentifier_Type">
  <xs:restriction base="RestrictedString_Type">
    <xs:maxLength value="20"/>
  </xs:restriction>
</xs:simpleType>

simpleType Date_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of xs:date
used by
attributes ReportingPeriodAndEligiblePopulation_Type/@ReportingPeriodEndDate ReportingPeriodAndEligiblePopulation_Type/@ReportingPeriodStartDate
facets
minInclusive 1900-01-01
maxInclusive 2999-12-31
annotation
documentation 
Restrictions as per CDS 6-2
source
<xs:simpleType name="Date_Type">
  <xs:annotation>
    <xs:documentation>Restrictions as per CDS 6-2</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:date">
    <xs:minInclusive value="1900-01-01"/>
    <xs:maxInclusive value="2999-12-31"/>
  </xs:restriction>
</xs:simpleType>

simpleType DateOfBirth_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of xs:date
facets
minInclusive 1880-01-01
maxInclusive 2999-12-31
source
<xs:simpleType name="DateOfBirth_Type">
  <xs:restriction base="xs:date">
    <xs:minInclusive value="1880-01-01"/>
    <xs:maxInclusive value="2999-12-31"/>
  </xs:restriction>
</xs:simpleType>

simpleType DateTime_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of xs:dateTime
facets
minInclusive 1900-01-01T00:00:00
maxInclusive 2999-12-31T23:59:59
pattern [0-9]{4}-[0-9]{2}-[0-9]{2}T([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9]):([0-5][0-9])
annotation
documentation 
Restrictions inferred from CDS 6-2
source
<xs:simpleType name="DateTime_Type">
  <xs:annotation>
    <xs:documentation>Restrictions inferred from CDS 6-2</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:dateTime">
    <xs:minInclusive value="1900-01-01T00:00:00"/>
    <xs:maxInclusive value="2999-12-31T23:59:59"/>
    <xs:pattern value="[0-9]{4}-[0-9]{2}-[0-9]{2}T([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9]):([0-5][0-9])"/>
  </xs:restriction>
</xs:simpleType>

simpleType Decimal_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type xs:decimal
source
<xs:simpleType name="Decimal_Type">
  <xs:restriction base="xs:decimal"/>
</xs:simpleType>

simpleType Duration_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type xs:duration
source
<xs:simpleType name="Duration_Type">
  <xs:restriction base="xs:duration"/>
</xs:simpleType>

simpleType Integer_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type xs:integer
used by
simpleTypes AgeAtAttendanceDate_Type EligiblePopulationTotal_Type PositiveInteger_Type
source
<xs:simpleType name="Integer_Type">
  <xs:restriction base="xs:integer"/>
</xs:simpleType>

simpleType LocalPatientIdentifier_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of RestrictedString_Type
used by
element OrganisationPersonIdentity/LocalPatientIdentifier
facets
minLength 1
maxLength 10
pattern [^\s]+
annotation
documentation 
Spaces disallowed
source
<xs:simpleType name="LocalPatientIdentifier_Type">
  <xs:annotation>
    <xs:documentation>Spaces disallowed</xs:documentation>
  </xs:annotation>
  <xs:restriction base="RestrictedString_Type">
    <xs:maxLength value="10"/>
    <xs:pattern value="[^\s]+"/>
  </xs:restriction>
</xs:simpleType>

simpleType NHSNumber_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of xs:token
used by
elements OrganisationPersonIdentity/NHSNumber OrganisationPersonIdentity/NHSNumber
facets
length 10
pattern [0-9]{10}
annotation
documentation 
NHS Number is represented as a string of 10 digits
source
<xs:simpleType name="NHSNumber_Type">
  <xs:annotation>
    <xs:documentation>NHS Number is represented as a string of 10 digits</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:token">
    <xs:length value="10"/>
    <xs:pattern value="[0-9]{10}"/>
  </xs:restriction>
</xs:simpleType>

simpleType NHSNumberStatusIndicatorCode_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of CodeList_Type
used by
element OrganisationPersonIdentity/NHSNumberStatusIndicatorCode
facets
minLength 1
maxLength 2
pattern [A-Z0-9]+
enumeration 01
enumeration 02
enumeration 03
enumeration 04
enumeration 05
enumeration 06
enumeration 07
enumeration 08
source
<xs:simpleType name="NHSNumberStatusIndicatorCode_Type">
  <xs:restriction base="CodeList_Type">
    <xs:maxLength value="2"/>
    <xs:enumeration value="01"/>
    <xs:enumeration value="02"/>
    <xs:enumeration value="03"/>
    <xs:enumeration value="04"/>
    <xs:enumeration value="05"/>
    <xs:enumeration value="06"/>
    <xs:enumeration value="07"/>
    <xs:enumeration value="08"/>
  </xs:restriction>
</xs:simpleType>

simpleType OrganisationCode_CodeOfCommissioner_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type OrganisationCode_Type
used by
attribute OrganisationDetails_Type/@CommissionerCode
facets
minLength 3
maxLength 12
pattern [A-Z0-9]*
source
<xs:simpleType name="OrganisationCode_CodeOfCommissioner_Type">
  <xs:restriction base="OrganisationCode_Type"/>
</xs:simpleType>

simpleType OrganisationCode_CodeOfProvider_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type OrganisationCode_Type
used by
attribute OrganisationDetails_Type/@ProviderCode
facets
minLength 3
maxLength 12
pattern [A-Z0-9]*
source
<xs:simpleType name="OrganisationCode_CodeOfProvider_Type">
  <xs:restriction base="OrganisationCode_Type"/>
</xs:simpleType>

simpleType OrganisationCode_LocalPatientIdentifier_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type OrganisationCode_Type
used by
element OrganisationPersonIdentity/OrganisationCode_LocalPatientIdentifier
facets
minLength 3
maxLength 12
pattern [A-Z0-9]*
source
<xs:simpleType name="OrganisationCode_LocalPatientIdentifier_Type">
  <xs:restriction base="OrganisationCode_Type"/>
</xs:simpleType>

simpleType OrganisationCode_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of AlphaNumeric_Type
used by
simpleTypes OrganisationCode_CodeOfCommissioner_Type OrganisationCode_CodeOfProvider_Type OrganisationCode_LocalPatientIdentifier_Type
facets
minLength 3
maxLength 12
pattern [A-Z0-9]*
annotation
documentation 
Organisation code is represented as a string of 3-8 uppercase letters and digits
source
<xs:simpleType name="OrganisationCode_Type">
  <xs:annotation>
    <xs:documentation>Organisation code is represented as a string of 3-8 uppercase letters and digits</xs:documentation>
  </xs:annotation>
  <xs:restriction base="AlphaNumeric_Type">
    <xs:minLength value="3"/>
    <xs:maxLength value="12"/>
    <xs:pattern value="[A-Z0-9]*"/>
  </xs:restriction>
</xs:simpleType>

simpleType PopulatedString_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of xs:string
used by
simpleType RestrictedString_Type
facets
minLength 1
annotation
documentation 
A non-empty string
source
<xs:simpleType name="PopulatedString_Type">
  <xs:annotation>
    <xs:documentation>A non-empty string</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:minLength value="1"/>
  </xs:restriction>
</xs:simpleType>

simpleType PositiveInteger_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of Integer_Type
facets
minExclusive 0
source
<xs:simpleType name="PositiveInteger_Type">
  <xs:restriction base="Integer_Type">
    <xs:minExclusive value="0"/>
  </xs:restriction>
</xs:simpleType>

simpleType Postcode_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of RestrictedString_Type
facets
minLength 1
pattern [A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z-[CIKMOV]]{2}
annotation
documentation 
Adds a pattern restriction to CDS v6-2 PostcodeOfUsualAddress. Defn is taken from GDSC.
source
<xs:simpleType name="Postcode_Type">
  <xs:annotation>
    <xs:documentation>Adds a pattern restriction to CDS v6-2 PostcodeOfUsualAddress. Defn is taken from GDSC.</xs:documentation>
  </xs:annotation>
  <xs:restriction base="RestrictedString_Type">
    <xs:pattern value="[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z-[CIKMOV]]{2}"/>
  </xs:restriction>
</xs:simpleType>

simpleType ReferralToTreatmentStatus_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of AlphaNumeric_Type
facets
length 2
minLength 1
pattern [A-Za-z0-9]+
enumeration 10
enumeration 11
enumeration 12
enumeration 20
enumeration 21
enumeration 30
enumeration 31
enumeration 32
enumeration 33
enumeration 34
enumeration 35
enumeration 36
enumeration 90
enumeration 91
enumeration 92
enumeration 98
enumeration 99
source
<xs:simpleType name="ReferralToTreatmentStatus_Type">
  <xs:restriction base="AlphaNumeric_Type">
    <xs:length value="2"/>
    <xs:enumeration value="10"/>
    <xs:enumeration value="11"/>
    <xs:enumeration value="12"/>
    <xs:enumeration value="20"/>
    <xs:enumeration value="21"/>
    <xs:enumeration value="30"/>
    <xs:enumeration value="31"/>
    <xs:enumeration value="32"/>
    <xs:enumeration value="33"/>
    <xs:enumeration value="34"/>
    <xs:enumeration value="35"/>
    <xs:enumeration value="36"/>
    <xs:enumeration value="90"/>
    <xs:enumeration value="91"/>
    <xs:enumeration value="92"/>
    <xs:enumeration value="98"/>
    <xs:enumeration value="99"/>
  </xs:restriction>
</xs:simpleType>

simpleType RestrictedString_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of PopulatedString_Type
used by
simpleTypes AlphaNumeric_Type CommunityCareContactIdentifier_Type LocalPatientIdentifier_Type Postcode_Type ServiceRequestIdentifier_Type
facets
minLength 1
pattern [A-Za-z0-9\s~!"@#$%&'\(\)\*\+,\-\./:;<=>\?\[\\\]_\{\}\^£€†]*
annotation
documentation 
Only allows letters, numbers and common punctuation and symbols. Empty string disallowed. Definition as GDSC plus dagger symbol to support ICD-10
source
<xs:simpleType name="RestrictedString_Type">
  <xs:annotation>
    <xs:documentation>Only allows letters, numbers and common punctuation and symbols. Empty string disallowed. Definition as GDSC plus dagger symbol to support ICD-10</xs:documentation>
  </xs:annotation>
  <xs:restriction base="PopulatedString_Type">
    <xs:pattern value="[A-Za-z0-9\s~!"@#$%&'\(\)\*\+,\-\./:;<=>\?\[\\\]_\{\}\^£€†]*"/>
  </xs:restriction>
</xs:simpleType>

simpleType ServiceRequestIdentifier_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of RestrictedString_Type
facets
minLength 1
maxLength 20
pattern [A-Za-z0-9\s~!"@#$%&'\(\)\*\+,\-\./:;<=>\?\[\\\]_\{\}\^£€†]*
source
<xs:simpleType name="ServiceRequestIdentifier_Type">
  <xs:restriction base="RestrictedString_Type">
    <xs:maxLength value="20"/>
  </xs:restriction>
</xs:simpleType>

simpleType SiteCode_OfTreatment_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type SiteCode_Type
facets
minLength 3
maxLength 12
pattern [A-Z0-9]*
source
<xs:simpleType name="SiteCode_OfTreatment_Type">
  <xs:restriction base="SiteCode_Type"/>
</xs:simpleType>

simpleType SiteCode_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of AlphaNumeric_Type
used by
simpleType SiteCode_OfTreatment_Type
facets
minLength 3
maxLength 12
pattern [A-Z0-9]*
source
<xs:simpleType name="SiteCode_Type">
  <xs:restriction base="AlphaNumeric_Type">
    <xs:minLength value="3"/>
    <xs:maxLength value="12"/>
    <xs:pattern value="[A-Z0-9]*"/>
  </xs:restriction>
</xs:simpleType>

simpleType Time_Type
namespace http://www.datadictionary.nhs.uk/data_dictionary/messages/healthcheck_v2/
type restriction of xs:time
facets
pattern ([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9]):([0-5][0-9])
annotation
documentation 
Restrictions as per CDS 6-2: hour values in time fields should be 00 to 23 inclusive and .sss and timezone offset are disallowed.		
source
<xs:simpleType name="Time_Type">
  <xs:annotation>
    <xs:documentation>Restrictions as per CDS 6-2: hour values in time fields should be 00 to 23 inclusive and .sss and timezone offset are disallowed.		</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:time">
    <xs:pattern value="([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9]):([0-5][0-9])"/>
  </xs:restriction>
</xs:simpleType>


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