CROWNWeb Schema Change log


Change #1

**********CROWN-CLINICAL*************

crown-clinical-cpms.xsd

 <xsd:complexType name="OutpatientAntibiotics">
 <xsd:annotation>
 <xsd:documentation>
 Outpatient Antibiotics Administered.

 "antibiotic": Prescription given.

 "sepsis": 
- "true": Patient has symptoms of clinical sepsis 
(e.g., fever (>38C), rigors, blood pressure drop, 
alternate blood pressure drop, altered mental status)
 - "false: Patient does not have symptoms of clinical Sepsis 
(e.g., fever (>38C), rigors, blood pressure drop, 
alternate blood pressure drop, altered mental status)

 "softTissue": 
- "true": Patient has signs of soft tissue infection including pus or 
exudates, and at least two of the following: redness, pain or 
swelling.
 - "false": Patient does not have signs of soft tissue infection.

 "dialysate": Peritoneal Dialysate Culture Result
 - "true": Peritoneal dialysate culture was positive
 - "false": Peritoneal dialysate culture was negative
 - absent: Peritoneal dialysate culture was not performed

 "effluent": Result of Peritoneal Dialysis Effluent Analysis
 - "true": Peritoneal dialysis effluent cell counts/differential 
indicative of possible infection
 - "false": Peritoneal dialysis effluent cell counts/differential 
not indicative of possible infection
 - absent: Peritoneal dialysis effluent cell counts/differential 
not performed

 "bloodCulture": Blood culture information.

 "hospitalizationDate": date present iff hospitalization required.
 </xsd:documentation>
 </xsd:annotation>
 <xsd:sequence>
 <xsd:element name="antibiotic" type="Prescription" minOccurs="0" />
 <xsd:element name="sepsis" type="xsd:boolean" minOccurs="0" />
 <xsd:element name="softTissue" type="xsd:boolean" minOccurs="0" />
 <xsd:element name="dialysate" type="ListedDialysateType" minOccurs="0" />
 <xsd:element name="effluent" type="ListedEffluentType" minOccurs="0" />
 <xsd:element name="bloodCulture" type="BloodCulture" minOccurs="0" />
 <xsd:element name="hospitalizationDate" type="xsd:date" minOccurs="0" />
 </xsd:sequence>
 </xsd:complexType>

 <xsd:simpleType name="ListedDialysateType" >
 <xsd:restriction base="xsd:string">
 <xsd:enumeration value="true" />
 <xsd:enumeration value="false" />
 <xsd:enumeration value="absent" />
 </xsd:restriction>
 </xsd:simpleType>
 
<xsd:simpleType name="ListedEffluentType" >
 <xsd:restriction base="xsd:string">
 <xsd:enumeration value="true" />
 <xsd:enumeration value="false" />
 <xsd:enumeration value="absent" />
 </xsd:restriction>
 </xsd:simpleType>

 <xsd:complexType name="BloodCulture">
 <xsd:annotation>
 <xsd:documentation>Blood culture information.</xsd:documentation>
 </xsd:annotation>
 <xsd:sequence>
 <xsd:element name="result" type="Polarity" />
 <xsd:element name="cultureDate" type="xsd:date" minOccurs="0" />
 <xsd:element name="organisms" type="xsd:string" minOccurs="0" />
 </xsd:sequence>
 </xsd:complexType>


For OutpatientAntibiotics
 Change antibiotic ,sepsis, softTissue, dialysate and effluent to be optional.
 <xsd:element name="antibiotic" type="Prescription" minOccurs="0" />
 <xsd:element name="sepsis" type="xsd:boolean" minOccurs="0" />
 <xsd:element name="softTissue" type="xsd:boolean" minOccurs="0" />
 <xsd:element name="dialysate" type="ListedDialysateType" minOccurs="0" />
 <xsd:element name="effluent" type="ListedEffluentType" minOccurs="0" />
 <xsd:element name="bloodCulture" type="BloodCulture" minOccurs="0" />

Change the type of dialysate and effluent to ListedDialysateType and ListedEffluentType correspondingly.

Add ListedDialysateType and ListedEffluentType

 <xsd:simpleType name="ListedDialysateType" >
 <xsd:restriction base="xsd:string">
 <xsd:enumeration value="true" />
 <xsd:enumeration value="false" />
 <xsd:enumeration value="absent" />
 </xsd:restriction>
 </xsd:simpleType>
 
<xsd:simpleType name="ListedEffluentType" >
 <xsd:restriction base="xsd:string">
 <xsd:enumeration value="true" />
 <xsd:enumeration value="false" />
 <xsd:enumeration value="absent" />
 </xsd:restriction>
 </xsd:simpleType>


For BloodCulture
Change result, cultureDate to be optional
 <xsd:element name="cultureDate" type="xsd:date" minOccurs="0" />




Change #2

**********CROWN-CLINICAL*************

