Consolidated CDA Release 2.2
2.2 - CI Build

Consolidated CDA Release 2.2, published by Health Level Seven. This is not an authorized publication; it is the continuous build for version 2.2). This version is based on the current content of https://github.com/HL7/CDA-ccda-2.2/ and changes regularly. See the Directory of published versions

## Resource Profile: ProcedureContext - JSON Profile

Active as of 2022-05-13

JSON representation of the 2.16.840.1.113883.10.20.6.2.5 resource profile.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "2.16.840.1.113883.10.20.6.2.5",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act\">Act</a><a name=\"Act\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: black; null\" title=\"This element has or is affected by some invariants (81-9199)\">I</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Act.html\">CDAR2.Act</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">81-9199: </span>Procedure Context SHALL be represented with the procedure or act elements depending on the nature of the procedure (CONF:81-9199).</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.classCode\">classCode</a><a name=\"Act.classCode\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">ACT</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.moodCode\">moodCode</a><a name=\"Act.moodCode\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">EVN</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic\" href=\"StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.templateId\">Slices for templateId</a><a name=\"Act.templateId\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\"/><span style=\"opacity: 0.5; font-style: italic\">0</span><span style=\"opacity: 0.5; font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; font-style: italic\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html\">II</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by value:root</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck125.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.templateId:primary\" title=\"Slice primary\">templateId:primary</a><a name=\"Act.templateId\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html\">II</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1240.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_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: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.templateId:primary.root\">root</a><a name=\"Act.templateId.root\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">2.16.840.1.113883.10.20.6.2.5</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.code\">code</a><a name=\"Act.code\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CD.html\">CD</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.effectiveTime\">effectiveTime</a><a name=\"Act.effectiveTime\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-TS.html\">IVL_TS</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.6.2.5-definitions.html#Act.effectiveTime.value\">value</a><a name=\"Act.effectiveTime.value\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      },
      "url" : "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.6.2.5",
      "identifier" : [
        {
          "value" : "urn:oid:2.16.840.1.113883.10.20.6.2.5"
        }
      ],
      "version" : "2.2",
      "name" : "ProcedureContext",
      "title" : "Procedure Context",
      "status" : "active",
      "date" : "2022-05-13T15:50:12+00:00",
      "publisher" : "Health Level Seven",
      "contact" : [
        {
          "name" : "HL7 International - Structured Documents",
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://www.hl7.org/Special/committees/structure"
            }
          ]
        }
      ],
      "description" : "The ServiceEvent Procedure Context of the document header may be overridden in the CDA structured body if there is a need to refer to multiple imaging procedures or acts. The selection of the Procedure or Act entry from the clinical statement choice box depends on the nature of the imaging service that has been performed. The Procedure entry shall be used for image-guided interventions and minimally invasive imaging services, whereas the Act entry shall be used for diagnostic imaging services.",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "urn:iso:std:iso:3166",
              "code" : "US"
            }
          ]
        }
      ],
      "fhirVersion" : "4.0.1",
      "kind" : "resource",
      "abstract" : false,
      "type" : "Act",
      "baseDefinition" : "http://hl7.org/fhir/cda/StructureDefinition/Act",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [
          {
            "id" : "Act",
            "path" : "Act",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Base",
              "min" : 0,
              "max" : "*"
            },
            "constraint" : [
              {
                "key" : "81-9199",
                "severity" : "warning",
                "human" : "Procedure Context SHALL be represented with the procedure or act elements depending on the nature of the procedure (CONF:81-9199)."
              }
            ],
            "isModifier" : false
          },
          {
            "id" : "Act.classCode",
            "path" : "Act.classCode",
            "representation" : [
              "xmlAttr"
            ],
            "requirements" : "SHALL contain exactly one [1..1] @classCode=\"ACT\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:81-26452).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Act.classCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "patternCode" : "ACT"
          },
          {
            "id" : "Act.moodCode",
            "path" : "Act.moodCode",
            "representation" : [
              "xmlAttr"
            ],
            "requirements" : "SHALL contain exactly one [1..1] @moodCode=\"EVN\" (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001) (CONF:81-26453).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Act.moodCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "patternCode" : "EVN"
          },
          {
            "id" : "Act.realmCode",
            "path" : "Act.realmCode",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Act.realmCode",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CS"
              }
            ]
          },
          {
            "id" : "Act.typeId",
            "path" : "Act.typeId",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.typeId",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "Act.templateId",
            "path" : "Act.templateId",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "root"
                }
              ],
              "rules" : "open"
            },
            "definition" : "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Act.templateId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "Act.templateId:primary",
            "path" : "Act.templateId",
            "sliceName" : "primary",
            "definition" : "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question",
            "requirements" : "SHALL contain exactly one [1..1] templateId (CONF:81-9200) such that it",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Act.templateId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "Act.templateId:primary.nullFlavor",
            "path" : "Act.templateId.nullFlavor",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Exceptional Value Detail",
            "definition" : "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ANY.nullFlavor",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-NullFlavor"
            }
          },
          {
            "id" : "Act.templateId:primary.assigningAuthorityName",
            "path" : "Act.templateId.assigningAuthorityName",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Assigning Authority Name",
            "definition" : "A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "II.assigningAuthorityName",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "Act.templateId:primary.displayable",
            "path" : "Act.templateId.displayable",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Displayable",
            "definition" : "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "II.displayable",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "Act.templateId:primary.root",
            "path" : "Act.templateId.root",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Root",
            "definition" : "A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier.",
            "requirements" : "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.6.2.5\" (CONF:81-10530).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "II.root",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "patternString" : "2.16.840.1.113883.10.20.6.2.5"
          },
          {
            "id" : "Act.templateId:primary.extension",
            "path" : "Act.templateId.extension",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Extension",
            "definition" : "A character string as a unique identifier within the scope of the identifier root.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "II.extension",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "Act.id",
            "path" : "Act.id",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Act.id",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "Act.code",
            "path" : "Act.code",
            "requirements" : "SHALL contain exactly one [1..1] code (CONF:81-9201).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Act.code",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CD"
              }
            ],
            "binding" : {
              "strength" : "extensible",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ActCode"
            }
          },
          {
            "id" : "Act.negationInd",
            "path" : "Act.negationInd",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.negationInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "Act.text",
            "path" : "Act.text",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ED"
              }
            ]
          },
          {
            "id" : "Act.statusCode",
            "path" : "Act.statusCode",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.statusCode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CS"
              }
            ],
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ActStatus"
            }
          },
          {
            "id" : "Act.effectiveTime",
            "path" : "Act.effectiveTime",
            "requirements" : "SHOULD contain zero or one [0..1] effectiveTime (CONF:81-9203).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.effectiveTime",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"
              }
            ]
          },
          {
            "id" : "Act.effectiveTime.nullFlavor",
            "path" : "Act.effectiveTime.nullFlavor",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Exceptional Value Detail",
            "definition" : "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ANY.nullFlavor",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-NullFlavor"
            }
          },
          {
            "id" : "Act.effectiveTime.value",
            "extension" : [
              {
                "url" : "http://www.healthintersections.com.au/fhir/StructureDefinition/elementdefinition-dateformat",
                "valueString" : "v3"
              }
            ],
            "path" : "Act.effectiveTime.value",
            "representation" : [
              "xmlAttr"
            ],
            "definition" : "A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression.",
            "requirements" : "The effectiveTime, if present, SHALL contain exactly one [1..1] @value (CONF:81-17173).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "TS.value",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          },
          {
            "id" : "Act.effectiveTime.inclusive",
            "path" : "Act.effectiveTime.inclusive",
            "representation" : [
              "xmlAttr"
            ],
            "definition" : "Specifies whether the limit is included in the interval (interval is closed) or excluded from the interval (interval is open).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "TS.inclusive",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "Act.effectiveTime.operator",
            "path" : "Act.effectiveTime.operator",
            "representation" : [
              "xmlAttr"
            ],
            "definition" : "A code specifying whether the set component is included (union) or excluded (set-difference) from the set, or other set operations with the current set component and the set as constructed from the representation stream up to the current point.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "SXCM_TS.operator",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ]
          },
          {
            "id" : "Act.effectiveTime.low",
            "path" : "Act.effectiveTime.low",
            "label" : "Low Boundary",
            "definition" : "This is the low limit of the interval.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "IVL_TS.low",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/TS"
              }
            ]
          },
          {
            "id" : "Act.effectiveTime.high",
            "path" : "Act.effectiveTime.high",
            "label" : "High Boundary",
            "definition" : "This is the high limit of the interval.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "IVL_TS.high",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/TS"
              }
            ]
          },
          {
            "id" : "Act.effectiveTime.width",
            "path" : "Act.effectiveTime.width",
            "label" : "Width",
            "definition" : "The difference between high and low boundary. The purpose of distinguishing a width property is to handle all cases of incomplete information symmetrically. In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "IVL_TS.width",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/PQ"
              }
            ]
          },
          {
            "id" : "Act.effectiveTime.center",
            "path" : "Act.effectiveTime.center",
            "label" : "Central Value",
            "definition" : "The arithmetic mean of the interval (low plus high divided by 2). The purpose of distinguishing the center as a semantic property is for conversions of intervals from and to point values.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "IVL_TS.center",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/TS"
              }
            ]
          },
          {
            "id" : "Act.priorityCode",
            "path" : "Act.priorityCode",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.priorityCode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CE"
              }
            ],
            "binding" : {
              "strength" : "extensible",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ActPriority"
            }
          },
          {
            "id" : "Act.languageCode",
            "path" : "Act.languageCode",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.languageCode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CS"
              }
            ],
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-HumanLanguage"
            }
          },
          {
            "id" : "Act.subject",
            "path" : "Act.subject",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.subject",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Element"
              }
            ]
          },
          {
            "id" : "Act.subject.typeCode",
            "path" : "Act.subject.typeCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Act.subject.typeCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "SBJ",
            "fixedCode" : "SBJ",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject"
            }
          },
          {
            "id" : "Act.subject.contextControlCode",
            "path" : "Act.subject.contextControlCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Act.subject.contextControlCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "OP",
            "fixedCode" : "OP",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ContextControl"
            }
          },
          {
            "id" : "Act.subject.awarenessCode",
            "path" : "Act.subject.awarenessCode",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.subject.awarenessCode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CE"
              }
            ],
            "binding" : {
              "strength" : "extensible",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-TargetAwareness"
            }
          },
          {
            "id" : "Act.subject.relatedSubject",
            "path" : "Act.subject.relatedSubject",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Act.subject.relatedSubject",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/RelatedSubject"
              }
            ]
          },
          {
            "id" : "Act.specimen",
            "path" : "Act.specimen",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Act.specimen",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Specimen"
              }
            ]
          },
          {
            "id" : "Act.performer",
            "path" : "Act.performer",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Act.performer",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Performer2"
              }
            ]
          },
          {
            "id" : "Act.author",
            "path" : "Act.author",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Act.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Author"
              }
            ]
          },
          {
            "id" : "Act.informant",
            "path" : "Act.informant",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Act.informant",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Element"
              }
            ]
          },
          {
            "id" : "Act.informant.typeCode",
            "path" : "Act.informant.typeCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Act.informant.typeCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "INF",
            "fixedCode" : "INF",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator"
            }
          },
          {
            "id" : "Act.informant.contextControlCode",
            "path" : "Act.informant.contextControlCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Act.informant.contextControlCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "OP",
            "fixedCode" : "OP",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ContextControl"
            }
          },
          {
            "id" : "Act.informant.assignedEntity",
            "path" : "Act.informant.assignedEntity",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.informant.assignedEntity",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"
              }
            ]
          },
          {
            "id" : "Act.informant.relatedEntity",
            "path" : "Act.informant.relatedEntity",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.informant.relatedEntity",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/RelatedEntity"
              }
            ]
          },
          {
            "id" : "Act.participant",
            "path" : "Act.participant",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Act.participant",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Participant2"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship",
            "path" : "Act.entryRelationship",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Act.entryRelationship",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Element"
              }
            ],
            "constraint" : [
              {
                "key" : "act-er-1",
                "severity" : "error",
                "human" : "Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act",
                "expression" : "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1",
                "source" : "http://hl7.org/fhir/cda/StructureDefinition/Act"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.typeCode",
            "path" : "Act.entryRelationship.typeCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.typeCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.inversionInd",
            "path" : "Act.entryRelationship.inversionInd",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.inversionInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.contextConductionInd",
            "path" : "Act.entryRelationship.contextConductionInd",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.contextConductionInd",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ],
            "defaultValueBoolean" : true
          },
          {
            "id" : "Act.entryRelationship.sequenceNumber",
            "path" : "Act.entryRelationship.sequenceNumber",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.sequenceNumber",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/INT"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.negationInd",
            "path" : "Act.entryRelationship.negationInd",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.negationInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.seperatableInd",
            "path" : "Act.entryRelationship.seperatableInd",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.seperatableInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/BL"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.observation",
            "path" : "Act.entryRelationship.observation",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.observation",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Observation"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.regionOfInterest",
            "path" : "Act.entryRelationship.regionOfInterest",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.regionOfInterest",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.observationMedia",
            "path" : "Act.entryRelationship.observationMedia",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.observationMedia",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.substanceAdministration",
            "path" : "Act.entryRelationship.substanceAdministration",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.substanceAdministration",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.supply",
            "path" : "Act.entryRelationship.supply",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.supply",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Supply"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.procedure",
            "path" : "Act.entryRelationship.procedure",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.procedure",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Procedure"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.encounter",
            "path" : "Act.entryRelationship.encounter",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.encounter",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Encounter"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.organizer",
            "path" : "Act.entryRelationship.organizer",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.organizer",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Organizer"
              }
            ]
          },
          {
            "id" : "Act.entryRelationship.act",
            "path" : "Act.entryRelationship.act",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.entryRelationship.act",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Act"
              }
            ]
          },
          {
            "id" : "Act.reference",
            "path" : "Act.reference",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Act.reference",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Element"
              }
            ]
          },
          {
            "id" : "Act.reference.typeCode",
            "path" : "Act.reference.typeCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Act.reference.typeCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ]
          },
          {
            "id" : "Act.reference.seperatableInd",
            "path" : "Act.reference.seperatableInd",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.reference.seperatableInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/BL"
              }
            ]
          },
          {
            "id" : "Act.reference.externalAct",
            "path" : "Act.reference.externalAct",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.reference.externalAct",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ExternalAct"
              }
            ]
          },
          {
            "id" : "Act.reference.externalObservation",
            "path" : "Act.reference.externalObservation",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.reference.externalObservation",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ExternalObservation"
              }
            ]
          },
          {
            "id" : "Act.reference.externalProcedure",
            "path" : "Act.reference.externalProcedure",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.reference.externalProcedure",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ExternalProcedure"
              }
            ]
          },
          {
            "id" : "Act.reference.externalDocument",
            "path" : "Act.reference.externalDocument",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Act.reference.externalDocument",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ExternalDocument"
              }
            ]
          },
          {
            "id" : "Act.precondition",
            "path" : "Act.precondition",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Act.precondition",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Precondition"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "Act",
            "path" : "Act",
            "constraint" : [
              {
                "key" : "81-9199",
                "severity" : "warning",
                "human" : "Procedure Context SHALL be represented with the procedure or act elements depending on the nature of the procedure (CONF:81-9199)."
              }
            ]
          },
          {
            "id" : "Act.classCode",
            "path" : "Act.classCode",
            "requirements" : "SHALL contain exactly one [1..1] @classCode=\"ACT\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:81-26452).",
            "min" : 1,
            "max" : "1",
            "patternCode" : "ACT"
          },
          {
            "id" : "Act.moodCode",
            "path" : "Act.moodCode",
            "requirements" : "SHALL contain exactly one [1..1] @moodCode=\"EVN\" (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001) (CONF:81-26453).",
            "min" : 1,
            "max" : "1",
            "patternCode" : "EVN"
          },
          {
            "id" : "Act.templateId",
            "path" : "Act.templateId",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "root"
                }
              ],
              "rules" : "open"
            }
          },
          {
            "id" : "Act.templateId:primary",
            "path" : "Act.templateId",
            "sliceName" : "primary",
            "requirements" : "SHALL contain exactly one [1..1] templateId (CONF:81-9200) such that it",
            "min" : 1,
            "max" : "1"
          },
          {
            "id" : "Act.templateId:primary.root",
            "path" : "Act.templateId.root",
            "requirements" : "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.6.2.5\" (CONF:81-10530).",
            "min" : 1,
            "max" : "1",
            "patternString" : "2.16.840.1.113883.10.20.6.2.5"
          },
          {
            "id" : "Act.code",
            "path" : "Act.code",
            "requirements" : "SHALL contain exactly one [1..1] code (CONF:81-9201).",
            "min" : 1,
            "max" : "1"
          },
          {
            "id" : "Act.effectiveTime",
            "path" : "Act.effectiveTime",
            "requirements" : "SHOULD contain zero or one [0..1] effectiveTime (CONF:81-9203).",
            "min" : 0,
            "max" : "1"
          },
          {
            "id" : "Act.effectiveTime.value",
            "path" : "Act.effectiveTime.value",
            "requirements" : "The effectiveTime, if present, SHALL contain exactly one [1..1] @value (CONF:81-17173).",
            "min" : 1,
            "max" : "1"
          }
        ]
      }
    }