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

FHIR IG Statistics: StructureDefinition/2.16.840.1.113883.10.20.22.2.1.1

Packagehl7.cda.us.ccdar2dot2
TypeStructureDefinition
Id2.16.840.1.113883.10.20.22.2.1.1
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.1.1.html
URLhttp://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.2.1.1
Version2.2
Statusactive
Date2022-05-13T15:50:12+00:00
NameMedicationsSectionEntriesRequired
TitleMedications Section (entries required)
Realmus
Authorityhl7
DescriptionThe Medications Section contains a patient's current medications and pertinent medication history. At a minimum, the currently active medications are listed. An entire medication history is an option. The section can describe a patient's prescription and dispense history and information about intended drug monitoring. This section requires either an entry indicating the subject is not known to be on any medications or entries summarizing the subject's medications.
TypeSection
Kindresource

Resources that use this resource

StructureDefinition
2.16.840.1.113883.10.20.22.1.13Transfer Summary
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

Resources that this resource uses

StructureDefinition
2.16.840.1.113883.10.20.22.2.1Medications Section (entries optional)

Narrative

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Section 1..1MedicationsSectionEntriesOptional
... nullFlavor 0..1codeRequired Pattern: NI
... Slices for templateId 0..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:secondary 1..1II
..... root 1..1stringRequired Pattern: 2.16.840.1.113883.10.20.22.2.1.1
..... extension 1..1stringRequired Pattern: 2014-06-09
... code 1..1CE
.... code 1..1stringRequired Pattern: 10160-0
.... codeSystem 1..1stringRequired Pattern: 2.16.840.1.113883.6.1
... title 1..1ED
... text 1..1xhtml
... Slices for entry 1..*ElementIf section/@nullFlavor is not present:
Slice: Unordered, Open by value:substanceAdministration
.... entry:medActivity 1..*Element

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "2.16.840.1.113883.10.20.22.2.1.1",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.2.1.1",
  "identifier": [
    {
      "value": "urn:hl7ii:2.16.840.1.113883.10.20.22.2.1.1:2014-06-09"
    }
  ],
  "version": "2.2",
  "name": "MedicationsSectionEntriesRequired",
  "title": "Medications Section (entries required)",
  "status": "active",
  "date": "2022-05-13T15:50:12+00:00",
  "publisher": "Health Level Seven",
  "contact": [
    {
      "name": "HL7 International - Structured Documents",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/structure"
        }
      ]
    }
  ],
  "description": "The Medications Section contains a patient's current medications and pertinent medication history. At a minimum, the currently active medications are listed. An entire medication history is an option. The section can describe a patient's prescription and dispense history and information about intended drug monitoring. \r\n\r\nThis section requires either an entry indicating the subject is not known to be on any medications or entries summarizing the subject's medications.",
  "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/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.2.1",
  "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"
        ],
        "requirements": "MAY contain zero or one [0..1] @nullFlavor=\"NI\" No information (CodeSystem: HL7NullFlavor urn:oid:2.16.840.1.113883.5.1008) (CONF:1098-32845).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ANY.nullFlavor",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "NI",
        "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:1098-7791) 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.1\" (CONF:1098-10432).",
        "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.1"
      },
      {
        "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=\"2014-06-09\" (CONF:1098-32500).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "2014-06-09"
      },
      {
        "id": "Section.templateId:secondary",
        "path": "Section.templateId",
        "sliceName": "secondary",
        "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:1098-7568) 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:secondary.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:secondary.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:secondary.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:secondary.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.1.1\" (CONF:1098-10433).",
        "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.1.1"
      },
      {
        "id": "Section.templateId:secondary.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=\"2014-06-09\" (CONF:1098-32499).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "2014-06-09"
      },
      {
        "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:1098-15387).",
        "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=\"10160-0\" History of medication use (CONF:1098-15388).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CD.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "10160-0"
      },
      {
        "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:1098-30825).",
        "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:1098-7570).",
        "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:1098-7571).",
        "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": "value",
              "path": "substanceAdministration"
            }
          ],
          "rules": "open"
        },
        "short": "If section/@nullFlavor is not present:",
        "min": 1,
        "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:medActivity",
        "path": "Section.entry",
        "sliceName": "medActivity",
        "requirements": "SHALL contain at least one [1..*] entry (CONF:1098-7572) such that it",
        "min": 1,
        "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:medActivity.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:medActivity.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:medActivity.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:medActivity.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:medActivity.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:medActivity.substanceAdministration",
        "path": "Section.entry.substanceAdministration",
        "requirements": "SHALL contain exactly one [1..1] Medication Activity (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.16:2014-06-09) (CONF:1098-10076).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Section.entry.substanceAdministration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration",
            "profile": [
              "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.16"
            ]
          }
        ],
        "constraint": [
          {
            "key": "1098-30800",
            "severity": "warning",
            "human": "Medication Activity **SHOULD** include doseQuantity **OR** rateQuantity (CONF:1098-30800).",
            "source": "http://hl7.org/fhir/cda/StructureDefinition/Section"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Section.entry:medActivity.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:medActivity.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:medActivity.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:medActivity.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:medActivity.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.nullFlavor",
        "path": "Section.nullFlavor",
        "requirements": "MAY contain zero or one [0..1] @nullFlavor=\"NI\" No information (CodeSystem: HL7NullFlavor urn:oid:2.16.840.1.113883.5.1008) (CONF:1098-32845).",
        "min": 0,
        "max": "1",
        "patternCode": "NI"
      },
      {
        "id": "Section.templateId",
        "path": "Section.templateId",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "root"
            },
            {
              "type": "value",
              "path": "extension"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Section.templateId:secondary",
        "path": "Section.templateId",
        "sliceName": "secondary",
        "requirements": "SHALL contain exactly one [1..1] templateId (CONF:1098-7568) such that it",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Section.templateId:secondary.root",
        "path": "Section.templateId.root",
        "requirements": "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.2.1.1\" (CONF:1098-10433).",
        "min": 1,
        "max": "1",
        "patternString": "2.16.840.1.113883.10.20.22.2.1.1"
      },
      {
        "id": "Section.templateId:secondary.extension",
        "path": "Section.templateId.extension",
        "requirements": "SHALL contain exactly one [1..1] @extension=\"2014-06-09\" (CONF:1098-32499).",
        "min": 1,
        "max": "1",
        "patternString": "2014-06-09"
      },
      {
        "id": "Section.code",
        "path": "Section.code",
        "requirements": "SHALL contain exactly one [1..1] code (CONF:1098-15387).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Section.code.code",
        "path": "Section.code.code",
        "requirements": "This code SHALL contain exactly one [1..1] @code=\"10160-0\" History of medication use (CONF:1098-15388).",
        "min": 1,
        "max": "1",
        "patternString": "10160-0"
      },
      {
        "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:1098-30825).",
        "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:1098-7570).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Section.text",
        "path": "Section.text",
        "requirements": "SHALL contain exactly one [1..1] text (CONF:1098-7571).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Section.entry",
        "path": "Section.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "substanceAdministration"
            }
          ],
          "rules": "open"
        },
        "short": "If section/@nullFlavor is not present:",
        "min": 1
      },
      {
        "id": "Section.entry:medActivity",
        "path": "Section.entry",
        "sliceName": "medActivity",
        "requirements": "SHALL contain at least one [1..*] entry (CONF:1098-7572) such that it",
        "min": 1,
        "max": "*"
      }
    ]
  }
}