An example CaseData xml file is below:
<?xml version="1.0" encoding="utf-8"?>
<caseFlow xmlns="http://www.caseflow.biz/xmlschema/2020/casedata" filename="CaseData.xml">
The deviceInformation tag contains information about the device that sent the case.
<deviceInformation>
<manufacturer>Apple</manufacturer>
<name>iPhone</name>
<idiom>Phone</idiom>
<deviceType>Physical</deviceType>
<model>iPhone12,1</model>
<platform>iOS</platform>
<osVersion>17.3.1</osVersion>
<appVersion>1.4.0</appVersion>
</deviceInformation>
The caseInformation tag contains information about the case that is sent.
<caseInformation>
<caseID>d4f2ec6ad96d867a</caseID>
<caseName>Pasientbehandling</caseName>
<caseDescription>Pasient behandlings skjema.</caseDescription>
<caseCulture>nb-NO</caseCulture>
<caseValueTag>VT_CT_PASTREAT</caseValueTag>
<nickName>case nick name</nickName>
</caseInformation>
The values tag contains all the values sent in the case. For each 'value' tag, the 'valueTag' attribute are the identifier for each item, and the value for the element is the value of the item.
<values>
<value valueTag="PT_DATE">2024-03-01</value>
<value valueTag="PT_PATIENT_ID">PID-0101</value>
<value valueTag="PT_PATIENT_NAME">Trent Bosco</value>
<value valueTag="PT_PATIENT_ADDRESS">Rose St. 6</value>
<value valueTag="PT_CITY">Covendale</value>
<value valueTag="PT_STATE_PROVINCE">Westco</value>
<value valueTag="PT_POSTAL_CODE">225-366</value>
<value valueTag="PT_COUNTRY_REGION">Norway</value>
<value valueTag="PT_TELEPHONE">555-1234</value>
<value valueTag="PT_EMAIL_ADDRESS">trent.bosco@bosco-sr-test.biz</value>
<value valueTag="PT_PHYSICIAN_ID">PHYID-2020</value>
<value valueTag="PT_PHYSICIAN_NAME">Rose Summers</value>
<value valueTag="PT_PHYSICIAN_LOCATION">Westco</value>
<value valueTag="PT_PHYSICIAN_PHONE">555-5127</value>
<value valueTag="PT_COMMENTS">Patient in good shape.</value>
<formValues valueTag="VT_FORM_BIRTH_DAY">
<value valueTag="VT_DATE">04.04.1990</value>
<value valueTag="VT_NAME">Trent Bosco</value>
</formValues>
</values>
An example CaseData json file is below:
The deviceInformation tag contains information about the device that sent the case.
"deviceInformation": {
"manufacturer": "Google",
"name": "sdk_gphone64_x86_64",
"idiom": "Phone",
"deviceType": "Virtual",
"model": "sdk_gphone64_x86_64",
"platform": "Android",
"osVersion": "14",
"appVersion": "1.10.0.0"
},
The caseInformation tag contains information about the case that is sent.
"caseInformation": {
"caseID": "45",
"caseName": "Test Form Case",
"caseDescription": "Testing for multiple levels of forms.",
"caseCulture": "en-US",
"caseValueTag": "VT_FORMS_TEST",
"nickName": "case nick name"
},
The values tag contains all the values sent in the case. For each 'value', the 'valueTag' are the identifier for each item, and the value for the element is the value of the item.
"values": [
{
"formValues": {
"valueTag": "VT_FORM_BIRTH_DAY",
"values": [
{
"valueTag": "VT_DATE",
"value": "04.04.1990"
},
{
"valueTag": "VT_NAME",
"value": "Trent Bosco"
},
]
},
{
"valueTag": "PT_PHYSICIAN_NAM",
"value": "Rose Summers"
},
{
"valueTag": "PT_COMMENTS",
"value": "Patient in good shape."
}
}
]