Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created April 5, 2011 16:07
Show Gist options
  • Save goyox86/903903 to your computer and use it in GitHub Desktop.
Save goyox86/903903 to your computer and use it in GitHub Desktop.
<Medications>
<Medication>
<Status><Text>Active</Text></Status>
<DateTime>
<Type><Text>Prescription Date</Text></Type>
<ExactDateTime>2007-04-01T05:00:00Z</ExactDateTime>
</DateTime>
<Source>
<Actor>
<ActorID>Cecil Baker</ActorID>
</Actor>
<ActorRole>Prescribing clinician</ActorRole>
</Source>
<Product>
HERE!!!
<ProductName>
<Text>Ibuprofen</Text>
<Code>
<Value>198405</Value>
<CodingSystem>RxNorm</CodingSystem>
</Code>
</ProductName>
<Strength>
<Value>100</Value>
<Units>
<Unit>mg</Unit>
</Units>
</Strength>
<Form>
<Text>Tablet</Text>
</Form>
</Product>
<Directions>
<Direction>
<Dose>
<Value>1</Value>
<Units>
<Unit>tablet</Unit>
</Units>
</Dose>
<Route><Text>Oral</Text></Route>
<Frequency><Value>1 time per day</Value></Frequency> <!-- Note: if Frequency/Value is null,
</Direction> the value in Medication/Frequency/Description/Text
</Directions> will be accepted. -->
<FulfillmentHistory>
<Fulfillment>
<Quantity>30</Quantity>
<DateTime>
<Type><Text>Dispense date</Text></Type>
<ExactDateTime>2007-06-01T06:00:00Z</ExactDateTime>
</DateTime>
</Fulfillment>
</FulfillmentHistory>
</Medication>
</Medications>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment