{
  "resourceType": "StructureDefinition",
  "id": "61d9bf96-ef7c-427f-98ae-779d62b35c43",
  "meta": {
    "versionId": "1032c675-99bb-4527-bfcd-3ae3031f75e5",
    "lastUpdated": "2017-05-16T15:51:57.461+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "phx"
    }
  ],
  "url": "http://vonk.furore.com/StructureDefinition/61d9bf96-ef7c-427f-98ae-779d62b35c43",
  "name": "HVLMedicationRequest",
  "status": "draft",
  "date": "2017-05-16T10:40:41.9274281+00:00",
  "fhirVersion": "3.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "path": "MedicationRequest.identifier",
        "max": "0"
      },
      {
        "path": "MedicationRequest.definition",
        "max": "0"
      },
      {
        "path": "MedicationRequest.basedOn",
        "max": "0"
      },
      {
        "path": "MedicationRequest.groupIdentifier",
        "max": "0"
      },
      {
        "path": "MedicationRequest.status",
        "max": "0"
      },
      {
        "path": "MedicationRequest.intent",
        "fixedCode": "plan"
      },
      {
        "path": "MedicationRequest.category",
        "max": "0"
      },
      {
        "path": "MedicationRequest.priority",
        "max": "0"
      },
      {
        "path": "MedicationRequest.medicationReference",
        "type": [
          {
            "code": "Reference",
            "profile": "http://vonk.furore.com/StructureDefinition/7dddfe79-4c34-4781-983d-2cf49a4e693d"
          }
        ]
      },
      {
        "path": "MedicationRequest.subject",
        "type": [
          {
            "code": "Reference",
            "profile": "http://vonk.furore.com/StructureDefinition/0767a47f-dac8-4a34-a640-95d7c2fb99c8",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ]
      },
      {
        "path": "MedicationRequest.context",
        "max": "0"
      },
      {
        "path": "MedicationRequest.supportingInformation",
        "max": "0"
      },
      {
        "path": "MedicationRequest.authoredOn",
        "min": 1
      },
      {
        "path": "MedicationRequest.requester",
        "max": "0"
      },
      {
        "path": "MedicationRequest.recorder",
        "max": "0"
      },
      {
        "path": "MedicationRequest.reasonCode",
        "max": "0"
      },
      {
        "path": "MedicationRequest.reasonReference",
        "max": "0"
      },
      {
        "path": "MedicationRequest.note",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction",
        "min": 1,
        "max": "1"
      },
      {
        "path": "MedicationRequest.dosageInstruction.sequence",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.text",
        "min": 1
      },
      {
        "path": "MedicationRequest.dosageInstruction.additionalInstruction",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.patientInstruction",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing",
        "min": 1
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.event",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat",
        "min": 1
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.count",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.countMax",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.duration",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.durationMax",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.durationUnit",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.frequency",
        "min": 1
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.frequencyMax",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.period",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.periodMax",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.periodUnit",
        "min": 1
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.dayOfWeek",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.timeOfDay",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.when",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.repeat.offset",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.timing.code",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.asNeededBoolean",
        "min": 1,
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "path": "MedicationRequest.dosageInstruction.site",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.route",
        "min": 1
      },
      {
        "path": "MedicationRequest.dosageInstruction.route.coding",
        "max": "0"
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationRequest.dosageInstruction.route.text",
        "min": 1
      },
      {
        "path": "MedicationRequest.dosageInstruction.method",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.doseQuantity",
        "min": 1,
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ]
      },
      {
        "path": "MedicationRequest.dosageInstruction.maxDosePerPeriod",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.maxDosePerAdministration",
        "sliceName": "SimpleQuantity",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.maxDosePerLifetime",
        "sliceName": "SimpleQuantity",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dosageInstruction.rate[x]",
        "max": "0"
      },
      {
        "path": "MedicationRequest.dispenseRequest",
        "max": "0"
      },
      {
        "path": "MedicationRequest.substitution",
        "max": "0"
      },
      {
        "path": "MedicationRequest.priorPrescription",
        "max": "0"
      },
      {
        "path": "MedicationRequest.detectedIssue",
        "max": "0"
      },
      {
        "path": "MedicationRequest.eventHistory",
        "max": "0"
      }
    ]
  }
}