FHIR IG Statistics: StructureDefinition/2.16.840.1.113883.10.20.22.2.6.1
Package | hl7.cda.us.ccdar2dot2 |
Type | StructureDefinition |
Id | 2.16.840.1.113883.10.20.22.2.6.1 |
FHIR Version | R4 |
Source | http://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.6.1.html |
URL | http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.2.6.1 |
Version | 2.2 |
Status | active |
Date | 2022-05-13T15:50:12+00:00 |
Name | AllergiesAndIntolerancesSectionEntriesRequired |
Title | Allergies and Intolerances Section (entries required) |
Realm | us |
Authority | hl7 |
Description | This section lists and describes any medication allergies, adverse reactions, idiosyncratic reactions, anaphylaxis/anaphylactoid reactions to food items, and metabolic variations or adverse reactions/allergies to other substances (such as latex, iodine, tape adhesives). At a minimum, it should list currently active and any relevant historical allergies and adverse reactions. |
Type | Section |
Kind | resource |
Resources that use this resource
Resources that this resource uses
Narrative
Note: links and images are rebased to the (stated) source
Source
{
"resourceType": "StructureDefinition",
"id": "2.16.840.1.113883.10.20.22.2.6.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.6.1",
"identifier": [
{
"value": "urn:hl7ii:2.16.840.1.113883.10.20.22.2.6.1:2015-08-01"
}
],
"version": "2.2",
"name": "AllergiesAndIntolerancesSectionEntriesRequired",
"title": "Allergies and Intolerances 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": "This section lists and describes any medication allergies, adverse reactions, idiosyncratic reactions, anaphylaxis/anaphylactoid reactions to food items, and metabolic variations or adverse reactions/allergies to other substances (such as latex, iodine, tape adhesives). At a minimum, it should list currently active and any relevant historical allergies and adverse reactions.",
"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.6",
"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:1198-32824).",
"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": "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": "Section.templateId",
"min": 0,
"max": "*"
},
"type": [
{
"code": "http://hl7.org/fhir/cda/StructureDefinition/II"
}
]
},
{
"id": "Section.templateId:primary",
"path": "Section.templateId",
"sliceName": "primary",
"definition": "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question",
"requirements": "SHALL contain exactly one [1..1] templateId (CONF:1198-7800) 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.6\" (CONF:1198-10378).",
"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.6"
},
{
"id": "Section.templateId:primary.extension",
"path": "Section.templateId.extension",
"representation": [
"xmlAttr"
],
"label": "Extension",
"definition": "A character string as a unique identifier within the scope of the identifier root.",
"requirements": "SHALL contain exactly one [1..1] @extension=\"2015-08-01\" (CONF:1198-32544).",
"min": 1,
"max": "1",
"base": {
"path": "II.extension",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"patternString": "2015-08-01"
},
{
"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:1198-7527) 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.6.1\" (CONF:1198-10379).",
"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.6.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=\"2015-08-01\" (CONF:1198-32545).",
"min": 1,
"max": "1",
"base": {
"path": "II.extension",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"patternString": "2015-08-01"
},
{
"id": "Section.id",
"path": "Section.id",
"min": 0,
"max": "1",
"base": {
"path": "Section.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/fhir/cda/StructureDefinition/II"
}
]
},
{
"id": "Section.code",
"path": "Section.code",
"requirements": "SHALL contain exactly one [1..1] code (CONF:1198-15349).",
"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=\"48765-2\" Allergies, adverse reactions, alerts (CONF:1198-15350).",
"min": 1,
"max": "1",
"base": {
"path": "CD.code",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"patternString": "48765-2"
},
{
"id": "Section.code.codeSystem",
"path": "Section.code.codeSystem",
"representation": [
"xmlAttr"
],
"label": "Code System",
"definition": "Specifies the code system that defines the code.",
"requirements": "This code SHALL contain exactly one [1..1] @codeSystem=\"2.16.840.1.113883.6.1\" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:1198-32140).",
"min": 1,
"max": "1",
"base": {
"path": "CD.codeSystem",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"patternString": "2.16.840.1.113883.6.1"
},
{
"id": "Section.code.codeSystemName",
"path": "Section.code.codeSystemName",
"representation": [
"xmlAttr"
],
"label": "Code System Name",
"definition": "The common name of the coding system.",
"min": 0,
"max": "1",
"base": {
"path": "CD.codeSystemName",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "Section.code.codeSystemVersion",
"path": "Section.code.codeSystemVersion",
"representation": [
"xmlAttr"
],
"label": "Code System Version",
"definition": "If applicable, a version descriptor defined specifically for the given code system.",
"min": 0,
"max": "1",
"base": {
"path": "CD.codeSystemVersion",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "Section.code.displayName",
"path": "Section.code.displayName",
"representation": [
"xmlAttr"
],
"label": "Display Name",
"definition": "A name or title for the code, under which the sending system shows the code value to its users.",
"min": 0,
"max": "1",
"base": {
"path": "CD.displayName",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "Section.code.sdtcValueSet",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
"valueUri": "urn:hl7-org:sdtc"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
"valueString": "valueSet"
}
],
"path": "Section.code.sdtcValueSet",
"representation": [
"xmlAttr"
],
"definition": "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept.",
"min": 0,
"max": "1",
"base": {
"path": "CD.valueSet",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "Section.code.sdtcValueSetVersion",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
"valueUri": "urn:hl7-org:sdtc"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
"valueString": "valueSetVersion"
}
],
"path": "Section.code.sdtcValueSetVersion",
"representation": [
"xmlAttr"
],
"definition": "The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept.",
"min": 0,
"max": "1",
"base": {
"path": "CD.sdtcValueSetVersion",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "Section.code.originalText",
"path": "Section.code.originalText",
"label": "Original Text",
"definition": "The text or phrase used as the basis for the coding.",
"min": 0,
"max": "1",
"base": {
"path": "CD.originalText",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/fhir/cda/StructureDefinition/ED"
}
]
},
{
"id": "Section.code.qualifier",
"path": "Section.code.qualifier",
"label": "Qualifier",
"definition": "Specifies additional codes that increase the specificity of the the primary code.",
"min": 0,
"max": "0",
"base": {
"path": "CD.qualifier",
"min": 0,
"max": "*"
},
"type": [
{
"code": "http://hl7.org/fhir/cda/StructureDefinition/CR"
}
]
},
{
"id": "Section.code.translation",
"path": "Section.code.translation",
"representation": [
"typeAttr"
],
"label": "Translation",
"definition": "A set of other concept descriptors that translate this concept descriptor into other code systems.",
"min": 0,
"max": "*",
"base": {
"path": "CD.translation",
"min": 0,
"max": "*"
},
"type": [
{
"code": "http://hl7.org/fhir/cda/StructureDefinition/CD"
}
]
},
{
"id": "Section.title",
"path": "Section.title",
"requirements": "SHALL contain exactly one [1..1] title (CONF:1198-7534).",
"min": 1,
"max": "1",
"base": {
"path": "Section.title",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/fhir/cda/StructureDefinition/ST"
}
]
},
{
"id": "Section.text",
"path": "Section.text",
"representation": [
"cdaText"
],
"requirements": "SHALL contain exactly one [1..1] text (CONF:1198-7530).",
"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": "profile",
"path": "act"
}
],
"rules": "open"
},
"short": "If section/@nullFlavor is not present:",
"min": 0,
"max": "*",
"base": {
"path": "Section.entry",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Element"
}
],
"constraint": [
{
"key": "only-one-statement",
"severity": "error",
"human": "SHALL have no more than one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer or act.",
"expression": "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1",
"source": "http://hl7.org/fhir/cda/StructureDefinition/Section"
}
]
},
{
"id": "Section.entry:allergyConcern",
"path": "Section.entry",
"sliceName": "allergyConcern",
"requirements": "SHALL contain at least one [1..*] entry (CONF:1198-7531) 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:allergyConcern.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:allergyConcern.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:allergyConcern.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:allergyConcern.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:allergyConcern.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:allergyConcern.substanceAdministration",
"path": "Section.entry.substanceAdministration",
"min": 0,
"max": "0",
"base": {
"path": "Section.entry.substanceAdministration",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"
}
]
},
{
"id": "Section.entry:allergyConcern.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:allergyConcern.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:allergyConcern.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:allergyConcern.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:allergyConcern.act",
"path": "Section.entry.act",
"requirements": "SHALL contain exactly one [1..1] Allergy Concern Act (V3) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.30:2015-08-01) (CONF:1198-15446).",
"min": 1,
"max": "1",
"base": {
"path": "Section.entry.act",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/fhir/cda/StructureDefinition/Act",
"profile": [
"http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.30"
]
}
],
"isModifier": false
},
{
"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:1198-32824).",
"min": 0,
"max": "1",
"patternCode": "NI"
},
{
"id": "Section.templateId",
"path": "Section.templateId",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "extension"
},
{
"type": "value",
"path": "root"
}
],
"rules": "open"
}
},
{
"id": "Section.templateId:secondary",
"path": "Section.templateId",
"sliceName": "secondary",
"requirements": "SHALL contain exactly one [1..1] templateId (CONF:1198-7527) 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.6.1\" (CONF:1198-10379).",
"min": 1,
"max": "1",
"patternString": "2.16.840.1.113883.10.20.22.2.6.1"
},
{
"id": "Section.templateId:secondary.extension",
"path": "Section.templateId.extension",
"requirements": "SHALL contain exactly one [1..1] @extension=\"2015-08-01\" (CONF:1198-32545).",
"min": 1,
"max": "1",
"patternString": "2015-08-01"
},
{
"id": "Section.code",
"path": "Section.code",
"requirements": "SHALL contain exactly one [1..1] code (CONF:1198-15349).",
"min": 1,
"max": "1"
},
{
"id": "Section.code.code",
"path": "Section.code.code",
"requirements": "This code SHALL contain exactly one [1..1] @code=\"48765-2\" Allergies, adverse reactions, alerts (CONF:1198-15350).",
"min": 1,
"max": "1",
"patternString": "48765-2"
},
{
"id": "Section.code.codeSystem",
"path": "Section.code.codeSystem",
"requirements": "This code SHALL contain exactly one [1..1] @codeSystem=\"2.16.840.1.113883.6.1\" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:1198-32140).",
"min": 1,
"max": "1",
"patternString": "2.16.840.1.113883.6.1"
},
{
"id": "Section.title",
"path": "Section.title",
"requirements": "SHALL contain exactly one [1..1] title (CONF:1198-7534).",
"min": 1,
"max": "1"
},
{
"id": "Section.text",
"path": "Section.text",
"requirements": "SHALL contain exactly one [1..1] text (CONF:1198-7530).",
"min": 1,
"max": "1"
},
{
"id": "Section.entry",
"path": "Section.entry",
"slicing": {
"discriminator": [
{
"type": "profile",
"path": "act"
}
],
"rules": "open"
},
"short": "If section/@nullFlavor is not present:"
},
{
"id": "Section.entry:allergyConcern",
"path": "Section.entry",
"sliceName": "allergyConcern",
"requirements": "SHALL contain at least one [1..*] entry (CONF:1198-7531) such that it",
"min": 1,
"max": "*"
},
{
"id": "Section.entry:allergyConcern.act",
"path": "Section.entry.act",
"requirements": "SHALL contain exactly one [1..1] Allergy Concern Act (V3) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.30:2015-08-01) (CONF:1198-15446).",
"min": 1,
"max": "1",
"type": [
{
"code": "http://hl7.org/fhir/cda/StructureDefinition/Act",
"profile": [
"http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.30"
]
}
]
}
]
}
}