| diagram | ![]() |
||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||
| children | ns:EpisodeCharacteristics ns:ServiceAgreementDetails ns:PersonGroup_Consultant ns:ClinicalDiagnosisDetails ns:LocationGroup | ||
| used by |
|
||
| annotation |
|
||
| source | <xs:complexType name="PsychiatricEpisode_Structure"> <xs:annotation> <xs:documentation>V6-0 Census Date is SUS MANDATORY</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="EpisodeCharacteristics"> <xs:annotation> <xs:documentation>XML Mandatory if this data structure is used</xs:documentation> </xs:annotation> <xs:complexType mixed="false"> <xs:sequence> <xs:element name="EpisodeNumber" type="ns:EpisodeNumber_Type" minOccurs="0"/> <xs:element name="AdminCategoryAtStartOfEpisode" type="ns:AdministrativeCategory_AtStartOfEpisode_Type" minOccurs="0"/> <xs:element name="PsychiatricPatientStatus" type="ns:PsychiatricPatientStatus_Type" minOccurs="0"/> <xs:element name="StartDate_Episode" type="ns:StartDate_Episode_Type"> <xs:annotation> <xs:documentation xml:lang="en">XML Mandatory if this data structure is used</xs:documentation> </xs:annotation> </xs:element> <xs:element name="DetainedAndOrLongTermPsychiatricCensusDate" type="ns:DetainedAndOrLongTermPsychiatricCensusDate_Type"> <xs:annotation> <xs:documentation xml:lang="en">XML Mandatory if this data structure is used V6-0 Added as the Mandatory date. Carries the value of the CDS CENSUS DATE in addition to the CDS ACTIVITY DATE in the Transaction Header Group data structure.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="VeryGeneralPurpose_951" type="ns:VeryGeneralPurpose_Type" minOccurs="0" maxOccurs="99"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="ServiceAgreementDetails" type="ns:ServiceAgreementDetails_Structure" minOccurs="0"/> <xs:element name="PersonGroup_Consultant" type="ns:PersonGroupConsultant_Structure" minOccurs="0"/> <xs:element name="ClinicalDiagnosisDetails" type="ns:ClinicalDiagnosis_Structure" minOccurs="0"> <xs:annotation> <xs:documentation>V6-0 Standard Data Structures introduced </xs:documentation> </xs:annotation> </xs:element> <xs:element name="LocationGroup" minOccurs="0"> <xs:complexType mixed="false"> <xs:sequence> <xs:element name="StartOfEpisode" minOccurs="0"> <xs:complexType mixed="false"> <xs:sequence> <xs:element name="LocationClass" type="ns:LocationClass_Type" minOccurs="0"/> <xs:element name="SiteCodeOfTreatment" type="ns:SiteCodeOfTreatment_Type" minOccurs="0"/> <xs:element name="LocationType" type="ns:LocationType_Type" minOccurs="0"/> <xs:element name="IntendedClinicalCareIntensity" type="ns:IntendedClinicalCareIntensity_Type" minOccurs="0"/> <xs:element name="AgeGroupIntended" type="ns:AgeGroupIntended_Type" minOccurs="0"/> <xs:element name="SexOfPatients" type="ns:SexOfPatients_Type" minOccurs="0"/> <xs:element name="WardDayPeriodAvailability" type="ns:WardDayPeriodAvailability_Type" minOccurs="0"/> <xs:element name="WardNightPeriodAvailability" type="ns:WardNightPeriodAvailability_Type" minOccurs="0"/> <xs:element name="VeryGeneralPurpose_980" type="ns:VeryGeneralPurpose_Type" minOccurs="0" maxOccurs="99"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="WardStayAtPsychiatricCensusDate" minOccurs="0"> <xs:complexType mixed="false"> <xs:sequence> <xs:element name="LocationClass" type="ns:LocationClass_Type" minOccurs="0"/> <xs:element name="SiteCodeOfTreatment" type="ns:SiteCodeOfTreatment_Type" minOccurs="0"/> <xs:element name="LocationType" type="ns:LocationType_Type" minOccurs="0"/> <xs:element name="IntendedClinicalCareIntensity" type="ns:IntendedClinicalCareIntensity_Type" minOccurs="0"/> <xs:element name="AgeGroupIntended" type="ns:AgeGroupIntended_Type" minOccurs="0"/> <xs:element name="SexOfPatients" type="ns:SexOfPatients_Type" minOccurs="0"/> <xs:element name="WardDayPeriodAvailability" type="ns:WardDayPeriodAvailability_Type" minOccurs="0"/> <xs:element name="WardNightPeriodAvailability" type="ns:WardNightPeriodAvailability_Type" minOccurs="0"> <xs:annotation> <xs:documentation xml:lang="en"> <Mandatory>M</Mandatory> <U_A/> <HES>Yes</HES> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="DetainedAndOrLongTermPsychiatricCensusDate" type="ns:DetainedAndOrLongTermPsychiatricCensusDate_Type" minOccurs="0"> <xs:annotation> <xs:documentation xml:lang="en">V6-0 Made Optional as the mandatory Census Date is contained in the Episode Characteristics. CDS ACTIVITY DATE in the Transaction Header Group also carries CENSUS DATE </xs:documentation> </xs:annotation> </xs:element> <xs:element name="VeryGeneralPurpose_981" type="ns:VeryGeneralPurpose_Type" minOccurs="0" maxOccurs="99"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> |
| diagram | ![]() |
||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||
| properties |
|
||||||
| children | ns:EpisodeNumber ns:AdminCategoryAtStartOfEpisode ns:PsychiatricPatientStatus ns:StartDate_Episode ns:DetainedAndOrLongTermPsychiatricCensusDate ns:VeryGeneralPurpose_951 | ||||||
| annotation |
|
||||||
| source | <xs:element name="EpisodeCharacteristics"> <xs:annotation> <xs:documentation>XML Mandatory if this data structure is used</xs:documentation> </xs:annotation> <xs:complexType mixed="false"> <xs:sequence> <xs:element name="EpisodeNumber" type="ns:EpisodeNumber_Type" minOccurs="0"/> <xs:element name="AdminCategoryAtStartOfEpisode" type="ns:AdministrativeCategory_AtStartOfEpisode_Type" minOccurs="0"/> <xs:element name="PsychiatricPatientStatus" type="ns:PsychiatricPatientStatus_Type" minOccurs="0"/> <xs:element name="StartDate_Episode" type="ns:StartDate_Episode_Type"> <xs:annotation> <xs:documentation xml:lang="en">XML Mandatory if this data structure is used</xs:documentation> </xs:annotation> </xs:element> <xs:element name="DetainedAndOrLongTermPsychiatricCensusDate" type="ns:DetainedAndOrLongTermPsychiatricCensusDate_Type"> <xs:annotation> <xs:documentation xml:lang="en">XML Mandatory if this data structure is used V6-0 Added as the Mandatory date. Carries the value of the CDS CENSUS DATE in addition to the CDS ACTIVITY DATE in the Transaction Header Group data structure.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="VeryGeneralPurpose_951" type="ns:VeryGeneralPurpose_Type" minOccurs="0" maxOccurs="99"/> </xs:sequence> </xs:complexType> </xs:element> |
| diagram | |||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||
| type | ns:EpisodeNumber_Type | ||||||||
| properties |
|
||||||||
| facets |
|
||||||||
| source | <xs:element name="EpisodeNumber" type="ns:EpisodeNumber_Type" minOccurs="0"/> |
| diagram | |||||||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||||||||||||||||||
| type | ns:AdministrativeCategory_AtStartOfEpisode_Type | ||||||||||||||||||||||||
| properties |
|
||||||||||||||||||||||||
| facets |
|
||||||||||||||||||||||||
| source | <xs:element name="AdminCategoryAtStartOfEpisode" type="ns:AdministrativeCategory_AtStartOfEpisode_Type" minOccurs="0"/> |
| diagram | ||||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | |||||||||||||||||||||
| type | ns:PsychiatricPatientStatus_Type | |||||||||||||||||||||
| properties |
|
|||||||||||||||||||||
| facets |
|
|||||||||||||||||||||
| source | <xs:element name="PsychiatricPatientStatus" type="ns:PsychiatricPatientStatus_Type" minOccurs="0"/> |
| diagram | ![]() |
||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||
| type | ns:StartDate_Episode_Type | ||||
| properties |
|
||||
| annotation |
|
||||
| source | <xs:element name="StartDate_Episode" type="ns:StartDate_Episode_Type"> <xs:annotation> <xs:documentation xml:lang="en">XML Mandatory if this data structure is used</xs:documentation> </xs:annotation> </xs:element> |
| diagram | ![]() |
||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||
| type | ns:DetainedAndOrLongTermPsychiatricCensusDate_Type | ||||
| properties |
|
||||
| annotation |
|
||||
| source | <xs:element name="DetainedAndOrLongTermPsychiatricCensusDate" type="ns:DetainedAndOrLongTermPsychiatricCensusDate_Type"> <xs:annotation> <xs:documentation xml:lang="en">XML Mandatory if this data structure is used V6-0 Added as the Mandatory date. Carries the value of the CDS CENSUS DATE in addition to the CDS ACTIVITY DATE in the Transaction Header Group data structure.</xs:documentation> </xs:annotation> </xs:element> |
| diagram | ![]() |
||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||
| type | ns:VeryGeneralPurpose_Type | ||||||||
| properties |
|
||||||||
| children | ns:PartyIdentifier ns:IdentityNumber ns:FreeText ns:SequenceNumber | ||||||||
| source | <xs:element name="VeryGeneralPurpose_951" type="ns:VeryGeneralPurpose_Type" minOccurs="0" maxOccurs="99"/> |
| diagram | ![]() |
||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||
| type | ns:ServiceAgreementDetails_Structure | ||||||||
| properties |
|
||||||||
| children | ns:CommissioningSerialNumber ns:NHSServiceAgreementLineNumber ns:ProviderReferenceNumber ns:CommissionerReferenceNumber ns:OrganisationCode_CodeOfProvider ns:OrganisationCode_CodeOfCommissioner ns:NHSServiceAgreementChangeDate ns:VeryGeneralPurpose_934 | ||||||||
| source | <xs:element name="ServiceAgreementDetails" type="ns:ServiceAgreementDetails_Structure" minOccurs="0"/> |
| diagram | ![]() |
||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||
| type | ns:PersonGroupConsultant_Structure | ||||||||
| properties |
|
||||||||
| children | ns:ConsultantCode ns:MainSpecialtyCode ns:TreatmentFunctionCode ns:VeryGeneralPurpose_932 | ||||||||
| source | <xs:element name="PersonGroup_Consultant" type="ns:PersonGroupConsultant_Structure" minOccurs="0"/> |
| diagram | ![]() |
||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||
| type | ns:ClinicalDiagnosis_Structure | ||||||||
| properties |
|
||||||||
| children | ns:ClinicalDiagnosisGroupICD ns:ClinicalDiagnosisGroupREAD ns:ClinicalDiagnosisGroupAAndE | ||||||||
| annotation |
|
||||||||
| source | <xs:element name="ClinicalDiagnosisDetails" type="ns:ClinicalDiagnosis_Structure" minOccurs="0"> <xs:annotation> <xs:documentation>V6-0 Standard Data Structures introduced </xs:documentation> </xs:annotation> </xs:element> |
| diagram | ![]() |
||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||||
| properties |
|
||||||||||
| children | ns:StartOfEpisode ns:WardStayAtPsychiatricCensusDate | ||||||||||
| source | <xs:element name="LocationGroup" minOccurs="0"> <xs:complexType mixed="false"> <xs:sequence> <xs:element name="StartOfEpisode" minOccurs="0"> <xs:complexType mixed="false"> <xs:sequence> <xs:element name="LocationClass" type="ns:LocationClass_Type" minOccurs="0"/> <xs:element name="SiteCodeOfTreatment" type="ns:SiteCodeOfTreatment_Type" minOccurs="0"/> <xs:element name="LocationType" type="ns:LocationType_Type" minOccurs="0"/> <xs:element name="IntendedClinicalCareIntensity" type="ns:IntendedClinicalCareIntensity_Type" minOccurs="0"/> <xs:element name="AgeGroupIntended" type="ns:AgeGroupIntended_Type" minOccurs="0"/> <xs:element name="SexOfPatients" type="ns:SexOfPatients_Type" minOccurs="0"/> <xs:element name="WardDayPeriodAvailability" type="ns:WardDayPeriodAvailability_Type" minOccurs="0"/> <xs:element name="WardNightPeriodAvailability" type="ns:WardNightPeriodAvailability_Type" minOccurs="0"/> <xs:element name="VeryGeneralPurpose_980" type="ns:VeryGeneralPurpose_Type" minOccurs="0" maxOccurs="99"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="WardStayAtPsychiatricCensusDate" minOccurs="0"> <xs:complexType mixed="false"> <xs:sequence> <xs:element name="LocationClass" type="ns:LocationClass_Type" minOccurs="0"/> <xs:element name="SiteCodeOfTreatment" type="ns:SiteCodeOfTreatment_Type" minOccurs="0"/> <xs:element name="LocationType" type="ns:LocationType_Type" minOccurs="0"/> <xs:element name="IntendedClinicalCareIntensity" type="ns:IntendedClinicalCareIntensity_Type" minOccurs="0"/> <xs:element name="AgeGroupIntended" type="ns:AgeGroupIntended_Type" minOccurs="0"/> <xs:element name="SexOfPatients" type="ns:SexOfPatients_Type" minOccurs="0"/> <xs:element name="WardDayPeriodAvailability" type="ns:WardDayPeriodAvailability_Type" minOccurs="0"/> <xs:element name="WardNightPeriodAvailability" type="ns:WardNightPeriodAvailability_Type" minOccurs="0"> <xs:annotation> <xs:documentation xml:lang="en"> <Mandatory>M</Mandatory> <U_A/> <HES>Yes</HES> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="DetainedAndOrLongTermPsychiatricCensusDate" type="ns:DetainedAndOrLongTermPsychiatricCensusDate_Type" minOccurs="0"> <xs:annotation> <xs:documentation xml:lang="en">V6-0 Made Optional as the mandatory Census Date is contained in the Episode Characteristics. CDS ACTIVITY DATE in the Transaction Header Group also carries CENSUS DATE </xs:documentation> </xs:annotation> </xs:element> <xs:element name="VeryGeneralPurpose_981" type="ns:VeryGeneralPurpose_Type" minOccurs="0" maxOccurs="99"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> |
| diagram | ![]() |
||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||||
| properties |
|
||||||||||
| children | ns:LocationClass ns:SiteCodeOfTreatment ns:LocationType ns:IntendedClinicalCareIntensity ns:AgeGroupIntended ns:SexOfPatients ns:WardDayPeriodAvailability ns:WardNightPeriodAvailability ns:VeryGeneralPurpose_980 | ||||||||||
| source | <xs:element name="StartOfEpisode" minOccurs="0"> <xs:complexType mixed="false"> <xs:sequence> <xs:element name="LocationClass" type="ns:LocationClass_Type" minOccurs="0"/> <xs:element name="SiteCodeOfTreatment" type="ns:SiteCodeOfTreatment_Type" minOccurs="0"/> <xs:element name="LocationType" type="ns:LocationType_Type" minOccurs="0"/> <xs:element name="IntendedClinicalCareIntensity" type="ns:IntendedClinicalCareIntensity_Type" minOccurs="0"/> <xs:element name="AgeGroupIntended" type="ns:AgeGroupIntended_Type" minOccurs="0"/> <xs:element name="SexOfPatients" type="ns:SexOfPatients_Type" minOccurs="0"/> <xs:element name="WardDayPeriodAvailability" type="ns:WardDayPeriodAvailability_Type" minOccurs="0"/> <xs:element name="WardNightPeriodAvailability" type="ns:WardNightPeriodAvailability_Type" minOccurs="0"/> <xs:element name="VeryGeneralPurpose_980" type="ns:VeryGeneralPurpose_Type" minOccurs="0" maxOccurs="99"/> </xs:sequence> </xs:complexType> </xs:element> |
| diagram | ![]() |
|||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | |||||||||||||||||||||
| type | ns:LocationClass_Type | |||||||||||||||||||||
| properties |
|
|||||||||||||||||||||
| facets |
|
|||||||||||||||||||||
| source | <xs:element name="LocationClass" type="ns:LocationClass_Type" minOccurs="0"/> |
| diagram | ![]() |
|||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | |||||||||
| type | ns:SiteCodeOfTreatment_Type | |||||||||
| properties |
|
|||||||||
| facets |
|
|||||||||
| source | <xs:element name="SiteCodeOfTreatment" type="ns:SiteCodeOfTreatment_Type" minOccurs="0"/> |
| diagram | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | ns:LocationType_Type | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| properties |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| facets |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| source | <xs:element name="LocationType" type="ns:LocationType_Type" minOccurs="0"/> |
| diagram | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | ns:IntendedClinicalCareIntensity_Type | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| properties |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| facets |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| source | <xs:element name="IntendedClinicalCareIntensity" type="ns:IntendedClinicalCareIntensity_Type" minOccurs="0"/> |
| diagram | ![]() |
|||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | |||||||||||||||||||||
| type | ns:AgeGroupIntended_Type | |||||||||||||||||||||
| properties |
|
|||||||||||||||||||||
| facets |
|
|||||||||||||||||||||
| source | <xs:element name="AgeGroupIntended" type="ns:AgeGroupIntended_Type" minOccurs="0"/> |
| diagram | |||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||||||||||||
| type | ns:SexOfPatients_Type | ||||||||||||||||||
| properties |
|
||||||||||||||||||
| facets |
|
||||||||||||||||||
| source | <xs:element name="SexOfPatients" type="ns:SexOfPatients_Type" minOccurs="0"/> |
| diagram | ||||||||||||||||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | |||||||||||||||||||||||||||||||||
| type | ns:WardDayPeriodAvailability_Type | |||||||||||||||||||||||||||||||||
| properties |
|
|||||||||||||||||||||||||||||||||
| facets |
|
|||||||||||||||||||||||||||||||||
| source | <xs:element name="WardDayPeriodAvailability" type="ns:WardDayPeriodAvailability_Type" minOccurs="0"/> |
| diagram | ||||||||||||||||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | |||||||||||||||||||||||||||||||||
| type | ns:WardNightPeriodAvailability_Type | |||||||||||||||||||||||||||||||||
| properties |
|
|||||||||||||||||||||||||||||||||
| facets |
|
|||||||||||||||||||||||||||||||||
| source | <xs:element name="WardNightPeriodAvailability" type="ns:WardNightPeriodAvailability_Type" minOccurs="0"/> |
| diagram | ![]() |
||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||
| type | ns:VeryGeneralPurpose_Type | ||||||||
| properties |
|
||||||||
| children | ns:PartyIdentifier ns:IdentityNumber ns:FreeText ns:SequenceNumber | ||||||||
| source | <xs:element name="VeryGeneralPurpose_980" type="ns:VeryGeneralPurpose_Type" minOccurs="0" maxOccurs="99"/> |
| diagram | ![]() |
||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||||
| properties |
|
||||||||||
| children | ns:LocationClass ns:SiteCodeOfTreatment ns:LocationType ns:IntendedClinicalCareIntensity ns:AgeGroupIntended ns:SexOfPatients ns:WardDayPeriodAvailability ns:WardNightPeriodAvailability ns:DetainedAndOrLongTermPsychiatricCensusDate ns:VeryGeneralPurpose_981 | ||||||||||
| source | <xs:element name="WardStayAtPsychiatricCensusDate" minOccurs="0"> <xs:complexType mixed="false"> <xs:sequence> <xs:element name="LocationClass" type="ns:LocationClass_Type" minOccurs="0"/> <xs:element name="SiteCodeOfTreatment" type="ns:SiteCodeOfTreatment_Type" minOccurs="0"/> <xs:element name="LocationType" type="ns:LocationType_Type" minOccurs="0"/> <xs:element name="IntendedClinicalCareIntensity" type="ns:IntendedClinicalCareIntensity_Type" minOccurs="0"/> <xs:element name="AgeGroupIntended" type="ns:AgeGroupIntended_Type" minOccurs="0"/> <xs:element name="SexOfPatients" type="ns:SexOfPatients_Type" minOccurs="0"/> <xs:element name="WardDayPeriodAvailability" type="ns:WardDayPeriodAvailability_Type" minOccurs="0"/> <xs:element name="WardNightPeriodAvailability" type="ns:WardNightPeriodAvailability_Type" minOccurs="0"> <xs:annotation> <xs:documentation xml:lang="en"> <Mandatory>M</Mandatory> <U_A/> <HES>Yes</HES> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="DetainedAndOrLongTermPsychiatricCensusDate" type="ns:DetainedAndOrLongTermPsychiatricCensusDate_Type" minOccurs="0"> <xs:annotation> <xs:documentation xml:lang="en">V6-0 Made Optional as the mandatory Census Date is contained in the Episode Characteristics. CDS ACTIVITY DATE in the Transaction Header Group also carries CENSUS DATE </xs:documentation> </xs:annotation> </xs:element> <xs:element name="VeryGeneralPurpose_981" type="ns:VeryGeneralPurpose_Type" minOccurs="0" maxOccurs="99"/> </xs:sequence> </xs:complexType> </xs:element> |
| diagram | ![]() |
|||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | |||||||||||||||||||||
| type | ns:LocationClass_Type | |||||||||||||||||||||
| properties |
|
|||||||||||||||||||||
| facets |
|
|||||||||||||||||||||
| source | <xs:element name="LocationClass" type="ns:LocationClass_Type" minOccurs="0"/> |
| diagram | ![]() |
|||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | |||||||||
| type | ns:SiteCodeOfTreatment_Type | |||||||||
| properties |
|
|||||||||
| facets |
|
|||||||||
| source | <xs:element name="SiteCodeOfTreatment" type="ns:SiteCodeOfTreatment_Type" minOccurs="0"/> |
| diagram | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | ns:LocationType_Type | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| properties |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| facets |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| source | <xs:element name="LocationType" type="ns:LocationType_Type" minOccurs="0"/> |
| diagram | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | ns:IntendedClinicalCareIntensity_Type | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| properties |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| facets |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| source | <xs:element name="IntendedClinicalCareIntensity" type="ns:IntendedClinicalCareIntensity_Type" minOccurs="0"/> |
| diagram | ![]() |
|||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | |||||||||||||||||||||
| type | ns:AgeGroupIntended_Type | |||||||||||||||||||||
| properties |
|
|||||||||||||||||||||
| facets |
|
|||||||||||||||||||||
| source | <xs:element name="AgeGroupIntended" type="ns:AgeGroupIntended_Type" minOccurs="0"/> |
| diagram | |||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||||||||||||
| type | ns:SexOfPatients_Type | ||||||||||||||||||
| properties |
|
||||||||||||||||||
| facets |
|
||||||||||||||||||
| source | <xs:element name="SexOfPatients" type="ns:SexOfPatients_Type" minOccurs="0"/> |
| diagram | ||||||||||||||||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | |||||||||||||||||||||||||||||||||
| type | ns:WardDayPeriodAvailability_Type | |||||||||||||||||||||||||||||||||
| properties |
|
|||||||||||||||||||||||||||||||||
| facets |
|
|||||||||||||||||||||||||||||||||
| source | <xs:element name="WardDayPeriodAvailability" type="ns:WardDayPeriodAvailability_Type" minOccurs="0"/> |
| diagram | ![]() |
|||||||||||||||||||||||||||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | |||||||||||||||||||||||||||||||||
| type | ns:WardNightPeriodAvailability_Type | |||||||||||||||||||||||||||||||||
| properties |
|
|||||||||||||||||||||||||||||||||
| facets |
|
|||||||||||||||||||||||||||||||||
| annotation |
|
|||||||||||||||||||||||||||||||||
| source | <xs:element name="WardNightPeriodAvailability" type="ns:WardNightPeriodAvailability_Type" minOccurs="0"> <xs:annotation> <xs:documentation xml:lang="en"> <Mandatory>M</Mandatory> <U_A/> <HES>Yes</HES> </xs:documentation> </xs:annotation> </xs:element> |
| diagram | ![]() |
||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||
| type | ns:DetainedAndOrLongTermPsychiatricCensusDate_Type | ||||||||
| properties |
|
||||||||
| annotation |
|
||||||||
| source | <xs:element name="DetainedAndOrLongTermPsychiatricCensusDate" type="ns:DetainedAndOrLongTermPsychiatricCensusDate_Type" minOccurs="0"> <xs:annotation> <xs:documentation xml:lang="en">V6-0 Made Optional as the mandatory Census Date is contained in the Episode Characteristics. CDS ACTIVITY DATE in the Transaction Header Group also carries CENSUS DATE </xs:documentation> </xs:annotation> </xs:element> |
| diagram | ![]() |
||||||||
| namespace | http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns | ||||||||
| type | ns:VeryGeneralPurpose_Type | ||||||||
| properties |
|
||||||||
| children | ns:PartyIdentifier ns:IdentityNumber ns:FreeText ns:SequenceNumber | ||||||||
| source | <xs:element name="VeryGeneralPurpose_981" type="ns:VeryGeneralPurpose_Type" minOccurs="0" maxOccurs="99"/> |