<?xml version="1.0" encoding="UTF-8"?>
<ODM xmlns="http://www.cdisc.org/ns/odm/v1.3" xmlns:OpenClinica="http://www.openclinica.org/ns/odm_ext_v130/v3.1" ODMVersion="1.3" FileOID="1D20080412202420" FileType="Snapshot" Description="Demographics Import" CreationDateTime="2008-04-12T20:24:20" >

	<!-- StudyOID represents either the Study OID (if a study-level user is importing data) or the Site OID (if a site-level user is importing data). -->
	<ClinicalData StudyOID="S_OID" MetaDataVersionOID="null">

		<!--SubjectKey (optional) is the Participant OID. If not used, remove the entire text 'SubjectKey="SS_OID"'. 
		    OpenClinica:StudySubjectID (required) represents the Participant ID. -->
		<SubjectData SubjectKey="SS_OID" OpenClinica:StudySubjectID="PID-001">

			<!--StudyEventOID (required): The OID for the event into which you are importing data.
				StudyEventRepeatKey (optional): The ordinal for a repeating event. 
				If removed, a new study event ordinal is automatically generated.
				For a visit-based event OpenClinica:StartDate is required.
				If the StudyEventRepeatKey value is provided and the specified repeat is already in the database, then the system updates the form data for that study event repeat on import.
				OpenClinica:EndDate (optional): If the event has a scheduled end date, you can provide that here. Otherwise, delete it or leave it same as start date.-->
				
			<StudyEventData StudyEventOID="SE_OID" OpenClinica:StartDate="2017-09-29" OpenClinica:EndDate="2017-09-29" StudyEventRepeatKey="1">

				<!--FormOID (required): The OID for the form into which you are importing data.
					OpenClinica:FormLayoutOID (optional): If no value is provided then the system assigns the default form version to the participant event form.
					OpenClinica:Status (optional): Possible values for OpenClinica:Status are: 'initial data entry' or 'complete'. If no value is provided, then the system assigns the status 'initial data entry' to the participant event form on import. --> 
				<FormData FormOID="F_OID" OpenClinica:FormLayoutOID="1.1" OpenClinica:Status="initial data entry">

					<!--ItemGroupOID (required): The OID for the item group into which you are importing data.
						ItemGroupRepeatKey (optional): If not provided, a new repeat key is auto-generated on import. If a value is provided and the provided repeat key already exists in the database,  then the associated item data is updated in that item group repeat upon import. -->
					<ItemGroupData ItemGroupOID="IG_OID" ItemGroupRepeatKey="1">

						<!--ItemOID and Value (required): The OID of the item into which you are importing data and the data value to be imported into that item. Any issues with the value of the item will be reported in the log file with an appropriate errorCode. -->
						<ItemData ItemOID="I_OID" Value="2017-09-13"/>
						<ItemData ItemOID="I_OID" Value="1"/>
						<ItemData ItemOID="I_OID" Value="Headache"/>
					</ItemGroupData>
				</FormData>				
			</StudyEventData>
			<!--To import data for more than one Study event, repeat the StudyEventData tag and everything within the opening and closing tags.
				For a visit-based event with multiple forms, all forms belonging to one repeat of that event should be combined under the same StudyEventData tag.	
				For commom events, each FORM should be provided with a SEPARATE pair of StudyEventData tags.-->	
					
		</SubjectData>
		<!-- To import data for more than one Subject, copy and paste the opening and closing SubjectData tags, and everything between those tags. Then update OIDs and values as needed.-->
		
	</ClinicalData>
</ODM>