Union of http://hl7.org/cda/us/ccda/StructureDefinition/SubstanceOrDeviceAllergyIntoleranceObservation and http://hl7.org/cda/us/ccda/StructureDefinition/SubstanceOrDeviceAllergyIntoleranceObservation

This is the set of resources that conform to either of the profiles Substance or Device Allergy - Intolerance Observation (http://hl7.org/cda/us/ccda/StructureDefinition/SubstanceOrDeviceAllergyIntoleranceObservation) and Substance or Device Allergy - Intolerance Observation (http://hl7.org/cda/us/ccda/StructureDefinition/SubstanceOrDeviceAllergyIntoleranceObservation). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation C1..1Base for all types and resources
should-text-ref-value: SHOULD contain text/reference/@value
should-author: SHOULD contain author
... nullFlavor 0..1??Binding: ?? (required)
... realmCode 0..*CS
... typeId 0..1II
.... nullFlavor 0..1??Binding: ?? (required)
.... assigningAuthorityName 0..1??
.... displayable 0..1??
.... root 1..1??, ??, ??
.... extension 1..1??
... templateId 1..*II
... classCode 1..1??Binding: ?? (required)
... moodCode 1..1??Binding: ?? (required)
... negationInd 0..1??
... code 1..1CDBinding: ?? (example)
.... nullFlavor 0..1??Binding: ?? (required)
.... code 1..1??
.... codeSystem 1..1??, ??, ??
.... codeSystemName 0..1??
.... codeSystemVersion 0..1??
.... displayName 0..1??
.... sdtcValueSet 0..1??
.... sdtcValueSetVersion 0..1??
.... originalText 0..1ED
.... qualifier 0..*CR
.... translation 0..*CD
... derivationExpr 0..1ST
... text 0..1EDSHOULD reference the portion of section narrative text corresponding to this entry
.... nullFlavor 0..1??Binding: ?? (required)
.... compression 0..1??Binding: ?? (required)
.... integrityCheck 0..1??
.... integrityCheckAlgorithm 0..1??Binding: ?? (required)
.... language 0..1??
.... mediaType 0..1??Binding: ?? (example)
.... representation 0..1??Binding: ?? (required)
.... xmlText 0..1??Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
.... reference C0..1TELvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
.... thumbnail 0..1ED
... statusCode 1..1CSBinding: ?? (required)
.... nullFlavor 0..1??Binding: ?? (required)
.... code 1..1??
.... sdtcValueSet 0..1??
.... sdtcValueSetVersion 0..1??
... effectiveTime 1..1IVL_TSThe effectiveTime/low (a.k.a. "onset date") asserts when the allergy/intolerance became clinically active. The effectiveTime/high (a.k.a. "resolution date") asserts when the allergy/intolerance became clinically resolved. If the allergy/intolerance is known to be resolved, but the date of resolution is not known, then the high element SHALL be present, and the nullFlavor attribute SHALL be set to 'UNK'.
.... nullFlavor 0..1??Binding: ?? (required)
.... value 0..1??
.... operator 0..1??Binding: ?? (required)
.... low 1..1IVXB_TS
.... center 0..1TS
.... width 0..1PQ
.... high 0..1IVXB_TS
... priorityCode 0..1CEBinding: ?? (example)
... repeatNumber 0..1IVL_INT
... languageCode 0..1CSBinding: ?? (required)
... value 1..1CD
.... nullFlavor 0..1??Binding: ?? (required)
.... code 1..1??Many systems will simply assign a fixed value here (e.g., "allergy to substance").
Binding: ?? (required)
.... codeSystem 0..1??, ??, ??
.... codeSystemName 0..1??
.... codeSystemVersion 0..1??
.... displayName 0..1??
.... sdtcValueSet 0..1??
.... sdtcValueSetVersion 0..1??
.... originalText 0..1ED
.... qualifier 0..*CR
.... translation 0..*CD
... interpretationCode 0..*CEBinding: ?? (required)
... methodCode 0..*CEBinding: ?? (example)
... targetSiteCode 0..*CD
... subject 0..1Subject
... specimen 0..*Specimen
... performer 0..*Performer2
... author 0..*??Base for all types and resources
... informant 0..*Informant
... participant 0..*Participant2
... entryRelationship 0..*EntryRelationship
... reference 0..*Reference
... precondition 0..*Precondition
... sdtcPrecondition2 0..*Precondition2
... referenceRange 0..*InfrastructureRoot
.... nullFlavor 0..1??Binding: ?? (required)
.... realmCode 0..*CS
.... typeId 0..1II
..... nullFlavor 0..1??Binding: ?? (required)
..... assigningAuthorityName 0..1??
..... displayable 0..1??
..... root 1..1??, ??, ??
..... extension 1..1??
.... templateId 0..*II
.... typeCode 0..1??Binding: ?? (required)
.... observationRange 1..1ObservationRange
... sdtcInFulfillmentOf1 0..*InFulfillmentOf1

doco Documentation for this format