FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/2.16.840.1.113883.10.20.22.2.21

Packagehl7.cda.us.ccdar2dot2
Resource TypeStructureDefinition
Id2.16.840.1.113883.10.20.22.2.21
FHIR VersionR4
Sourcehttp://hl7.org/cda/us/ccda/https://build.fhir.org/ig/HL7/CDA-ccda-2.2/StructureDefinition-2.16.840.1.113883.10.20.22.2.21.html
URLhttp://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.2.21
Version2.2
Statusactive
Date2022-05-13T15:50:12+00:00
NameAdvanceDirectivesSectionEntriesOptional
TitleAdvance Directives Section (entries optional)
Realmus
Authorityhl7
DescriptionThis section contains data defining the patients advance directives and any reference to supporting documentation, including living wills, healthcare proxies, and CPR and resuscitation status. If the referenced documents are available, they can be included in the exchange package. The most recent directives are required, if known, and should be listed in as much detail as possible. This section differentiates between "advance directives" and "advance directive documents". The former is the directions to be followed whereas the latter refers to a legal document containing those directions.
TypeSection
Kindresource

Resources that use this resource

StructureDefinition
2.16.840.1.113883.10.20.22.1.14Referral Note
2.16.840.1.113883.10.20.22.1.2Continuity of Care Document (CCD)
2.16.840.1.113883.10.20.22.1.4Consultation Note
2.16.840.1.113883.10.20.22.2.21.1Advance Directives Section (entries required)

Resources that this resource uses

StructureDefinition
2.16.840.1.113883.10.20.22.4.108Advance Directive Organizer
2.16.840.1.113883.10.20.22.4.48Advance Directive Observation

Narrative

Note: links and images are rebased to the (stated) source

