{
  "resourceType": "StructureDefinition",
  "language": "fr-FR",
  "url": "http://phast.fr/fhir/StructureDefinition/Extension/Pharmacy/SIPhMedicationKnowledgeCostHistoryR4",
  "version": "1.2",
  "name": "SIPhMedicationKnowledgeCostHistoryR4",
  "status": "draft",
  "experimental": true,
  "date": "2020-11-25",
  "publisher": "Phast",
  "contact": [
    {
      "name": "Nicolas Canu",
      "telecom": [
        {
          "system": "email",
          "value": "nicolas.canu@phast.fr"
        }
      ]
    }
  ],
  "description": "Extension SIPhMedicationKnowledgeCostHistoryR4 utilisée par Phast pour le type de ressource MedicationKnowledge R4",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "FR",
          "display": "France"
        }
      ],
      "text": "France"
    }
  ],
  "copyright": "© Phast 2020",
  "fhirVersion": "4.0.0",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "extension",
      "expression": "SIPhMedicationKnowledgePackaging"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Extension.extension:effectiveDate",
        "path": "Extension.extension",
        "sliceName": "effectiveDate",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Extension.extension:effectiveDate.url",
        "path": "Extension.extension.url",
        "fixedUri": "effectiveDate"
      },
      {
        "id": "Extension.extension:effectiveDate.value[x]",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode": "4.0.0"
          }
        ],
        "path": "Extension.extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "date"
          },
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://phast.fr/fhir/StructureDefinition/Extension/Pharmacy/SIPhMedicationKnowledgeCostHistoryR4"
      },
      {
        "id": "Extension.value[x]",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode": "4.0.0"
          }
        ],
        "path": "Extension.value[x]",
        "max": "0"
      }
    ]
  }
}