Cover Pages Logo SEARCH
Advanced Search
ABOUT
Site Map
CP RSS Channel
Contact Us
Sponsoring CP
About Our Sponsors

NEWS
Cover Stories
Articles & Papers
Press Releases

CORE STANDARDS
XML
SGML
Schemas
XSL/XSLT/XPath
XLink
XML Query
CSS
SVG

TECHNOLOGY REPORTS
XML Applications
General Apps
Government Apps
Academic Apps

EVENTS
LIBRARY
Introductions
FAQs
Bibliography
Technology and Society
Semantics
Tech Topics
Software
Related Standards
Historic

UCMR XML Document Type Definition, Version 2.1


UCMR XML Document Type Definition, Version 2.1
Appendix A of the IG
See: http://epacdx.lmi.org/UCMR/Help/IG/IG_SDWARS-UCMR(VolIV-XML).pdf



Appendix A
UCMR XML Document Type Definition, Version 2.1

<?xml version='1.0' encoding='UTF-8' ?>
<!-- This XML DTD was developed on behalf of EPA for reporting data related to the Unregulated Contaminant
Monitoring Regulation (UCMR)
Author: Paul Macias
Company: Logistics Management Institute
Contact Information: pmacias@lmi.org
Schema Version: 2.1
Date: 04/13/01
-->
<!-- Acronyms used in this DTD:
UCMR = Unregulated Contaminant Monitoring Regulation,
CDX = Central Data Exchange,
PWSS = Public Water System Supervision,
PWS = Public Water System
-->
<!ELEMENT UCMR_PWSS (Header_Data , Detail)>
<!ELEMENT Header_Data (Base_Header_Data , Customer_Header_Data)>
<!ELEMENT Detail (Lab_Id , Batch* , PWS*)>
<!ELEMENT Base_Header_Data (CDX_Identification , Schema_Version , Environment , Report_Type)>
<!ELEMENT Customer_Header_Data (Transaction)>
<!ELEMENT CDX_Identification (#PCDATA)>
<!-- "CDX_Identification" is the sender's CDX user ID.
-->
<!ELEMENT Schema_Version (#PCDATA)>
<!-- The version of this schema is "2.1"
-->
<!ELEMENT Environment (#PCDATA)>
<!-- Valid environment codes are:
T: Test
P: Production
-->
<!ELEMENT Transaction (Transaction_Purpose , Transaction_Date , Transaction_Time)>
<!ELEMENT Report_Type (#PCDATA)>
<!-- The Report_Type code must be:
UCM: Unregulated Contaminant Monitoring
-->

<!ELEMENT Transaction_Purpose (#PCDATA)>
<!-- Valid Transaction_Purpose values are
o: Original submission
r: Replacement submission
-->
<!ELEMENT Transaction_Date (#PCDATA)>
<!ATTLIST Transaction_Date e-dtype NMTOKEN #FIXED 'date' >
<!ELEMENT Transaction_Time (#PCDATA)>
<!ATTLIST Transaction_Time e-dtype NMTOKEN #FIXED 'time' >
<!ELEMENT Lab_Id (#PCDATA)>
<!-- For Lab_Id use the federal laboratory number -->
<!ELEMENT Batch (Batch_Id , Extraction_Analysis_Date , Analytical_Method , Analyte+)>
<!ELEMENT PWS (PWS_Id , Facility+)>
<!ELEMENT Batch_Id (#PCDATA)>
<!-- For Batch_Id provide an extraction batch number. If the analytical method does not involve
extraction in the process, provide the analysis batch number.
-->
<!ELEMENT Extraction_Analysis_Date (#PCDATA)>
<!ATTLIST Extraction_Analysis_Date e-dtype NMTOKEN #FIXED 'date' >
<!ELEMENT Analytical_Method (#PCDATA)>
<!-- For Analytical_Method use the SDWIS code list for methods.
-->
<!ELEMENT Analyte (Analyte_Code , Spiking_Concentration , Analytical_Precision , Analytical_Accuracy)>
<!ELEMENT Analyte_Code (#PCDATA)>
<!ELEMENT Spiking_Concentration (#PCDATA)>
<!ELEMENT Analytical_Precision (#PCDATA)>
<!ELEMENT Analytical_Accuracy (#PCDATA)>
<!ELEMENT PWS_Id (#PCDATA)>
<!ELEMENT Facility (Facility_Id , Facility_Sample_Point+)>
<!ELEMENT Facility_Id (#PCDATA)>
<!ELEMENT Facility_Sample_Point (Sample_Point_Id , Sample_Point_Sample+)>
<!ELEMENT Sample_Point_Id (#PCDATA)>
<!ELEMENT Sample_Point_Sample (Sample_Id , Sample_Collection_Date , Analysis_Type ,
Lab_Sample_Comment? , Analysis+)>
<!ELEMENT Sample_Id (#PCDATA)>
UCMR XML DTD, Version 2.1
<!ELEMENT Sample_Collection_Date (#PCDATA)>
<!ATTLIST Sample_Collection_Date e-dtype NMTOKEN #FIXED 'date' >
<!ELEMENT Analysis_Type (#PCDATA)>
<!-- Valid Analysis_Type values are:
rfs: Raw field sample - untreated sample collected and submitted for analysis under this rule.
rds: Raw duplicate field sample - untreated field sample duplicate collected at the same time and place
as the raw field sample and  - treated sample collected and submitted for analysis under this rule.
tds: Treated duplicate field sample - Treated duplicate field sample
collected at the same time and place as the treated field sample and submitted for analysis under this rule.
-->
<!ELEMENT Lab_Sample_Comment (#PCDATA)>
<!ELEMENT Analysis (Analyte_Code , Batch_Id , Analytical_Method, Analysis_Result , Analysis _Status?)>
<!ELEMENT Analysis_Result (Value? , Result_Sign , Presence?)>
<!ELEMENT Analysis_Status (Reviewer_Status , Lab_Result_Comment?)>
<!ELEMENT Value (#PCDATA)>
<!-- Values must be in the appropriate unit of measure for analyte as stated in the UCMR. Though the units of
measure are not transmitted, the list of units of measure is:
Degrees Celsius
Micrograms per liter
Nephelometric turbidity units
pH units
Micrograms per liter
-->
<!ELEMENT Result_Sign (#PCDATA)>
<!-- Valid Result_Sign values are:
lt: Less than
eq: Equals
-->
<!ELEMENT Presence (#PCDATA)>
<!-- Valid Presence values are:
p: Present
a: Absent
-->
<!ELEMENT Reviewer_Status (#PCDATA)>
<!-- Valid Reviewer_Status values are:
h: Hold result record
a: Approve result
-->
<!ELEMENT Lab_Result_Comment (#PCDATA)>


Prepared by Robin Cover for The XML Cover Pages archive.


Globe Image

Document URL: http://xml.coverpages.org/EPA-UCMR-DTD.html