Smart Health Checks
0.3.0 - ci-build

Smart Health Checks, published by AEHRC CSIRO. This guide is not an authorized publication; it is the continuous build for version 0.3.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/aehrc/smart-forms-ig/ and changes regularly. See the Directory of published versions

## Resource Profile: SmartHealthChecksPatchMedicationStatement - TTL Profile

Draft as of 2025-10-01

TTL representation of the SHCPatchMedicationStatement 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 "SHCPatchMedicationStatement"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition SHCPatchMedicationStatement</b></p><a name=\"SHCPatchMedicationStatement\"> </a><a name=\"hcSHCPatchMedicationStatement\"> </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, \" 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-SHCPatchMedicationStatement-definitions.html#Parameters\">Parameters</a><a name=\"Parameters\"> </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\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; 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 ( shc-patch-medication-statement-01, shc-patch-medication-statement-02, shc-patch-medication-statement-03, shc-patch-medication-statement-04, shc-patch-medication-statement-05 )\">C</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\">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/R4/parameters.html\">Parameters</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\">Parameters for patching MedicationStatement resource elements supported in Smart Health Checks<br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"When the part parameter named 'path' has a value of 'MedicationStatement' and the part parameter named 'name' has a value of 'status', the part parameter named 'value' SHALL have a value from the 'Medication Statement Status Limited' value set.\" class=\"constraint\">shc-patch-medication-statement-01</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"When the part parameter named 'path' has a value of 'MedicationStatement' and the part parameter named 'name' has a value of 'dosage', the part parameter named 'value' SHALL have a value of type Dosage.\" class=\"constraint\">shc-patch-medication-statement-02</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"When the part parameter named 'path' has a value of 'MedicationStatement.dosage[0]' and the part parameter named 'name' has a value of 'text', the part parameter named 'value' SHALL have a value of type string.\" class=\"constraint\">shc-patch-medication-statement-03</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"When the part parameter named 'path' has a value of 'MedicationStatement' and the part parameter named 'name' has a value of 'note', the part parameter named 'value' SHALL have a value of type Annotation.\" class=\"constraint\">shc-patch-medication-statement-04</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"When the part parameter named 'path' has a value of 'MedicationStatement.note[0]' and the part parameter named 'name' has a value of 'text', the part parameter named 'value' SHALL have a value of type markdown.\" class=\"constraint\">shc-patch-medication-statement-05</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_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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter\">parameter</a><a name=\"Parameters.parameter\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></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\">1..<span style=\"opacity: 0.5\">*</span></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/R4/datatypes.html#BackboneElement\">BackboneElement</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\">Operation Parameter</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck010.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.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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.name\">name</a><a name=\"Parameters.parameter.name\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</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\"><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 : 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/R4/datatypes.html#string\">string</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\">Name from the definition</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">operation</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_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_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic; font-style: italic\" href=\"StructureDefinition-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part\">Slices for part</a><a name=\"Parameters.parameter.part\"> </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\"><span style=\"font-style: italic\"/><span style=\"font-style: italic\">4</span><span style=\"font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></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\"><span style=\"opacity: 0.5; font-style: italic\">Named part of a multi-part parameter</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by value:name</span></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_bck0035.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_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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:type\" title=\"Slice type\">part:type</a><a name=\"Parameters.parameter.part.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\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</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\">1..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/R4/datatypes.html#BackboneElement\">BackboneElement</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\">Patch operation to perform<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck00350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:type.name\">name</a><a name=\"Parameters.parameter.part.name\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></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\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></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/R4/datatypes.html#string\">string</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\">Name from the definition</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">type</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck00340.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_vline_slicer.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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:type.value[x]\">value[x]</a><a name=\"Parameters.parameter.part.value_x_\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</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\">1..<span style=\"opacity: 0.5\">1</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/R4/datatypes.html#code\">code</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\">If parameter is a data type</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">add</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck0035.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_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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:path\" title=\"Slice path\">part:path</a><a name=\"Parameters.parameter.part.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\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></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\">1..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/R4/datatypes.html#BackboneElement\">BackboneElement</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\">Where to perform the operation<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck00350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:path.name\">name</a><a name=\"Parameters.parameter.part.name.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\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</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\"><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 : 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/R4/datatypes.html#string\">string</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\">Name from the definition</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">path</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck00340.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_vline_slicer.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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:path.value[x]\">value[x]</a><a name=\"Parameters.parameter.part.value_x_.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\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></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\">1..<span style=\"opacity: 0.5\">1</span></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/R4/datatypes.html#string\">string</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\">If parameter is a data type</span><br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding: </span><a href=\"ValueSet-SHCPatchMedicationStatementElementPath.html\" title=\"https://smartforms.csiro.au/ig/ValueSet/SHCPatchMedicationStatementElementPath\" class=\"binding\">Smart Health Checks Patch MedicationStatement Element Path</a><span title=\"null\" class=\"binding\"> (</span><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.\" class=\"binding\">required</a><span title=\"null\" class=\"binding\">)</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck0035.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_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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:name\" title=\"Slice name\">part:name</a><a name=\"Parameters.parameter.part.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\">1..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/R4/datatypes.html#BackboneElement\">BackboneElement</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\">Named part of a multi-part parameter</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_bck00350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:name.name\">name</a><a name=\"Parameters.parameter.part.name.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\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></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\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></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/R4/datatypes.html#string\">string</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\">Name from the definition</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">name</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck00340.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_vline_slicer.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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:name.value[x]\">value[x]</a><a name=\"Parameters.parameter.part.value_x_.3\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</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\">1..<span style=\"opacity: 0.5\">1</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/R4/datatypes.html#string\">string</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\">If parameter is a data type</span><br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding: </span><a href=\"ValueSet-SHCPatchMedicationStatementElementName.html\" title=\"https://smartforms.csiro.au/ig/ValueSet/SHCPatchMedicationStatementElementName\" class=\"binding\">Smart Health Checks Patch MedicationStatement Element Name</a><span title=\"null\" class=\"binding\"> (</span><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.\" class=\"binding\">required</a><span title=\"null\" class=\"binding\">)</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck0035.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_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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:value\" title=\"Slice value\">part:value</a><a name=\"Parameters.parameter.part.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\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></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\">1..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/R4/datatypes.html#BackboneElement\">BackboneElement</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\">Replacement value<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck00350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:value.name\">name</a><a name=\"Parameters.parameter.part.name.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\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</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\"><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 : 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/R4/datatypes.html#string\">string</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\">Name from the definition</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">value</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck00343.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_vline_slicer.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_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic; font-style: italic\" href=\"StructureDefinition-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:value.value[x]\">Slices for value[x]</a><a name=\"Parameters.parameter.part.value_x_.4\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red; font-style: italic\" title=\"This element has obligations and must be supported\">SO</span><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; font-style: italic; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; font-style: italic\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( shc-patch-medication-statement-01, shc-patch-medication-statement-02, shc-patch-medication-statement-03, shc-patch-medication-statement-04, shc-patch-medication-statement-05 )\">C</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=\"font-style: italic\"/><span style=\"font-style: italic\">1</span><span style=\"font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">1</span></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\"><span style=\"opacity: 0.5; font-style: italic\">If parameter is a data type</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by type:$this</span><table style=\"font-style: italic\" class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck003430.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <span title=\"Base StructureDefinition for code type: A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents\">valueCode</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\"/><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\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</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\"/></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_bck003430.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <span title=\"Base StructureDefinition for markdown type: A string that may contain Github Flavored Markdown syntax for optional processing by a mark down presentation engine\">valueMarkdown</span></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\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#markdown\">markdown</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\"/></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_bck003430.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <span title=\"Base StructureDefinition for string Type: A sequence of Unicode characters\">valueString</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\"/><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\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</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\"/></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_bck003430.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span title=\"Base StructureDefinition for Annotation Type: A  text note which also  contains information about who made the statement and when.\">valueAnnotation</span></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\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Annotation\">Annotation</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\"/></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_bck003430.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span title=\"Base StructureDefinition for Dosage Type: Indicates how the medication is/was taken or should be taken by the patient.\">valueDosage</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\"/><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\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Dosage\">Dosage</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\"/></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_bck003434.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:value.value[x]:valueCode\" title=\"Slice valueCode\">value[x]:valueCode</a><a name=\"Parameters.parameter.part.value_x_.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\"><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 : 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/R4/datatypes.html#code\">code</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\">If parameter is a data type</span><br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding: </span><a href=\"ValueSet-MedicationStatementStatusLimited.html\" title=\"https://smartforms.csiro.au/ig/ValueSet/MedicationStatementStatusLimited\" class=\"binding\">Medication Statement Status Limited</a><span title=\"null\" class=\"binding\"> (</span><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.\" class=\"binding\">required</a><span title=\"null\" class=\"binding\">)</span></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_bck003435.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:value.value[x]:valueDosage\" title=\"Slice valueDosage\">value[x]:valueDosage</a><a name=\"Parameters.parameter.part.value_x_.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\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</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\">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/R4/datatypes.html#Dosage\">Dosage</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\">If parameter is a data type</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck0034340.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slicer.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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:value.value[x]:valueDosage.text\">text</a><a name=\"Parameters.parameter.part.value_x_.text\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></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\">1..<span style=\"opacity: 0.5\">1</span></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/R4/datatypes.html#string\">string</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\">Free text dosage instructions e.g. SIG</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck003434.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:value.value[x]:valueMarkdown\" title=\"Slice valueMarkdown\">value[x]:valueMarkdown</a><a name=\"Parameters.parameter.part.value_x_.7\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</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\">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/R4/datatypes.html#markdown\">markdown</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\">If parameter is a data type</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck003425.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_vline_slicer.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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:value.value[x]:valueAnnotation\" title=\"Slice valueAnnotation\">value[x]:valueAnnotation</a><a name=\"Parameters.parameter.part.value_x_.8\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></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\">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/R4/datatypes.html#Annotation\">Annotation</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\">If parameter is a data type</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck0034240.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_vline_slicer.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_slice.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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:value.value[x]:valueAnnotation.text\">text</a><a name=\"Parameters.parameter.part.value_x_.text.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\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</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\"><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 : 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/R4/datatypes.html#markdown\">markdown</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\">The annotation  - text content (as markdown)</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-process\" title=\"Obligation Codes: process\">process</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCHostFHIRServer.html\">SHC Host FHIR Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck0025.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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:pathLabel\" title=\"Slice pathLabel\">part:pathLabel</a><a name=\"Parameters.parameter.part.6\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></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\">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/R4/datatypes.html#BackboneElement\">BackboneElement</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\">Human readable representation of the path. Typically this is the relevant item text from the Questionnaire.<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck00250.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_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.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-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:pathLabel.name\">name</a><a name=\"Parameters.parameter.part.name.5\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</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\"><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 : 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/R4/datatypes.html#string\">string</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\">Name from the definition</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">pathLabel</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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_bck00240.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_blank.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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-SHCPatchMedicationStatement-definitions.html#Parameters.parameter.part:pathLabel.value[x]\">value[x]</a><a name=\"Parameters.parameter.part.value_x_.9\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></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\">1..<span style=\"opacity: 0.5\">1</span></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/R4/datatypes.html#string\">string</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\">If parameter is a data type</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0-ballot-tc1/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-SHCApp.html\">SHC App</a></td></tr></table></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, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:url [ fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "0.3.0"] ; #
      fhir:name [ fhir:v "SmartHealthChecksPatchMedicationStatement"] ; #
      fhir:title [ fhir:v "Smart Health Checks Patch MedicationStatement"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:date [ fhir:v "2025-10-01T09:09:53+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "AEHRC CSIRO"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "AEHRC CSIRO" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://confluence.csiro.au/display/PCDQFPhase2/Primary+Care+Data+Quality+Foundations+-+Phase+2" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "This profile sets the expectations for a Parameters resource when used to patch MedicationStatement resources within Smart Health Checks."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "AU" ] ;
    fhir:display [ fhir:v "Australia" ]     ] )
      ] ) ; #
      fhir:copyright [ fhir:v "Copyright © 2022+ Australian Government Department of Health and Aged Care - All rights reserved.\nThis content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.\nSee https://creativecommons.org/licenses/by-sa/4.0/.\n"] ; #
      fhir:fhirVersion [ fhir:v "4.0.1"] ; #
      fhir:mapping ( [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:uri [ fhir:v "http://hl7.org/v2"^^xsd:anyURI ] ;
    fhir:name [ fhir:v "HL7 v2 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 "resource"] ; #
      fhir:abstract [ fhir:v false] ; #
      fhir:type [ fhir:v "Parameters"^^xsd:anyURI] ; #
      fhir:baseDefinition [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Parameters"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Parameters>
      ] ; #
      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:value [
    a fhir:string ;
    fhir:v "4.0.1"       ]     ] ) ;
        ( fhir:element [
    fhir:id [ fhir:v "Parameters" ] ;
    fhir:path [ fhir:v "Parameters" ] ;
    fhir:short [ fhir:v "Parameters for patching MedicationStatement resource elements supported in Smart Health Checks" ] ;
    fhir:definition [ fhir:v "This resource is a non-persisted resource used to pass information into and back from an [operation](http://hl7.org/fhir/R4/operations.html). It has no other use, and there is no RESTful endpoint associated with it." ] ;
    fhir:comment [ fhir:v "The parameters that may be used are defined by the OperationDefinition resource." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:constraint [
    fhir:key [ fhir:v "shc-patch-medication-statement-01" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "When the part parameter named 'path' has a value of 'MedicationStatement' and the part parameter named 'name' has a value of 'status', the part parameter named 'value' SHALL have a value from the 'Medication Statement Status Limited' value set." ] ;
    fhir:expression [ fhir:v "parameter.where(part.where(name='path').value = 'MedicationStatement' and part.where(name='name').value = 'status').exists() implies parameter.where(part.where(name='path').value = 'MedicationStatement' and part.where(name='name').value = 'status').part.where(name='value').value.memberOf('https://smartforms.csiro.au/ig/ValueSet/MedicationStatementStatusLimited')" ] ;
    fhir:source [
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement>         ]       ] [
    fhir:key [ fhir:v "shc-patch-medication-statement-02" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "When the part parameter named 'path' has a value of 'MedicationStatement' and the part parameter named 'name' has a value of 'dosage', the part parameter named 'value' SHALL have a value of type Dosage." ] ;
    fhir:expression [ fhir:v "parameter.where(part.where(name='path').value = 'MedicationStatement' and part.where(name='name').value = 'dosage').exists() implies parameter.where(part.where(name='path').value = 'MedicationStatement' and part.where(name='name').value = 'dosage').part.where(name='value').value is Dosage" ] ;
    fhir:source [
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement>         ]       ] [
    fhir:key [ fhir:v "shc-patch-medication-statement-03" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "When the part parameter named 'path' has a value of 'MedicationStatement.dosage[0]' and the part parameter named 'name' has a value of 'text', the part parameter named 'value' SHALL have a value of type string." ] ;
    fhir:expression [ fhir:v "parameter.where(part.where(name='path').value = 'MedicationStatement.dosage[0]' and part.where(name='name').value = 'text').exists() implies parameter.where(part.where(name='path').value = 'MedicationStatement.dosage[0]' and part.where(name='name').value = 'text').part.where(name='value').value is string" ] ;
    fhir:source [
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement>         ]       ] [
    fhir:key [ fhir:v "shc-patch-medication-statement-04" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "When the part parameter named 'path' has a value of 'MedicationStatement' and the part parameter named 'name' has a value of 'note', the part parameter named 'value' SHALL have a value of type Annotation." ] ;
    fhir:expression [ fhir:v "parameter.where(part.where(name='path').value = 'MedicationStatement' and part.where(name='name').value = 'note').exists() implies parameter.where(part.where(name='path').value = 'MedicationStatement' and part.where(name='name').value = 'note').part.where(name='value').value is Annotation" ] ;
    fhir:source [
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement>         ]       ] [
    fhir:key [ fhir:v "shc-patch-medication-statement-05" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "When the part parameter named 'path' has a value of 'MedicationStatement.note[0]' and the part parameter named 'name' has a value of 'text', the part parameter named 'value' SHALL have a value of type markdown." ] ;
    fhir:expression [ fhir:v "parameter.where(part.where(name='path').value = 'MedicationStatement.note[0]' and part.where(name='name').value = 'text').exists() implies parameter.where(part.where(name='path').value = 'MedicationStatement.note[0]' and part.where(name='name').value = 'text').part.where(name='value').value is markdown" ] ;
    fhir:source [
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement>         ]       ] ) ;
    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 "v2" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.id" ] ;
    fhir:path [ fhir:v "Parameters.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:value [
    a fhir:url ;
    fhir:v "id"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.meta" ] ;
    fhir:path [ fhir:v "Parameters.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: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 ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.implicitRules" ] ;
    fhir:path [ fhir:v "Parameters.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: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 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 "Parameters.language" ] ;
    fhir:path [ fhir:v "Parameters.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: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 ] ;
    fhir:isSummary [ fhir:v false ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "http://hl7.org/fhir/ValueSet/all-languages"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/all-languages>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "Language"           ]         ] ) ;
    fhir:strength [ fhir:v "preferred" ] ;
    fhir:description [ fhir:v "A human language." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/languages|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/languages|4.0.1>         ]       ]     ] [
    fhir:id [ fhir:v "Parameters.parameter" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter" ] ;
    fhir:short [ fhir:v "Operation Parameter" ] ;
    fhir:definition [ fhir:v "A parameter passed to or received from the operation." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^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 "inv-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "A parameter must have one and only one of (value, resource, part)" ] ;
    fhir:expression [ fhir:v "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))" ] ;
    fhir:xpath [ fhir:v "(exists(f:resource) or exists(f:part) or exists(f:*[starts-with(local-name(.), 'value')])) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:resource))) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:part))) and not(exists(f:part) and exists(f:resource))" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Parameters"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Parameters>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.id" ] ;
    fhir:path [ fhir:v "Parameters.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:value [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    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 "Parameters.parameter.extension" ] ;
    fhir:path [ fhir:v "Parameters.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: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 ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.modifierExtension" ] ;
    fhir:path [ fhir:v "Parameters.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/R4/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: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 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 "Parameters.parameter.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.name" ] ;
    fhir:short [ fhir:v "Name from the definition" ] ;
    fhir:definition [ fhir:v "The name of the parameter (reference to the operation definition)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.name" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:string ;
    fhir:v "operation"       ] ;
          ( 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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.value[x]" ] ;
    fhir:path [ fhir:v "Parameters.parameter.value[x]" ] ;
    fhir:short [ fhir:v "If parameter is a data type" ] ;
    fhir:definition [ fhir:v "If the parameter is a data type." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.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:condition [ fhir:v "inv-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:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.resource" ] ;
    fhir:path [ fhir:v "Parameters.parameter.resource" ] ;
    fhir:short [ fhir:v "If parameter is a whole resource" ] ;
    fhir:definition [ fhir:v "If the parameter is a whole resource." ] ;
    fhir:comment [ fhir:v "When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.resource" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Resource"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-1" ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "name" ]         ] ) ;
    fhir:ordered [ fhir:v false ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Named part of a multi-part parameter" ] ;
    fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
    fhir:comment [ fhir:v "Only one level of nested parameters is allowed." ] ;
    fhir:min [ fhir:v "4"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
    fhir:contentReference [ fhir:v "http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter"^^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 ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part.id" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    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 "Parameters.parameter.part.extension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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: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 ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part.modifierExtension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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/R4/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: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 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 "Parameters.parameter.part.name" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.name" ] ;
    fhir:short [ fhir:v "Name from the definition" ] ;
    fhir:definition [ fhir:v "The name of the parameter (reference to the operation definition)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.name" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^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 ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:short [ fhir:v "If parameter is a data type" ] ;
    fhir:definition [ fhir:v "If the parameter is a data type." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.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:condition [ fhir:v "inv-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:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part.resource" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.resource" ] ;
    fhir:short [ fhir:v "If parameter is a whole resource" ] ;
    fhir:definition [ fhir:v "If the parameter is a whole resource." ] ;
    fhir:comment [ fhir:v "When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.resource" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Resource"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-1" ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part.part" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.part" ] ;
    fhir:short [ fhir:v "Named part of a multi-part parameter" ] ;
    fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
    fhir:comment [ fhir:v "Only one level of nested parameters is allowed." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
    fhir:contentReference [ fhir:v "http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter"^^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 ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:type" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:sliceName [ fhir:v "type" ] ;
    fhir:short [ fhir:v "Patch operation to perform" ] ;
    fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
    fhir:comment [ fhir:v "Only one level of nested parameters is allowed." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:type.id" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    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 "Parameters.parameter.part:type.extension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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: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 ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:type.modifierExtension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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/R4/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: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 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 "Parameters.parameter.part:type.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.name" ] ;
    fhir:short [ fhir:v "Name from the definition" ] ;
    fhir:definition [ fhir:v "The name of the parameter (reference to the operation definition)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.name" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:string ;
    fhir:v "type"       ] ;
          ( 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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:type.value[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:short [ fhir:v "If parameter is a data type" ] ;
    fhir:definition [ fhir:v "If the parameter is a data type." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.value[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:code ;
    fhir:v "add"       ] ;
          ( fhir:condition [ fhir:v "inv-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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:type.resource" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.resource" ] ;
    fhir:short [ fhir:v "If parameter is a whole resource" ] ;
    fhir:definition [ fhir:v "If the parameter is a whole resource." ] ;
    fhir:comment [ fhir:v "When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.resource" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Resource"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-1" ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:type.part" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.part" ] ;
    fhir:short [ fhir:v "Named part of a multi-part parameter" ] ;
    fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
    fhir:comment [ fhir:v "Only one level of nested parameters is allowed." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
    fhir:contentReference [ fhir:v "http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter"^^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 ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:path" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:sliceName [ fhir:v "path" ] ;
    fhir:short [ fhir:v "Where to perform the operation" ] ;
    fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
    fhir:comment [ fhir:v "Only one level of nested parameters is allowed." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:path.id" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    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 "Parameters.parameter.part:path.extension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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: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 ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:path.modifierExtension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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/R4/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: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 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 "Parameters.parameter.part:path.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.name" ] ;
    fhir:short [ fhir:v "Name from the definition" ] ;
    fhir:definition [ fhir:v "The name of the parameter (reference to the operation definition)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.name" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:string ;
    fhir:v "path"       ] ;
          ( 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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:path.value[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:short [ fhir:v "If parameter is a data type" ] ;
    fhir:definition [ fhir:v "If the parameter is a data type." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.value[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "https://smartforms.csiro.au/ig/ValueSet/SHCPatchMedicationStatementElementPath"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ValueSet/SHCPatchMedicationStatementElementPath>         ]       ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:path.resource" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.resource" ] ;
    fhir:short [ fhir:v "If parameter is a whole resource" ] ;
    fhir:definition [ fhir:v "If the parameter is a whole resource." ] ;
    fhir:comment [ fhir:v "When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.resource" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Resource"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-1" ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:path.part" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.part" ] ;
    fhir:short [ fhir:v "Named part of a multi-part parameter" ] ;
    fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
    fhir:comment [ fhir:v "Only one level of nested parameters is allowed." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
    fhir:contentReference [ fhir:v "http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter"^^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 ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:name" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:sliceName [ fhir:v "name" ] ;
    fhir:short [ fhir:v "Named part of a multi-part parameter" ] ;
    fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
    fhir:comment [ fhir:v "Only one level of nested parameters is allowed." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^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 ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:name.id" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    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 "Parameters.parameter.part:name.extension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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: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 ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:name.modifierExtension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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/R4/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: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 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 "Parameters.parameter.part:name.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.name" ] ;
    fhir:short [ fhir:v "Name from the definition" ] ;
    fhir:definition [ fhir:v "The name of the parameter (reference to the operation definition)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.name" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:string ;
    fhir:v "name"       ] ;
          ( 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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:name.value[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:short [ fhir:v "If parameter is a data type" ] ;
    fhir:definition [ fhir:v "If the parameter is a data type." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.value[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "https://smartforms.csiro.au/ig/ValueSet/SHCPatchMedicationStatementElementName"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ValueSet/SHCPatchMedicationStatementElementName>         ]       ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:name.resource" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.resource" ] ;
    fhir:short [ fhir:v "If parameter is a whole resource" ] ;
    fhir:definition [ fhir:v "If the parameter is a whole resource." ] ;
    fhir:comment [ fhir:v "When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.resource" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Resource"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-1" ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:name.part" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.part" ] ;
    fhir:short [ fhir:v "Named part of a multi-part parameter" ] ;
    fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
    fhir:comment [ fhir:v "Only one level of nested parameters is allowed." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
    fhir:contentReference [ fhir:v "http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter"^^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 ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:sliceName [ fhir:v "value" ] ;
    fhir:short [ fhir:v "Replacement value" ] ;
    fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
    fhir:comment [ fhir:v "Only one level of nested parameters is allowed." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.id" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    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 "Parameters.parameter.part:value.extension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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: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 ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.modifierExtension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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/R4/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: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 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 "Parameters.parameter.part:value.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.name" ] ;
    fhir:short [ fhir:v "Name from the definition" ] ;
    fhir:definition [ fhir:v "The name of the parameter (reference to the operation definition)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.name" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:string ;
    fhir:v "value"       ] ;
          ( 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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "type" ] ;
    fhir:path [ fhir:v "$this" ]         ] ) ;
    fhir:ordered [ fhir:v false ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "If parameter is a data type" ] ;
    fhir:definition [ fhir:v "If the parameter is a data type." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.value[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "markdown"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Annotation"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Dosage"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-1" ] [ fhir:v "shc-patch-medication-statement-01" ] [ fhir:v "shc-patch-medication-statement-02" ] [ fhir:v "shc-patch-medication-statement-03" ] [ fhir:v "shc-patch-medication-statement-04" ] [ fhir:v "shc-patch-medication-statement-05" ] ) ;
          ( 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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueCode" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:sliceName [ fhir:v "valueCode" ] ;
    fhir:short [ fhir:v "If parameter is a data type" ] ;
    fhir:definition [ fhir:v "If the parameter is a data type." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.value[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "https://smartforms.csiro.au/ig/ValueSet/MedicationStatementStatusLimited"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ValueSet/MedicationStatementStatusLimited>         ]       ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:sliceName [ fhir:v "valueDosage" ] ;
    fhir:short [ fhir:v "If parameter is a data type" ] ;
    fhir:definition [ fhir:v "If the parameter is a data type." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.value[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Dosage"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.id" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    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 "Parameters.parameter.part:value.value[x]:valueDosage.extension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].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 "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: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 ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.modifierExtension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].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/R4/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: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 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 "Parameters.parameter.part:value.value[x]:valueDosage.sequence" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].sequence" ] ;
    fhir:short [ fhir:v "The order of the dosage instructions" ] ;
    fhir:definition [ fhir:v "Indicates the order in which the dosage instructions should be applied or interpreted." ] ;
    fhir:requirements [ fhir:v "If the sequence number of multiple Dosages is the same, then it is implied that the instructions are to be treated as concurrent.  If the sequence number is different, then the Dosages are intended to be sequential." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.sequence" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "integer"^^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 ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "TQ1-1" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".text" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.text" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].text" ] ;
    fhir:short [ fhir:v "Free text dosage instructions e.g. SIG" ] ;
    fhir:definition [ fhir:v "Free text dosage instructions e.g. SIG." ] ;
    fhir:requirements [ fhir:v "Free text dosage instructions can be used for cases where the instructions are too complex to code.  The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated.  If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing.  Additional information about administration or preparation of the medication should be included as text." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.text" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "RXO-6; RXE-21" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".text" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.additionalInstruction" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].additionalInstruction" ] ;
    fhir:short [ fhir:v "Supplemental instruction or warnings to the patient - e.g. \"with meals\", \"may cause drowsiness\"" ] ;
    fhir:definition [ fhir:v "Supplemental instructions to the patient on how to take the medication  (e.g. \"with meals\" or\"take half to one hour before food\") or warnings for the patient about the medication (e.g. \"may cause drowsiness\" or \"avoid exposure of skin to direct sunlight or sunlamps\")." ] ;
    fhir:comment [ fhir:v "Information about administration or preparation of the medication (e.g. \"infuse as rapidly as possibly via intraperitoneal port\" or \"immediately following drug x\") should be populated in dosage.text." ] ;
    fhir:requirements [ fhir:v "Additional instruction is intended to be coded, but where no code exists, the element could include text.  For example, \"Swallow with plenty of water\" which might or might not be coded." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.additionalInstruction" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( 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 ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "AdditionalInstruction"           ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "A coded concept identifying additional instructions such as \"take with water\" or \"avoid operating heavy machinery\"." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/additional-instruction-codes|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/additional-instruction-codes|4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "RXO-7" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".text" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.patientInstruction" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].patientInstruction" ] ;
    fhir:short [ fhir:v "Patient or consumer oriented instructions" ] ;
    fhir:definition [ fhir:v "Instructions in terms that are understood by the patient or consumer." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.patientInstruction" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^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 ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "RXO-7" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".text" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.timing" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].timing" ] ;
    fhir:short [ fhir:v "When medication should be administered" ] ;
    fhir:definition [ fhir:v "When medication should be administered." ] ;
    fhir:comment [ fhir:v "This attribute might not always be populated while the Dosage.text is expected to be populated.  If both are populated, then the Dosage.text should reflect the content of the Dosage.timing." ] ;
    fhir:requirements [ fhir:v "The timing schedule for giving the medication to the patient. This  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\".  Sometimes, a rate can imply duration when expressed as total volume / duration (e.g.  500mL/2 hours implies a duration of 2 hours).  However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.timing" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Timing"^^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 ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".effectiveTime" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.asNeeded[x]" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].asNeeded[x]" ] ;
    fhir:short [ fhir:v "Take \"as needed\" (for x)" ] ;
    fhir:definition [ fhir:v "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept)." ] ;
    fhir:comment [ fhir:v "Can express \"as needed\" without a reason by setting the Boolean = True.  In this case the CodeableConcept is not populated.  Or you can express \"as needed\" with a reason by including the CodeableConcept.  In this case the Boolean is assumed to be True.  If you set the Boolean to False, then the dose is given according to the schedule and is not \"prn\" or \"as needed\"." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.asNeeded[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ]       ] [
    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 ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "MedicationAsNeededReason"           ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose.  For example \"pain\", \"30 minutes prior to sexual intercourse\", \"on flare-up\" etc." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/medication-as-needed-reason|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/medication-as-needed-reason|4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "TQ1-9" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=\"as needed\"].value=boolean or codable concept" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.site" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].site" ] ;
    fhir:short [ fhir:v "Body site to administer to" ] ;
    fhir:definition [ fhir:v "Body site to administer to." ] ;
    fhir:comment [ fhir:v "If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).  May be a summary code, or a reference to a very precise definition of the location, or both." ] ;
    fhir:requirements [ fhir:v "A coded specification of the anatomic site where the medication first enters the body." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.site" ] ;
    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 ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "MedicationAdministrationSite"           ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "A coded concept describing the site location the medicine enters into or onto the body." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/approach-site-codes|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/approach-site-codes|4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "RXR-2" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".approachSiteCode" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.route" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].route" ] ;
    fhir:short [ fhir:v "How drug should enter body" ] ;
    fhir:definition [ fhir:v "How drug should enter body." ] ;
    fhir:requirements [ fhir:v "A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.route" ] ;
    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 ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "RouteOfAdministration"           ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/route-codes|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/route-codes|4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "RXR-1" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".routeCode" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.method" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].method" ] ;
    fhir:short [ fhir:v "Technique for administering medication" ] ;
    fhir:definition [ fhir:v "Technique for administering medication." ] ;
    fhir:comment [ fhir:v "Terminologies used often pre-coordinate this term with the route and or form of administration." ] ;
    fhir:requirements [ fhir:v "A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections.  For examples, Slow Push; Deep IV." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.method" ] ;
    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 ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "MedicationAdministrationMethod"           ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "A coded concept describing the technique by which the medicine is administered." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/administration-method-codes|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/administration-method-codes|4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "RXR-4" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".doseQuantity" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.doseAndRate" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].doseAndRate" ] ;
    fhir:short [ fhir:v "Amount of medication administered" ] ;
    fhir:definition [ fhir:v "The amount of medication administered." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.doseAndRate" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Element"^^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 ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "TQ1-2" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.doseAndRate.id" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].doseAndRate.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    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 "Parameters.parameter.part:value.value[x]:valueDosage.doseAndRate.extension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].doseAndRate.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 "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: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 ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.doseAndRate.type" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].doseAndRate.type" ] ;
    fhir:short [ fhir:v "The kind of dose or rate specified" ] ;
    fhir:definition [ fhir:v "The kind of dose or rate specified, for example, ordered or calculated." ] ;
    fhir:requirements [ fhir:v "If the type is not populated, assume to be \"ordered\"." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.doseAndRate.type" ] ;
    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 ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "DoseAndRateType"           ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "The kind of dose or rate specified." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/dose-rate-type|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/dose-rate-type|4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "RXO-21; RXE-23" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.doseAndRate.dose[x]" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].doseAndRate.dose[x]" ] ;
    fhir:short [ fhir:v "Amount of medication per dose" ] ;
    fhir:definition [ fhir:v "Amount of medication per dose." ] ;
    fhir:comment [ fhir:v "Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours." ] ;
    fhir:requirements [ fhir:v "The amount of therapeutic or other substance given at one administration event." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.doseAndRate.dose[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Range"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Quantity"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.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:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "RXO-2, RXE-3" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".doseQuantity" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.doseAndRate.rate[x]" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].doseAndRate.rate[x]" ] ;
    fhir:short [ fhir:v "Amount of medication per unit of time" ] ;
    fhir:definition [ fhir:v "Amount of medication per unit of time." ] ;
    fhir:comment [ fhir:v "It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate.\r\rIt is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity.  The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator.  Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour." ] ;
    fhir:requirements [ fhir:v "Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr.  May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours.   Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.  Sometimes, a rate can imply duration when expressed as total volume / duration (e.g.  500mL/2 hours implies a duration of 2 hours).  However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.doseAndRate.rate[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Ratio"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Range"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Quantity"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.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:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "RXE22, RXE23, RXE-24" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".rateQuantity" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.maxDosePerPeriod" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].maxDosePerPeriod" ] ;
    fhir:short [ fhir:v "Upper limit on medication per unit of time" ] ;
    fhir:definition [ fhir:v "Upper limit on medication per unit of time." ] ;
    fhir:comment [ fhir:v "This is intended for use as an adjunct to the dosage when there is an upper cap.  For example \"2 tablets every 4 hours to a maximum of 8/day\"." ] ;
    fhir:requirements [ fhir:v "The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time.  For example, 1000mg in 24 hours." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.maxDosePerPeriod" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Ratio"^^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 ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "RXO-23, RXE-19" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".maxDoseQuantity" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.maxDosePerAdministration" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].maxDosePerAdministration" ] ;
    fhir:short [ fhir:v "Upper limit on medication per administration" ] ;
    fhir:definition [ fhir:v "Upper limit on medication per administration." ] ;
    fhir:comment [ fhir:v "This is intended for use as an adjunct to the dosage when there is an upper cap.  For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg." ] ;
    fhir:requirements [ fhir:v "The maximum total quantity of a therapeutic substance that may be administered to a subject per administration." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.maxDosePerAdministration" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Quantity"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.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:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "not supported" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.maxDosePerLifetime" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].maxDosePerLifetime" ] ;
    fhir:short [ fhir:v "Upper limit on medication per lifetime of the patient" ] ;
    fhir:definition [ fhir:v "Upper limit on medication per lifetime of the patient." ] ;
    fhir:requirements [ fhir:v "The maximum total quantity of a therapeutic substance that may be administered per lifetime of the subject." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Dosage.maxDosePerLifetime" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Quantity"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.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:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "not supported" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueMarkdown" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:sliceName [ fhir:v "valueMarkdown" ] ;
    fhir:short [ fhir:v "If parameter is a data type" ] ;
    fhir:definition [ fhir:v "If the parameter is a data type." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.value[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "markdown"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueAnnotation" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:sliceName [ fhir:v "valueAnnotation" ] ;
    fhir:short [ fhir:v "If parameter is a data type" ] ;
    fhir:definition [ fhir:v "If the parameter is a data type." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.value[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Annotation"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueAnnotation.id" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    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 "Parameters.parameter.part:value.value[x]:valueAnnotation.extension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].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 "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: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 ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueAnnotation.author[x]" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].author[x]" ] ;
    fhir:short [ fhir:v "Individual responsible for the annotation" ] ;
    fhir:definition [ fhir:v "The individual responsible for making the annotation." ] ;
    fhir:comment [ fhir:v "Organization is used when there's no need for specific attribution as to who made the comment." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Annotation.author[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Patient|4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Organization|4.0.1>         ] )       ] [
    fhir:code [ fhir:v "string"^^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 ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act.participant[typeCode=AUT].role" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueAnnotation.time" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].time" ] ;
    fhir:short [ fhir:v "When the annotation was made" ] ;
    fhir:definition [ fhir:v "Indicates when this particular annotation was made." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Annotation.time" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "dateTime"^^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 ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act.effectiveTime" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueAnnotation.text" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].text" ] ;
    fhir:short [ fhir:v "The annotation  - text content (as markdown)" ] ;
    fhir:definition [ fhir:v "The text of the annotation in markdown format." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Annotation.text" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "markdown"^^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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act.text" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.resource" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.resource" ] ;
    fhir:short [ fhir:v "If parameter is a whole resource" ] ;
    fhir:definition [ fhir:v "If the parameter is a whole resource." ] ;
    fhir:comment [ fhir:v "When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.resource" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Resource"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-1" ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.part" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.part" ] ;
    fhir:short [ fhir:v "Named part of a multi-part parameter" ] ;
    fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
    fhir:comment [ fhir:v "Only one level of nested parameters is allowed." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
    fhir:contentReference [ fhir:v "http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter"^^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 ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:pathLabel" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:sliceName [ fhir:v "pathLabel" ] ;
    fhir:short [ fhir:v "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire." ] ;
    fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
    fhir:comment [ fhir:v "Only one level of nested parameters is allowed." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:pathLabel.id" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    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 "Parameters.parameter.part:pathLabel.extension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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: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 ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:pathLabel.modifierExtension" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.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/R4/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: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 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 "Parameters.parameter.part:pathLabel.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.name" ] ;
    fhir:short [ fhir:v "Name from the definition" ] ;
    fhir:definition [ fhir:v "The name of the parameter (reference to the operation definition)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.name" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:string ;
    fhir:v "pathLabel"       ] ;
          ( 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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:pathLabel.value[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement|0.3.0>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:short [ fhir:v "If parameter is a data type" ] ;
    fhir:definition [ fhir:v "If the parameter is a data type." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.value[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:pathLabel.resource" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.resource" ] ;
    fhir:short [ fhir:v "If parameter is a whole resource" ] ;
    fhir:definition [ fhir:v "If the parameter is a whole resource." ] ;
    fhir:comment [ fhir:v "When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.resource" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Resource"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "inv-1" ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:pathLabel.part" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.part" ] ;
    fhir:short [ fhir:v "Named part of a multi-part parameter" ] ;
    fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
    fhir:comment [ fhir:v "Only one level of nested parameters is allowed." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
    fhir:contentReference [ fhir:v "http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter"^^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 ] ;
    fhir:isSummary [ fhir:v true ]     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "Parameters" ] ;
    fhir:path [ fhir:v "Parameters" ] ;
    fhir:short [ fhir:v "Parameters for patching MedicationStatement resource elements supported in Smart Health Checks" ] ;
          ( fhir:constraint [
    fhir:key [ fhir:v "shc-patch-medication-statement-01" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "When the part parameter named 'path' has a value of 'MedicationStatement' and the part parameter named 'name' has a value of 'status', the part parameter named 'value' SHALL have a value from the 'Medication Statement Status Limited' value set." ] ;
    fhir:expression [ fhir:v "parameter.where(part.where(name='path').value = 'MedicationStatement' and part.where(name='name').value = 'status').exists() implies parameter.where(part.where(name='path').value = 'MedicationStatement' and part.where(name='name').value = 'status').part.where(name='value').value.memberOf('https://smartforms.csiro.au/ig/ValueSet/MedicationStatementStatusLimited')" ] ;
    fhir:source [
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement>         ]       ] [
    fhir:key [ fhir:v "shc-patch-medication-statement-02" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "When the part parameter named 'path' has a value of 'MedicationStatement' and the part parameter named 'name' has a value of 'dosage', the part parameter named 'value' SHALL have a value of type Dosage." ] ;
    fhir:expression [ fhir:v "parameter.where(part.where(name='path').value = 'MedicationStatement' and part.where(name='name').value = 'dosage').exists() implies parameter.where(part.where(name='path').value = 'MedicationStatement' and part.where(name='name').value = 'dosage').part.where(name='value').value is Dosage" ] ;
    fhir:source [
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement>         ]       ] [
    fhir:key [ fhir:v "shc-patch-medication-statement-03" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "When the part parameter named 'path' has a value of 'MedicationStatement.dosage[0]' and the part parameter named 'name' has a value of 'text', the part parameter named 'value' SHALL have a value of type string." ] ;
    fhir:expression [ fhir:v "parameter.where(part.where(name='path').value = 'MedicationStatement.dosage[0]' and part.where(name='name').value = 'text').exists() implies parameter.where(part.where(name='path').value = 'MedicationStatement.dosage[0]' and part.where(name='name').value = 'text').part.where(name='value').value is string" ] ;
    fhir:source [
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement>         ]       ] [
    fhir:key [ fhir:v "shc-patch-medication-statement-04" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "When the part parameter named 'path' has a value of 'MedicationStatement' and the part parameter named 'name' has a value of 'note', the part parameter named 'value' SHALL have a value of type Annotation." ] ;
    fhir:expression [ fhir:v "parameter.where(part.where(name='path').value = 'MedicationStatement' and part.where(name='name').value = 'note').exists() implies parameter.where(part.where(name='path').value = 'MedicationStatement' and part.where(name='name').value = 'note').part.where(name='value').value is Annotation" ] ;
    fhir:source [
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement>         ]       ] [
    fhir:key [ fhir:v "shc-patch-medication-statement-05" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "When the part parameter named 'path' has a value of 'MedicationStatement.note[0]' and the part parameter named 'name' has a value of 'text', the part parameter named 'value' SHALL have a value of type markdown." ] ;
    fhir:expression [ fhir:v "parameter.where(part.where(name='path').value = 'MedicationStatement.note[0]' and part.where(name='name').value = 'text').exists() implies parameter.where(part.where(name='path').value = 'MedicationStatement.note[0]' and part.where(name='name').value = 'text').part.where(name='value').value is markdown" ] ;
    fhir:source [
    fhir:v "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchMedicationStatement>         ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.name" ] ;
    fhir:fixed [
    a fhir:string ;
    fhir:v "operation"       ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "name" ]         ] ) ;
    fhir:ordered [ fhir:v false ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:min [ fhir:v "4"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:type" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:sliceName [ fhir:v "type" ] ;
    fhir:short [ fhir:v "Patch operation to perform" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:type.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.name" ] ;
    fhir:fixed [
    a fhir:string ;
    fhir:v "type"       ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:type.value[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:code ;
    fhir:v "add"       ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:path" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:sliceName [ fhir:v "path" ] ;
    fhir:short [ fhir:v "Where to perform the operation" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:path.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.name" ] ;
    fhir:fixed [
    a fhir:string ;
    fhir:v "path"       ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:path.value[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "https://smartforms.csiro.au/ig/ValueSet/SHCPatchMedicationStatementElementPath"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ValueSet/SHCPatchMedicationStatementElementPath>         ]       ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:name" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:sliceName [ fhir:v "name" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:name.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.name" ] ;
    fhir:fixed [
    a fhir:string ;
    fhir:v "name"       ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:name.value[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "https://smartforms.csiro.au/ig/ValueSet/SHCPatchMedicationStatementElementName"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ValueSet/SHCPatchMedicationStatementElementName>         ]       ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:sliceName [ fhir:v "value" ] ;
    fhir:short [ fhir:v "Replacement value" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.name" ] ;
    fhir:fixed [
    a fhir:string ;
    fhir:v "value"       ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "type" ] ;
    fhir:path [ fhir:v "$this" ]         ] ) ;
    fhir:ordered [ fhir:v false ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "markdown"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Annotation"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Dosage"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "shc-patch-medication-statement-01" ] [ fhir:v "shc-patch-medication-statement-02" ] [ fhir:v "shc-patch-medication-statement-03" ] [ fhir:v "shc-patch-medication-statement-04" ] [ fhir:v "shc-patch-medication-statement-05" ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueCode" ] ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:sliceName [ fhir:v "valueCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "https://smartforms.csiro.au/ig/ValueSet/MedicationStatementStatusLimited"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ValueSet/MedicationStatementStatusLimited>         ]       ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:sliceName [ fhir:v "valueDosage" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Dosage"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueDosage.text" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].text" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueMarkdown" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:sliceName [ fhir:v "valueMarkdown" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "markdown"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueAnnotation" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:sliceName [ fhir:v "valueAnnotation" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Annotation"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:value.value[x]:valueAnnotation.text" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:process"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x].text" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:pathLabel" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part" ] ;
    fhir:sliceName [ fhir:v "pathLabel" ] ;
    fhir:short [ fhir:v "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:pathLabel.name" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.name" ] ;
    fhir:fixed [
    a fhir:string ;
    fhir:v "pathLabel"       ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Parameters.parameter.part:pathLabel.value[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL:populate"           ]         ] [
    fhir:url [ fhir:v "actor"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp"^^xsd:anyURI ;
    fhir:link <https://smartforms.csiro.au/ig/ActorDefinition/SHCApp>           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ]       ] ) ;
    fhir:path [ fhir:v "Parameters.parameter.part.value[x]" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] )
      ] . #