{
  "resourceType": "StructureDefinition",
  "id": "zib-DispenseRequest-RelatedMedicationAgreement",
  "url": "http://nictiz.nl/fhir/StructureDefinition/zib-DispenseRequest-RelatedMedicationAgreement",
  "version": "2.0.0",
  "name": "Zib Related Medication Agreement",
  "title": "HCIM Related Medication Agreement",
  "status": "active",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "email",
          "value": "info@nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "The medication agreement related to the current medication information",
  "purpose": "This is extension is needed to describe the context of the current medication information",
  "copyright": "CC0",
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "MedicationRequest"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://nictiz.nl/fhir/StructureDefinition/zib-DispenseRequest-RelatedMedicationAgreement"
      },
      {
        "id": "Extension.value[x]:valueReference",
        "path": "Extension.valueReference",
        "sliceName": "valueReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/zib-MedicationAgreement"
          }
        ]
      }
    ]
  }
}