complexType UnfinishedDeliveryEpisode_Structure
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p810.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
children ns:EpisodeCharacteristics ns:ServiceAgreementDetails ns:PersonGroup_Consultant ns:ClinicalDiagnosisDetails ns:ClinicalTreatmentDetails ns:APCLocationGroup
used by
element AdmittedPatientCare_Unfinished_DeliveryEpisode_Structure/UnfinishedDeliveryEpisode
annotation
documentation
V6-0:
Episode Start Date is SUS MANDATORY
source <xs:complexType name="UnfinishedDeliveryEpisode_Structure">
 
<xs:annotation>
   
<xs:documentation>V6-0:
Episode Start 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="LastEpisodeInSpellIndicator" type="ns:LastEpisodeInSpellIndicator_Type" minOccurs="0"/>
         
<xs:element name="AdminCategoryAtStartOfEpisode" type="ns:AdministrativeCategory_AtStartOfEpisode_Type" minOccurs="0"/>
         
<xs:element name="OperationStatus" type="ns:OperationStatus_Type" minOccurs="0"/>
         
<xs:element name="PsychiatricPatientStatus" type="ns:PsychiatricPatientStatus_Type" minOccurs="0"/>
         
<xs:element name="LegalStatusClassificationCode_AtStartOfEpisode" type="ns:LegalStatusClassificationCode_AtStartOfEpisode_Type" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation xml:lang="en">For Psychiatric Patients Only
Not used in CDS Type 160 (Other Delivery)
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<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
V6-0:
Start Date_Episode is validated as SUS MANDATORY and is associated with the mandatory CDS Activity Date.
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="EndDate_Episode" type="ns:EndDate_Episode_Type" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation xml:lang="en">V6-0:
EndDate_Episode is validated as SUS MANDATORY and is associated with the mandatory CDS Activity Date.
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="AgeAtCDSActivityDate" type="ns:AgeAtCDSActivityDate_Type">
           
<xs:annotation>
             
<xs:documentation xml:lang="en">XML Mandatory if this data structure is used
V6:0
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="VeryGeneralPurpose_949" 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="ClinicalTreatmentDetails" type="ns:ClinicalActivity_Structure" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>V6-0
Standard Data Structures introduced
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="APCLocationGroup" type="ns:APCLocationGroup_Structure" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element UnfinishedDeliveryEpisode_Structure/EpisodeCharacteristics
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p811.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
properties
isRef 0
content complex
mixed false
children ns:EpisodeNumber ns:LastEpisodeInSpellIndicator ns:AdminCategoryAtStartOfEpisode ns:OperationStatus ns:PsychiatricPatientStatus ns:LegalStatusClassificationCode_AtStartOfEpisode ns:StartDate_Episode ns:EndDate_Episode ns:AgeAtCDSActivityDate ns:VeryGeneralPurpose_949
annotation
documentation
XML Mandatory if this data structure is used
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="LastEpisodeInSpellIndicator" type="ns:LastEpisodeInSpellIndicator_Type" minOccurs="0"/>
     
<xs:element name="AdminCategoryAtStartOfEpisode" type="ns:AdministrativeCategory_AtStartOfEpisode_Type" minOccurs="0"/>
     
<xs:element name="OperationStatus" type="ns:OperationStatus_Type" minOccurs="0"/>
     
<xs:element name="PsychiatricPatientStatus" type="ns:PsychiatricPatientStatus_Type" minOccurs="0"/>
     
