minimal Common Oncology Data Elements (mCODE) Implementation Guide
3.0.0 - STU3 Release United States of America flag

This page is part of the HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE) Release 1 - US Realm | STU1 (v3.0.0: STU 3) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Extension: RadiotherapyModalityAndTechnique - TTL Profile

Draft as of 2023-10-25 Maturity Level: 3

TTL representation of the mcode-radiotherapy-modality-and-technique extension.

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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 "mcode-radiotherapy-modality-and-technique"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" 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 : 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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-mcode-radiotherapy-modality-and-technique-definitions.html#Extension\" title=\"Extension capturing modality and technique of a given radiotherapy procedure.  The allowed combinations of modality and technique are constrained by invariants, one per modality.\">Extension</a><a name=\"Extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints (TechniquesForNeutronBeamModality, TechniquesForPhotonBeamModality, TechniquesForElectronBeamModality, TechniquesForCarbonIonBeamModality, TechniquesForProtonBeamModality, TechniquesForInternalRadiotherapyPermanentSeeds, TechniquesForLowDoseRateUsingTempRadSource, TechniquesForPulsedDoseRate, TechniquesForHighDoseRate, TechniquesForHighDoseRateElectronic, TechniquesForRadioPharmaceutical, ModalityTextRequiredForOther, TechniqueTextRequiredForOther)\">C</a></td><td style=\"vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Radiotherapy Modality And Technique Extension<br/><span style=\"font-weight:bold\">TechniquesForNeutronBeamModality: </span>Allowed Techniques for Neutron Beam Modality<br/><span style=\"font-weight:bold\">TechniquesForPhotonBeamModality: </span>Allowed Techniques for Photon Beam Modality<br/><span style=\"font-weight:bold\">TechniquesForElectronBeamModality: </span>Allowed Techniques for Electron Beam Modality<br/><span style=\"font-weight:bold\">TechniquesForCarbonIonBeamModality: </span>Allowed Techniques for Carbon Ion Beam Modality<br/><span style=\"font-weight:bold\">TechniquesForProtonBeamModality: </span>Allowed Techniques for Proton Beam Modality<br/><span style=\"font-weight:bold\">TechniquesForInternalRadiotherapyPermanentSeeds: </span>Allowed Techniques for Internal Radiotherapy - Permanent Seeds<br/><span style=\"font-weight:bold\">TechniquesForLowDoseRateUsingTempRadSource: </span>Allowed Techniques for Low Dose Rate Using Temp Radiation Source<br/><span style=\"font-weight:bold\">TechniquesForPulsedDoseRate: </span>Allowed Techniques for Pulsed Dose Rate<br/><span style=\"font-weight:bold\">TechniquesForHighDoseRate: </span>Allowed Techniques for High Dose Rate<br/><span style=\"font-weight:bold\">TechniquesForHighDoseRateElectronic: </span>Allowed Techniques for High Dose Rate Electronic<br/><span style=\"font-weight:bold\">TechniquesForRadioPharmaceutical: </span>Allowed Techniques for Radiopharmaceutical<br/><span style=\"font-weight:bold\">ModalityTextRequiredForOther: </span>Require a text literal for code other<br/><span style=\"font-weight:bold\">TechniqueTextRequiredForOther: </span>Require a text literal for code other</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.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-mcode-radiotherapy-modality-and-technique-definitions.html#Extension.extension\">extension</a><a name=\"Extension.extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck15.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_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-mcode-radiotherapy-modality-and-technique-definitions.html#Extension.extension:modality\" title=\"Extension URL = http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality\">modality</a><a name=\"Extension.extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Radiotherapy Modality Extension</span><br/><span style=\"font-weight:bold\">URL: </span><a href=\"http://hl7.org/fhir/R4/StructureDefinition-mcode-radiotherapy-modality.html\">http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality</a></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck140.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_slice.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-mcode-radiotherapy-modality-and-technique-definitions.html#Extension.extension:modality.value[x]\">value[x]</a><a name=\"Extension.extension.value_x_\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Value of extension</span><br/><span style=\"font-weight:bold\">Binding: </span><a href=\"ValueSet-mcode-radiotherapy-modality-vs.html\">Radiotherapy Modality Value Set</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\">required</a>)</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck15.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_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-mcode-radiotherapy-modality-and-technique-definitions.html#Extension.extension:technique\" title=\"Extension URL = http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique\">technique</a><a name=\"Extension.extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Radiotherapy Technique Extension</span><br/><span style=\"font-weight:bold\">URL: </span><a href=\"http://hl7.org/fhir/R4/StructureDefinition-mcode-radiotherapy-technique.html\">http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique</a><br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck140.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_slice.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-mcode-radiotherapy-modality-and-technique-definitions.html#Extension.extension:technique.value[x]\">value[x]</a><a name=\"Extension.extension.value_x_\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Value of extension</span><br/><span style=\"font-weight:bold\">Binding: </span><a href=\"ValueSet-mcode-radiotherapy-technique-vs.html\">Radiotherapy Technique Value Set</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\">required</a>)</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-mcode-radiotherapy-modality-and-technique-definitions.html#Extension.url\">url</a><a name=\"Extension.url\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"color: darkgreen\">&quot;http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique&quot;</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.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\"/> <span style=\"text-decoration:line-through\">value[x]</span><a name=\"Extension.value_x_\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"text-decoration:line-through\"/><span style=\"text-decoration:line-through\">0</span><span style=\"text-decoration:line-through\">..</span><span style=\"text-decoration:line-through\">0</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\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>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
fhir:value [ fhir:v "3"^^xsd:integer ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [ fhir:v "cic" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "3.0.0"] ; # 
  fhir:name [ fhir:v "RadiotherapyModalityAndTechnique"] ; # 
  fhir:title [ fhir:v "Radiotherapy Modality And Technique Extension"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2023-10-25T23:24:11+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 International / Clinical Interoperability Council"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "HL7 International / Clinical Interoperability Council" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/cic" ]     ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "ciclist@lists.HL7.org" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Extension capturing modality and technique of a given radiotherapy procedure.  The allowed combinations of modality and technique are constrained by invariants, one per modality."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "US" ] ;
fhir:display [ fhir:v "United States of America" ]     ] )
  ] ) ; # 
  fhir:fhirVersion [ fhir:v "4.0.1"] ; # 
  fhir:mapping ( [
fhir:identity [ fhir:v "rim" ] ;
fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ; # 
  fhir:kind [ fhir:v "complex-type"] ; # 
  fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:context ( [
fhir:type [ fhir:v "element" ] ;
fhir:expression [ fhir:v "DomainResource" ]
  ] [
fhir:type [ fhir:v "element" ] ;
fhir:expression [ fhir:v "Extension" ]
  ] ) ; # 
  fhir:type [ fhir:v "Extension"^^xsd:anyURI] ; # 
  fhir:baseDefinition [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
  ] ; # 
  fhir:derivation [ fhir:v "constraint"] ; # 
  fhir:snapshot [
    ( fhir:element [
fhir:id [ fhir:v "Extension" ] ;
fhir:path [ fhir:v "Extension" ] ;
fhir:short [ fhir:v "Radiotherapy Modality And Technique Extension" ] ;
fhir:definition [ fhir:v "Extension capturing modality and technique of a given radiotherapy procedure.  The allowed combinations of modality and technique are constrained by invariants, one per modality." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( 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" ] ;
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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] [
fhir:key [ fhir:v "TechniquesForNeutronBeamModality" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Neutron Beam Modality" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '80347004')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '169317000' or code = '1162782007')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForPhotonBeamModality" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Photon Beam Modality" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '1156506007')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '441799006' or code = '1156530009' or code = '1162782007' or code = '1156526006' or code = '168524008' or code = '1156530009' or code = '1163157007')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForElectronBeamModality" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Electron Beam Modality" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '45643008')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '1162782007' or code = '1156526006' or code = '168524008' or code = '1163157007')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForCarbonIonBeamModality" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Carbon Ion Beam Modality" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '1156505006')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '1156529004' or code = '1156528007' or code='1204242009')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForProtonBeamModality" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Proton Beam Modality" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '10611004')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '1156529004' or code = '1156528007' or code = '1204242009' or code = '1163157007')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForInternalRadiotherapyPermanentSeeds" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Internal Radiotherapy - Permanent Seeds" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '169359004')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '113120007')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForLowDoseRateUsingTempRadSource" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Low Dose Rate Using Temp Radiation Source" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '1156708005')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '384692006' or code = '113120007' or code = '14473006')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForPulsedDoseRate" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Pulsed Dose Rate" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '1156384006')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '1156384006')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForHighDoseRate" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for High Dose Rate" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '394902000')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '394902000')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForHighDoseRateElectronic" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for High Dose Rate Electronic" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '438629002')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '384692006' or code = '1156382005' or code = '113120007' or code = '384691004' or code = '168524008' or code = '14473006')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForRadioPharmaceutical" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Radiopharmaceutical" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '440252007')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '16560241000119104' or code = '1156383000' or code = '384692006' or code = '113120007')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "ModalityTextRequiredForOther" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Require a text literal for code other" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://terminology.hl7.org/CodeSystem/v3-NullFlavor' and code = 'UNC')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.text.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniqueTextRequiredForOther" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Require a text literal for code other" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(system = 'http://terminology.hl7.org/CodeSystem/v3-NullFlavor' and code = 'UNC')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.text.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "Extension.id" ] ;
fhir:path [ fhir:v "Extension.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:value [ fhir:v "string"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension" ] ;
fhir:path [ fhir:v "Extension.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:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
fhir:min [ fhir:v "1"^^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: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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "Extension.extension:modality" ] ;
fhir:path [ fhir:v "Extension.extension" ] ;
fhir:sliceName [ fhir:v "modality" ] ;
fhir:short [ fhir:v "Radiotherapy Modality Extension" ] ;
fhir:definition [ fhir:v "Extension capturing a modality of external beam or brachytherapy radiation procedures." ] ;
fhir:min [ fhir:v "1"^^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:profile [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality>         ] )       ] ) ;
      ( 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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "Extension.extension:modality.id" ] ;
fhir:path [ fhir:v "Extension.extension.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:value [ fhir:v "string"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension:modality.extension" ] ;
fhir:path [ fhir:v "Extension.extension.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: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 "0" ] ;
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: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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "Extension.extension:modality.url" ] ;
fhir:path [ fhir:v "Extension.extension.url" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "identifies the meaning of the extension" ] ;
fhir:definition [ fhir:v "Source of the definition for the extension code - a logical name or a URL." ] ;
fhir:comment [ fhir:v "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Extension.url" ] ;
fhir:min [ fhir:v "1"^^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:value [ fhir:v "uri"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
fhir:fixed [ fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality"^^xsd:anyURI ] ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension:modality.value[x]" ] ;
fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
fhir:short [ fhir:v "Value of extension" ] ;
fhir:definition [ fhir:v "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Extension.value[x]" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
      ( 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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/mcode/ValueSet/mcode-radiotherapy-modality-vs"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/ValueSet/mcode-radiotherapy-modality-vs>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension:technique" ] ;
fhir:path [ fhir:v "Extension.extension" ] ;
fhir:sliceName [ fhir:v "technique" ] ;
fhir:short [ fhir:v "Radiotherapy Technique Extension" ] ;
fhir:definition [ fhir:v "Extension capturing a technique of external beam or brachytherapy radiation procedures." ] ;
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:profile [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique>         ] )       ] ) ;
      ( 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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "Extension.extension:technique.id" ] ;
fhir:path [ fhir:v "Extension.extension.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:value [ fhir:v "string"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension:technique.extension" ] ;
fhir:path [ fhir:v "Extension.extension.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: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 "0" ] ;
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: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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "Extension.extension:technique.url" ] ;
fhir:path [ fhir:v "Extension.extension.url" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "identifies the meaning of the extension" ] ;
fhir:definition [ fhir:v "Source of the definition for the extension code - a logical name or a URL." ] ;
fhir:comment [ fhir:v "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Extension.url" ] ;
fhir:min [ fhir:v "1"^^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:value [ fhir:v "uri"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
fhir:fixed [ fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique"^^xsd:anyURI ] ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension:technique.value[x]" ] ;
fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
fhir:short [ fhir:v "Value of extension" ] ;
fhir:definition [ fhir:v "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Extension.value[x]" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
      ( 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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/mcode/ValueSet/mcode-radiotherapy-technique-vs"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/ValueSet/mcode-radiotherapy-technique-vs>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Extension.url" ] ;
fhir:path [ fhir:v "Extension.url" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "identifies the meaning of the extension" ] ;
fhir:definition [ fhir:v "Source of the definition for the extension code - a logical name or a URL." ] ;
fhir:comment [ fhir:v "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Extension.url" ] ;
fhir:min [ fhir:v "1"^^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:value [ fhir:v "uri"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
fhir:fixed [ fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ] ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Extension.value[x]" ] ;
fhir:path [ fhir:v "Extension.value[x]" ] ;
fhir:short [ fhir:v "Value of extension" ] ;
fhir:definition [ fhir:v "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ] ;
fhir:base [
fhir:path [ fhir:v "Extension.value[x]" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "base64Binary"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "canonical"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "date"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "decimal"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "id"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "instant"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "integer"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "markdown"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "oid"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "positiveInt"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "time"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "unsignedInt"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "url"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "uuid"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Address"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Age"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Annotation"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Attachment"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Coding"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "ContactPoint"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Count"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Distance"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Duration"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "HumanName"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Money"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Quantity"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Range"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Ratio"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "SampledData"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Signature"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Timing"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "ContactDetail"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Contributor"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "DataRequirement"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Expression"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "ParameterDefinition"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "RelatedArtifact"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "TriggerDefinition"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "UsageContext"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Dosage"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Meta"^^xsd:anyURI ]       ] ) ;
      ( 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"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "Extension" ] ;
fhir:path [ fhir:v "Extension" ] ;
fhir:short [ fhir:v "Radiotherapy Modality And Technique Extension" ] ;
fhir:definition [ fhir:v "Extension capturing modality and technique of a given radiotherapy procedure.  The allowed combinations of modality and technique are constrained by invariants, one per modality." ] ;
      ( fhir:constraint [
fhir:key [ fhir:v "TechniquesForNeutronBeamModality" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Neutron Beam Modality" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '80347004')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '169317000' or code = '1162782007')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForPhotonBeamModality" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Photon Beam Modality" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '1156506007')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '441799006' or code = '1156530009' or code = '1162782007' or code = '1156526006' or code = '168524008' or code = '1156530009' or code = '1163157007')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForElectronBeamModality" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Electron Beam Modality" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '45643008')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '1162782007' or code = '1156526006' or code = '168524008' or code = '1163157007')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForCarbonIonBeamModality" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Carbon Ion Beam Modality" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '1156505006')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '1156529004' or code = '1156528007' or code='1204242009')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForProtonBeamModality" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Proton Beam Modality" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '10611004')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '1156529004' or code = '1156528007' or code = '1204242009' or code = '1163157007')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForInternalRadiotherapyPermanentSeeds" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Internal Radiotherapy - Permanent Seeds" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '169359004')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '113120007')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForLowDoseRateUsingTempRadSource" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Low Dose Rate Using Temp Radiation Source" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '1156708005')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '384692006' or code = '113120007' or code = '14473006')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForPulsedDoseRate" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Pulsed Dose Rate" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '1156384006')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '1156384006')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForHighDoseRate" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for High Dose Rate" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '394902000')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '394902000')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForHighDoseRateElectronic" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for High Dose Rate Electronic" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '438629002')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '384692006' or code = '1156382005' or code = '113120007' or code = '384691004' or code = '168524008' or code = '14473006')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniquesForRadioPharmaceutical" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Allowed Techniques for Radiopharmaceutical" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://snomed.info/sct' and code = '440252007')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(code = 'UNC' or code = '16560241000119104' or code = '1156383000' or code = '384692006' or code = '113120007')" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "ModalityTextRequiredForOther" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Require a text literal for code other" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.coding.exists(system = 'http://terminology.hl7.org/CodeSystem/v3-NullFlavor' and code = 'UNC')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality').value.text.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] [
fhir:key [ fhir:v "TechniqueTextRequiredForOther" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Require a text literal for code other" ] ;
fhir:expression [ fhir:v "extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.exists() and\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.coding.exists(system = 'http://terminology.hl7.org/CodeSystem/v3-NullFlavor' and code = 'UNC')\n   implies\n      extension.where(url = 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique').value.text.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique>         ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension" ] ;
fhir:path [ fhir:v "Extension.extension" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
fhir:id [ fhir:v "Extension.extension:modality" ] ;
fhir:path [ fhir:v "Extension.extension" ] ;
fhir:sliceName [ fhir:v "modality" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality>         ] )       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "Extension.extension:modality.value[x]" ] ;
fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/mcode/ValueSet/mcode-radiotherapy-modality-vs"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/ValueSet/mcode-radiotherapy-modality-vs>         ]       ]     ] [
fhir:id [ fhir:v "Extension.extension:technique" ] ;
fhir:path [ fhir:v "Extension.extension" ] ;
fhir:sliceName [ fhir:v "technique" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique>         ] )       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "Extension.extension:technique.value[x]" ] ;
fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/mcode/ValueSet/mcode-radiotherapy-technique-vs"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/ValueSet/mcode-radiotherapy-technique-vs>         ]       ]     ] [
fhir:id [ fhir:v "Extension.url" ] ;
fhir:path [ fhir:v "Extension.url" ] ;
fhir:fixed [ fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality-and-technique"^^xsd:anyURI ]     ] [
fhir:id [ fhir:v "Extension.value[x]" ] ;
fhir:path [ fhir:v "Extension.value[x]" ] ;
fhir:max [ fhir:v "0" ]     ] )
  ] . #