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

FHIR IG Statistics: StructureDefinition/2.16.840.1.113883.10.20.22.4.30

Packagehl7.cda.us.ccdar2dot2
TypeStructureDefinition
Id2.16.840.1.113883.10.20.22.4.30
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.4.30.html
URLhttp://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.30
Version2.2
Statusactive
Date2022-05-13T15:50:12+00:00
NameAllergyConcernAct
TitleAllergy Concern Act
Realmus
Authorityhl7
DescriptionThis template reflects an ongoing concern on behalf of the provider that placed the allergy on a patients allergy list. As long as the underlying condition is of concern to the provider (i.e., as long as the allergy, whether active or resolved, is of ongoing concern and interest to the provider), the statusCode is active. Only when the underlying allergy is no longer of concern is the statusCode set to completed. The effectiveTime reflects the time that the underlying allergy was felt to be a concern. The statusCode of the Allergy Concern Act is the definitive indication of the status of the concern, whereas the effectiveTime of the nested Allergy - Intolerance Observation is the definitive indication of whether or not the underlying allergy is resolved. The effectiveTime/low of the Allergy Concern Act asserts when the concern became active. This equates to the time the concern was authored in the patient's chart. The effectiveTime/high asserts when the concern was completed (e.g., when the clinician deemed there is no longer any need to track the underlying condition).
TypeAct
Kindresource

Resources that use this resource

StructureDefinition
2.16.840.1.113883.10.20.22.2.6.1Allergies and Intolerances Section (entries required)
2.16.840.1.113883.10.20.22.2.6Allergies and Intolerances Section (entries optional)

Resources that this resource uses

StructureDefinition
2.16.840.1.113883.10.20.22.4.119Author Participation
2.16.840.1.113883.10.20.22.4.7Allergy - Intolerance Observation