<xs:element name="LegalStatusClassificationCode_AtStartOfEpisode" type="ns:LegalStatusClassificationCode_AtStartOfEpisode_Type" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">For Psychiatric Patients Only
Not used in CDS Type 160 (Other Delivery)
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<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
V6-0:
Start Date_Episode is validated as SUS MANDATORY and is associated with the mandatory CDS Activity Date.
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="EndDate_Episode" type="ns:EndDate_Episode_Type" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">V6-0:
EndDate_Episode is validated as SUS MANDATORY and is associated with the mandatory CDS Activity Date.
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="AgeAtCDSActivityDate" type="ns:AgeAtCDSActivityDate_Type">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">XML Mandatory if this data structure is used
V6:0
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="VeryGeneralPurpose_949" type="ns:VeryGeneralPurpose_Type" minOccurs="0" maxOccurs="99"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element UnfinishedDeliveryEpisode_Structure/EpisodeCharacteristics/EpisodeNumber
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p812.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:EpisodeNumber_Type
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
Kind Value annotation 
totalDigits 
source <xs:element name="EpisodeNumber" type="ns:EpisodeNumber_Type" minOccurs="0"/>

element UnfinishedDeliveryEpisode_Structure/EpisodeCharacteristics/LastEpisodeInSpellIndicator
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p813.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:LastEpisodeInSpellIndicator_Type
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
Kind Value annotation 
totalDigits 
enumeration 
enumeration 
enumeration 
source <xs:element name="LastEpisodeInSpellIndicator" type="ns:LastEpisodeInSpellIndicator_Type" minOccurs="0"/>

element UnfinishedDeliveryEpisode_Structure/EpisodeCharacteristics/AdminCategoryAtStartOfEpisode
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p814.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:AdministrativeCategory_AtStartOfEpisode_Type
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
Kind Value annotation 
totalDigits 
enumeration 01 
enumeration 02 
enumeration 03 
enumeration 04 
enumeration 98 
enumeration 99 
source <xs:element name="AdminCategoryAtStartOfEpisode" type="ns:AdministrativeCategory_AtStartOfEpisode_Type" minOccurs="0"/>

element UnfinishedDeliveryEpisode_Structure/EpisodeCharacteristics/OperationStatus
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p815.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:OperationStatus_Type
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
Kind Value annotation 
totalDigits 
enumeration 
enumeration 
enumeration 
source <xs:element name="OperationStatus" type="ns:OperationStatus_Type" minOccurs="0"/>

element UnfinishedDeliveryEpisode_Structure/EpisodeCharacteristics/PsychiatricPatientStatus
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p816.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:PsychiatricPatientStatus_Type
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
Kind Value annotation 
totalDigits 
enumeration 
enumeration 
enumeration 
enumeration 
enumeration 
source <xs:element name="PsychiatricPatientStatus" type="ns:PsychiatricPatientStatus_Type" minOccurs="0"/>

element UnfinishedDeliveryEpisode_Structure/EpisodeCharacteristics/LegalStatusClassificationCode_AtStartOfEpisode
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p817.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:LegalStatusClassificationCode_AtStartOfEpisode_Type
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
Kind Value annotation 
totalDigits 
enumeration 01 
enumeration 02 
enumeration 03 
enumeration 04 
enumeration 05 
enumeration 06 
enumeration 07 
enumeration 08 
enumeration 09 
enumeration 10 
enumeration 12 
enumeration 13 
enumeration 14 
enumeration 15 
enumeration 16 
enumeration 17 
enumeration 18 
enumeration 19 
enumeration 20 
enumeration 31 
enumeration 32 
enumeration 33 
enumeration 34 
enumeration 35 
enumeration 36 
enumeration 98 
enumeration 99 
annotation
documentation
For Psychiatric Patients Only
Not used in CDS Type 160 (Other Delivery)
source <xs:element name="LegalStatusClassificationCode_AtStartOfEpisode" type="ns:LegalStatusClassificationCode_AtStartOfEpisode_Type" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">For Psychiatric Patients Only
Not used in CDS Type 160 (Other Delivery)
</xs:documentation>
 
</xs:annotation>
</xs:element>

