{
  "resourceType": "StructureDefinition",
  "url": "http://interopsante.org/fhir/StructureDefinition/FrBasisOfDoseComponent",
  "version": "1.0.0",
  "name": "FrBasisOfDoseComponent",
  "title": "Medication component Basis of dose",
  "status": "draft",
  "experimental": false,
  "date": "2021-10-18",
  "publisher": "InterOp'Santé - FRANCE",
  "contact": [
    {
      "telecom": [
        {
          "system": "email",
          "value": "fhir@interopsante.org"
        }
      ]
    }
  ],
  "description": "When the medication element of the resource in which a dose applies is compound, this extension references the Medication resource component of the medication element which is the Basis of the dose quantity or volume.",
  "purpose": "When To reference the Medication resource component which is the Basis of the dose quantity or volume",
  "copyright": "InterOp'Santé 2021",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Dosage.doseAndRate"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "max": "1"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://interopsante.org/fhir/StructureDefinition/FrBasisOfDoseComponent"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Medication"
            ]
          }
        ]
      }
    ]
  }
}