Narrative

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Act 1..1CDAR2.Act
... classCode 1..1codeRequired Pattern: ACT
... moodCode 1..1codeRequired Pattern: EVN
... Slices for templateId 0..*IISlice: Unordered, Open by value:extension, value:root
.... templateId:primary 1..1II
..... root 1..1stringRequired Pattern: 2.16.840.1.113883.10.20.22.4.30
..... extension 1..1stringRequired Pattern: 2015-08-01
... id 1..*II
... code 1..1CD
.... code 1..1stringRequired Pattern: CONC
.... codeSystem 1..1stringRequired Pattern: 2.16.840.1.113883.5.6
... statusCode 1..1CS
.... code 1..1stringBinding: https://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.19 (required)
... effectiveTime I1..1IVL_TS1198-10085: If statusCode/@code="completed" Completed, then effectiveTime **SHALL** contain [1..1] high (CONF:1198-10085).
1198-7504: If statusCode/@code="active" Active, then effectiveTime **SHALL** contain [1..1] low (CONF:1198-7504).
... author 0..*AuthorParticipation
... Slices for entryRelationship 0..*ElementSlice: Unordered, Open by profile:observation
.... entryRelationship:allergyObs 1..*Element
..... typeCode 1..1codeRequired Pattern: SUBJ
..... observation 1..1AllergyIntoleranceObservation

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "2.16.840.1.113883.10.20.22.4.30",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.30",
  "identifier": [
    {
      "value": "urn:hl7ii:2.16.840.1.113883.10.20.22.4.30:2015-08-01"
    }
  ],
  "version": "2.2",
  "name": "AllergyConcernAct",
  "title": "Allergy Concern Act",
  "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 template reflects an ongoing concern on behalf of the provider that placed the allergy on a patients allergy list. As long as the underlying condition is of concern to the provider (i.e., as long as the allergy, whether active or resolved, is of ongoing concern and interest to the provider), the statusCode is active. Only when the underlying allergy is no longer of concern is the statusCode set to completed. The effectiveTime reflects the time that the underlying allergy was felt to be a concern.\n\nThe statusCode of the Allergy Concern Act is the definitive indication of the status of the concern, whereas the effectiveTime of the nested Allergy - Intolerance Observation is the definitive indication of whether or not the underlying allergy is resolved. \n\nThe effectiveTime/low of the Allergy Concern Act asserts when the concern became active. This equates to the time the concern was authored in the patient's chart. The effectiveTime/high asserts when the concern was completed (e.g., when the clinician deemed there is no longer any need to track the underlying condition).",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Act",
  "baseDefinition": "http://hl7.org/fhir/cda/StructureDefinition/Act",
  "derivation": "constraint",
  "snapshot": {
    "element": [
      {
        "id": "Act",
        "path": "Act",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "Act.classCode",
        "path": "Act.classCode",
        "representation": [
          "xmlAttr"
        ],
        "requirements": "SHALL contain exactly one [1..1] @classCode=\"ACT\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-7469).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.classCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "ACT"
      },
      {
        "id": "Act.moodCode",
        "path": "Act.moodCode",
        "representation": [
          "xmlAttr"
        ],
        "requirements": "SHALL contain exactly one [1..1] @moodCode=\"EVN\" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1198-7470).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.moodCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "EVN"
      },
      {
        "id": "Act.realmCode",
        "path": "Act.realmCode",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Act.realmCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CS"
          }
        ]
      },
      {
        "id": "Act.typeId",
        "path": "Act.typeId",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.typeId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Act.templateId",
        "path": "Act.templateId",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "extension"
            },
            {
              "type": "value",
              "path": "root"
            }
          ],
          "rules": "open"
        },
        "definition": "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Act.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Act.templateId:primary",
        "path": "Act.templateId",
        "sliceName": "primary",
        "definition": "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question",
        "requirements": "SHALL contain exactly one [1..1] templateId (CONF:1198-7471) such that it",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.templateId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Act.templateId:primary.nullFlavor",
        "path": "Act.templateId.nullFlavor",
        "representation": [
          "xmlAttr"
        ],
        "label": "Exceptional Value Detail",
        "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ANY.nullFlavor",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-NullFlavor"
        }
      },
      {
        "id": "Act.templateId:primary.assigningAuthorityName",
        "path": "Act.templateId.assigningAuthorityName",
        "representation": [
          "xmlAttr"
        ],
        "label": "Assigning Authority Name",
        "definition": "A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "II.assigningAuthorityName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Act.templateId:primary.displayable",
        "path": "Act.templateId.displayable",
        "representation": [
          "xmlAttr"
        ],
        "label": "Displayable",
        "definition": "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "II.displayable",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Act.templateId:primary.root",
        "path": "Act.templateId.root",
        "representation": [
          "xmlAttr"
        ],
        "label": "Root",
        "definition": "A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier.",
        "requirements": "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.30\" (CONF:1198-10489).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.root",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "2.16.840.1.113883.10.20.22.4.30"
      },
      {
        "id": "Act.templateId:primary.extension",
        "path": "Act.templateId.extension",
        "representation": [
          "xmlAttr"
        ],
        "label": "Extension",
        "definition": "A character string as a unique identifier within the scope of the identifier root.",
        "requirements": "SHALL contain exactly one [1..1] @extension=\"2015-08-01\" (CONF:1198-32543).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "II.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "2015-08-01"
      },
      {
        "id": "Act.id",
        "path": "Act.id",
        "requirements": "SHALL contain at least one [1..*] id (CONF:1198-7472).",
        "min": 1,
        "max": "*",
        "base": {
          "path": "Act.id",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/II"
          }
        ]
      },
      {
        "id": "Act.code",
        "path": "Act.code",
        "requirements": "SHALL contain exactly one [1..1] code (CONF:1198-7477).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.code",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CD"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActCode"
        }
      },
      {
        "id": "Act.code.nullFlavor",
        "path": "Act.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": "Act.code.code",
        "path": "Act.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=\"CONC\" Concern (CONF:1198-19158).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CD.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "CONC"
      },
      {
        "id": "Act.code.codeSystem",
        "path": "Act.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.5.6\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:1198-32154).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CD.codeSystem",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "patternString": "2.16.840.1.113883.5.6"
      },
      {
        "id": "Act.code.codeSystemName",
        "path": "Act.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": "Act.code.codeSystemVersion",
        "path": "Act.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": "Act.code.displayName",
        "path": "Act.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": "Act.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": "Act.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": "Act.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": "Act.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": "Act.code.originalText",
        "path": "Act.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": "Act.code.qualifier",
        "path": "Act.code.qualifier",
        "label": "Qualifier",
        "definition": "Specifies additional codes that increase the specificity of the the primary code.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "CD.qualifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CR"
          }
        ]
      },
      {
        "id": "Act.code.translation",
        "path": "Act.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": "Act.negationInd",
        "path": "Act.negationInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.negationInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Act.text",
        "path": "Act.text",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ED"
          }
        ]
      },
      {
        "id": "Act.statusCode",
        "path": "Act.statusCode",
        "requirements": "SHALL contain exactly one [1..1] statusCode (CONF:1198-7485).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.statusCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CS"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActStatus"
        }
      },
      {
        "id": "Act.statusCode.nullFlavor",
        "path": "Act.statusCode.nullFlavor",
        "representation": [
          "xmlAttr"
        ],
        "label": "Exceptional Value Detail",
        "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ANY.nullFlavor",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-NullFlavor"
        }
      },
      {
        "id": "Act.statusCode.code",
        "path": "Act.statusCode.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 statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet ProblemAct statusCode urn:oid:2.16.840.1.113883.11.20.9.19 STATIC (CONF:1198-19086).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CD.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.19"
        }
      },
      {
        "id": "Act.statusCode.codeSystem",
        "path": "Act.statusCode.codeSystem",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System",
        "definition": "Specifies the code system that defines the code.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.codeSystem",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Act.statusCode.codeSystemName",
        "path": "Act.statusCode.codeSystemName",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System Name",
        "definition": "The common name of the coding system.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.codeSystemName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Act.statusCode.codeSystemVersion",
        "path": "Act.statusCode.codeSystemVersion",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System Version",
        "definition": "If applicable, a version descriptor defined specifically for the given code system.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.codeSystemVersion",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Act.statusCode.displayName",
        "path": "Act.statusCode.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": "0",
        "base": {
          "path": "CD.displayName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Act.statusCode.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": "Act.statusCode.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": "Act.statusCode.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": "Act.statusCode.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": "Act.statusCode.originalText",
        "path": "Act.statusCode.originalText",
        "label": "Original Text",
        "definition": "The text or phrase used as the basis for the coding.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.originalText",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ED"
          }
        ]
      },
      {
        "id": "Act.statusCode.qualifier",
        "path": "Act.statusCode.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": "Act.statusCode.translation",
        "path": "Act.statusCode.translation",
        "representation": [
          "typeAttr"
        ],
        "label": "Translation",
        "definition": "A set of other concept descriptors that translate this concept descriptor into other code systems.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.translation",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CD"
          }
        ]
      },
      {
        "id": "Act.effectiveTime",
        "path": "Act.effectiveTime",
        "requirements": "SHALL contain exactly one [1..1] effectiveTime (CONF:1198-7498).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.effectiveTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"
          }
        ],
        "constraint": [
          {
            "key": "1198-10085",
            "severity": "error",
            "human": "If statusCode/@code=\"completed\" Completed, then effectiveTime **SHALL** contain [1..1] high (CONF:1198-10085)."
          },
          {
            "key": "1198-7504",
            "severity": "error",
            "human": "If statusCode/@code=\"active\" Active, then effectiveTime **SHALL** contain [1..1] low (CONF:1198-7504)."
          }
        ]
      },
      {
        "id": "Act.priorityCode",
        "path": "Act.priorityCode",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.priorityCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CE"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActPriority"
        }
      },
      {
        "id": "Act.languageCode",
        "path": "Act.languageCode",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.languageCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CS"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-HumanLanguage"
        }
      },
      {
        "id": "Act.subject",
        "path": "Act.subject",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "Act.subject.typeCode",
        "path": "Act.subject.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.subject.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "SBJ",
        "fixedCode": "SBJ",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject"
        }
      },
      {
        "id": "Act.subject.contextControlCode",
        "path": "Act.subject.contextControlCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.subject.contextControlCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "OP",
        "fixedCode": "OP",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ContextControl"
        }
      },
      {
        "id": "Act.subject.awarenessCode",
        "path": "Act.subject.awarenessCode",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.subject.awarenessCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/CE"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-TargetAwareness"
        }
      },
      {
        "id": "Act.subject.relatedSubject",
        "path": "Act.subject.relatedSubject",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.subject.relatedSubject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/RelatedSubject"
          }
        ]
      },
      {
        "id": "Act.specimen",
        "path": "Act.specimen",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Act.specimen",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Specimen"
          }
        ]
      },
      {
        "id": "Act.performer",
        "path": "Act.performer",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Act.performer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Performer2"
          }
        ]
      },
      {
        "id": "Act.author",
        "path": "Act.author",
        "requirements": "SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1198-31145).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Act.author",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Author",
            "profile": [
              "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.119"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Act.informant",
        "path": "Act.informant",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Act.informant",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "Act.informant.typeCode",
        "path": "Act.informant.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.informant.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "INF",
        "fixedCode": "INF",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator"
        }
      },
      {
        "id": "Act.informant.contextControlCode",
        "path": "Act.informant.contextControlCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.informant.contextControlCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "OP",
        "fixedCode": "OP",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ContextControl"
        }
      },
      {
        "id": "Act.informant.assignedEntity",
        "path": "Act.informant.assignedEntity",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.informant.assignedEntity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"
          }
        ]
      },
      {
        "id": "Act.informant.relatedEntity",
        "path": "Act.informant.relatedEntity",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.informant.relatedEntity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/RelatedEntity"
          }
        ]
      },
      {
        "id": "Act.participant",
        "path": "Act.participant",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Act.participant",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Participant2"
          }
        ]
      },
      {
        "id": "Act.entryRelationship",
        "path": "Act.entryRelationship",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "observation"
            }
          ],
          "rules": "open"
        },
        "min": 0,
        "max": "*",
        "base": {
          "path": "Act.entryRelationship",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "act-er-1",
            "severity": "error",
            "human": "Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act",
            "expression": "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1",
            "source": "http://hl7.org/fhir/cda/StructureDefinition/Act"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.typeCode",
        "path": "Act.entryRelationship.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.inversionInd",
        "path": "Act.entryRelationship.inversionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.inversionInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.contextConductionInd",
        "path": "Act.entryRelationship.contextConductionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.contextConductionInd",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "defaultValueBoolean": true
      },
      {
        "id": "Act.entryRelationship.sequenceNumber",
        "path": "Act.entryRelationship.sequenceNumber",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.sequenceNumber",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/INT"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.negationInd",
        "path": "Act.entryRelationship.negationInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.negationInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.seperatableInd",
        "path": "Act.entryRelationship.seperatableInd",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.seperatableInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/BL"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.observation",
        "path": "Act.entryRelationship.observation",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.observation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Observation"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.regionOfInterest",
        "path": "Act.entryRelationship.regionOfInterest",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.regionOfInterest",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.observationMedia",
        "path": "Act.entryRelationship.observationMedia",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.observationMedia",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.substanceAdministration",
        "path": "Act.entryRelationship.substanceAdministration",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.substanceAdministration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.supply",
        "path": "Act.entryRelationship.supply",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.supply",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Supply"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.procedure",
        "path": "Act.entryRelationship.procedure",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.procedure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Procedure"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.encounter",
        "path": "Act.entryRelationship.encounter",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.encounter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Encounter"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.organizer",
        "path": "Act.entryRelationship.organizer",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.organizer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Organizer"
          }
        ]
      },
      {
        "id": "Act.entryRelationship.act",
        "path": "Act.entryRelationship.act",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.act",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Act"
          }
        ]
      },
      {
        "id": "Act.entryRelationship:allergyObs",
        "path": "Act.entryRelationship",
        "sliceName": "allergyObs",
        "requirements": "SHALL contain at least one [1..*] entryRelationship (CONF:1198-7509) such that it",
        "min": 1,
        "max": "*",
        "base": {
          "path": "Act.entryRelationship",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "act-er-1",
            "severity": "error",
            "human": "Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act",
            "expression": "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1",
            "source": "http://hl7.org/fhir/cda/StructureDefinition/Act"
          }
        ]
      },
      {
        "id": "Act.entryRelationship:allergyObs.typeCode",
        "path": "Act.entryRelationship.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "requirements": "SHALL contain exactly one [1..1] @typeCode=\"SUBJ\" Has subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-7915).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "patternCode": "SUBJ"
      },
      {
        "id": "Act.entryRelationship:allergyObs.inversionInd",
        "path": "Act.entryRelationship.inversionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.inversionInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Act.entryRelationship:allergyObs.contextConductionInd",
        "path": "Act.entryRelationship.contextConductionInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.contextConductionInd",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "defaultValueBoolean": true
      },
      {
        "id": "Act.entryRelationship:allergyObs.sequenceNumber",
        "path": "Act.entryRelationship.sequenceNumber",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.sequenceNumber",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/INT"
          }
        ]
      },
      {
        "id": "Act.entryRelationship:allergyObs.negationInd",
        "path": "Act.entryRelationship.negationInd",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.negationInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Act.entryRelationship:allergyObs.seperatableInd",
        "path": "Act.entryRelationship.seperatableInd",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.seperatableInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/BL"
          }
        ]
      },
      {
        "id": "Act.entryRelationship:allergyObs.observation",
        "path": "Act.entryRelationship.observation",
        "requirements": "SHALL contain exactly one [1..1] Allergy - Intolerance Observation (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.7:2014-06-09) (CONF:1198-14925).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.entryRelationship.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.7"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Act.entryRelationship:allergyObs.regionOfInterest",
        "path": "Act.entryRelationship.regionOfInterest",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Act.entryRelationship.regionOfInterest",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"
          }
        ]
      },
      {
        "id": "Act.entryRelationship:allergyObs.observationMedia",
        "path": "Act.entryRelationship.observationMedia",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Act.entryRelationship.observationMedia",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"
          }
        ]
      },
      {
        "id": "Act.entryRelationship:allergyObs.substanceAdministration",
        "path": "Act.entryRelationship.substanceAdministration",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Act.entryRelationship.substanceAdministration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"
          }
        ]
      },
      {
        "id": "Act.entryRelationship:allergyObs.supply",
        "path": "Act.entryRelationship.supply",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Act.entryRelationship.supply",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Supply"
          }
        ]
      },
      {
        "id": "Act.entryRelationship:allergyObs.procedure",
        "path": "Act.entryRelationship.procedure",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Act.entryRelationship.procedure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Procedure"
          }
        ]
      },
      {
        "id": "Act.entryRelationship:allergyObs.encounter",
        "path": "Act.entryRelationship.encounter",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Act.entryRelationship.encounter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Encounter"
          }
        ]
      },
      {
        "id": "Act.entryRelationship:allergyObs.organizer",
        "path": "Act.entryRelationship.organizer",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Act.entryRelationship.organizer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Organizer"
          }
        ]
      },
      {
        "id": "Act.entryRelationship:allergyObs.act",
        "path": "Act.entryRelationship.act",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Act.entryRelationship.act",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Act"
          }
        ]
      },
      {
        "id": "Act.reference",
        "path": "Act.reference",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Act.reference",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "Act.reference.typeCode",
        "path": "Act.reference.typeCode",
        "representation": [
          "xmlAttr"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "Act.reference.typeCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Act.reference.seperatableInd",
        "path": "Act.reference.seperatableInd",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.reference.seperatableInd",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/BL"
          }
        ]
      },
      {
        "id": "Act.reference.externalAct",
        "path": "Act.reference.externalAct",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.reference.externalAct",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ExternalAct"
          }
        ]
      },
      {
        "id": "Act.reference.externalObservation",
        "path": "Act.reference.externalObservation",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.reference.externalObservation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ExternalObservation"
          }
        ]
      },
      {
        "id": "Act.reference.externalProcedure",
        "path": "Act.reference.externalProcedure",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.reference.externalProcedure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ExternalProcedure"
          }
        ]
      },
      {
        "id": "Act.reference.externalDocument",
        "path": "Act.reference.externalDocument",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Act.reference.externalDocument",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/ExternalDocument"
          }
        ]
      },
      {
        "id": "Act.precondition",
        "path": "Act.precondition",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Act.precondition",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Precondition"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Act",
        "path": "Act"
      },
      {
        "id": "Act.classCode",
        "path": "Act.classCode",
        "requirements": "SHALL contain exactly one [1..1] @classCode=\"ACT\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-7469).",
        "min": 1,
        "max": "1",
        "patternCode": "ACT"
      },
      {
        "id": "Act.moodCode",
        "path": "Act.moodCode",
        "requirements": "SHALL contain exactly one [1..1] @moodCode=\"EVN\" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1198-7470).",
        "min": 1,
        "max": "1",
        "patternCode": "EVN"
      },
      {
        "id": "Act.templateId",
        "path": "Act.templateId",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "extension"
            },
            {
              "type": "value",
              "path": "root"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Act.templateId:primary",
        "path": "Act.templateId",
        "sliceName": "primary",
        "requirements": "SHALL contain exactly one [1..1] templateId (CONF:1198-7471) such that it",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Act.templateId:primary.root",
        "path": "Act.templateId.root",
        "requirements": "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.30\" (CONF:1198-10489).",
        "min": 1,
        "max": "1",
        "patternString": "2.16.840.1.113883.10.20.22.4.30"
      },
      {
        "id": "Act.templateId:primary.extension",
        "path": "Act.templateId.extension",
        "requirements": "SHALL contain exactly one [1..1] @extension=\"2015-08-01\" (CONF:1198-32543).",
        "min": 1,
        "max": "1",
        "patternString": "2015-08-01"
      },
      {
        "id": "Act.id",
        "path": "Act.id",
        "requirements": "SHALL contain at least one [1..*] id (CONF:1198-7472).",
        "min": 1,
        "max": "*"
      },
      {
        "id": "Act.code",
        "path": "Act.code",
        "requirements": "SHALL contain exactly one [1..1] code (CONF:1198-7477).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Act.code.code",
        "path": "Act.code.code",
        "requirements": "This code SHALL contain exactly one [1..1] @code=\"CONC\" Concern (CONF:1198-19158).",
        "min": 1,
        "max": "1",
        "patternString": "CONC"
      },
      {
        "id": "Act.code.codeSystem",
        "path": "Act.code.codeSystem",
        "requirements": "This code SHALL contain exactly one [1..1] @codeSystem=\"2.16.840.1.113883.5.6\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:1198-32154).",
        "min": 1,
        "max": "1",
        "patternString": "2.16.840.1.113883.5.6"
      },
      {
        "id": "Act.statusCode",
        "path": "Act.statusCode",
        "requirements": "SHALL contain exactly one [1..1] statusCode (CONF:1198-7485).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Act.statusCode.code",
        "path": "Act.statusCode.code",
        "requirements": "This statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet ProblemAct statusCode urn:oid:2.16.840.1.113883.11.20.9.19 STATIC (CONF:1198-19086).",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "https://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.19"
        }
      },
      {
        "id": "Act.effectiveTime",
        "path": "Act.effectiveTime",
        "requirements": "SHALL contain exactly one [1..1] effectiveTime (CONF:1198-7498).",
        "min": 1,
        "max": "1",
        "constraint": [
          {
            "key": "1198-10085",
            "severity": "error",
            "human": "If statusCode/@code=\"completed\" Completed, then effectiveTime **SHALL** contain [1..1] high (CONF:1198-10085)."
          },
          {
            "key": "1198-7504",
            "severity": "error",
            "human": "If statusCode/@code=\"active\" Active, then effectiveTime **SHALL** contain [1..1] low (CONF:1198-7504)."
          }
        ]
      },
      {
        "id": "Act.author",
        "path": "Act.author",
        "requirements": "SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1198-31145).",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://hl7.org/fhir/cda/StructureDefinition/Author",
            "profile": [
              "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.119"
            ]
          }
        ]
      },
      {
        "id": "Act.entryRelationship",
        "path": "Act.entryRelationship",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "observation"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Act.entryRelationship:allergyObs",
        "path": "Act.entryRelationship",
        "sliceName": "allergyObs",
        "requirements": "SHALL contain at least one [1..*] entryRelationship (CONF:1198-7509) such that it",
        "min": 1,
        "max": "*"
      },
      {
        "id": "Act.entryRelationship:allergyObs.typeCode",
        "path": "Act.entryRelationship.typeCode",
        "requirements": "SHALL contain exactly one [1..1] @typeCode=\"SUBJ\" Has subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-7915).",
        "min": 1,
        "max": "1",
        "patternCode": "SUBJ"
      },
      {
        "id": "Act.entryRelationship:allergyObs.observation",
        "path": "Act.entryRelationship.observation",
        "requirements": "SHALL contain exactly one [1..1] Allergy - Intolerance Observation (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.7:2014-06-09) (CONF:1198-14925).",
        "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.7"
            ]
          }
        ]
      }
    ]
  }
}