Menu

#32 XMLformat

1.0
closed
None
2021-07-15
2021-05-15
M. Günter
No

I think very much information was stored in the attributes.
Why didn't you use nested elements?

<informatio>
<from>Test06 Test06N</from>
<birthdate>10-01-1960</birthdate>
</informatio>

also you used <information> in two different ways. The second one should be condition or something like that.</information>

                                 <information from='Test06 Test06N' birthdate='10-01-1960'></information>
   <information email='d@e.f' phone='123123123' strasse='sesame street' plz='1111' ort='the Place'></information>
   <information positive='no' date_infected='n/a' symptoms_started='n/a' test_date='n/a' test_result='n/a' healthy_again='n/a'></information>

What happens when a contact is not assigned to an event? Will it be written as assigned to an event of type "unknown"?

Perhaps it would be better to have the contacts directly as part of the cases and the events separately?

1 Attachments

Discussion

  • M. Günter

    M. Günter - 2021-06-15

    A better description for an XML.
    I will create and example in detail.
    Slav: Is not needed in XML.
    We start from the user=case, then events/contacts can be embbeded. and a unassigned.

     
  • M. Günter

    M. Günter - 2021-06-15
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -0,0 +1 @@
    +example.xml (2.2 kB; text/xml)
    
     
  • M. Günter

    M. Günter - 2021-06-15

    Example added. if easier you can use JSON (same structure and names)

     
  • Slav Peev

    Slav Peev - 2021-06-17

    XML is rewritten following the new format.

     
  • Slav Peev

    Slav Peev - 2021-06-17
    • status: open --> pending
    • assigned_to: Slav Peev --> M. Günter
     
  • M. Günter

    M. Günter - 2021-07-15
    • status: pending --> closed
     

Log in to post a comment.