Extensions for Using Data Elements from FHIR R5 in FHIR R4B
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R5 in FHIR R4B - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R5_DeviceRequest_R4B - TTL Profile

Page standards status: Trial-use Maturity Level: 0

TTL representation of the profile-DeviceRequest resource profile.

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "profile-DeviceRequest"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition profile-DeviceRequest</b></p><a name=\"profile-DeviceRequest\"> </a><a name=\"hcprofile-DeviceRequest\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-DeviceRequest-definitions.html#DeviceRequest\">DeviceRequest</a><a name=\"DeviceRequest\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4B/devicerequest.html\">DeviceRequest(4.3.0)</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Medical device request</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_extension_simple.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-DeviceRequest-definitions.html#DeviceRequest.extension\">Slices for extension</a><a name=\"DeviceRequest.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4B/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck134.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-DeviceRequest-definitions.html#DeviceRequest.extension:quantity\" title=\"Extension URL = http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.quantity\">extension:quantity</a><a name=\"DeviceRequest.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4B/datatypes.html#integer\">integer</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">R5: Quantity of devices to supply (new)<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R5-DeviceRequest.quantity.html\">http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.quantity</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck134.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-DeviceRequest-definitions.html#DeviceRequest.extension:performer\" title=\"Extension URL = http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.performer\">extension:performer</a><a name=\"DeviceRequest.extension.3\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4B/references.html\">CodeableReference</a>(<a href=\"StructureDefinition-profile-Practitioner.html\">Cross-version Profile for R5.Practitioner for use in FHIR R4B(0.1.0)</a> | <a href=\"http://hl7.org/fhir/R4B/practitioner.html\">Practitioner</a> | <a href=\"StructureDefinition-profile-PractitionerRole.html\">Cross-version Profile for R5.PractitionerRole for use in FHIR R4B(0.1.0)</a> | <a href=\"http://hl7.org/fhir/R4B/practitionerrole.html\">PractitionerRole</a> | <a href=\"StructureDefinition-profile-Organization.html\">Cross-version Profile for R5.Organization for use in FHIR R4B(0.1.0)</a> | <a href=\"http://hl7.org/fhir/R4B/organization.html\">Organization</a> | <a href=\"StructureDefinition-profile-CareTeam.html\">Cross-version Profile for R5.CareTeam for use in FHIR R4B(0.1.0)</a> | <a href=\"http://hl7.org/fhir/R4B/careteam.html\">CareTeam</a> | <a href=\"StructureDefinition-profile-HealthcareService.html\">Cross-version Profile for R5.HealthcareService for use in FHIR R4B(0.1.0)</a> | <a href=\"http://hl7.org/fhir/R4B/healthcareservice.html\">HealthcareService</a> | <a href=\"StructureDefinition-profile-Patient.html\">Cross-version Profile for R5.Patient for use in FHIR R4B(0.1.0)</a> | <a href=\"http://hl7.org/fhir/R4B/patient.html\">Patient</a> | <a href=\"StructureDefinition-profile-Device.html\">Cross-version Profile for R5.Device for use in FHIR R4B(0.1.0)</a> | <a href=\"http://hl7.org/fhir/R4B/device.html\">Device</a> | <a href=\"StructureDefinition-profile-RelatedPerson.html\">Cross-version Profile for R5.RelatedPerson for use in FHIR R4B(0.1.0)</a> | <a href=\"http://hl7.org/fhir/R4B/relatedperson.html\">RelatedPerson</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">R5: Requested Filler additional types<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R5-DeviceRequest.performer.html\">http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.performer</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck134.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-DeviceRequest-definitions.html#DeviceRequest.extension:reason\" title=\"Extension URL = http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.reason\">extension:reason</a><a name=\"DeviceRequest.extension.4\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4B/references.html\">CodeableReference</a>(<a href=\"StructureDefinition-profile-Condition.html\">Cross-version Profile for R5.Condition for use in FHIR R4B(0.1.0)</a> | <a href=\"http://hl7.org/fhir/R4B/condition.html\">Condition</a> | <a href=\"StructureDefinition-profile-Observation.html\">Cross-version Profile for R5.Observation for use in FHIR R4B(0.1.0)</a> | <a href=\"http://hl7.org/fhir/R4B/observation.html\">Observation</a> | <a href=\"StructureDefinition-profile-DiagnosticReport.html\">Cross-version Profile for R5.DiagnosticReport for use in FHIR R4B(0.1.0)</a> | <a href=\"http://hl7.org/fhir/R4B/diagnosticreport.html\">DiagnosticReport</a> | <a href=\"StructureDefinition-profile-DocumentReference-for-Media.html\">Cross-version Profile for R5.DocumentReference for use in FHIR R4B(0.1.0)</a> | <a href=\"http://hl7.org/fhir/R4B/media.html\">Media</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">R5: Coded/Linked Reason for request additional types<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R5-DeviceRequest.reason.html\">http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.reason</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck134.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-DeviceRequest-definitions.html#DeviceRequest.extension:asNeeded\" title=\"Extension URL = http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.asNeeded\">extension:asNeeded</a><a name=\"DeviceRequest.extension.5\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4B/datatypes.html#boolean\">boolean</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">R5: PRN status of request (new)<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R5-DeviceRequest.asNeeded.html\">http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.asNeeded</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck124.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-DeviceRequest-definitions.html#DeviceRequest.extension:asNeededFor\" title=\"Extension URL = http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.asNeededFor\">extension:asNeededFor</a><a name=\"DeviceRequest.extension.6\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4B/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">R5: Device usage reason (new)<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R5-DeviceRequest.asNeededFor.html\">http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.asNeededFor</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_modifier_extension_simple.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-DeviceRequest-definitions.html#DeviceRequest.modifierExtension\">Slices for modifierExtension</a><a name=\"DeviceRequest.modifierExtension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4B/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck124.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-DeviceRequest-definitions.html#DeviceRequest.modifierExtension:doNotPerform\" title=\"Extension URL = http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform\">modifierExtension:doNotPerform</a><a name=\"DeviceRequest.modifierExtension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4B/datatypes.html#boolean\">boolean</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">R5: True if the request is to stop or not to start using the device (new)<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R5-DeviceRequest.doNotPerform.html\">http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-DeviceRequest-definitions.html#DeviceRequest.priorRequest\">priorRequest</a><a name=\"DeviceRequest.priorRequest\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck003.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_extension_simple.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-DeviceRequest-definitions.html#DeviceRequest.priorRequest.extension\">Slices for extension</a><a name=\"DeviceRequest.priorRequest.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4B/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0024.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-DeviceRequest-definitions.html#DeviceRequest.priorRequest.extension:replaces\" title=\"Extension URL = http://hl7.org/fhir/StructureDefinition/alternate-reference\">extension:replaces</a><a name=\"DeviceRequest.priorRequest.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4B/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R4B/resource.html\">Resource</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">R5: replaces additional types<br/><span style=\"font-weight:bold\">URL: </span><a href=\"http://hl7.org/fhir/extensions/5.2.0/StructureDefinition-alternate-reference.html\">http://hl7.org/fhir/StructureDefinition/alternate-reference</a><br/></td></tr>#xD;\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>     ] ;
fhir:value [
a fhir:Code ;
fhir:v "fhir"     ]
  ] [
    ( fhir:extension [
fhir:url [
fhir:v "packageId"^^xsd:anyURI ;
fhir:l fhir:packageId       ] ;
fhir:value [
a fhir:Id ;
fhir:v "hl7.fhir.uv.xver-r5.r4b"       ]     ] [
fhir:url [
fhir:v "version"^^xsd:anyURI ;
fhir:l fhir:version       ] ;
fhir:value [
a fhir:String ;
fhir:v "0.1.0"       ]     ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/package-source>     ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>     ] ;
fhir:value [
a fhir:Integer ;
fhir:v 0 ;
      ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>         ] ;
fhir:value [
a fhir:Canonical ;
fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4b"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4b>         ]       ] )     ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>     ] ;
fhir:value [
a fhir:Code ;
fhir:v "trial-use" ;
      ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>         ] ;
fhir:value [
a fhir:Canonical ;
fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4b"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4b>         ]       ] )     ]
  ] ) ; # 
  fhir:url [
fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/profile-DeviceRequest"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/profile-DeviceRequest>
  ] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "Profile_R5_DeviceRequest_R4B"] ; # 
  fhir:title [ fhir:v "Cross-version Profile for R5.DeviceRequest for use in FHIR R4B"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-03-17T16:03:54.8181713-05:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "FHIR Infrastructure"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "FHIR Infrastructure" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This cross-version profile allows R5 DeviceRequest content to be represented via FHIR R4B DeviceRequest resources."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [
fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>       ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]     ] )
  ] ) ; # 
  fhir:fhirVersion [ fhir:v "4.3.0"] ; # 
  fhir:mapping ( [
fhir:identity [ fhir:v "workflow" ] ;
fhir:uri [
fhir:v "http://hl7.org/fhir/workflow"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/workflow>     ] ;
fhir:name [ fhir:v "Workflow Pattern" ]
  ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:uri [
fhir:v "http://hl7.org/v2"^^xsd:anyURI ;
fhir:l <http://hl7.org/v2>     ] ;
fhir:name [ fhir:v "HL7 v2 Mapping" ]
  ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:uri [
fhir:v "http://hl7.org/v3"^^xsd:anyURI ;
fhir:l <http://hl7.org/v3>     ] ;
fhir:name [ fhir:v "RIM Mapping" ]
  ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:uri [
fhir:v "http://hl7.org/fhir/fivews"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/fivews>     ] ;
fhir:name [ fhir:v "FiveWs Pattern Mapping" ]
  ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:uri [
fhir:v "http://siframework.org/cqf"^^xsd:anyURI ;
fhir:l <http://siframework.org/cqf>     ] ;
fhir:name [ fhir:v "Quality Improvement and Clinical Knowledge (QUICK)" ]
  ] ) ; # 
  fhir:kind [ fhir:v "resource"] ; # 
  fhir:abstract [ fhir:v false] ; # 
  fhir:type [
fhir:v "DeviceRequest"^^xsd:anyURI ;
fhir:l fhir:DeviceRequest
  ] ; # 
  fhir:baseDefinition [
fhir:v "http://hl7.org/fhir/StructureDefinition/DeviceRequest|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DeviceRequest?version=4.3.0>
  ] ; # 
  fhir:derivation [ fhir:v "constraint"] ; # 
  fhir:snapshot [
    ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version>       ] ;
fhir:value [
a fhir:String ;
fhir:v "4.3.0"       ]     ] ) ;
    ( fhir:element [
fhir:id [ fhir:v "DeviceRequest" ] ;
fhir:path [ fhir:v "DeviceRequest" ] ;
fhir:short [ fhir:v "Medical device request" ] ;
fhir:definition [ fhir:v "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." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:constraint [
fhir:key [ fhir:v "dom-2" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ;
fhir:expression [ fhir:v "contained.contained.empty()" ] ;
fhir:xpath [ fhir:v "not(parent::f:contained and f:contained)" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "dom-3" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ;
fhir:expression [ fhir:v "contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()" ] ;
fhir:xpath [ fhir:v "not(exists(for $contained in f:contained return $contained[not(exists(parent::*/descendant::f:reference/@value=concat('#', $contained/*/f:id/@value)) or exists(descendant::f:reference[@value='#']))]))" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "dom-4" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ;
fhir:expression [ fhir:v "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ;
fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "dom-5" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a security label" ] ;
fhir:expression [ fhir:v "contained.meta.security.empty()" ] ;
fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:security))" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource?version=4.3.0>         ]       ] [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice>           ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true           ]         ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation>           ] ;
fhir:value [
a fhir:Markdown ;
fhir:v "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."           ]         ] ) ;
fhir:key [ fhir:v "dom-6" ] ;
fhir:severity [ fhir:v "warning" ] ;
fhir:human [ fhir:v "A resource should have narrative for robust management" ] ;
fhir:expression [ fhir:v "text.`div`.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:text/h:div)" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Entity. Role, or Act" ]       ] [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "ORC" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Act[moodCode<=INT]" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "workflow.order" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.id" ] ;
fhir:path [ fhir:v "DeviceRequest.id" ] ;
fhir:short [ fhir:v "Logical id of this artifact" ] ;
fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ;
fhir:comment [ fhir:v "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Resource.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "id"^^xsd:anyURI ;
fhir:l fhir:id           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ]     ] [
fhir:id [ fhir:v "DeviceRequest.meta" ] ;
fhir:path [ fhir:v "DeviceRequest.meta" ] ;
fhir:short [ fhir:v "Metadata about the resource" ] ;
fhir:definition [ fhir:v "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Resource.meta" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Meta"^^xsd:anyURI ;
fhir:l fhir:Meta         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ]     ] [
fhir:id [ fhir:v "DeviceRequest.implicitRules" ] ;
fhir:path [ fhir:v "DeviceRequest.implicitRules" ] ;
fhir:short [ fhir:v "A set of rules under which this content was created" ] ;
fhir:definition [ fhir:v "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ] ;
fhir:comment [ fhir:v "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Resource.implicitRules" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "uri"^^xsd:anyURI ;
fhir:l fhir:uri         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v true ] ;
fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ] ;
fhir:isSummary [ fhir:v true ]     ] [
fhir:id [ fhir:v "DeviceRequest.language" ] ;
fhir:path [ fhir:v "DeviceRequest.language" ] ;
fhir:short [ fhir:v "Language of the resource content" ] ;
fhir:definition [ fhir:v "The base language in which the resource is written." ] ;
fhir:comment [ fhir:v "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Resource.language" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "code"^^xsd:anyURI ;
fhir:l fhir:code         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet>           ] ;
fhir:value [
a fhir:Canonical ;
fhir:v "http://hl7.org/fhir/ValueSet/all-languages|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/all-languages?version=4.3.0>           ]         ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "Language"           ]         ] ) ;
fhir:strength [ fhir:v "preferred" ] ;
fhir:description [ fhir:v "IETF language tag" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/languages|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/languages?version=4.3.0>         ]       ]     ] [
fhir:id [ fhir:v "DeviceRequest.text" ] ;
fhir:path [ fhir:v "DeviceRequest.text" ] ;
fhir:short [ fhir:v "Text summary of the resource, for human interpretation" ] ;
fhir:definition [ fhir:v "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ] ;
fhir:comment [ fhir:v "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ] ;
      ( fhir:alias [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.text" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Narrative"^^xsd:anyURI ;
fhir:l fhir:Narrative         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Act.text?" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.contained" ] ;
fhir:path [ fhir:v "DeviceRequest.contained" ] ;
fhir:short [ fhir:v "Contained, inline Resources" ] ;
fhir:definition [ fhir:v "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ] ;
fhir:comment [ fhir:v "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ] ;
      ( fhir:alias [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.contained" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Resource"^^xsd:anyURI ;
fhir:l fhir:Resource         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "dom-r4b" ] ;
fhir:severity [ fhir:v "warning" ] ;
fhir:human [ fhir:v "Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems" ] ;
fhir:expression [ fhir:v "($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)" ] ;
fhir:xpath [ fhir:v "not(f:Citation|f:Evidence|f:EvidenceReport|f:EvidenceVariable|f:MedicinalProductDefinition|f:PackagedProductDefinition|f:AdministrableProductDefinition|f:Ingredient|f:ClinicalUseDefinition|f:RegulatedAuthorization|f:SubstanceDefinition|f:SubscriptionStatus|f:SubscriptionTopic) or not(parent::f:Citation|parent::f:Evidence|parent::f:EvidenceReport|parent::f:EvidenceVariable|parent::f:MedicinalProductDefinition|parent::f:PackagedProductDefinition|parent::f:AdministrableProductDefinition|parent::f:Ingredient|parent::f:ClinicalUseDefinition|parent::f:RegulatedAuthorization|parent::f:SubstanceDefinition|f:SubscriptionStatus|f:SubscriptionTopic)" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/DeviceRequest|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DeviceRequest?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.extension" ] ;
fhir:path [ fhir:v "DeviceRequest.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DeviceRequest.extension:quantity" ] ;
fhir:path [ fhir:v "DeviceRequest.extension" ] ;
fhir:sliceName [ fhir:v "quantity" ] ;
fhir:short [ fhir:v "R5: Quantity of devices to supply (new)" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.quantity` (new:integer)" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.quantity` has a context of DeviceRequest based on following the parent source element upwards and mapping to `DeviceRequest`.\nElement `DeviceRequest.quantity` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.quantity|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.quantity?version=0.1.0>         ] )       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children unless an empty Parameters resource" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count()) or $this is Parameters" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div|self::f:Parameters" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DeviceRequest.extension:performer" ] ;
fhir:path [ fhir:v "DeviceRequest.extension" ] ;
fhir:sliceName [ fhir:v "performer" ] ;
fhir:short [ fhir:v "R5: Requested Filler additional types" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.performer` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/Practitioner), CodeableReference(http://hl7.org/fhir/StructureDefinition/PractitionerRole), CodeableReference(http://hl7.org/fhir/StructureDefinition/Organization), CodeableReference(http://hl7.org/fhir/StructureDefinition/CareTeam), CodeableReference(http://hl7.org/fhir/StructureDefinition/HealthcareService), CodeableReference(http://hl7.org/fhir/StructureDefinition/Patient), CodeableReference(http://hl7.org/fhir/StructureDefinition/Device), CodeableReference(http://hl7.org/fhir/StructureDefinition/RelatedPerson))" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.performer` is mapped to FHIR R4B element `DeviceRequest.performerType` as `SourceIsBroaderThanTarget`.\nElement `DeviceRequest.performer` is mapped to FHIR R4B element `DeviceRequest.performer` as `SourceIsBroaderThanTarget`.\nThe mappings for `DeviceRequest.performer` do not cover the following types: CodeableReference." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.performer|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.performer?version=0.1.0>         ] )       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children unless an empty Parameters resource" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count()) or $this is Parameters" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div|self::f:Parameters" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DeviceRequest.extension:reason" ] ;
fhir:path [ fhir:v "DeviceRequest.extension" ] ;
fhir:sliceName [ fhir:v "reason" ] ;
fhir:short [ fhir:v "R5: Coded/Linked Reason for request additional types" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.reason` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/Condition), CodeableReference(http://hl7.org/fhir/StructureDefinition/Observation), CodeableReference(http://hl7.org/fhir/StructureDefinition/DiagnosticReport), CodeableReference(http://hl7.org/fhir/StructureDefinition/DocumentReference))" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.reason` is mapped to FHIR R4B element `DeviceRequest.reasonCode` as `SourceIsBroaderThanTarget`.\nElement `DeviceRequest.reason` is mapped to FHIR R4B element `DeviceRequest.reasonReference` as `SourceIsBroaderThanTarget`.\nThe mappings for `DeviceRequest.reason` do not cover the following types: CodeableReference." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.reason|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.reason?version=0.1.0>         ] )       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children unless an empty Parameters resource" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count()) or $this is Parameters" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div|self::f:Parameters" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DeviceRequest.extension:asNeeded" ] ;
fhir:path [ fhir:v "DeviceRequest.extension" ] ;
fhir:sliceName [ fhir:v "asNeeded" ] ;
fhir:short [ fhir:v "R5: PRN status of request (new)" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.asNeeded` (new:boolean)" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.asNeeded` has a context of DeviceRequest based on following the parent source element upwards and mapping to `DeviceRequest`.\nElement `DeviceRequest.asNeeded` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.asNeeded|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.asNeeded?version=0.1.0>         ] )       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children unless an empty Parameters resource" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count()) or $this is Parameters" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div|self::f:Parameters" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DeviceRequest.extension:asNeededFor" ] ;
fhir:path [ fhir:v "DeviceRequest.extension" ] ;
fhir:sliceName [ fhir:v "asNeededFor" ] ;
fhir:short [ fhir:v "R5: Device usage reason (new)" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.asNeededFor` (new:CodeableConcept)" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.asNeededFor` has a context of DeviceRequest based on following the parent source element upwards and mapping to `DeviceRequest`.\nElement `DeviceRequest.asNeededFor` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.asNeededFor|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.asNeededFor?version=0.1.0>         ] )       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children unless an empty Parameters resource" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count()) or $this is Parameters" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div|self::f:Parameters" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DeviceRequest.modifierExtension" ] ;
fhir:path [ fhir:v "DeviceRequest.modifierExtension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.modifierExtension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v true ] ;
fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DeviceRequest.modifierExtension:doNotPerform" ] ;
fhir:path [ fhir:v "DeviceRequest.modifierExtension" ] ;
fhir:sliceName [ fhir:v "doNotPerform" ] ;
fhir:short [ fhir:v "R5: True if the request is to stop or not to start using the device (new)" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.doNotPerform` (new:boolean)" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.doNotPerform` has a context of DeviceRequest based on following the parent source element upwards and mapping to `DeviceRequest`.\nElement `DeviceRequest.doNotPerform` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).\nIf do not perform is not specified, the request is a positive request e.g. \"do perform\". DeviceRequest.reasonCode includes the reason for marking the DeviceRequest as 'do not perform'." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.modifierExtension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform?version=0.1.0>         ] )       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children unless an empty Parameters resource" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count()) or $this is Parameters" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div|self::f:Parameters" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v true ] ;
fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because this element negates the request to occur (ie, this is a request for the medication not to be ordered or prescribed, etc.)" ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DeviceRequest.identifier" ] ;
fhir:path [ fhir:v "DeviceRequest.identifier" ] ;
fhir:short [ fhir:v "External Request identifier" ] ;
fhir:definition [ fhir:v "Identifiers assigned to this order by the orderer or by the receiver." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.identifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Identifier"^^xsd:anyURI ;
fhir:l fhir:Identifier         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.identifier" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.identifier" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "ORC.2, ORC.3" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".identifier" ]       ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:map [ fhir:v "ClinicalStatement.identifier" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.instantiatesCanonical" ] ;
fhir:path [ fhir:v "DeviceRequest.instantiatesCanonical" ] ;
fhir:short [ fhir:v "Instantiates FHIR protocol or definition" ] ;
fhir:definition [ fhir:v "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." ] ;
fhir:comment [ fhir:v "Note: This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4B/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." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.instantiatesCanonical" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "canonical"^^xsd:anyURI ;
fhir:l fhir:canonical         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/ActivityDefinition|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/ActivityDefinition?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/PlanDefinition|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/PlanDefinition?version=4.3.0>         ] )       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.instantiatesCanonical" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Varies by domain" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".outboundRelationship[typeCode=DEFN].target" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.instantiatesUri" ] ;
fhir:path [ fhir:v "DeviceRequest.instantiatesUri" ] ;
fhir:short [ fhir:v "Instantiates external protocol or definition" ] ;
fhir:definition [ fhir:v "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." ] ;
fhir:comment [ fhir:v "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.instantiatesUri" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "uri"^^xsd:anyURI ;
fhir:l fhir:uri         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.instantiatesUri" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Varies by domain" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".outboundRelationship[typeCode=DEFN].target" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.basedOn" ] ;
fhir:path [ fhir:v "DeviceRequest.basedOn" ] ;
fhir:short [ fhir:v "What request fulfills" ] ;
fhir:definition [ fhir:v "Plan/proposal/order fulfilled by this request." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.basedOn" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Resource|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Resource?version=4.3.0>         ] )       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.basedOn" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "ORC.8 (plus others)" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".outboundRelationship[typeCode=FLFS].target" ]       ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:map [ fhir:v "Proposal.prnReason.reason" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.priorRequest" ] ;
fhir:path [ fhir:v "DeviceRequest.priorRequest" ] ;
fhir:short [ fhir:v "What request replaces" ] ;
fhir:definition [ fhir:v "The request takes the place of the referenced completed or terminated request(s)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.priorRequest" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Resource|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Resource?version=4.3.0>         ] )       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.replaces" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Handled by message location of ORC (ORC.1=RO or RU)" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".outboundRelationship[typeCode=RPLC].target" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.priorRequest.id" ] ;
fhir:path [ fhir:v "DeviceRequest.priorRequest.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "id"^^xsd:anyURI ;
fhir:l fhir:id           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.priorRequest.extension" ] ;
fhir:path [ fhir:v "DeviceRequest.priorRequest.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.3.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DeviceRequest.priorRequest.extension:replaces" ] ;
fhir:path [ fhir:v "DeviceRequest.priorRequest.extension" ] ;
fhir:sliceName [ fhir:v "replaces" ] ;
fhir:short [ fhir:v "R5: replaces additional types" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.replaces` additional types from child elements (display, identifier, reference, type)" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.replaces` is mapped to FHIR R4B element `DeviceRequest.priorRequest` as `SourceIsBroaderThanTarget`.\nThe mappings for `DeviceRequest.replaces` do not cover the following types based on type expansion: display, identifier, reference, type.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `DeviceRequest.replaces` with unmapped reference targets: DeviceRequest." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/alternate-reference?version=5.2.0>         ] )       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.3.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DeviceRequest.priorRequest.reference" ] ;
fhir:path [ fhir:v "DeviceRequest.priorRequest.reference" ] ;
fhir:short [ fhir:v "Literal reference, Relative, internal or absolute URL" ] ;
fhir:definition [ fhir:v "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." ] ;
fhir:comment [ fhir:v "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.reference" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string         ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-1" ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.priorRequest.type" ] ;
fhir:path [ fhir:v "DeviceRequest.priorRequest.type" ] ;
fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\")" ] ;
fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ;
fhir:comment [ fhir:v "This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.type" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "uri"^^xsd:anyURI ;
fhir:l fhir:uri         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/build/StructureDefinition/binding-definition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/build/StructureDefinition/binding-definition>           ] ;
fhir:value [
a fhir:String ;
fhir:v "Aa resource (or, for logical models, the URI of the logical model)."           ]         ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRResourceTypeExt"           ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/resource-types|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/resource-types?version=4.3.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.priorRequest.identifier" ] ;
fhir:path [ fhir:v "DeviceRequest.priorRequest.identifier" ] ;
fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ;
fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." ] ;
fhir:comment [ fhir:v "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.identifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Identifier"^^xsd:anyURI ;
fhir:l fhir:Identifier         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".identifier" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.priorRequest.display" ] ;
      ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable>         ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true         ]       ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable>         ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true         ]       ] ) ;
fhir:path [ fhir:v "DeviceRequest.priorRequest.display" ] ;
fhir:short [ fhir:v "Text alternative for the resource" ] ;
fhir:definition [ fhir:v "Plain text narrative that identifies the resource in addition to the resource reference." ] ;
fhir:comment [ fhir:v "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.display" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.groupIdentifier" ] ;
fhir:path [ fhir:v "DeviceRequest.groupIdentifier" ] ;
fhir:short [ fhir:v "Identifier of composite request" ] ;
fhir:definition [ fhir:v "Composite request this is part of." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.groupIdentifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Identifier"^^xsd:anyURI ;
fhir:l fhir:Identifier         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.groupIdentifier" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "ORC.4" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.status" ] ;
fhir:path [ fhir:v "DeviceRequest.status" ] ;
fhir:short [ fhir:v "draft | active | on-hold | revoked | completed | entered-in-error | unknown" ] ;
fhir:definition [ fhir:v "The status of the request." ] ;
fhir:comment [ fhir:v "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." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.status" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "code"^^xsd:anyURI ;
fhir:l fhir:code         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v true ] ;
fhir:isModifierReason [ fhir:v "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" ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "DeviceRequestStatus"           ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "Codes representing the status of the request." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/request-status|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/request-status?version=4.3.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.status" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.status" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "ORC.5" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".status" ]       ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:map [ fhir:v "Action.currentStatus" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.intent" ] ;
fhir:path [ fhir:v "DeviceRequest.intent" ] ;
fhir:short [ fhir:v "proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option" ] ;
fhir:definition [ fhir:v "Whether the request is a proposal, plan, an original order or a reflex order." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.intent" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "code"^^xsd:anyURI ;
fhir:l fhir:code         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v true ] ;
fhir:isModifierReason [ fhir:v "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" ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "RequestIntent"           ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "The kind of diagnostic request." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/request-intent|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/request-intent?version=4.3.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.intent" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.class" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "N/A" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.priority" ] ;
fhir:path [ fhir:v "DeviceRequest.priority" ] ;
fhir:short [ fhir:v "routine | urgent | asap | stat" ] ;
fhir:definition [ fhir:v "Indicates how quickly the {{title}} should be addressed with respect to other requests." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.priority" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "code"^^xsd:anyURI ;
fhir:l fhir:code         ]       ] ) ;
fhir:meaningWhenMissing [ fhir:v "If missing, normal priority" ] ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "RequestPriority"           ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "Identifies the level of importance to be assigned to actioning the request." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/request-priority|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/request-priority?version=4.3.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.priority" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.grade" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "TQ1.9" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".priorityCode" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.code[x]" ] ;
fhir:path [ fhir:v "DeviceRequest.code[x]" ] ;
fhir:short [ fhir:v "Device requested" ] ;
fhir:definition [ fhir:v "The details of the device to be used." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.code[x]" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Device|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Device?version=4.3.0>         ] )       ] [
fhir:code [
fhir:v "CodeableConcept"^^xsd:anyURI ;
fhir:l fhir:CodeableConcept         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "DeviceRequestCode"           ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "Codes for devices that can be requested." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/device-kind|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/device-kind?version=4.3.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.code" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.what[x]" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Varies by domain" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".code" ]       ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:map [ fhir:v "DeviceUse.device" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.parameter" ] ;
fhir:path [ fhir:v "DeviceRequest.parameter" ] ;
fhir:short [ fhir:v "Device details" ] ;
fhir:definition [ fhir:v "Specific parameters for the ordered item.  For example, the prism value for lenses." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.parameter" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "BackboneElement"^^xsd:anyURI ;
fhir:l fhir:BackboneElement         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children unless an empty Parameters resource" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count()) or $this is Parameters" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div|self::f:Parameters" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.what[x]" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Varies by domain" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".code" ]       ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:map [ fhir:v "DeviceUse.device" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.parameter.id" ] ;
fhir:path [ fhir:v "DeviceRequest.parameter.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.parameter.extension" ] ;
fhir:path [ fhir:v "DeviceRequest.parameter.extension" ] ;
fhir:short [ fhir:v "Additional content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. 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." ] ;
fhir:comment [ fhir:v "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." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.3.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.parameter.modifierExtension" ] ;
fhir:path [ fhir:v "DeviceRequest.parameter.modifierExtension" ] ;
fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is 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)." ] ;
fhir:comment [ fhir:v "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." ] ;
fhir:requirements [ fhir:v "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](http://hl7.org/fhir/R4B/extensibility.html#modifierExtension)." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.3.0>         ]       ] ) ;
fhir:isModifier [ fhir:v true ] ;
fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.parameter.code" ] ;
fhir:path [ fhir:v "DeviceRequest.parameter.code" ] ;
fhir:short [ fhir:v "Device detail" ] ;
fhir:definition [ fhir:v "A code or string that identifies the device detail being asserted." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.parameter.code" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "CodeableConcept"^^xsd:anyURI ;
fhir:l fhir:CodeableConcept         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "ParameterCode"           ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "A code that identifies the device detail." ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.what[x]" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Varies by domain" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".code" ]       ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:map [ fhir:v "DeviceUse.device" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.parameter.value[x]" ] ;
fhir:path [ fhir:v "DeviceRequest.parameter.value[x]" ] ;
fhir:short [ fhir:v "Value of detail" ] ;
fhir:definition [ fhir:v "The value of the device detail." ] ;
fhir:comment [ fhir:v "Range means device should have a value that falls somewhere within the specified range." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.parameter.value[x]" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "CodeableConcept"^^xsd:anyURI ;
fhir:l fhir:CodeableConcept         ]       ] [
fhir:code [
fhir:v "Quantity"^^xsd:anyURI ;
fhir:l fhir:Quantity         ]       ] [
fhir:code [
fhir:v "Range"^^xsd:anyURI ;
fhir:l fhir:Range         ]       ] [
fhir:code [
fhir:v "boolean"^^xsd:anyURI ;
fhir:l fhir:boolean         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.what[x]" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Varies by domain" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".code" ]       ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:map [ fhir:v "DeviceUse.device" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.subject" ] ;
fhir:path [ fhir:v "DeviceRequest.subject" ] ;
fhir:short [ fhir:v "Focus of request" ] ;
fhir:definition [ fhir:v "The patient who will use the device." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.subject" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Group|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Group?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Location|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Location?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Device|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Device?version=4.3.0>         ] )       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.subject" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.subject[x]" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Accompanying PID segment" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".participation[typeCode=SBJ].role" ]       ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:map [ fhir:v "ClinicalStatement.subject" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.subject" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.encounter" ] ;
fhir:path [ fhir:v "DeviceRequest.encounter" ] ;
fhir:short [ fhir:v "Encounter motivating request" ] ;
fhir:definition [ fhir:v "An encounter that provides additional context in which this request is made." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.encounter" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Encounter|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Encounter?version=4.3.0>         ] )       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.encounter" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.context" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Accompanying PV1" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]" ]       ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:map [ fhir:v "ClinicalStatement.encounter" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.occurrence[x]" ] ;
fhir:path [ fhir:v "DeviceRequest.occurrence[x]" ] ;
fhir:short [ fhir:v "Desired time or schedule for use" ] ;
fhir:definition [ fhir:v "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\"." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.occurrence[x]" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "dateTime"^^xsd:anyURI ;
fhir:l fhir:dateTime         ]       ] [
fhir:code [
fhir:v "Period"^^xsd:anyURI ;
fhir:l fhir:Period         ]       ] [
fhir:code [
fhir:v "Timing"^^xsd:anyURI ;
fhir:l fhir:Timing         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.occurrence[x]" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.planned" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Accompanying TQ1/TQ2 segments" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".effectiveTime" ]       ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:map [ fhir:v "DeviceUse.applicationSchedule" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.authoredOn" ] ;
fhir:path [ fhir:v "DeviceRequest.authoredOn" ] ;
fhir:short [ fhir:v "When recorded" ] ;
fhir:definition [ fhir:v "When the request transitioned to being actionable." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.authoredOn" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "dateTime"^^xsd:anyURI ;
fhir:l fhir:dateTime         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.authoredOn" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.recorded" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "ORC.9" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".participation[typeCode=AUT].time" ]       ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:map [ fhir:v "ClinicalStatement.statementDateTime" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.requester" ] ;
fhir:path [ fhir:v "DeviceRequest.requester" ] ;
fhir:short [ fhir:v "Who/what is requesting diagnostics" ] ;
fhir:definition [ fhir:v "The individual who initiated the request and has responsibility for its activation." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.requester" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Device|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Device?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Practitioner?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=4.3.0>         ] )       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.requester" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.author" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "ORC.12" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".participation[typeCode=AUT].role" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.performerType" ] ;
fhir:path [ fhir:v "DeviceRequest.performerType" ] ;
fhir:short [ fhir:v "Filler role" ] ;
fhir:definition [ fhir:v "Desired type of performer for doing the diagnostic testing." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.performerType" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "CodeableConcept"^^xsd:anyURI ;
fhir:l fhir:CodeableConcept         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "DeviceRequestParticipantRole"           ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "Indicates specific responsibility of an individual within the care team, such as \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/participant-role"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/participant-role>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.performerType" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.actor" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "PRT" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".participation[typeCode=PRF].role[scoper.determinerCode=KIND].code" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.performer" ] ;
fhir:path [ fhir:v "DeviceRequest.performer" ] ;
fhir:short [ fhir:v "Requested Filler" ] ;
fhir:definition [ fhir:v "The desired performer for doing the diagnostic testing." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.performer" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Practitioner?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/CareTeam|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/CareTeam?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/HealthcareService|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/HealthcareService?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Device|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Device?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/RelatedPerson?version=4.3.0>         ] )       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.performer" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.actor" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "PRT" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.reasonCode" ] ;
fhir:path [ fhir:v "DeviceRequest.reasonCode" ] ;
fhir:short [ fhir:v "Coded Reason for request" ] ;
fhir:definition [ fhir:v "Reason or justification for the use of this device." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.reasonCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "CodeableConcept"^^xsd:anyURI ;
fhir:l fhir:CodeableConcept         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "DeviceRequestReason"           ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "Diagnosis or problem codes justifying the reason for requesting the device." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/condition-code|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/condition-code?version=4.3.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.reasonCode" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.why[x]" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "ORC.16" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".reasonCode" ]       ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:map [ fhir:v "Action.indication.reason" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.reasonReference" ] ;
fhir:path [ fhir:v "DeviceRequest.reasonReference" ] ;
fhir:short [ fhir:v "Linked Reason for request" ] ;
fhir:definition [ fhir:v "Reason or justification for the use of this device." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.reasonReference" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Condition|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Condition?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Observation|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Observation?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/DiagnosticReport|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DiagnosticReport?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/DocumentReference|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DocumentReference?version=4.3.0>         ] )       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.reasonReference" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.why[x]" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "ORC.16" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".outboundRelationship[typeCode=RSON].target" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.insurance" ] ;
fhir:path [ fhir:v "DeviceRequest.insurance" ] ;
fhir:short [ fhir:v "Associated insurance coverage" ] ;
fhir:definition [ fhir:v "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.insurance" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Coverage|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Coverage?version=4.3.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/ClaimResponse|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/ClaimResponse?version=4.3.0>         ] )       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.insurance" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "IN1/IN2" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".outboundRelationship[typeCode=COVBY].target" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.supportingInfo" ] ;
fhir:path [ fhir:v "DeviceRequest.supportingInfo" ] ;
fhir:short [ fhir:v "Additional clinical information" ] ;
fhir:definition [ fhir:v "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)." ] ;
fhir:requirements [ fhir:v "Knowing where the device is targeted is important for tracking if multiple sites are possible." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.supportingInfo" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Resource|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Resource?version=4.3.0>         ] )       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.supportingInfo" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Accompanying segments" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".outboundRelationship[typeCode=PERT].target" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.note" ] ;
fhir:path [ fhir:v "DeviceRequest.note" ] ;
fhir:short [ fhir:v "Notes or comments" ] ;
fhir:definition [ fhir:v "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." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.note" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Annotation"^^xsd:anyURI ;
fhir:l fhir:Annotation         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.note" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "NTE" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]" ]       ] [
fhir:identity [ fhir:v "quick" ] ;
fhir:map [ fhir:v "ClinicalStatement.additionalText" ]       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.relevantHistory" ] ;
fhir:path [ fhir:v "DeviceRequest.relevantHistory" ] ;
fhir:short [ fhir:v "Request provenance" ] ;
fhir:definition [ fhir:v "Key events in the history of the request." ] ;
fhir:comment [ fhir:v "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." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DeviceRequest.relevantHistory" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Provenance|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Provenance?version=4.3.0>         ] )       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.3.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Request.relevantHistory" ]       ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "N/A" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]" ]       ] )     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "DeviceRequest" ] ;
fhir:path [ fhir:v "DeviceRequest" ]     ] [
fhir:id [ fhir:v "DeviceRequest.extension" ] ;
fhir:path [ fhir:v "DeviceRequest.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "DeviceRequest.extension:quantity" ] ;
fhir:path [ fhir:v "DeviceRequest.extension" ] ;
fhir:sliceName [ fhir:v "quantity" ] ;
fhir:short [ fhir:v "R5: Quantity of devices to supply (new)" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.quantity` (new:integer)" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.quantity` has a context of DeviceRequest based on following the parent source element upwards and mapping to `DeviceRequest`.\nElement `DeviceRequest.quantity` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.quantity|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.quantity?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.extension:performer" ] ;
fhir:path [ fhir:v "DeviceRequest.extension" ] ;
fhir:sliceName [ fhir:v "performer" ] ;
fhir:short [ fhir:v "R5: Requested Filler additional types" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.performer` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/Practitioner), CodeableReference(http://hl7.org/fhir/StructureDefinition/PractitionerRole), CodeableReference(http://hl7.org/fhir/StructureDefinition/Organization), CodeableReference(http://hl7.org/fhir/StructureDefinition/CareTeam), CodeableReference(http://hl7.org/fhir/StructureDefinition/HealthcareService), CodeableReference(http://hl7.org/fhir/StructureDefinition/Patient), CodeableReference(http://hl7.org/fhir/StructureDefinition/Device), CodeableReference(http://hl7.org/fhir/StructureDefinition/RelatedPerson))" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.performer` is mapped to FHIR R4B element `DeviceRequest.performerType` as `SourceIsBroaderThanTarget`.\nElement `DeviceRequest.performer` is mapped to FHIR R4B element `DeviceRequest.performer` as `SourceIsBroaderThanTarget`.\nThe mappings for `DeviceRequest.performer` do not cover the following types: CodeableReference." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.performer|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.performer?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.extension:reason" ] ;
fhir:path [ fhir:v "DeviceRequest.extension" ] ;
fhir:sliceName [ fhir:v "reason" ] ;
fhir:short [ fhir:v "R5: Coded/Linked Reason for request additional types" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.reason` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/Condition), CodeableReference(http://hl7.org/fhir/StructureDefinition/Observation), CodeableReference(http://hl7.org/fhir/StructureDefinition/DiagnosticReport), CodeableReference(http://hl7.org/fhir/StructureDefinition/DocumentReference))" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.reason` is mapped to FHIR R4B element `DeviceRequest.reasonCode` as `SourceIsBroaderThanTarget`.\nElement `DeviceRequest.reason` is mapped to FHIR R4B element `DeviceRequest.reasonReference` as `SourceIsBroaderThanTarget`.\nThe mappings for `DeviceRequest.reason` do not cover the following types: CodeableReference." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.reason|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.reason?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.extension:asNeeded" ] ;
fhir:path [ fhir:v "DeviceRequest.extension" ] ;
fhir:sliceName [ fhir:v "asNeeded" ] ;
fhir:short [ fhir:v "R5: PRN status of request (new)" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.asNeeded` (new:boolean)" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.asNeeded` has a context of DeviceRequest based on following the parent source element upwards and mapping to `DeviceRequest`.\nElement `DeviceRequest.asNeeded` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.asNeeded|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.asNeeded?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.extension:asNeededFor" ] ;
fhir:path [ fhir:v "DeviceRequest.extension" ] ;
fhir:sliceName [ fhir:v "asNeededFor" ] ;
fhir:short [ fhir:v "R5: Device usage reason (new)" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.asNeededFor` (new:CodeableConcept)" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.asNeededFor` has a context of DeviceRequest based on following the parent source element upwards and mapping to `DeviceRequest`.\nElement `DeviceRequest.asNeededFor` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.asNeededFor|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.asNeededFor?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.modifierExtension" ] ;
fhir:path [ fhir:v "DeviceRequest.modifierExtension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "DeviceRequest.modifierExtension:doNotPerform" ] ;
fhir:path [ fhir:v "DeviceRequest.modifierExtension" ] ;
fhir:sliceName [ fhir:v "doNotPerform" ] ;
fhir:short [ fhir:v "R5: True if the request is to stop or not to start using the device (new)" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.doNotPerform` (new:boolean)" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.doNotPerform` has a context of DeviceRequest based on following the parent source element upwards and mapping to `DeviceRequest`.\nElement `DeviceRequest.doNotPerform` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).\nIf do not perform is not specified, the request is a positive request e.g. \"do perform\". DeviceRequest.reasonCode includes the reason for marking the DeviceRequest as 'do not perform'." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceRequest.doNotPerform?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "DeviceRequest.priorRequest.extension" ] ;
fhir:path [ fhir:v "DeviceRequest.priorRequest.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "DeviceRequest.priorRequest.extension:replaces" ] ;
fhir:path [ fhir:v "DeviceRequest.priorRequest.extension" ] ;
fhir:sliceName [ fhir:v "replaces" ] ;
fhir:short [ fhir:v "R5: replaces additional types" ] ;
fhir:definition [ fhir:v "R5: `DeviceRequest.replaces` additional types from child elements (display, identifier, reference, type)" ] ;
fhir:comment [ fhir:v "Element `DeviceRequest.replaces` is mapped to FHIR R4B element `DeviceRequest.priorRequest` as `SourceIsBroaderThanTarget`.\nThe mappings for `DeviceRequest.replaces` do not cover the following types based on type expansion: display, identifier, reference, type.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `DeviceRequest.replaces` with unmapped reference targets: DeviceRequest." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/alternate-reference?version=5.2.0>         ] )       ] )     ] )
  ] . #