crown-clinical-cpms.xsd

  <xsd:complexType name="HKtVInfo">
    <xsd:annotation>
      <xsd:documentation>
          "nPCR": Normalized Protein Catabolic (nPCR) Rate (g/kg/day).
          "nPCRDate": nPCR collection date.
          "residualUrea": Residual Urea Clearance for HD (mL/min/1.73 m2)
      </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
      <xsd:group ref="DecimalDateGroup" minOccurs="0" />
      <xsd:element name="method" type="HKtVMethod" minOccurs="0" />
      <xsd:element name="hgt" type="Height" minOccurs="0" />
      <xsd:element name="bun" type="Bun" minOccurs="0" />
      <xsd:element name="interdialyticTime" type="NonEmptyString" />
      <xsd:element name="nPCR" type="NPCRValue" minOccurs="0" />
      <xsd:element name="residualUreaClearance" type="xsd:decimal" 
                    minOccurs="0" />
    </xsd:sequence>
  </xsd:complexType>


Change the type of interdialyticTime to NonEmptyString 

<xsd:element name="interdialyticTime" type="NonEmptyString" />

** THE ABOVE CHANGE HAS BEEN SUPERCEDED BY CHANGE #9 BELOW **




Change #3

**********CROWN-CLINICAL*************

crown-clinical-cpms.xsd

  <xsd:complexType name="HepatitisB">
    <xsd:annotation>
      <xsd:documentation>Hepatitis B Test Information (HBsAg).</xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
      <xsd:element name="testType" type="HepBTestType" minOccurs="0" />
      <xsd:element name="testDate" type="xsd:date" minOccurs="0" />
      <xsd:element name="vaccinationDate1" type="xsd:date" 
                   minOccurs="0" />
      <xsd:element name="vaccinationDate2" type="xsd:date" 
                   minOccurs="0" />
      <xsd:element name="vaccinationDate3" type="xsd:date" 
                   minOccurs="0" />
      <xsd:element name="vaccinationDate4" type="xsd:date" 
                   minOccurs="0" />                                                                            
      <xsd:element name="boosterDate1" type="xsd:date" 
                    minOccurs="0" />
      <xsd:element name="boosterDate2" type="xsd:date" 
                    minOccurs="0" />
      <xsd:element name="boosterDate3" type="xsd:date" 
                    minOccurs="0" />
      <xsd:element name="boosterDate4" type="xsd:date" 
                    minOccurs="0" />                                                                                
      <xsd:element name="exclusion" type="Exclusion" minOccurs="0" />
      <xsd:element name="antiHBs" type="AntiHBs" minOccurs="0" />
    </xsd:sequence>
  </xsd:complexType>


Removed:
 <xsd:element name="vaccinationDate" type="xsd:date" 
minOccurs="0" maxOccurs="4" />
 <xsd:element name="boosterDate" type="xsd:date" 
minOccurs="0" maxOccurs="4" />

Added:
<xsd:element name="vaccinationDate1" type="xsd:date" 
minOccurs="0" />
 <xsd:element name="vaccinationDate2" type="xsd:date" 
minOccurs="0" />
 <xsd:element name="vaccinationDate3" type="xsd:date" 
minOccurs="0" />
 <xsd:element name="vaccinationDate4" type="xsd:date" 
minOccurs="0" /> 
<xsd:element name="boosterDate1" type="xsd:date" 
minOccurs="0" />
 <xsd:element name="boosterDate2" type="xsd:date" 
minOccurs="0" />
 <xsd:element name="boosterDate3" type="xsd:date" 
minOccurs="0" />
 <xsd:element name="boosterDate4" type="xsd:date" 
minOccurs="0" /> 

 


Change #4

**********CROWN-CLINICAL*************

crown-clinical-cpms.xsd

  <xsd:complexType name="NPCRValue" >
    <xsd:group ref="DecimalDateGroup" />
  </xsd:complexType>


Remove attribute nPcrMeasure:
    <xsd:attribute name="nPcrMeasure" type="ListedLabMeasure" default="g/kg/day" />




Change #5

**********CROWN-CLINICAL*************

crown-clinical-cpms.xsd

Removed "doseMeasure" element form "NonOralVitaminD" type definition

  <xsd:complexType name="NonOralVitaminD" >
    <xsd:annotation>
      <xsd:documentation>
        CPMs related to non-oral vitamin D administration.
      </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
      <xsd:element name="analog" type="NonOralVitaminDAnalog" />
      <xsd:element name="route" type="ListedDeliveryRouteOnly" />
      <xsd:element name="dose" type="xsd:decimal" />
    </xsd:sequence>
  </xsd:complexType>


Removed:
      <xsd:element name="doseMeasure" type="DoseMeasure" />




Change #6

**********CROWN-CLINICAL*************

