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: FetusSubjectContext - JSON Profile

Active as of 2022-05-13

JSON representation of the 2.16.840.1.113883.10.20.6.2.3 resource profile.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "2.16.840.1.113883.10.20.6.2.3",
      "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.3-definitions.html#RelatedSubject\">RelatedSubject</a><a name=\"RelatedSubject\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-RelatedSubject.html\">CDAR2.RelatedSubject</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_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.3-definitions.html#RelatedSubject.templateId\">Slices for templateId</a><a name=\"RelatedSubject.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.3-definitions.html#RelatedSubject.templateId:primary\" title=\"Slice primary\">templateId:primary</a><a name=\"RelatedSubject.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.3-definitions.html#RelatedSubject.templateId:primary.root\">root</a><a name=\"RelatedSubject.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.3</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_bck11.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.3-definitions.html#RelatedSubject.code\">code</a><a name=\"RelatedSubject.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-CE.html\">CE</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_bck110.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.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.3-definitions.html#RelatedSubject.code.code\">code</a><a name=\"RelatedSubject.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\"/><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\">121026</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_bck100.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.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.3-definitions.html#RelatedSubject.code.codeSystem\">codeSystem</a><a name=\"RelatedSubject.code.codeSystem\"> </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#string\">string</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\">1.2.840.10008.2.16.4</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_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.3-definitions.html#RelatedSubject.subject\">subject</a><a name=\"RelatedSubject.subject\"> </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=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubjectPerson.html\">SubjectPerson</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.3-definitions.html#RelatedSubject.subject.name\">name</a><a name=\"RelatedSubject.subject.name\"> </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-EN.html\">EN</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The name element is used to store the DICOM fetus ID, typically a pseudonym such as fetus_1.</td></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.3",
      "identifier" : [
        {
          "value" : "urn:oid:2.16.840.1.113883.10.20.6.2.3"
        }
      ],
      "version" : "2.2",
      "name" : "FetusSubjectContext",
      "title" : "Fetus Subject 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" : "For reports on mothers and their fetus(es), information on a mother is mapped to recordTarget, PatientRole, and Patient. Information on the fetus is mapped to subject, relatedSubject, and SubjectPerson at the CDA section level. Both context information on the mother and fetus must be included in the document if observations on fetus(es) are contained in the document.",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "urn:iso:std:iso:3166",
              "code" : "US"
            }
          ]
        }
      ],
      "fhirVersion" : "4.0.1",
      "kind" : "resource",
      "abstract" : false,
      "type" : "RelatedSubject",
      "baseDefinition" : "http://hl7.org/fhir/cda/StructureDefinition/RelatedSubject",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [
          {
            "id" : "RelatedSubject",
            "path" : "RelatedSubject",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Base",
              "min" : 0,
              "max" : "*"
            },
            "isModifier" : false
          },
          {
            "id" : "RelatedSubject.classCode",
            "path" : "RelatedSubject.classCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "RelatedSubject.classCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "PRS"
          },
          {
            "id" : "RelatedSubject.templateId",
            "path" : "RelatedSubject.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" : "RelatedSubject.templateId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "RelatedSubject.templateId:primary",
            "path" : "RelatedSubject.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-9189) such that it",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "RelatedSubject.templateId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "RelatedSubject.templateId:primary.nullFlavor",
            "path" : "RelatedSubject.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" : "RelatedSubject.templateId:primary.assigningAuthorityName",
            "path" : "RelatedSubject.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" : "RelatedSubject.templateId:primary.displayable",
            "path" : "RelatedSubject.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" : "RelatedSubject.templateId:primary.root",
            "path" : "RelatedSubject.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.3\" (CONF:81-10535).",
            "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.3"
          },
          {
            "id" : "RelatedSubject.templateId:primary.extension",
            "path" : "RelatedSubject.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" : "RelatedSubject.code",
            "path" : "RelatedSubject.code",
            "requirements" : "SHALL contain exactly one [1..1] code (CONF:81-9190).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "RelatedSubject.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CE"
              }
            ],
            "binding" : {
              "strength" : "extensible",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-PersonalRelationshipRoleType"
            }
          },
          {
            "id" : "RelatedSubject.code.nullFlavor",
            "path" : "RelatedSubject.code.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" : "RelatedSubject.code.code",
            "path" : "RelatedSubject.code.code",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Code",
            "definition" : "The plain code symbol defined by the code system. For example, \"784.0\" is the code symbol of the ICD-9 code \"784.0\" for headache.",
            "requirements" : "This code SHALL contain exactly one [1..1] @code=\"121026\" (CONF:81-26455).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "CD.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "patternString" : "121026"
          },
          {
            "id" : "RelatedSubject.code.codeSystem",
            "path" : "RelatedSubject.code.codeSystem",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Code System",
            "definition" : "Specifies the code system that defines the code.",
            "requirements" : "This code SHALL contain exactly one [1..1] @codeSystem=\"1.2.840.10008.2.16.4\" (CodeSystem: DCM urn:oid:1.2.840.10008.2.16.4) (CONF:81-26476).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "CD.codeSystem",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "patternString" : "1.2.840.10008.2.16.4"
          },
          {
            "id" : "RelatedSubject.code.codeSystemName",
            "path" : "RelatedSubject.code.codeSystemName",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Code System Name",
            "definition" : "The common name of the coding system.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "CD.codeSystemName",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "RelatedSubject.code.codeSystemVersion",
            "path" : "RelatedSubject.code.codeSystemVersion",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Code System Version",
            "definition" : "If applicable, a version descriptor defined specifically for the given code system.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "CD.codeSystemVersion",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "RelatedSubject.code.displayName",
            "path" : "RelatedSubject.code.displayName",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Display Name",
            "definition" : "A name or title for the code, under which the sending system shows the code value to its users.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "CD.displayName",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "RelatedSubject.code.sdtcValueSet",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
                "valueUri" : "urn:hl7-org:sdtc"
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
                "valueString" : "valueSet"
              }
            ],
            "path" : "RelatedSubject.code.sdtcValueSet",
            "representation" : [
              "xmlAttr"
            ],
            "definition" : "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "CD.valueSet",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "RelatedSubject.code.sdtcValueSetVersion",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
                "valueUri" : "urn:hl7-org:sdtc"
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
                "valueString" : "valueSetVersion"
              }
            ],
            "path" : "RelatedSubject.code.sdtcValueSetVersion",
            "representation" : [
              "xmlAttr"
            ],
            "definition" : "The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "CD.sdtcValueSetVersion",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "RelatedSubject.code.originalText",
            "path" : "RelatedSubject.code.originalText",
            "label" : "Original Text",
            "definition" : "The text or phrase used as the basis for the coding.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "CD.originalText",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ED"
              }
            ]
          },
          {
            "id" : "RelatedSubject.code.qualifier",
            "path" : "RelatedSubject.code.qualifier",
            "label" : "Qualifier",
            "definition" : "Specifies additional codes that increase the specificity of the the primary code.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "CD.qualifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CR"
              }
            ]
          },
          {
            "id" : "RelatedSubject.code.translation",
            "path" : "RelatedSubject.code.translation",
            "representation" : [
              "typeAttr"
            ],
            "label" : "Translation",
            "definition" : "A set of other concept descriptors that translate this concept descriptor into other code systems.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "CD.translation",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CD"
              }
            ]
          },
          {
            "id" : "RelatedSubject.addr",
            "path" : "RelatedSubject.addr",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RelatedSubject.addr",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/AD"
              }
            ]
          },
          {
            "id" : "RelatedSubject.telecom",
            "path" : "RelatedSubject.telecom",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RelatedSubject.telecom",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/TEL"
              }
            ]
          },
          {
            "id" : "RelatedSubject.subject",
            "path" : "RelatedSubject.subject",
            "requirements" : "SHALL contain exactly one [1..1] subject (CONF:81-9191).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "RelatedSubject.subject",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/SubjectPerson"
              }
            ]
          },
          {
            "id" : "RelatedSubject.subject.classCode",
            "path" : "RelatedSubject.subject.classCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "SubjectPerson.classCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "PSN",
            "fixedCode" : "PSN",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject"
            }
          },
          {
            "id" : "RelatedSubject.subject.determinerCode",
            "path" : "RelatedSubject.subject.determinerCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "SubjectPerson.determinerCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "INSTANCE",
            "fixedCode" : "INSTANCE",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-EntityDeterminer"
            }
          },
          {
            "id" : "RelatedSubject.subject.templateId",
            "path" : "RelatedSubject.subject.templateId",
            "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" : "SubjectPerson.templateId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "RelatedSubject.subject.name",
            "path" : "RelatedSubject.subject.name",
            "short" : "The name element is used to store the DICOM fetus ID, typically a pseudonym such as fetus_1.",
            "requirements" : "This subject SHALL contain exactly one [1..1] name (CONF:81-15347).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "SubjectPerson.name",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/EN"
              }
            ]
          },
          {
            "id" : "RelatedSubject.subject.sdtcDesc",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
                "valueUri" : "urn:hl7-org:sdtc"
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
                "valueString" : "desc"
              }
            ],
            "path" : "RelatedSubject.subject.sdtcDesc",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "SubjectPerson.sdtcDesc",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ED"
              }
            ]
          },
          {
            "id" : "RelatedSubject.subject.administrativeGenderCode",
            "path" : "RelatedSubject.subject.administrativeGenderCode",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "SubjectPerson.administrativeGenderCode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CE"
              }
            ],
            "binding" : {
              "strength" : "extensible",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-AdministrativeGender"
            }
          },
          {
            "id" : "RelatedSubject.subject.birthTime",
            "path" : "RelatedSubject.subject.birthTime",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "SubjectPerson.birthTime",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/TS"
              }
            ]
          },
          {
            "id" : "RelatedSubject.subject.sdtcDeceasedInd",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
                "valueUri" : "urn:hl7-org:sdtc"
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
                "valueString" : "deceasedInd"
              }
            ],
            "path" : "RelatedSubject.subject.sdtcDeceasedInd",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "SubjectPerson.sdtcDeceasedInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/BL"
              }
            ]
          },
          {
            "id" : "RelatedSubject.subject.sdtcDeceasedTime",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
                "valueUri" : "urn:hl7-org:sdtc"
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
                "valueString" : "deceasedTime"
              }
            ],
            "path" : "RelatedSubject.subject.sdtcDeceasedTime",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "SubjectPerson.sdtcDeceasedTime",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/TS"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "RelatedSubject",
            "path" : "RelatedSubject"
          },
          {
            "id" : "RelatedSubject.templateId",
            "path" : "RelatedSubject.templateId",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "root"
                }
              ],
              "rules" : "open"
            }
          },
          {
            "id" : "RelatedSubject.templateId:primary",
            "path" : "RelatedSubject.templateId",
            "sliceName" : "primary",
            "requirements" : "SHALL contain exactly one [1..1] templateId (CONF:81-9189) such that it",
            "min" : 1,
            "max" : "1"
          },
          {
            "id" : "RelatedSubject.templateId:primary.root",
            "path" : "RelatedSubject.templateId.root",
            "requirements" : "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.6.2.3\" (CONF:81-10535).",
            "min" : 1,
            "max" : "1",
            "patternString" : "2.16.840.1.113883.10.20.6.2.3"
          },
          {
            "id" : "RelatedSubject.code",
            "path" : "RelatedSubject.code",
            "requirements" : "SHALL contain exactly one [1..1] code (CONF:81-9190).",
            "min" : 1,
            "max" : "1"
          },
          {
            "id" : "RelatedSubject.code.code",
            "path" : "RelatedSubject.code.code",
            "requirements" : "This code SHALL contain exactly one [1..1] @code=\"121026\" (CONF:81-26455).",
            "min" : 1,
            "max" : "1",
            "patternString" : "121026"
          },
          {
            "id" : "RelatedSubject.code.codeSystem",
            "path" : "RelatedSubject.code.codeSystem",
            "requirements" : "This code SHALL contain exactly one [1..1] @codeSystem=\"1.2.840.10008.2.16.4\" (CodeSystem: DCM urn:oid:1.2.840.10008.2.16.4) (CONF:81-26476).",
            "min" : 1,
            "max" : "1",
            "patternString" : "1.2.840.10008.2.16.4"
          },
          {
            "id" : "RelatedSubject.subject",
            "path" : "RelatedSubject.subject",
            "requirements" : "SHALL contain exactly one [1..1] subject (CONF:81-9191).",
            "min" : 1,
            "max" : "1"
          },
          {
            "id" : "RelatedSubject.subject.name",
            "path" : "RelatedSubject.subject.name",
            "short" : "The name element is used to store the DICOM fetus ID, typically a pseudonym such as fetus_1.",
            "requirements" : "This subject SHALL contain exactly one [1..1] name (CONF:81-15347).",
            "min" : 1,
            "max" : "1"
          }
        ]
      }
    }