{
  "resourceType": "StructureDefinition",
  "id": "shr-medication-MedicationNotUsed",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR MedicationNotUsed Profile</b></p>\n  <p>A record of a medication NOT used. Although usually not required, a medication not used is sometimes reported when deviating from normal expectation or care plan.</p>\n  <p><b>SHR Mapping Summary</b></p>\n  <p><pre>shr.medication.MedicationNotUsed maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationstatement:\n  Informant maps to informationSource\n  Entry.CreationTime maps to dateAsserted\n  MedicationOrCode maps to medication[x]\n  Category maps to category\n  fix taken to #n\n  constrain dosage to 0..0\n  NotPerformedContext.Reason maps to reasonNotTaken\n  NotPerformedContext.OccurrenceTimeOrPeriod maps to effective[x]\n</pre></p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotUsed",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.medication.MedicationNotUsed"
    }
  ],
  "version": "0.0.1",
  "name": "SHR MedicationNotUsed Profile",
  "status": "draft",
  "date": "2017-12-20",
  "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://standardhealthrecord.org"
        }
      ]
    }
  ],
  "description": "A record of a medication NOT used. Although usually not required, a medication not used is sometimes reported when deviating from normal expectation or care plan.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US",
          "display": "United States Minor Outlying Islands (the)"
        }
      ]
    }
  ],
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "argonaut-dq-dstu2",
      "uri": "http://unknown.org/Argonaut DQ DSTU2",
      "name": "Argonaut DQ DSTU2"
    },
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "MedicationStatement",
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationstatement",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed",
        "path": "MedicationStatement",
        "short": "SHR MedicationNotUsed Profile",
        "definition": "A record of a medication NOT used. Although usually not required, a medication not used is sometimes reported when deviating from normal expectation or care plan.",
        "mustSupport": false
      },
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed.extension:relatedencounter",
        "path": "MedicationStatement.extension",
        "sliceName": "relatedencounter",
        "definition": "If content was generated during a patient encounter, related encounter is the encounter where the information was gained.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension"
          }
        ]
      },
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed.extension:author",
        "path": "MedicationStatement.extension",
        "sliceName": "author",
        "definition": "The person or organization who created the entry and is responsible for (and may certify) the content.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension"
          }
        ]
      },
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed.extension:type",
        "path": "MedicationStatement.extension",
        "sliceName": "type",
        "definition": "The most specific code (lowest level term) describing the kind or sort of thing being represented.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension"
          }
        ]
      },
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed.extension:notperformedcontext",
        "path": "MedicationStatement.extension",
        "sliceName": "notperformedcontext",
        "definition": "A record that a clinical act was not performed at a certain time or during a stated period of time, particularly when there might be an expectation of performing such an act, for example, if a vaccination is not given because of parental objection. Do not use this context if the act was initiated or started but aborted or cancelled.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-NotPerformedContext-extension"
          }
        ]
      },
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed.extension:notperformedcontext.extension:reason",
        "path": "MedicationStatement.extension.extension"
      },
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed.extension:notperformedcontext.extension:reason.extension:codeableconcept",
        "path": "MedicationStatement.extension.extension.extension"
      },
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed.extension:notperformedcontext.extension:reason.extension:codeableconcept.valueCodeableConcept",
        "path": "MedicationStatement.extension.extension.extension.valueCodeableConcept",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://standardhealthrecord.org/shr/medication/vs/MedicationNotUsedReasonVS"
          }
        }
      },
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed.medication[x]",
        "path": "MedicationStatement.medication[x]",
        "slicing": {
          "id": "236",
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Medication"
          }
        ]
      },
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed.medicationCodeableConcept:CodeableConcept",
        "path": "MedicationStatement.medicationCodeableConcept",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes"
          }
        }
      },
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed.informationSource",
        "path": "MedicationStatement.informationSource",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-RelatedPerson"
          },
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization"
          }
        ]
      },
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed.taken",
        "path": "MedicationStatement.taken",
        "fixedCode": "n"
      },
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed.reasonNotTaken",
        "path": "MedicationStatement.reasonNotTaken",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://standardhealthrecord.org/shr/medication/vs/MedicationNotUsedReasonVS"
          }
        }
      },
      {
        "id": "MedicationStatement:shr-medication-MedicationNotUsed.dosage",
        "path": "MedicationStatement.dosage",
        "min": 0,
        "max": "0"
      }
    ]
  }
}