<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ie-core-medication" />
  <url value="https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-medication" />
  <name value="IECoreMedication" />
  <title value="IE Core Medication" />
  <status value="draft" />
  <description value="The IE Core Medication profile sets minimum expectations for the Medication resource to record, search, and fetch medications associated with a patient, based on Irish requirements." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Medication" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Medication" />
  <derivation value="constraint" />
  <differential>
    <element id="Medication.code">
      <path value="Medication.code" />
      <short value="Medication code. Use NMPC as the primary coding where available, with SNOMED CT Irish Edition as a secondary coding where available." />
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://hl7-ie.github.io/ie-core/fhir/ie/core/ValueSet/ie-core-medication-codes" />
      </binding>
    </element>
    <element id="Medication.form">
      <path value="Medication.form" />
      <mustSupport value="true" />
    </element>
    <element id="Medication.ingredient">
      <path value="Medication.ingredient" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>