crown-clinical-cpms.xsd

  <xsd:complexType name="PKtVInfo">
    <xsd:sequence>
      <xsd:element name="ktV" type="PKtV" minOccurs="0" />
      <xsd:element name="nPCR" type="NPCRValue" minOccurs="0" />
      <xsd:element name="dun" type="xsd:decimal" minOccurs="0" />
      <xsd:element name="urea" type="xsd:decimal" minOccurs="0" />
      <xsd:element name="ucr" type="xsd:decimal" minOccurs="0" />
      <xsd:element name="dcr" type="xsd:decimal" minOccurs="0" />
      <xsd:element name="serBun" type="xsd:int" minOccurs="0" />
      <xsd:element name="dialVol" type="xsd:int" minOccurs="0" />
      <xsd:element name="urineVol" type="xsd:int" minOccurs="0" />
      <xsd:element name="wgt" type="Weight" minOccurs="0" />
      <xsd:element name="bsac" type="xsd:boolean" minOccurs="0" />
      <xsd:element name="crc" type="CrcValue" minOccurs="0" />
      <xsd:element name="cre" type="PKtVCreValue" minOccurs="0" />
      <xsd:element name="hgt" type="Height" minOccurs="0" />
    </xsd:sequence>
  </xsd:complexType>


Changed from:
	<xsd:element name="cre" type="CreValue" minOccurs="0" />
Changed to:
        <xsd:element name="cre" type="PKtVCreValue" minOccurs="0" />

Added:

  <xsd:complexType name="PKtVCreValue">
    <xsd:sequence>
          <xsd:element name="value" type="xsd:decimal" />
    </xsd:sequence>
  </xsd:complexType>




Change #7

**********CROWN-PATIENT*************  

crown-patient.xsd

Removed unused type "RaceSelfReported":

  <xsd:complexType name="RaceSelfReported">
    <xsd:annotation>
      <xsd:documentation>Race Self-Reported.</xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
      <xsd:element name="listed" type="ListedRaceSelfReported" />
      <xsd:element name="other" type="xsd:string" minOccurs="0" />
    </xsd:sequence>
  </xsd:complexType>




Change #8

**********CROWN-PATIENT*************  

crown-patient.xsd

Removed "Legacy" from the "ListedRaceSelfReported" options

  <xsd:simpleType name="ListedRaceSelfReported">
    <xsd:annotation>
      <xsd:documentation>
        Listed Race Self-Reported.
        - Self Reported by
        Patient
        - Not Self Reported
        - Reported by family member
        - Patient
        chooses not to support
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="SelfReported" />
      <xsd:enumeration value="NotSelfReported" />
      <xsd:enumeration value="FamilyReported" />
      <xsd:enumeration value="PatientDeclined" />
    </xsd:restriction>
  </xsd:simpleType>


Removed this line:
      <xsd:enumeration value="Legacy" />




Change #9

**********CROWN-CLINICAL*************

crown-clinical-cpms.xsd

Changed "interdialyticTime" element from type "NonEmptyString" to type "xsd:string"

Changed from:
<xsd:element name="interdialyticTime" type="NonEmptyString" />

Changed to:
<xsd:element name="interdialyticTime" type="xsd:string" />




Change #10

**********CROWN-CLINICAL*************

crown-clinical-cpms.xsd

Changed element "postDialysisTargetWgtRxed" to be optional

Changed from:
<xsd:element name="postDialysisTargetWgtRxed" type="xsd:boolean" />

Changed to:
<xsd:element name="postDialysisTargetWgtRxed" type="xsd:boolean" minOccurs="0" />




Change #11

**********CROWN-CLINICAL*************

crown-clinical-cpms.xsd

Changed element "nonOralPrescribed" to be optional

Changed from:
<xsd:element name="nonOralPrescribed" type="xsd:boolean" />

Changed to:
<xsd:element name="nonOralPrescribed" type="xsd:boolean" minOccurs="0" />




Change #12

**********CROWN-CLINICAL*************

crown-clinical-cpms.xsd

Changed element "advanceDirective" to allow multiple selections

Changed from:
<xsd:element name="advanceDirective" type="AdvanceDirective" minOccurs="0" />

Changed to:
<xsd:element name="advanceDirective" type="AdvanceDirective" minOccurs="0" maxOccurs="unbounded" />




Change #13

**********CROWN-CLINICAL*************

crown-clinical-cpms.xsd

Removed "cre" element from "PKtVInfo" type definition

  <xsd:complexType name="PKtVInfo">
    <xsd:sequence>
      <xsd:element name="ktV" type="PKtV" minOccurs="0" />
      <xsd:element name="nPCR" type="NPCRValue" minOccurs="0" />
      <xsd:element name="dun" type="xsd:decimal" minOccurs="0" />
      <xsd:element name="urea" type="xsd:decimal" minOccurs="0" />
      <xsd:element name="ucr" type="xsd:decimal" minOccurs="0" />
      <xsd:element name="dcr" type="xsd:decimal" minOccurs="0" />
      <xsd:element name="serBun" type="xsd:int" minOccurs="0" />
      <xsd:element name="dialVol" type="xsd:int" minOccurs="0" />
      <xsd:element name="urineVol" type="xsd:int" minOccurs="0" />
      <xsd:element name="wgt" type="Weight" minOccurs="0" />
      <xsd:element name="bsac" type="xsd:boolean" minOccurs="0" />
      <xsd:element name="crc" type="CrcValue" minOccurs="0" />
      <xsd:element name="hgt" type="Height" minOccurs="0" />
    </xsd:sequence>
  </xsd:complexType>


Removed this line:
      <xsd:element name="cre" type="PKtVCreValue" minOccurs="0" />


