**root=2
root.[0].resourceType=org.healthchain.MedicationRequest
root.[0].version=5
root.[0].id=5ad9f6ac-bc1a-453d-9d94-da5d7152b3bc
root.[0].prescriber=resource=org.healthchain.Prescriber#f6ae2d63-52c1-4c34-af5b-4782a6afadb2
root.[0].onBehalfOf=resource=org.healthchain.ClinicLocation#a473dca2-0b96-437c-825d-02c50862ecf4
root.[0].patient=resource=org.healthchain.Patient#aee5ff7c-9c67-44b0-ae84-67e6ef093e6e
root.[0].recorder=resource=org.healthchain.Prescriber#f6ae2d63-52c1-4c34-af5b-4782a6afadb2
root.[0].assignedPharmacy=resource=org.healthchain.PharmacyLocation#4a89b496-0281-48a9-a2c4-637f31c33922
root.[0].medication=external=Medication#02187124
root.[0].status=active
root.[0].intent=proposal
root.[0].note=-[arraystart]-0
**dosageInstruction=1
root.[0].dosageInstruction.[0].resourceType=org.fhir.Dosage
root.[0].dosageInstruction.[0].text=   TAKE 1-2 TABS Q4-6H PRN FOR PAIN. X3D
root.[0].dosageInstruction.[0].patientInstruction=take 1 to 2 tablets every 4 to 6 hours for 3 days for pain when needed #    pain.
root.[0].dosageInstruction.[0].timing.resourceType=org.fhir.Timing
root.[0].dosageInstruction.[0].timing.repeat.resourceType=org.fhir.Repeat
root.[0].dosageInstruction.[0].timing.repeat.boundsDuration.resourceType=org.fhir.Duration
root.[0].dosageInstruction.[0].timing.repeat.boundsDuration.value=3
root.[0].dosageInstruction.[0].timing.repeat.boundsDuration.unit=d
root.[0].dosageInstruction.[0].timing.repeat.boundsPeriod.resourceType=org.fhir.Period
root.[0].dosageInstruction.[0].timing.repeat.boundsPeriod.start=2018-11-24T16=26=55.095Z
root.[0].dosageInstruction.[0].timing.repeat.boundsPeriod.end=2018-11-27T16=26=55.095Z
root.[0].dosageInstruction.[0].timing.repeat.frequency=1
root.[0].dosageInstruction.[0].timing.repeat.period=4
root.[0].dosageInstruction.[0].timing.repeat.periodMax=6
root.[0].dosageInstruction.[0].timing.repeat.periodUnit=h
root.[0].dosageInstruction.[0].asNeededBoolean=true
root.[0].dosageInstruction.[0].asNeededCodeableConcept.resourceType=org.fhir.CodeableConcept
**coding=1
root.[0].dosageInstruction.[0].asNeededCodeableConcept.coding.[0].resourceType=org.fhir.Coding
root.[0].dosageInstruction.[0].asNeededCodeableConcept.coding.[0].system=http=//snomed.info/sct
root.[0].dosageInstruction.[0].asNeededCodeableConcept.coding.[0].code=22253000
root.[0].dosageInstruction.[0].asNeededCodeableConcept.coding.[0].display=Pain
root.[0].dosageInstruction.[0].asNeededCodeableConcept.text=pain
root.[0].dosageInstruction.[0].method.resourceType=org.fhir.CodeableConcept
**coding=1
root.[0].dosageInstruction.[0].method.coding.[0].resourceType=org.fhir.Coding
root.[0].dosageInstruction.[0].method.coding.[0].system=http=//snomed.info/sct
root.[0].dosageInstruction.[0].method.coding.[0].code=419652001
root.[0].dosageInstruction.[0].method.coding.[0].display=Take
root.[0].dosageInstruction.[0].method.text=take
root.[0].dosageInstruction.[0].doseRange.resourceType=org.fhir.Range
root.[0].dosageInstruction.[0].doseRange.low.resourceType=org.fhir.Quantity
root.[0].dosageInstruction.[0].doseRange.low.value=1
root.[0].dosageInstruction.[0].doseRange.low.unit=tablet
root.[0].dosageInstruction.[0].doseRange.high.resourceType=org.fhir.Quantity
root.[0].dosageInstruction.[0].doseRange.high.value=2
root.[0].dosageInstruction.[0].doseRange.high.unit=tablet
root.[0].dispenseRequest.resourceType=org.fhir.DispenseRequest
root.[0].dispenseRequest.numberOfRepeatsAllowed=0
root.[0].dispenseRequest.quantity.resourceType=org.fhir.Quantity
root.[0].dispenseRequest.quantity.value=24
root.[0].dispenseRequest.quantity.unit=tablet
root.[0].dispenseRequest.expectedSupplyDuration.resourceType=org.fhir.Duration
root.[0].dispenseRequest.expectedSupplyDuration.value=3
root.[0].dispenseRequest.expectedSupplyDuration.unit=d
root.[0].substitution.resourceType=org.fhir.Substitution
root.[0].substitution.allowed=true
root.[0].authoredOn=2018-11-24T16=28=02.268Z
root.[1].resourceType=org.healthchain.MedicationRequest
root.[1].version=5
root.[1].id=f8cb1f1e-3e74-4e37-9c74-32d9585e74a3
root.[1].prescriber=resource=org.healthchain.Prescriber#4fb74cea-7873-44a0-adf3-eb112e6e07f9
root.[1].onBehalfOf=resource=org.healthchain.ClinicLocation#a473dca2-0b96-437c-825d-02c50862ecf4
root.[1].patient=resource=org.healthchain.Patient#aee5ff7c-9c67-44b0-ae84-67e6ef093e6e
root.[1].recorder=resource=org.healthchain.ClinicAdmin#98abb4ce-a227-4871-9cb1-f5e2721434ea
root.[1].assignedPharmacy=resource=org.healthchain.PharmacyLocation#4a89b496-0281-48a9-a2c4-637f31c33922
root.[1].medication=external=Medication#80004799
root.[1].status=active
root.[1].intent=proposal
**reasonCode=1
root.[1].reasonCode.[0].resourceType=org.fhir.CodeableConcept
**coding=1
root.[1].reasonCode.[0].coding.[0].resourceType=org.fhir.Coding
root.[1].reasonCode.[0].coding.[0].system=
root.[1].reasonCode.[0].coding.[0].code=
root.[1].reasonCode.[0].coding.[0].display=
root.[1].reasonCode.[0].text=
root.[1].note=-[arraystart]-0
**dosageInstruction=1
root.[1].dosageInstruction.[0].resourceType=org.fhir.Dosage
root.[1].dosageInstruction.[0].text=t1t x30d 
root.[1].dosageInstruction.[0].patientInstruction=take 1 tablet for 30 days # 
root.[1].dosageInstruction.[0].timing.resourceType=org.fhir.Timing
root.[1].dosageInstruction.[0].timing.repeat.resourceType=org.fhir.Repeat
root.[1].dosageInstruction.[0].timing.repeat.boundsDuration.resourceType=org.fhir.Duration
root.[1].dosageInstruction.[0].timing.repeat.boundsDuration.value=30
root.[1].dosageInstruction.[0].timing.repeat.boundsDuration.unit=d
root.[1].dosageInstruction.[0].timing.repeat.boundsPeriod.resourceType=org.fhir.Period
root.[1].dosageInstruction.[0].timing.repeat.boundsPeriod.start=2018-11-23T17=09=46.317Z
root.[1].dosageInstruction.[0].timing.repeat.boundsPeriod.end=2018-12-23T17=09=46.317Z
root.[1].dosageInstruction.[0].asNeededBoolean=false
root.[1].dosageInstruction.[0].method.resourceType=org.fhir.CodeableConcept
**coding=1
root.[1].dosageInstruction.[0].method.coding.[0].resourceType=org.fhir.Coding
root.[1].dosageInstruction.[0].method.coding.[0].system=http=//snomed.info/sct
root.[1].dosageInstruction.[0].method.coding.[0].code=419652001
root.[1].dosageInstruction.[0].method.coding.[0].display=Take
root.[1].dosageInstruction.[0].method.text=take
root.[1].dosageInstruction.[0].doseQuantity.resourceType=org.fhir.Quantity
root.[1].dosageInstruction.[0].doseQuantity.value=1
root.[1].dosageInstruction.[0].doseQuantity.unit=tablet
root.[1].dispenseRequest.resourceType=org.fhir.DispenseRequest
root.[1].dispenseRequest.numberOfRepeatsAllowed=12
root.[1].dispenseRequest.expectedSupplyDuration.resourceType=org.fhir.Duration
root.[1].dispenseRequest.expectedSupplyDuration.value=30
root.[1].dispenseRequest.expectedSupplyDuration.unit=d
root.[1].substitution.resourceType=org.fhir.Substitution
root.[1].substitution.allowed=true
root.[1].authoredOn=2018-11-23T17=11=02.813Z
