This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Example Medication/med0320 (XML)
Raw XML (canonical form + also see XML Format Specification)
Generic Formulation - Azithromycin 250mg oral capsule - includes a reference to a substance in the Ingredient element (id = "med0320")
<?xml version="1.0" encoding="UTF-8"?>
<Medication xmlns="http://hl7.org/fhir">
<id value="med0320"/>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="324252006"/>
<display value="Azithromycin (as azithromycin dihydrate) 250 mg oral capsule"/>
</coding>
</code>
<doseForm>
<coding>
<system value="http://snomed.info/sct"/>
<code value="385055001"/>
<display value="Tablet (basic dose form)"/>
</coding>
</doseForm>
<ingredient>
<item>
<concept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="387531004"/>
<display value="Azithromycin (substance)"/>
</coding>
</concept>
</item>
<strengthRatio>
<numerator>
<value value="250"/>
<system value="http://unitsofmeasure.org"/>
<code value="mg"/>
</numerator>
<denominator>
<value value="1"/>
<system value="http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"/>
<code value="TAB"/>
</denominator>
</strengthRatio>
</ingredient>
</Medication>
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.