{
  "resourceType": "StructureDefinition",
  "url": "http://interopsante.org/fhir/StructureDefinition/FrMedicationNonproprietaryName",
  "version": "1.0.0",
  "name": "FrMedicationNonproprietaryName",
  "title": "French non proprietary name Medication",
  "status": "draft",
  "experimental": false,
  "date": "2021-10-18",
  "publisher": "InterOp'Santé - FRANCE",
  "contact": [
    {
      "telecom": [
        {
          "system": "email",
          "value": "fhir@interopsante.org"
        }
      ]
    }
  ],
  "description": "Simple prescribed, dispensed, administered or used medication expressed in non proprietary name composed of one to many substances. If composed of many substance, the strengh SHALL be defined.",
  "purpose": "Simple medication description, include those composed of many substances.",
  "copyright": "InterOp&#39;Sant&#233; 2021",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "script10.6",
      "uri": "http://ncpdp.org/SCRIPT10_6",
      "name": "Mapping to NCPDP SCRIPT 10.6"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Medication",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Medication",
        "path": "Medication",
        "short": "Simple nonproprietary name Medication of MRQ, MDP or MUS",
        "definition": "This ressource is profiled for describing a simple medicament (vs compound medication) in the presription line represented by a MedicationRequest, a MedicationDispense or a MedicationUsage (pka MedicationStatement).",
        "comment": "A simple medication is made of one single component made of one to many substances.\r\nOptionality of doseForm, amount and strehgth attributes supports different levels of granularity.\r\nThe coarser level only defines the substances it's made of. For instance, contaning only paracetamol or containing only glucose.\r\nThe finest level is the defines the composition and the dose form. For instance, paracetamol 500 mg tablet or  500 mL glucose 5% (50 mg/mL) solution for injection."
      },
      {
        "id": "Medication.extension",
        "path": "Medication.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Medication.extension:drugCharacteristic",
        "path": "Medication.extension",
        "sliceName": "drugCharacteristic",
        "short": "descriptive properties of the medicine",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://interopsante.org/fhir/StructureDefinition/FrDrugCharacteristic"
            ]
          }
        ]
      },
      {
        "id": "Medication.code",
        "path": "Medication.code",
        "definition": "A sctid  that specify this medication.",
        "requirements": "The developper SHALL support the infusion use case, which requires a multi-compounds Medication ressource.",
        "min": 1,
        "binding": {
          "strength": "extensible",
          "valueSet": "http://interopsante.org/fhir/ValueSet/fr-medicinal-product-only"
        }
      },
      {
        "id": "Medication.code.text",
        "path": "Medication.code.text",
        "comment": "When some code is available, the text is the same as a displayName of one of the codings."
      },
      {
        "id": "Medication.form",
        "path": "Medication.form",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://interopsante.org/fhir/ValueSet/fr-mp-dose-form"
        }
      },
      {
        "id": "Medication.amount",
        "path": "Medication.amount",
        "short": "Amount of drug in the MRequest, MDispense or MUsage",
        "definition": "The quantity of the only substance or the volume (liquid) or mass (ointment) in the Medication of the MedicationRequest, Dispense or Use (pka MedicationStatement).",
        "comment": "If the strenght of the ingredients is a concentration, it is the volume (liquid) or mass (ointment) in the Medication of the MedicationRequest, Dispense or Use (pka MedicationStatement).\r\nIf there is only one ingredient and the strenght is not defined, it is the quantity of the substance.",
        "type": [
          {
            "code": "Ratio",
            "profile": [
              "http://interopsante.org/fhir/StructureDefinition/FrRatioUcum"
            ]
          }
        ]
      },
      {
        "id": "Medication.ingredient",
        "path": "Medication.ingredient",
        "definition": "Identifies a particular constituent in the product.",
        "comment": "For the active ingedients, the medication contains ALL the ingredients and ONLY the ingredients.",
        "min": 1
      },
      {
        "id": "Medication.ingredient.item[x]",
        "path": "Medication.ingredient.item[x]",
        "short": "Substance",
        "definition": "The actual substance (simple ingredient) of the simple medication (ie. made of single component).",
        "requirements": "The composition of the medication for this ingredient has to be defined",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://interopsante.org/fhir/StructureDefinition/FrMPSubstanceActive"
            ]
          }
        ]
      },
      {
        "id": "Medication.ingredient.strength",
        "path": "Medication.ingredient.strength",
        "definition": "Specifies how much of the items there are in this Medication",
        "comment": "The quantity of this igredient defining the medication. For instance, 50 mg/mL defining the glucose quantity for the glucose 5% or 500 mg medicine and 30 mg respectively defining the paracetamol and the codeine quantity for the paracetamol+codeine 500 mg+30 mg medicine.",
        "type": [
          {
            "code": "Ratio",
            "profile": [
              "http://interopsante.org/fhir/StructureDefinition/FrRatioUcum"
            ]
          }
        ]
      },
      {
        "id": "Medication.batch",
        "path": "Medication.batch",
        "max": "0"
      }
    ]
  }
}