{
  "resourceType": "StructureDefinition",
  "id": "shr-medication-MedicationNotRequested",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR MedicationNotRequested Profile</b></p>\n  <p>A record of a medication NOT prescribed. Recorded only when deviating from the normal expectation, care plan, or standard of care.</p>\n  <p><b>SHR Mapping Summary</b></p>\n  <p><pre>shr.medication.MedicationNotRequested maps to Basic:\n</pre></p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotRequested",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.medication.MedicationNotRequested"
    }
  ],
  "version": "0.0.1",
  "name": "SHR MedicationNotRequested 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 prescribed. Recorded only when deviating from the normal expectation, care plan, or standard of care.",
  "purpose": "Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources.",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Basic",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Basic",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Basic:shr-medication-MedicationNotRequested",
        "path": "Basic",
        "short": "SHR MedicationNotRequested Profile",
        "definition": "A record of a medication NOT prescribed. Recorded only when deviating from the normal expectation, care plan, or standard of care."
      },
      {
        "id": "Basic:shr-medication-MedicationNotRequested.extension:relatedencounter",
        "path": "Basic.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": "Basic:shr-medication-MedicationNotRequested.extension:author",
        "path": "Basic.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": "Basic:shr-medication-MedicationNotRequested.extension:informant",
        "path": "Basic.extension",
        "sliceName": "informant",
        "definition": "The person or entity that provided the information in the entry, as distinct from who created the entry, e.g. the subject (patient), medical professional, family member, device or software program.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-medication-MedicationNotRequested.extension:type",
        "path": "Basic.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": "Basic:shr-medication-MedicationNotRequested.extension:category",
        "path": "Basic.extension",
        "sliceName": "category",
        "definition": "A class or division of people or things having particular shared characteristics",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Category-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-medication-MedicationNotRequested.extension:requestedagainstcontext",
        "path": "Basic.extension",
        "sliceName": "requestedagainstcontext",
        "definition": "Represents a recommendation or order from a practitioner or clinical decision support system to NOT perform an act.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestedAgainstContext-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-medication-MedicationNotRequested.extension:requestedagainstcontext.extension:reason",
        "path": "Basic.extension.extension"
      },
      {
        "id": "Basic:shr-medication-MedicationNotRequested.extension:requestedagainstcontext.extension:reason.extension:codeableconcept",
        "path": "Basic.extension.extension.extension"
      },
      {
        "id": "Basic:shr-medication-MedicationNotRequested.extension:requestedagainstcontext.extension:reason.extension:codeableconcept.valueCodeableConcept",
        "path": "Basic.extension.extension.extension.valueCodeableConcept",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://standardhealthrecord.org/shr/medication/vs/MedicationNotUsedReasonVS"
          }
        }
      },
      {
        "id": "Basic:shr-medication-MedicationNotRequested.extension:medicationorcode",
        "path": "Basic.extension",
        "sliceName": "medicationorcode",
        "definition": "A medication entity or a medication code.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-MedicationOrCode-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-medication-MedicationNotRequested.extension:dosage",
        "path": "Basic.extension",
        "sliceName": "dosage",
        "definition": "The dosage of the medication, prescribed or taken.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Dosage-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-medication-MedicationNotRequested.code",
        "path": "Basic.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://standardhealthrecord.org/fhir/basic-resource-type",
              "code": "shr-medication-MedicationNotRequested"
            }
          ]
        }
      }
    ]
  }
}