### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/DetectedIssue.json
### ----------------------------------------------------
### -- Chunk 6 of 6
      "path" : "DetectedIssue.reference",
      "short" : "Authority for issue",
      "definition" : "The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "uri"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=INST].target[classCode=ALRT, moodCode=DEFN].text.uri"
      }]
    },
    {
      "id" : "DetectedIssue.mitigation",
      "path" : "DetectedIssue.mitigation",
      "short" : "Step taken to address",
      "definition" : "Indicates an action that has been taken or is committed to reduce or eliminate the likelihood of the risk identified by the detected issue from manifesting.  Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=MITG].target[classCode=ACT, moodCode=EVN]"
      }]
    },
    {
      "id" : "DetectedIssue.mitigation.action",
      "path" : "DetectedIssue.mitigation.action",
      "short" : "What mitigation?",
      "definition" : "Describes the action that was taken or the observation that was made that reduces/eliminates the risk associated with the identified issue.",
      "comment" : "The \"text\" component can be used for detail or when no appropriate code exists.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "DetectedIssueMitigationAction"
        }],
        "strength" : "preferred",
        "description" : "Codes describing steps taken to resolve the issue or other circumstances that mitigate the risk associated with the issue; e.g. 'added concurrent therapy', 'prior therapy documented', etc.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/detectedissue-mitigation-action"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".code"
      }]
    },
    {
      "id" : "DetectedIssue.mitigation.date",
      "path" : "DetectedIssue.mitigation.date",
      "short" : "Date committed",
      "definition" : "Indicates when the mitigating action was documented.",
      "comment" : "This might not be the same as when the mitigating step was actually taken.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : ".effectiveTime"
      }]
    },
    {
      "id" : "DetectedIssue.mitigation.author",
      "path" : "DetectedIssue.mitigation.author",
      "short" : "Who is committing?",
      "definition" : "Identifies the practitioner who determined the mitigation and takes responsibility for the mitigation step occurring.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole"]
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : ".participation[typeCode=AUT].role[classCode=ASSIGNED]"
      }]
    }]
  }
}


