TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abraham Olatubosun
NA
471
113.6k
How to write multiple XML files with nested to database
Jul 30 2018 6:41 AM
Dear Code Master
Blessed day to you all, and i believe the question meet you all in good health. i have a challange with my code and i really need your assistance.
The issue is that i develop an application that generate patient level records in XML format. some of the facilities that use the application have patient greater than 10,000.
Now i want to read the data below from it
ID
FacID
FacName
DOB
Sex
Age
ArtStartDate
ArtVisit
Nxt_App_Date
Drug_Reg
VL_Result
VL_Date
TestCode
i wrote the code below to see if i can read through each XML file and to get the above fields but i keep geting multiples record i thin the loops are the cause.
Dim
Enrol_idm
As
String
=
""
Dim
xMLDirectory
As
String
= Server.MapPath(
String
.Format(
"~/{0}/"
,
"NDRExport"
))
If
Not
Directory.Exists(xMLDirectory)
Then
' Directory.CreateDirectory(xMLDirectory)
fillClient.Show(
"Create NDRExport Folder before using this utility"
)
End
If
'Dim xMLName As New ArrayList
'xMLName.Add(Directory.GetFiles(xMLDirectory, "*.xml"))
Dim
xMLName()
As
String
= Directory.GetFiles(xMLDirectory,
"*.xml"
)
Dim
ID
As
String
=
""
Dim
FacID
As
String
=
""
Dim
FacName
As
String
=
""
Dim
DOB
As
String
=
""
Dim
Sex
As
String
=
""
Dim
Age
As
String
=
""
Dim
AgeA
As
Integer
Dim
AgeP
As
Integer
Dim
ArtStartDate
As
String
=
""
Dim
ArtVisit
As
String
=
""
Dim
Nxt_App_Date
As
String
=
""
Dim
Drug_Reg
As
String
=
""
Dim
VL_Result
As
String
=
""
Dim
VL_Date
As
String
=
""
Dim
TestCode
As
String
=
""
FC.Create_RADET_Table()
For
Each
_xml
As
String
In
xMLName
Using reader
As
XmlReader = XmlReader.Create(_xml)
While
reader.Read()
Select
Case
reader.NodeType
Case
XmlNodeType.Element
Select
Case
reader.Name
Case
"PatientIdentifier"
ID = reader.ReadElementContentAsString()
If
ID =
""
Then
Exit
While
End
If
'Case "FacilityName" use the textbox for facility name and id
FacName =
"Barau Dikko Specialist Hospital"
'reader.ReadElementContentAsString()
'Case "IDNumber"
FacID =
"aQTk0pRk6eY"
' reader.ReadElementContentAsString()
Case
"PatientDateOfBirth"
DOB = reader.ReadElementContentAsString()
Case
"PatientSexCode"
Sex = reader.ReadElementContentAsString()
Case
=
"PatientAge"
Age = reader.ReadElementContentAsString()
If
Convert.ToInt16(Age) >= 14
Then
AgeA = Convert.ToInt32(Age)
Else
AgeP = Convert.ToInt32(Age)
End
If
Case
=
"ARTStartDate"
ArtStartDate = reader.ReadElementContentAsString()
Case
=
"VisitDate"
ArtVisit = reader.ReadElementContentAsString()
Case
=
"NextAppointmentDate"
Nxt_App_Date = reader.ReadElementContentAsString()
Case
=
"CodeDescTxt"
Drug_Reg = reader.ReadElementContentAsString()
Case
=
"ResultedTestDate"
VL_Date = reader.ReadElementContentAsString()
Case
=
"Code"
TestCode = reader.ReadElementContentAsString()
Case
=
"Value1"
VL_Result = reader.ReadElementContentAsString()
End
Select
If
ID <>
""
And
DOB <>
""
And
Sex <>
""
And
Age <>
""
Then
If
TestCode =
"80"
Then
FC.Process_Insert(ID, FacID, FacName, Sex, DOB, AgeA, AgeP, ArtStartDate, ArtVisit, Nxt_App_Date, Drug_Reg,
""
,
""
, VL_Result, VL_Date)
Else
FC.Process_Insert1(ID, FacID, FacName, Sex, DOB, AgeA, AgeP, ArtStartDate, ArtVisit, Nxt_App_Date, Drug_Reg,
""
,
""
)
End
If
End
If
End
Select
End
While
End
Using
Next
This is one of the Patient Xml file i try to read
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
Container
xmlns:xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd
=
"http://www.w3.org/2001/XMLSchema"
>
<
MessageHeader
>
<
MessageStatusCode
>
INITIAL
</
MessageStatusCode
>
<
MessageCreationDateTime
>
2018-07-24T14:06:44.5685477
</
MessageCreationDateTime
>
<
MessageSchemaVersion
>
1.2
</
MessageSchemaVersion
>
<
MessageUniqueID
>
</
MessageUniqueID
>
<
MessageSendingOrganization
>
<
FacilityName
>
</
FacilityName
>
<
FacilityID
>
CIHP
</
FacilityID
>
<
FacilityTypeCode
>
IP
</
FacilityTypeCode
>
</
MessageSendingOrganization
>
</
MessageHeader
>
<
IndividualReport
>
<
PatientDemographics
>
<
PatientIdentifier
>
5553
</
PatientIdentifier
>
<
TreatmentFacility
>
<
FacilityName
>
</
FacilityName
>
<
FacilityID
>
</
FacilityID
>
<
FacilityTypeCode
>
FAC
</
FacilityTypeCode
>
</
TreatmentFacility
>
<
OtherPatientIdentifiers
>
<
Identifier
>
<
IDNumber
/>
<
IDTypeCode
>
MR
</
IDTypeCode
>
</
Identifier
>
</
OtherPatientIdentifiers
>
<
PatientDateOfBirth
>
1982-06-02
</
PatientDateOfBirth
>
<
PatientSexCode
>
F
</
PatientSexCode
>
<
PatientPrimaryLanguageCode
>
ENG
</
PatientPrimaryLanguageCode
>
<
PatientEducationLevelCode
>
7
</
PatientEducationLevelCode
>
<
PatientMaritalStatusCode
>
M
</
PatientMaritalStatusCode
>
<
StateOfNigeriaOriginCode
>
Kaduna
</
StateOfNigeriaOriginCode
>
<
PatientNotes
>
<
Note
>
N/A
</
Note
>
</
PatientNotes
>
</
PatientDemographics
>
<
Condition
>
<
ConditionCode
>
86406008
</
ConditionCode
>
<
ProgramArea
>
<
ProgramAreaCode
>
HIV
</
ProgramAreaCode
>
</
ProgramArea
>
<
PatientAddress
>
<
AddressTypeCode
>
H
</
AddressTypeCode
>
<
WardVillage
>
U/SHAANU
</
WardVillage
>
<
Town
/>
<
LGACode
/>
<
StateCode
>
23
</
StateCode
>
<
CountryCode
>
NGA
</
CountryCode
>
<
OtherAddressInformation
>
N01 BADARAWA RD U/SHANU
</
OtherAddressInformation
>
</
PatientAddress
>
<
CommonQuestions
>
<
HospitalNumber
/>
<
DiagnosisFacility
>
<
FacilityName
>
</
FacilityName
>
<
FacilityID
>
</
FacilityID
>
<
FacilityTypeCode
>
FAC
</
FacilityTypeCode
>
</
DiagnosisFacility
>
<
DateOfFirstReport
>
2009-07-09
</
DateOfFirstReport
>
<
PatientAge
>
36
</
PatientAge
>
</
CommonQuestions
>
<
ConditionSpecificQuestions
>
<
HIVQuestions
>
<
CareEntryPoint
>
9
</
CareEntryPoint
>
<
ARTStartDate
>
2009-07-09
</
ARTStartDate
>
<
EnrolledInHIVCareDate
>
2009-07-09
</
EnrolledInHIVCareDate
>
</
HIVQuestions
>
</
ConditionSpecificQuestions
>
<
Encounters
>
<
HIVEncounter
>
<
VisitID
>
148011
</
VisitID
>
<
VisitDate
>
2010-08-05
</
VisitDate
>
<
DurationOnArt
>
56
</
DurationOnArt
>
<
Weight
>
49
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2010-09-30
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148012
</
VisitID
>
<
VisitDate
>
2010-09-30
</
VisitDate
>
<
DurationOnArt
>
84
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2010-12-23
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148014
</
VisitID
>
<
VisitDate
>
2010-12-23
</
VisitDate
>
<
DurationOnArt
>
84
</
DurationOnArt
>
<
Weight
>
48
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2011-03-17
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148015
</
VisitID
>
<
VisitDate
>
2011-03-17
</
VisitDate
>
<
DurationOnArt
>
63
</
DurationOnArt
>
<
Weight
>
48
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2011-05-19
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148017
</
VisitID
>
<
VisitDate
>
2011-05-19
</
VisitDate
>
<
DurationOnArt
>
14
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2011-06-02
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148019
</
VisitID
>
<
VisitDate
>
2011-06-02
</
VisitDate
>
<
DurationOnArt
>
89
</
DurationOnArt
>
<
Weight
>
49
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2011-08-30
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148021
</
VisitID
>
<
VisitDate
>
2011-09-29
</
VisitDate
>
<
DurationOnArt
>
21
</
DurationOnArt
>
<
Weight
>
48
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2011-10-20
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148023
</
VisitID
>
<
VisitDate
>
2011-10-20
</
VisitDate
>
<
DurationOnArt
>
90
</
DurationOnArt
>
<
Weight
>
49
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2012-01-19
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148024
</
VisitID
>
<
VisitDate
>
2012-01-19
</
VisitDate
>
<
DurationOnArt
>
27
</
DurationOnArt
>
<
Weight
>
54
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2012-02-15
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148025
</
VisitID
>
<
VisitDate
>
2012-04-11
</
VisitDate
>
<
DurationOnArt
>
63
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2012-06-13
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148026
</
VisitID
>
<
VisitDate
>
2012-06-13
</
VisitDate
>
<
DurationOnArt
>
28
</
DurationOnArt
>
<
Weight
>
54
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2012-07-11
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148028
</
VisitID
>
<
VisitDate
>
2012-07-11
</
VisitDate
>
<
DurationOnArt
>
61
</
DurationOnArt
>
<
Weight
>
55
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2012-09-10
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148029
</
VisitID
>
<
VisitDate
>
2012-09-10
</
VisitDate
>
<
DurationOnArt
>
84
</
DurationOnArt
>
<
Weight
>
51
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2012-12-03
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148030
</
VisitID
>
<
VisitDate
>
2013-01-15
</
VisitDate
>
<
DurationOnArt
>
90
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2012-02-12
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148032
</
VisitID
>
<
VisitDate
>
2013-02-27
</
VisitDate
>
<
DurationOnArt
>
13
</
DurationOnArt
>
<
Weight
>
54
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2013-03-12
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148033
</
VisitID
>
<
VisitDate
>
2013-03-12
</
VisitDate
>
<
DurationOnArt
>
28
</
DurationOnArt
>
<
Weight
>
55
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2013-04-09
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148034
</
VisitID
>
<
VisitDate
>
2013-04-09
</
VisitDate
>
<
DurationOnArt
>
28
</
DurationOnArt
>
<
Weight
>
55
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2013-05-07
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148035
</
VisitID
>
<
VisitDate
>
2013-06-04
</
VisitDate
>
<
DurationOnArt
>
28
</
DurationOnArt
>
<
Weight
>
50
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2013-07-02
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148037
</
VisitID
>
<
VisitDate
>
2013-08-06
</
VisitDate
>
<
DurationOnArt
>
36
</
DurationOnArt
>
<
Weight
>
50
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2013-09-11
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148038
</
VisitID
>
<
VisitDate
>
2018-04-30
</
VisitDate
>
<
DurationOnArt
>
90
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2018-07-30
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148039
</
VisitID
>
<
VisitDate
>
2018-02-26
</
VisitDate
>
<
DurationOnArt
>
63
</
DurationOnArt
>
<
Weight
>
60
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2018-04-30
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148040
</
VisitID
>
<
VisitDate
>
2017-12-18
</
VisitDate
>
<
DurationOnArt
>
70
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2018-02-26
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148041
</
VisitID
>
<
VisitDate
>
2017-08-21
</
VisitDate
>
<
DurationOnArt
>
56
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2017-10-16
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148042
</
VisitID
>
<
VisitDate
>
2017-06-12
</
VisitDate
>
<
DurationOnArt
>
70
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2017-08-21
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148043
</
VisitID
>
<
VisitDate
>
2017-05-27
</
VisitDate
>
<
DurationOnArt
>
16
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2017-06-12
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148044
</
VisitID
>
<
VisitDate
>
2017-11-22
</
VisitDate
>
<
DurationOnArt
>
39
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2017-12-31
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148045
</
VisitID
>
<
VisitDate
>
2016-09-20
</
VisitDate
>
<
DurationOnArt
>
69
</
DurationOnArt
>
<
Weight
>
52
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2016-11-28
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148046
</
VisitID
>
<
VisitDate
>
2016-05-03
</
VisitDate
>
<
DurationOnArt
>
70
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2016-07-12
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148047
</
VisitID
>
<
VisitDate
>
2016-05-03
</
VisitDate
>
<
DurationOnArt
>
70
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2016-07-12
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148048
</
VisitID
>
<
VisitDate
>
2016-02-21
</
VisitDate
>
<
DurationOnArt
>
72
</
DurationOnArt
>
<
Weight
>
57
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2016-05-03
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148049
</
VisitID
>
<
VisitDate
>
2015-12-08
</
VisitDate
>
<
DurationOnArt
>
77
</
DurationOnArt
>
<
Weight
>
56
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2016-02-23
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148050
</
VisitID
>
<
VisitDate
>
2015-10-13
</
VisitDate
>
<
DurationOnArt
>
56
</
DurationOnArt
>
<
Weight
>
56
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2015-12-08
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148051
</
VisitID
>
<
VisitDate
>
2015-08-04
</
VisitDate
>
<
DurationOnArt
>
70
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2015-10-13
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148052
</
VisitID
>
<
VisitDate
>
2014-09-02
</
VisitDate
>
<
DurationOnArt
>
70
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2014-11-11
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148053
</
VisitID
>
<
VisitDate
>
2014-07-15
</
VisitDate
>
<
DurationOnArt
>
49
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2014-09-02
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148054
</
VisitID
>
<
VisitDate
>
2014-03-26
</
VisitDate
>
<
DurationOnArt
>
55
</
DurationOnArt
>
<
Weight
>
50
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2014-05-20
</
NextAppointmentDate
>
</
HIVEncounter
>
<
HIVEncounter
>
<
VisitID
>
148055
</
VisitID
>
<
VisitDate
>
2014-01-29
</
VisitDate
>
<
DurationOnArt
>
56
</
DurationOnArt
>
<
Weight
>
0
</
Weight
>
<
FunctionalStatus
>
W
</
FunctionalStatus
>
<
WHOClinicalStage
>
1
</
WHOClinicalStage
>
<
TBStatus
>
1
</
TBStatus
>
<
ARVDrugRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
ARVDrugRegimen
>
<
NextAppointmentDate
>
2014-03-26
</
NextAppointmentDate
>
</
HIVEncounter
>
</
Encounters
>
<
Regimen
>
<
VisitID
>
148011
</
VisitID
>
<
VisitDate
>
2010-08-05
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
56
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2010-08-05
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148012
</
VisitID
>
<
VisitDate
>
2010-09-30
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
84
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2010-09-30
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148014
</
VisitID
>
<
VisitDate
>
2010-12-23
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
84
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2010-12-23
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148015
</
VisitID
>
<
VisitDate
>
2011-03-17
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
63
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2011-03-17
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148017
</
VisitID
>
<
VisitDate
>
2011-05-19
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
14
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2011-05-19
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148019
</
VisitID
>
<
VisitDate
>
2011-06-02
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
89
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2011-06-02
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148021
</
VisitID
>
<
VisitDate
>
2011-09-29
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
21
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2011-09-29
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148023
</
VisitID
>
<
VisitDate
>
2011-10-20
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
90
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2011-10-20
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148024
</
VisitID
>
<
VisitDate
>
2012-01-19
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
27
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2012-01-19
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148025
</
VisitID
>
<
VisitDate
>
2012-04-11
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
63
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2012-04-11
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148026
</
VisitID
>
<
VisitDate
>
2012-06-13
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
28
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2012-06-13
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148028
</
VisitID
>
<
VisitDate
>
2012-07-11
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
61
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2012-07-11
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148029
</
VisitID
>
<
VisitDate
>
2012-09-10
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
84
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2012-09-10
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148030
</
VisitID
>
<
VisitDate
>
2013-01-15
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
90
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2013-01-15
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148032
</
VisitID
>
<
VisitDate
>
2013-02-27
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
13
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2013-02-27
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148033
</
VisitID
>
<
VisitDate
>
2013-03-12
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
28
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2013-03-12
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148034
</
VisitID
>
<
VisitDate
>
2013-04-09
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
28
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2013-04-09
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148035
</
VisitID
>
<
VisitDate
>
2013-06-04
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
28
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2013-06-04
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148037
</
VisitID
>
<
VisitDate
>
2013-08-06
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2d
</
Code
>
<
CodeDescTxt
>
ABC/DDI/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
36
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2013-08-06
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148038
</
VisitID
>
<
VisitDate
>
2018-04-30
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
90
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2018-04-30
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148039
</
VisitID
>
<
VisitDate
>
2018-02-26
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
63
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2018-02-26
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148040
</
VisitID
>
<
VisitDate
>
2017-12-18
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
70
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2017-12-18
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148041
</
VisitID
>
<
VisitDate
>
2017-08-21
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
56
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2017-08-21
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148042
</
VisitID
>
<
VisitDate
>
2017-06-12
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
70
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2017-06-12
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148043
</
VisitID
>
<
VisitDate
>
2017-05-27
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
16
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2017-05-27
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148044
</
VisitID
>
<
VisitDate
>
2017-11-22
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
39
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2017-11-22
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148045
</
VisitID
>
<
VisitDate
>
2016-09-20
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
69
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2016-09-20
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148046
</
VisitID
>
<
VisitDate
>
2016-05-03
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
70
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2016-05-03
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148047
</
VisitID
>
<
VisitDate
>
2016-05-03
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
70
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2016-05-03
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148048
</
VisitID
>
<
VisitDate
>
2016-02-21
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
72
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2016-02-21
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148049
</
VisitID
>
<
VisitDate
>
2015-12-08
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
77
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2015-12-08
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148050
</
VisitID
>
<
VisitDate
>
2015-10-13
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
56
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2015-10-13
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148051
</
VisitID
>
<
VisitDate
>
2015-08-04
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
70
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2015-08-04
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148052
</
VisitID
>
<
VisitDate
>
2014-09-02
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
70
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2014-09-02
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148053
</
VisitID
>
<
VisitDate
>
2014-07-15
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
49
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2014-07-15
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148054
</
VisitID
>
<
VisitDate
>
2014-03-26
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
55
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2014-03-26
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
<
Regimen
>
<
VisitID
>
148055
</
VisitID
>
<
VisitDate
>
2014-01-29
</
VisitDate
>
<
PrescribedRegimen
>
<
Code
>
2b
</
Code
>
<
CodeDescTxt
>
ABC/FTC/LPVr
</
CodeDescTxt
>
</
PrescribedRegimen
>
<
PrescribedRegimenTypeCode
>
ART
</
PrescribedRegimenTypeCode
>
<
PrescribedRegimenDuration
>
56
</
PrescribedRegimenDuration
>
<
PrescribedRegimenDispensedDate
>
2014-01-29
</
PrescribedRegimenDispensedDate
>
<
DateRegimenStarted
>
2009-07-09
</
DateRegimenStarted
>
</
Regimen
>
</
Condition
>
</
IndividualReport
>
</
Container
>
please help me to modify my code above to read this xml.
Thank you all
Reply
Answers (
1
)
Implementing drag and drop
Not able to get PIN by EMV process in Ingenico Ipp350