### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/DeviceRequest.json
### ----------------------------------------------------
### -- Chunk 8 of 9
 contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "DeviceRequest.parameter.code",
      "path" : "DeviceRequest.parameter.code",
      "short" : "Device detail",
      "definition" : "A code or string that identifies the device detail being asserted.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "DeviceRequest.parameter.code",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ParameterCode"
        }],
        "strength" : "example",
        "description" : "A code that identifies the device detail."
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "v2",
        "map" : "Varies by domain"
      },
      {
        "identity" : "rim",
        "map" : ".code"
      },
      {
        "identity" : "quick",
        "map" : "DeviceUse.device"
      }]
    },
    {
      "id" : "DeviceRequest.parameter.value[x]",
      "path" : "DeviceRequest.parameter.value[x]",
      "short" : "Value of detail",
      "definition" : "The value of the device detail.",
      "comment" : "Range means device should have a value that falls somewhere within the specified range.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "DeviceRequest.parameter.value[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      },
      {
        "code" : "Quantity"
      },
      {
        "code" : "Range"
      },
      {
        "code" : "boolean"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "v2",
        "map" : "Varies by domain"
      },
      {
        "identity" : "rim",
        "map" : ".code"
      },
      {
        "identity" : "quick",
        "map" : "DeviceUse.device"
      }]
    },
    {
      "id" : "DeviceRequest.subject",
      "path" : "DeviceRequest.subject",
      "short" : "Focus of request",
      "definition" : "The patient who will use the device.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "DeviceRequest.subject",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Group",
        "http://hl7.org/fhir/StructureDefinition/Location",
        "http://hl7.org/fhir/StructureDefinition/Device"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.subject"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "v2",
        "map" : "Accompanying PID segment"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=SBJ].role"
      },
      {
        "identity" : "quick",
        "map" : "ClinicalStatement.subject"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject"
      }]
    },
    {
      "id" : "DeviceRequest.encounter",
      "path" : "DeviceRequest.encounter",
      "short" : "Encounter motivating request",
      "definition" : "An encounter that provides additional context in which this request is made.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "DeviceRequest.encounter",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.encounter"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "v2",
        "map" : "Accompanying PV1"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]"
      },
      {
        "identity" : "quick",
        "map" : "ClinicalStatement.encounter"
      }]
    },
    {
      "id" : "DeviceRequest.occurrence[x]",
      "path" : "DeviceRequest.occurrence[x]",
      "short" : "Desired time or schedule for use",
      "definition" : "The timing schedule for the use of the device. The Schedule data type allows many different expressions, for example. \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\".",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "DeviceRequest.occurrence[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "dateTime"
      },
      {
        "code" : "Period"
      },
      {
        "code" : "Timing"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.occurrence[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.planned"
      },
      {
        "identity" : "v2",
        "map" : "Accompanying TQ1/TQ2 segments"
      },
      {
        "identity" : "rim",
        "map" : ".effectiveTime"
      },
      {
        "identity" : "quick",
        "map" : "DeviceUse.applicationSchedule"
      }]
    },
    {
      "id" : "DeviceRequest.authoredOn",
      "path" : "DeviceRequest.authoredOn",
      "short" : "When recorded",
      "definition" : "When the request transitioned to being actionable.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "DeviceRequest.authoredOn",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "dateTime"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.authoredOn"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.recorded"
      },
      {
        "identity" : "v2",
        "map" : "ORC.9"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=AUT].time"
      },
      {
        "identity" : "quick",
        "map" : "ClinicalStatement.statementDateTime"
      }]
    },
    {
      "id" : "DeviceRequest.requester",
      "path" : "DeviceRequest.requester",
      "short" : "Who/what is requesting diagnostics",
      "definition" : "The individual who initiated the request and has responsibility for its activation.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "DeviceRequest.requester",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.requester"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.author"
      },
      {
        "identity" : "v2",
        "map" : "ORC.12"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=AUT].role"
      }]
    },
    {
      "id" : "DeviceRequest.performerType",
      "path" : "DeviceRequest.performerType",
      "short" : "Filler role",
      "definition" : "Desired type of performer for doing the diagnostic testing.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "DeviceRequest.performerType",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "DeviceRequestParticipantRole"
        }],
        "strength" : "example",
        "description" : "Indicates specific responsibility of an individual within the care team, such as \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/participant-role"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.performerType"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.actor"
      },
      {
        "identity" : "v2",
        "map" : "PRT"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=PRF].role[scoper.determinerCode=KIND].code"
      }]
    },
    {
      "id" : "DeviceRequest.performer",
      "path" : "DeviceRequest.performer",
      "short" : "Requested Filler",
      "definition" : "The desired performer for doing the diagnostic testing.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "DeviceRequest.performer",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Organization",
        "http://hl7.org/fhir/StructureDefinition/CareTeam",
        "http://hl7.org/fhir/StructureDefinition/HealthcareService",
        "http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.performer"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.actor"
      },
      {
        "identity" : "v2",
        "map" : "PRT"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"
      }]
    },
    {
      "id" : "DeviceRequest.reasonCode",
      "path" : "DeviceRequest.reasonCode",
      "short" : "Coded Reason for request",
      "definition" : "Reason or justification for the use of this device.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DeviceRequest.reasonCode",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "DeviceRequestReason"
        }],
        "strength" : "example",
        "description" : "Diagnosis or problem codes justifying the reason for requesting the device.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/condition-code"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.reasonCode"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.why[x]"
      },
      {
        "identity" : "v2",
        "map" : "ORC.16"
      },
      {
        "identity" : "rim",
        "map" : ".reasonCode"
      },
      {
        "identity" : "quick",
        "map" : "Action.indication.reason"
      }]
    },
    {
      "id" : "DeviceRequest.reasonReference",
      "path" : "DeviceRequest.reasonReference",
      "short" : "Linked Reason for request",
      "definition" : "Reason or justification for the use of this device.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DeviceRequest.reasonReference",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
        "http://hl7.org/fhir/StructureDefinition/Observation",
        "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.reasonReference"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.why[x]"
      },
      {
        "identity" : "v2",
        "map" : "ORC.16"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=RSON].target"
      }]
    },
    {
      "id" : "DeviceRequest.insurance",
      "path" : "DeviceRequest.insurance",
      "short" : "Associated insurance coverage",
      "definition" : "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DeviceRequest.insurance",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Coverage",
        "http://hl7.org/fhir/StructureDefinition/ClaimResponse"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.insurance"
      },
      {
        "identity" : "v2",
        "map" : "IN1/IN2"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=COVBY].target"
      }]
    },
    {
      "id" : "DeviceRequest.supportingInfo",
      "path" : "DeviceRequest.supportingInfo",
      "short" : "Additional clinical information",
      "definition" : "Additional clinical information about the patient that may influence the request fulfilment.  For example, this may include where on the subject's body the device will be used (i.e. the target site).",
      "requirements" : "Knowing where the device is targeted is important for tracking if multiple sites are possible.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DeviceRequest.supportingInfo",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.supportingInfo"
      },
      {
        "identity" : "v2",
        "map" : "Accompanying segments"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=PERT].target"
      }]
    },
    {
      "id" : "DeviceRequest.note",
      "path" : "DeviceRequest.note",
      "short" : "Notes or comments",
      "definition" : "Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DeviceRequest.note",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Annotation"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.note"
      },
      {
        "identity" : "v2",
        "map" : "NTE"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]"
      },
      {
        "identity" : "quick",
        "map" : "ClinicalStatement.additionalText"
      }]
    },
    {
      "id" : "DeviceRequest.relevantHistory",
      "path" : "DeviceRequest.relevantHistory",
      "short" : "Request provenance",
      "definition" : "Key events in the history of the request.",
      "comment" : "This might not include provenances for all versions of the request - only those deemed \"relevant\" or important.\rThis SHALL NOT include the Provenance associated with this current version of the resource.  (If that provenance is deemed to be a \"relevant\" change, it will need to be added as part of a later update.  Until then, it can be queried directly as the Provenance that points to this version using _revinclude\rAll Provenances should have some historical version of this Request as their subject.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DeviceRequest.relevantHistory",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Provenance"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.relevantHistory"
      },
      {
        "identity" : "v2",
        "map" : "N/A"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]"
      }]
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "DeviceRequest",
      "path" : "DeviceRequest",
      "short" : "Medical device request",
      "definition" : "Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker.",
      "min" : 0,
      "max" : "*",
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request"
      },
      {
        "identity" : "v2",
        "map" : "ORC"
      },
      {
        "identity" : "rim",
        "map" : "Act[moodCode<=INT]"
      }]
    },
    {
      "id" : "DeviceRequest.identifier",
      "path" : "DeviceRequest.identifier",
      "short" : "External Request identifier",
      "definition" : "Identifiers assigned to this order by the orderer or by the receiver.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.identifier"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      },
      {
        "identity" : "v2",
        "map" : "ORC.2, ORC.3"
      },
      {
        "identity" : "rim",
        "map" : ".identifier"
      },
      {
        "identity" : "quick",
        "map" : "ClinicalStatement.identifier"
      }]
    },
    {
      "id" : "DeviceRequest.instantiatesCanonical",
      "path" : "DeviceRequest.instantiatesCanonical",
      "short" : "Instantiates FHIR protocol or definition",
      "definition" : "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this DeviceRequest.",
      "comment" : "Note: This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "canonical",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ActivityDefinition",
        "http://hl7.org/fhir/StructureDefinition/PlanDefinition"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.instantiatesCanonical"
      },
      {
        "identity" : "v2",
        "map" : "Varies by domain"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=DEFN].target"
      }]
    },
    {
      "id" : "DeviceRequest.instantiatesUri",
      "path" : "DeviceRequest.instantiatesUri",
      "short" : "Instantiates external protocol or definition",
      "definition" : "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this DeviceRequest.",
      "comment" : "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "uri"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.instantiatesUri"
      },
      {
        "identity" : "v2",
        "map" : "Varies by domain"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=DEFN].target"
      }]
    },
    {
      "id" : "DeviceRequest.basedOn",
      "path" : "DeviceRequest.basedOn",
      "short" : "What request fulfills",
      "definition" : "Plan/proposal/order fulfilled by this request.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.basedOn"
      },
      {
        "identity" : "v2",
        "map" : "ORC.8 (plus others)"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=FLFS].target"
      },
      {
        "identity" : "quick",
        "map" : "Proposal.prnReason.reason"
      }]
    },
    {
      "id" : "DeviceRequest.priorRequest",
      "path" : "DeviceRequest.priorRequest",
      "short" : "What request replaces",
      "definition" : "The request takes the place of the referenced completed or terminated request(s).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.replaces"
      },
      {
        "identity" : "v2",
        "map" : "Handled by message location of ORC (ORC.1=RO or RU)"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=RPLC].target"
      }]
    },
    {
      "id" : "DeviceRequest.groupIdentifier",
      "path" : "DeviceRequest.groupIdentifier",
      "short" : "Identifier of composite request",
      "definition" : "Composite request this is part of.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.groupIdentifier"
      },
      {
        "identity" : "v2",
        "map" : "ORC.4"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier"
      }]
    },
    {
      "id" : "DeviceRequest.status",
      "path" : "DeviceRequest.status",
      "short" : "draft | active | suspended | completed | entered-in-error | cancelled",
      "definition" : "The status of the request.",
      "comment" : "This element is labeled as a modifier because the status contains the codes cancelled and entered-in-error that mark the request as not currently valid.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "DeviceRequestStatus"
        }],
        "strength" : "required",
        "description" : "Codes representing the status of the request.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/request-status|4.0.0"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.status"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.status"
      },
      {
        "identity" : "v2",
        "map" : "ORC.5"
      },
      {
        "identity" : "rim",
        "map" : ".status"
      },
      {
        "identity" : "quick",
        "map" : "Action.currentStatus"
      }]
    },
    {
      "id" : "DeviceRequest.intent",
      "path" : "DeviceRequest.intent",
      "short" : "proposal | plan | original-order | encoded | reflex-order",
      "definition" : "Whether the request is a proposal, plan, an original order or a reflex order.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "RequestIntent"
        }],
        "strength" : "required",
        "description" : "The kind of diagnostic request.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/request-intent|4.0.0"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.intent"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.class"
      },
      {
        "identity" : "v2",
        "map" : "N/A"
      },
      {
        "identity" : "rim",
        "map" : ".moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)"
      }]
    },
    {
      "id" : "DeviceRequest.priority",
      "path" : "DeviceRequest.priority",
      "short" : "Indicates how quickly the {{title}} should be addressed with respect to other requests",
      "definition" : "Indicates how quickly the {{title}} should be addressed with respect to other requests.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "meaningWhenMissing" : "If missing, normal priority",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "RequestPriority"
        }],
        "strength" : "required",
        "description" : "Identifies the level of importance to be assigned to actioning the request.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/request-priority|4.0.0"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.priority"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.grade"
      },
      {
        "identity" : "v2",
        "map" : "TQ1.9"
      },
      {
        "identity" : "rim",
        "map" : ".priorityCode"
      }]
    },
    {
      "id" : "DeviceRequest.code[x]",
      "path" : "DeviceRequest.code[x]",
      "short" : "Device requested",
      "definition" : "The details of the device to be used.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Device"]
      },
      {
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "DeviceRequestCode"
        }],
        "strength" : "example",
        "description" : "Codes for devices that can be requested.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/device-kind"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.code"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "v2",
        "map" : "Varies by domain"
      },
      {
        "identity" : "rim",
        "map" : ".code"
      },
      {
        "identity" : "quick",
        "map" : "DeviceUse.device"
      }]
    },
