{
  "resourceType": "StructureDefinition",
  "url": "http://interopsante.org/fhir/StructureDefinition/FrMedicationUcdPart",
  "version": "1.0.0",
  "name": "FrMedicationUcdPart",
  "title": "French Ucd Part Medication",
  "status": "draft",
  "experimental": false,
  "date": "2021-10-18",
  "publisher": "InterOp'Santé - FRANCE",
  "contact": [
    {
      "telecom": [
        {
          "system": "email",
          "value": "fhir@interopsante.org"
        }
      ]
    }
  ],
  "description": "Part of a multipart branded medication.",
  "purpose": "Description of each multipart proprietary named medication part.",
  "copyright": "InterOp'Santé 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": "Definition of a branded Medication part",
        "definition": "This resource is primarily used for the identification and definition of a branded medication part for the purposes of prescribing, dispensing, and administering a medication as well as for making statements about medication use."
      },
      {
        "id": "Medication.code",
        "path": "Medication.code",
        "short": "Short text that identifies this branded medication part",
        "definition": "A short relevant text to discern each part.",
        "comment": "No code assigned by the regultory authorities, use a short relevant text to discern each part."
      },
      {
        "id": "Medication.code.coding",
        "path": "Medication.code.coding",
        "definition": "Code for the part : no code assigned by the regultory authorities",
        "comment": "No code but a short text depicting the part. For instance, white tablet for a proprietary named medication made of white tablets and blue tablets",
        "requirements": "No code but a text descripting the part.",
        "max": "0"
      },
      {
        "id": "Medication.code.text",
        "path": "Medication.code.text",
        "short": "Short plain text representation of the part",
        "definition": "No regulatory authority label but a text descripting the part. It is a short text, relevant enough to discern the different parts of the medication.",
        "comment": "A short text, relevant enough to discern the different parts of the medication.",
        "requirements": "This is the only way for identifing the part to the medication. However it is not an absolute idenfication.",
        "min": 1
      },
      {
        "id": "Medication.manufacturer",
        "path": "Medication.manufacturer",
        "definition": "No distinct manufacturer for each part of the medication",
        "comment": "No distinct manufacturer for each part. Each part inherits the whole medication manufacturer.",
        "max": "0"
      },
      {
        "id": "Medication.form",
        "path": "Medication.form",
        "comment": "This is the defined dose form of this part of the branded medication.",
        "requirements": "The dose form of the part is always defined and SHALL be provided.",
        "min": 1,
        "binding": {
          "strength": "extensible",
          "valueSet": "http://interopsante.org/fhir/ValueSet/fr-mp-dose-form"
        }
      },
      {
        "id": "Medication.ingredient",
        "path": "Medication.ingredient",
        "comment": "For the active ingedients, the medication contains ALL the ingredients and ONLY the ingredients."
      },
      {
        "id": "Medication.ingredient.item[x]",
        "path": "Medication.ingredient.item[x]",
        "short": "The actual substance or sub-part of the part",
        "definition": "The actual substance or sub-part of the part of the branded medication.",
        "comment": "Most of the few multi-part branded medication have a single level of parts with no sub-parts. For instance, a white tablet and a bue tablet. The item[x].refeence(FrMedicationUcdPart) is intende to describe the very few more complex multipart branded medications.",
        "requirements": "Support of french multi-part branded medication identfied by a code UDC.",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://interopsante.org/fhir/StructureDefinition/FrMPSubstanceActive"
            ]
          },
          {
            "code": "Reference",
            "targetProfile": [
              "http://interopsante.org/fhir/StructureDefinition/FrMedicationUcdPart"
            ]
          }
        ]
      },
      {
        "id": "Medication.ingredient.strength",
        "path": "Medication.ingredient.strength",
        "definition": "Specifies how much subtance of the item[x]:codeableConcept(snomedSubstance) or how many of the item[x]:refernce(FrMedciationUcdPart) there are in this FrMedicationUcdPart",
        "comment": "The quantity of this ingredient 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 association paracetamol+codeine 500 mg+30 mg medicine.",
        "type": [
          {
            "code": "Ratio",
            "profile": [
              "http://interopsante.org/fhir/StructureDefinition/FrRatioUcum"
            ]
          }
        ]
      },
      {
        "id": "Medication.batch",
        "path": "Medication.batch",
        "definition": "This applies for the proprietary named medication involved in a MedicationDispense, MedicationAdministration or a MedicationUse.",
        "comment": "WARNING: it is the batch number of the part.\r\nIf it is not discerned for each part, it SHALL NOT be provided here but at the grouping level where it is defined, most often the UCD."
      }
    ]
  }
}