{
  "resourceType": "StructureDefinition",
  "id": "ext-RelationToNewMedicationAgreement",
  "url": "http://nictiz.nl/fhir/StructureDefinition/ext-Communication.RelationToNewMedicationAgreement",
  "version": "2.0.0-rc.7",
  "name": "ExtCommunicationRelationToNewMedicationAgreement",
  "title": "ext Communication.RelationToNewMedicationAgreement",
  "status": "active",
  "publisher": "Nictiz",
  "description": "Relation from a reply (Communication) to the newly created MedicationAgreement that results from an accepted or accepted-with-changes proposal.",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Communication"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Relation to new MedicationAgreement"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://nictiz.nl/fhir/StructureDefinition/ext-Communication.RelationToNewMedicationAgreement"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "Reference to the new MedicationAgreement",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://nictiz.nl/fhir/StructureDefinition/mp-MedicationAgreement"
            ]
          }
        ]
      }
    ]
  }
}