element UnfinishedDeliveryEpisode_Structure/EpisodeCharacteristics/StartDate_Episode
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p818.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:StartDate_Episode_Type
properties
isRef 0
content simple
annotation
documentation
XML Mandatory if this data structure is used
V6-0:
Start Date_Episode is validated as SUS MANDATORY and is associated with the mandatory CDS Activity Date.
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
V6-0:
Start Date_Episode is validated as SUS MANDATORY and is associated with the mandatory CDS Activity Date.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element UnfinishedDeliveryEpisode_Structure/EpisodeCharacteristics/EndDate_Episode
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p819.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:EndDate_Episode_Type
properties
isRef 0
minOcc 0
maxOcc 1
content simple
annotation
documentation
V6-0:
EndDate_Episode is validated as SUS MANDATORY and is associated with the mandatory CDS Activity Date.
source <xs:element name="EndDate_Episode" type="ns:EndDate_Episode_Type" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">V6-0:
EndDate_Episode is validated as SUS MANDATORY and is associated with the mandatory CDS Activity Date.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element UnfinishedDeliveryEpisode_Structure/EpisodeCharacteristics/AgeAtCDSActivityDate
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p820.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:AgeAtCDSActivityDate_Type
properties
isRef 0
content simple
facets
Kind Value annotation 
totalDigits 
annotation
documentation
XML Mandatory if this data structure is used
V6:0
source <xs:element name="AgeAtCDSActivityDate" type="ns:AgeAtCDSActivityDate_Type">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">XML Mandatory if this data structure is used
V6:0
</xs:documentation>
 
</xs:annotation>
</xs:element>

element UnfinishedDeliveryEpisode_Structure/EpisodeCharacteristics/VeryGeneralPurpose_949
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p821.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:VeryGeneralPurpose_Type
properties
isRef 0
minOcc 0
maxOcc 99
content complex
children ns:PartyIdentifier ns:IdentityNumber ns:FreeText ns:SequenceNumber
source <xs:element name="VeryGeneralPurpose_949" type="ns:VeryGeneralPurpose_Type" minOccurs="0" maxOccurs="99"/>

element UnfinishedDeliveryEpisode_Structure/ServiceAgreementDetails
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p822.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:ServiceAgreementDetails_Structure
properties
isRef 0
minOcc 0
maxOcc 1
content complex
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"/>

element UnfinishedDeliveryEpisode_Structure/PersonGroup_Consultant
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p823.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:PersonGroupConsultant_Structure
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children ns:ConsultantCode ns:MainSpecialtyCode ns:TreatmentFunctionCode ns:VeryGeneralPurpose_932
source <xs:element name="PersonGroup_Consultant" type="ns:PersonGroupConsultant_Structure" minOccurs="0"/>

element UnfinishedDeliveryEpisode_Structure/ClinicalDiagnosisDetails
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p824.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:ClinicalDiagnosis_Structure
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children ns:ClinicalDiagnosisGroupICD ns:ClinicalDiagnosisGroupREAD ns:ClinicalDiagnosisGroupAAndE
annotation
documentation
V6-0
Standard Data Structures introduced
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>

element UnfinishedDeliveryEpisode_Structure/ClinicalTreatmentDetails
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p825.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:ClinicalActivity_Structure
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children ns:ClinicalActivityGroupOPCS ns:ClinicalActivityGroupREAD ns:ClinicalTreatmentGroupAandE
annotation
documentation
V6-0
Standard Data Structures introduced
source <xs:element name="ClinicalTreatmentDetails" type="ns:ClinicalActivity_Structure" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>V6-0
Standard Data Structures introduced
</xs:documentation>
 
</xs:annotation>
</xs:element>

element UnfinishedDeliveryEpisode_Structure/APCLocationGroup
diagram CDS-XML_Schema_Documentation-v6-1-1-2010-12-10_p826.png
namespace http://www.nhsia.nhs.uk/DataStandards/XMLschema/CDS/ns
type ns:APCLocationGroup_Structure
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children ns:StartOfEpisode ns:WardStay ns:EndOfEpisode
source <xs:element name="APCLocationGroup" type="ns:APCLocationGroup_Structure" minOccurs="0"/>


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