OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

saf message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RelatedSymptoms proposed schema

Hi all,


Since we seem to have reached consensus for adding a "RelatedSymptoms" field to Symptom, here is a portion of the proposed schema for the relevant type and the updated Symptom schema:


    <xsd:complexType name="Symptom_Type">


            <xsd:element name="SymptomId" type="xsd:anyURI"/>

            <xsd:element name="SymptomType" type="xsd:anyURI"/>

            <xsd:element name="CreationDate" type="xsd:dateTime"/>

            <xsd:element name="Confidence" type="sym:ConfidenceType"/>

            <xsd:element name="Reporter" type="xsd:anyURI"/>

            <xsd:element name="Subject" type="xsd:anyURI"/>

            <xsd:element name="ExpirationDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/>

            <xsd:element name="IssuedPrescription" type="xsd:anyURI" minOccurs="0" maxOccurs="unbounded"/>

            <!-- removed: <xsd:element name="ProbableCause" type="xsd:anyURI" minOccurs="0" maxOccurs="unbounded"/> -->

            <xsd:element name="RelatedSymptoms" type="sym:RelatedSymptomsType" minOccurs="0" maxOccurs="1" />

            <xsd:element name="Content" type="sym:ContentType" minOccurs="0" maxOccurs="1"/>




    <xsd:simpleType name="RelationshipType">

        <xsd:restriction base="xsd:string">

            <xsd:enumeration value="Causal"/>

            <xsd:enumeration value="Supersedes"/>

            <xsd:enumeration value="Repetition"/>

            <xsd:enumeration value="Other"/>




    <xsd:complexType name="RelatedSymptomsType">


            <xsd:element ref="sym:RelatedSymptomType" minOccurs="0" maxOccurs="unbounded"/>




    <xsd:complexType name="RelatedSymptomType">

      <xsd:attribute name="Relationship" type="sym:RelationshipType" />


      <xsd:element name="RelatedSymptomId" type="xsd:anyURI"/>





What do you think? Also, can someone verify that this is valid (Vivian?). I think we can build along these lines the specification.


One last thing: we will have to rethink the whole "IssuedPrescriptions" concept cause some aspects are a bit fuzzy right now...






 Fujitsu Laboratories of Europe Limited
 Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE
 Registered No. 4153469
 This e-mail and any attachments are for the sole use of addressee(s) and
 may contain information which is privileged and confidential. Unauthorised
 use or copying for disclosure is strictly prohibited. The fact that this
 e-mail has been scanned by Trendmicro Interscan does not guarantee that 
 it has not been intercepted or amended nor that it is virus-free.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]