{
  "resourceType": "StructureDefinition",
  "id": "vms-medicationstatement",
  "meta": {
    "lastUpdated": "2017-12-12T12:42:26.558+00:00"
  },
  "url": "http://www.collabnotes.com/baseDstu3/StructureDefinition/vms-medicationstatement",
  "version": "1.0.0",
  "name": "VMS Medication Statement Profile",
  "title": "VMS Medication Statement Profile",
  "status": "draft",
  "date": "2017-12-05T07:03:05.447+00:00",
  "publisher": "CollabNotes",
  "copyright": "@CollabNotes.io",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationStatement",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationStatement.extension",
        "path": "MedicationStatement.extension"
      },
      {
        "id": "MedicationStatement.extension:LastGiven",
        "path": "MedicationStatement.extension",
        "sliceName": "LastGiven",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://www.collabnotes.com/baseDstu3/StructureDefinition/lastgiven"
          }
        ]
      },
      {
        "id": "MedicationStatement.extension:InformationSource",
        "path": "MedicationStatement.extension",
        "sliceName": "InformationSource",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://www.collabnotes.com/baseDstu3/StructureDefinition/prescriber"
          }
        ]
      },
      {
        "id": "MedicationStatement.extension:InfoSource",
        "path": "MedicationStatement.extension",
        "sliceName": "InfoSource",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://www.collabnotes.com/baseDstu3/StructureDefinition/sourceofmedicationlist"
          }
        ]
      },
      {
        "id": "MedicationStatement.medication[x]:medicationReference",
        "path": "MedicationStatement.medicationReference",
        "sliceName": "medicationReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication"
          }
        ]
      },
      {
        "id": "MedicationStatement.effective[x]:effectivePeriod",
        "path": "MedicationStatement.effectivePeriod",
        "sliceName": "effectivePeriod",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "MedicationStatement.dosage.dose[x]:doseQuantity",
        "path": "MedicationStatement.dosage.doseQuantity",
        "sliceName": "doseQuantity",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ]
      }
    ]
  }
}