NameFlagsCard.TypeDescription & Constraintsdoco
.. Section 1..1CDAR2.Section
... Slices for templateId 0..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:primary 1..1II
..... root 1..1stringRequired Pattern: 2.16.840.1.113883.10.20.22.2.21
..... extension 1..1stringRequired Pattern: 2015-08-01
... code 1..1CE
.... code 1..1stringRequired Pattern: 42348-3
.... codeSystem 1..1stringRequired Pattern: 2.16.840.1.113883.6.1
... title 1..1ED
... text 1..1xhtml
... Slices for entry 0..*ElementSlice: Unordered, Open by exists:*
.... entry:observation 0..*Element
..... observation 1..1AdvanceDirectiveObservation
.... entry:organizer 0..*Element
..... organizer 1..1AdvanceDirectiveOrganizer

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "2.16.840.1.113883.10.20.22.2.21",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.2.21",
  "identifier": [
    {
      "value": "urn:hl7ii:2.16.840.1.113883.10.20.22.2.21:2015-08-01"
    }
  ],
  "version": "2.2",
  "name": "AdvanceDirectivesSectionEntriesOptional",
  "title": "Advance Directives Section (entries optional)",
  "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": "This section contains data defining the patients advance directives and any reference to supporting documentation, including living wills, healthcare proxies, and CPR and resuscitation status. If the referenced documents are available, they can be included in the exchange package. \n\nThe most recent directives are required, if known, and should be listed in as much detail as possible. \n\nThis section differentiates between \"advance directives\" and \"advance directive documents\". The former is the directions to be followed whereas the latter refers to a legal document containing those directions.\n",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Section",
  "baseDefinition": "http://hl7.org/fhir/cda/StructureDefinition/Section",
  "derivation": "constraint",
  "snapshot": {
    "element": [
      {
        "id": "Section",
        "path": "Section",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "Section.ID",
        "path": "Section.ID",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.ID",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Section.nullFlavor",
        "path": "Section.nullFlavor",
        "representation": [
          "xmlAttr"
        ],
        "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": "Section.classCode",
        "path": "Section.classCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.classCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "DOCSECT",
        "fixedCode": "DOCSECT",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActClassOrganizer"
        }
      },
      {
        "id": "Section.moodCode",
        "path": "Section.moodCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.moodCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "EVN",
        "fixedCode": "EVN",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActMood"
        }
      },
      {
        "id": "Section.templateId",
        "path": "Section.templateId",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "root"
            },
            {
              "type": "value",
              "path": "extension"
            }
          ],
          "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": "Section.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Section.templateId:primary",
        "path": "Section.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:1198-7928) such that it",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Section.templateId:primary.nullFlavor",
        "path": "Section.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": "Section.templateId:primary.assigningAuthorityName",
        "path": "Section.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": "Section.templateId:primary.displayable",
        "path": "Section.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": "Section.templateId:primary.root",
        "path": "Section.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.22.2.21\" (CONF:1198-10376).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.root",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "2.16.840.1.113883.10.20.22.2.21"
      },
      {
        "id": "Section.templateId:primary.extension",
        "path": "Section.templateId.extension",
        "representation": [
          "xmlAttr"
        ],
        "label": "Extension",
        "definition": "A character string as a unique identifier within the scope of the identifier root.",
        "requirements": "SHALL contain exactly one [1..1] @extension=\"2015-08-01\" (CONF:1198-32497).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "2015-08-01"
      },
      {
        "id": "Section.id",
        "path": "Section.id",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Section.code",
        "path": "Section.code",
        "requirements": "SHALL contain exactly one [1..1] code (CONF:1198-15340).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CE"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-DocumentSectionType"
        }
      },
      {
        "id": "Section.code.nullFlavor",
        "path": "Section.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": "Section.code.code",
        "path": "Section.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=\"42348-3\" Advance Directives (CONF:1198-15342).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CD.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "42348-3"
      },
      {
        "id": "Section.code.codeSystem",
        "path": "Section.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=\"2.16.840.1.113883.6.1\" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:1198-30812).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CD.codeSystem",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "2.16.840.1.113883.6.1"
      },
      {
        "id": "Section.code.codeSystemName",
        "path": "Section.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": "Section.code.codeSystemVersion",
        "path": "Section.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": "Section.code.displayName",
        "path": "Section.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": "Section.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": "Section.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": "Section.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": "Section.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": "Section.code.originalText",
        "path": "Section.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": "Section.code.qualifier",
        "path": "Section.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": "Section.code.translation",
        "path": "Section.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": "Section.title",
        "path": "Section.title",
        "requirements": "SHALL contain exactly one [1..1] title (CONF:1198-7930).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.title",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ST"
          }
        ]
      },
      {
        "id": "Section.text",
        "path": "Section.text",
        "representation": [
          "cdaText"
        ],
        "requirements": "SHALL contain exactly one [1..1] text (CONF:1198-7931).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "xhtml"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Section.confidentialityCode",
        "path": "Section.confidentialityCode",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.confidentialityCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CE"
          }
        ]
      },
      {
        "id": "Section.languageCode",
        "path": "Section.languageCode",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.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": "Section.subject",
        "path": "Section.subject",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "Section.subject.typeCode",
        "path": "Section.subject.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.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": "Section.subject.contextControlCode",
        "path": "Section.subject.contextControlCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.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": "Section.subject.awarenessCode",
        "path": "Section.subject.awarenessCode",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.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": "Section.subject.relatedSubject",
        "path": "Section.subject.relatedSubject",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.subject.relatedSubject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/RelatedSubject"
          }
        ]
      },
      {
        "id": "Section.author",
        "path": "Section.author",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Section.author",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Author"
          }
        ]
      },
      {
        "id": "Section.informant",
        "path": "Section.informant",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Section.informant",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "Section.informant.typeCode",
        "path": "Section.informant.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.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": "Section.informant.contextControlCode",
        "path": "Section.informant.contextControlCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.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": "Section.informant.assignedEntity",
        "path": "Section.informant.assignedEntity",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.informant.assignedEntity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"
          }
        ]
      },
      {
        "id": "Section.informant.relatedEntity",
        "path": "Section.informant.relatedEntity",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.informant.relatedEntity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/RelatedEntity"
          }
        ]
      },
      {
        "id": "Section.entry",
        "path": "Section.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "exists",
              "path": "*"
            }
          ],
          "rules": "open"
        },
        "min": 0,
        "max": "*",
        "base": {
          "path": "Section.entry",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "only-one-statement",
            "severity": "error",
            "human": "SHALL have no more than one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer or act.",
            "expression": "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1",
            "source": "http://hl7.org/fhir/cda/StructureDefinition/Section"
          }
        ]
      },
      {
        "id": "Section.entry.typeCode",
        "path": "Section.entry.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.entry.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "COMP"
      },
      {
        "id": "Section.entry.contextConductionInd",
        "path": "Section.entry.contextConductionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.entry.contextConductionInd",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "defaultValueBoolean": true
      },
      {
        "id": "Section.entry.observation",
        "path": "Section.entry.observation",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.entry.observation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Observation"
          }
        ]
      },
      {
        "id": "Section.entry.regionOfInterest",
        "path": "Section.entry.regionOfInterest",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.entry.regionOfInterest",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"
          }
        ]
      },
      {
        "id": "Section.entry.observationMedia",
        "path": "Section.entry.observationMedia",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.entry.observationMedia",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"
          }
        ]
      },
      {
        "id": "Section.entry.substanceAdministration",
        "path": "Section.entry.substanceAdministration",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.entry.substanceAdministration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"
          }
        ]
      },
      {
        "id": "Section.entry.supply",
        "path": "Section.entry.supply",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.entry.supply",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Supply"
          }
        ]
      },
      {
        "id": "Section.entry.procedure",
        "path": "Section.entry.procedure",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.entry.procedure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Procedure"
          }
        ]
      },
      {
        "id": "Section.entry.encounter",
        "path": "Section.entry.encounter",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.entry.encounter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Encounter"
          }
        ]
      },
      {
        "id": "Section.entry.organizer",
        "path": "Section.entry.organizer",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.entry.organizer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Organizer"
          }
        ]
      },
      {
        "id": "Section.entry.act",
        "path": "Section.entry.act",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Section.entry.act",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Act"
          }
        ]
      },
      {
        "id": "Section.entry:observation",
        "path": "Section.entry",
        "sliceName": "observation",
        "requirements": "MAY contain zero or more [0..*] entry (CONF:1198-7957) such that it",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Section.entry",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "only-one-statement",
            "severity": "error",
            "human": "SHALL have no more than one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer or act.",
            "expression": "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1",
            "source": "http://hl7.org/fhir/cda/StructureDefinition/Section"
          }
        ]
      },
      {
        "id": "Section.entry:observation.typeCode",
        "path": "Section.entry.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.entry.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "COMP"
      },
      {
        "id": "Section.entry:observation.contextConductionInd",
        "path": "Section.entry.contextConductionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.entry.contextConductionInd",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "defaultValueBoolean": true
      },
      {
        "id": "Section.entry:observation.observation",
        "path": "Section.entry.observation",
        "requirements": "SHALL contain exactly one [1..1] Advance Directive Observation (V3) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.48:2015-08-01) (CONF:1198-15443).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.entry.observation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Observation",
            "profile": [
              "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.48"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Section.entry:observation.regionOfInterest",
        "path": "Section.entry.regionOfInterest",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.regionOfInterest",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"
          }
        ]
      },
      {
        "id": "Section.entry:observation.observationMedia",
        "path": "Section.entry.observationMedia",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.observationMedia",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"
          }
        ]
      },
      {
        "id": "Section.entry:observation.substanceAdministration",
        "path": "Section.entry.substanceAdministration",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.substanceAdministration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"
          }
        ]
      },
      {
        "id": "Section.entry:observation.supply",
        "path": "Section.entry.supply",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.supply",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Supply"
          }
        ]
      },
      {
        "id": "Section.entry:observation.procedure",
        "path": "Section.entry.procedure",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.procedure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Procedure"
          }
        ]
      },
      {
        "id": "Section.entry:observation.encounter",
        "path": "Section.entry.encounter",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.encounter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Encounter"
          }
        ]
      },
      {
        "id": "Section.entry:observation.organizer",
        "path": "Section.entry.organizer",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.organizer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Organizer"
          }
        ]
      },
      {
        "id": "Section.entry:observation.act",
        "path": "Section.entry.act",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.act",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Act"
          }
        ]
      },
      {
        "id": "Section.entry:organizer",
        "path": "Section.entry",
        "sliceName": "organizer",
        "requirements": "MAY contain zero or more [0..*] entry (CONF:1198-32891) such that it",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Section.entry",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "only-one-statement",
            "severity": "error",
            "human": "SHALL have no more than one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer or act.",
            "expression": "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1",
            "source": "http://hl7.org/fhir/cda/StructureDefinition/Section"
          }
        ]
      },
      {
        "id": "Section.entry:organizer.typeCode",
        "path": "Section.entry.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.entry.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "COMP"
      },
      {
        "id": "Section.entry:organizer.contextConductionInd",
        "path": "Section.entry.contextConductionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.entry.contextConductionInd",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "defaultValueBoolean": true
      },
      {
        "id": "Section.entry:organizer.observation",
        "path": "Section.entry.observation",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.observation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Observation"
          }
        ]
      },
      {
        "id": "Section.entry:organizer.regionOfInterest",
        "path": "Section.entry.regionOfInterest",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.regionOfInterest",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"
          }
        ]
      },
      {
        "id": "Section.entry:organizer.observationMedia",
        "path": "Section.entry.observationMedia",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.observationMedia",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"
          }
        ]
      },
      {
        "id": "Section.entry:organizer.substanceAdministration",
        "path": "Section.entry.substanceAdministration",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.substanceAdministration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"
          }
        ]
      },
      {
        "id": "Section.entry:organizer.supply",
        "path": "Section.entry.supply",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.supply",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Supply"
          }
        ]
      },
      {
        "id": "Section.entry:organizer.procedure",
        "path": "Section.entry.procedure",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.procedure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Procedure"
          }
        ]
      },
      {
        "id": "Section.entry:organizer.encounter",
        "path": "Section.entry.encounter",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.encounter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Encounter"
          }
        ]
      },
      {
        "id": "Section.entry:organizer.organizer",
        "path": "Section.entry.organizer",
        "requirements": "SHALL contain exactly one [1..1] Advance Directive Organizer (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.108:2015-08-01) (CONF:1198-32892).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.entry.organizer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Organizer",
            "profile": [
              "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.108"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Section.entry:organizer.act",
        "path": "Section.entry.act",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Section.entry.act",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Act"
          }
        ]
      },
      {
        "id": "Section.component",
        "path": "Section.component",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Section.component",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "Section.component.typeCode",
        "path": "Section.component.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "definition": "Drawn from concept domain DocumentSectionType",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.component.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "COMP",
        "fixedCode": "COMP"
      },
      {
        "id": "Section.component.contextConductionInd",
        "path": "Section.component.contextConductionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.component.contextConductionInd",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "defaultValueBoolean": true
      },
      {
        "id": "Section.component.section",
        "path": "Section.component.section",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.component.section",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Section"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Section",
        "path": "Section"
      },
      {
        "id": "Section.templateId",
        "path": "Section.templateId",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "root"
            },
            {
              "type": "value",
              "path": "extension"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Section.templateId:primary",
        "path": "Section.templateId",
        "sliceName": "primary",
        "requirements": "SHALL contain exactly one [1..1] templateId (CONF:1198-7928) such that it",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Section.templateId:primary.root",
        "path": "Section.templateId.root",
        "requirements": "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.2.21\" (CONF:1198-10376).",
        "min": 1,
        "max": "1",
        "patternString": "2.16.840.1.113883.10.20.22.2.21"
      },
      {
        "id": "Section.templateId:primary.extension",
        "path": "Section.templateId.extension",
        "requirements": "SHALL contain exactly one [1..1] @extension=\"2015-08-01\" (CONF:1198-32497).",
        "min": 1,
        "max": "1",
        "patternString": "2015-08-01"
      },
      {
        "id": "Section.code",
        "path": "Section.code",
        "requirements": "SHALL contain exactly one [1..1] code (CONF:1198-15340).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Section.code.code",
        "path": "Section.code.code",
        "requirements": "This code SHALL contain exactly one [1..1] @code=\"42348-3\" Advance Directives (CONF:1198-15342).",
        "min": 1,
        "max": "1",
        "patternString": "42348-3"
      },
      {
        "id": "Section.code.codeSystem",
        "path": "Section.code.codeSystem",
        "requirements": "This code SHALL contain exactly one [1..1] @codeSystem=\"2.16.840.1.113883.6.1\" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:1198-30812).",
        "min": 1,
        "max": "1",
        "patternString": "2.16.840.1.113883.6.1"
      },
      {
        "id": "Section.title",
        "path": "Section.title",
        "requirements": "SHALL contain exactly one [1..1] title (CONF:1198-7930).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Section.text",
        "path": "Section.text",
        "requirements": "SHALL contain exactly one [1..1] text (CONF:1198-7931).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Section.entry",
        "path": "Section.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "exists",
              "path": "*"
            }
          ],
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "Section.entry:observation",
        "path": "Section.entry",
        "sliceName": "observation",
        "requirements": "MAY contain zero or more [0..*] entry (CONF:1198-7957) such that it"
      },
      {
        "id": "Section.entry:observation.observation",
        "path": "Section.entry.observation",
        "requirements": "SHALL contain exactly one [1..1] Advance Directive Observation (V3) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.48:2015-08-01) (CONF:1198-15443).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Observation",
            "profile": [
              "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.48"
            ]
          }
        ]
      },
      {
        "id": "Section.entry:organizer",
        "path": "Section.entry",
        "sliceName": "organizer",
        "requirements": "MAY contain zero or more [0..*] entry (CONF:1198-32891) such that it"
      },
      {
        "id": "Section.entry:organizer.organizer",
        "path": "Section.entry.organizer",
        "requirements": "SHALL contain exactly one [1..1] Advance Directive Organizer (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.108:2015-08-01) (CONF:1198-32892).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Organizer",
            "profile": [
              "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.108"
            ]
          }
        ]
      }
    ]
  }
}