Union of http://fhir.ch/ig/ch-allergyintolerance/StructureDefinition/ch-allergyintolerance-composition-epr and http://fhir.ch/ig/ch-allergyintolerance/StructureDefinition/ch-allergyintolerance-composition-epr

This is the set of resources that conform to either of the profiles CH Allergy Intolerance Composition Profile (http://fhir.ch/ig/ch-allergyintolerance/StructureDefinition/ch-allergyintolerance-composition-epr) and CH AllergyIntolerance Composition (http://fhir.ch/ig/ch-allergyintolerance/StructureDefinition/ch-allergyintolerance-composition-epr). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*left: CH Allergy Intolerance Composition; right: CH AllergyIntolerance Composition
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... meta Σ0..1MetaMetadata about the resource
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language 1..1codeLanguage of the document
Binding: ?? (preferred): A human language.


ele-1: All FHIR elements must have a @value or children
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier Σ1..1IdentifierIdentification number of the document
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: ?? (required): Identifies the purpose for this identifier, if known .


ele-1: All FHIR elements must have a @value or children
.... type Σ0..1CodeableConceptDescription of identifier
Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.


ele-1: All FHIR elements must have a @value or children
.... system Σ1..1uriThe namespace for the identifier value
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/identifiers/patient
.... value Σ1..1stringThe value that is unique
ele-1: All FHIR elements must have a @value or children
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
ele-1: All FHIR elements must have a @value or children
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
ele-1: All FHIR elements must have a @value or children
... status ?!Σ1..1codepreliminary | final | amended | entered-in-error
Binding: ?? (required): The workflow/clinical status of the composition.


ele-1: All FHIR elements must have a @value or children
... type Σ1..1CodeableConceptDocument type
Binding: ?? (extensible)
ele-1: All FHIR elements must have a @value or children
... category Σ0..*CodeableConceptCategorization of Composition
Binding: ?? (example): High-level kind of a clinical document at a macro level.


ele-1: All FHIR elements must have a @value or children
... subject Σ1..1Reference(CH Core Patient EPR | #sd-ch-core-patient-epr-ch-core-patient-epr)A patient for whom this document instance was created
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... reference Σ1..1stringLiteral reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
ele-1: All FHIR elements must have a @value or children
.... display Σ0..1stringText alternative for the resource
ele-1: All FHIR elements must have a @value or children
... encounter Σ0..1Reference(CH Core Encounter | #sd-ch-core-encounter-ch-core-encounter)Context of the Composition
ele-1: All FHIR elements must have a @value or children
... date Σ1..1dateTimeThe document's creation date and time
ele-1: All FHIR elements must have a @value or children
... author Σ1..*Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | RelatedPerson | CH Core Organization EPR | #sd-ch-core-practitioner-epr-ch-core-practitioner-epr)The author of the document (person or device)
ele-1: All FHIR elements must have a @value or children
.... ch-ext-epr-time 0..1dateTimeTimestamp of the authorship/data input
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... reference Σ1..1stringLiteral reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
ele-1: All FHIR elements must have a @value or children
.... display Σ0..1stringText alternative for the resource
ele-1: All FHIR elements must have a @value or children
... title Σ1..1stringleft: 'Allergie Intoleranzen' in german or 'allergie intolérance' in french or 'allergie intolleranza' in italian or 'Allergy Intolerance' in english or titles in other languages are also allowed; right: 'Allergie Intoleranzen' in german or 'allergie intolérance' in french or 'allergie intolleranze' in italian or 'Allergy Intolerance' in english or titles in other languages are also allowed
ele-1: All FHIR elements must have a @value or children
... confidentiality Σ1..1codeAs defined by affinity domain
Binding: ?? (required): Codes specifying the level of confidentiality of the composition.


ele-1: All FHIR elements must have a @value or children
.... extension 1..*ExtensionExtension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... value 0..1stringPrimitive value for code
... attester 0..*BackboneElementThe authenticator of the document (person)
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... mode 1..1codepersonal | professional | legal | official
Binding: ?? (required): The way in which a person authenticated a composition.


ele-1: All FHIR elements must have a @value or children
.... time 0..1dateTimeWhen the composition was attested
ele-1: All FHIR elements must have a @value or children
.... party 0..1Reference(CH Core Patient | RelatedPerson | CH Core Practitioner | CH Core PractitionerRole | CH Core Organization | #sd-ch-core-patient-ch-core-patient)Who attested the composition
ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... reference Σ1..1stringLiteral reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
..... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
..... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
ele-1: All FHIR elements must have a @value or children
..... display Σ0..1stringText alternative for the resource
ele-1: All FHIR elements must have a @value or children
... custodian Σ0..1Reference(CH Core Organization EPR | #sd-ch-core-organization-epr-ch-core-organization-epr)The organization in whose name the document has been created
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... reference Σ1..1stringLiteral reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
ele-1: All FHIR elements must have a @value or children
.... display Σ0..1stringText alternative for the resource
ele-1: All FHIR elements must have a @value or children
... relatesTo 0..*BackboneElementRelationships to other compositions/documents
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... code 1..1codereplaces | transforms | signs | appends
Binding: ?? (required): The type of relationship between documents.


ele-1: All FHIR elements must have a @value or children
.... target[x] 1..1Target of the relationship
ele-1: All FHIR elements must have a @value or children
..... targetIdentifierIdentifier
..... targetReferenceReference(CH Core Composition EPR | #sd-ch-core-composition-epr-ch-core-composition-epr)
... event Σ0..*BackboneElementThe clinical service(s) being documented
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... code Σ0..*CodeableConceptCode(s) that apply to the event being documented
Binding: ?? (example): This list of codes represents the main clinical acts being documented.


ele-1: All FHIR elements must have a @value or children
.... period Σ0..1PeriodThe period covered by the documentation
ele-1: All FHIR elements must have a @value or children
.... detail Σ0..*Reference(Resource)The event(s) being documented
ele-1: All FHIR elements must have a @value or children
... section C1..*BackboneElementComposition is broken into sections
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... title 0..1stringLabel for section (e.g. for ToC)
ele-1: All FHIR elements must have a @value or children
.... code 0..1CodeableConceptClassification of section (recommended)
Binding: ?? (example): Classification of a section of a composition/document.


ele-1: All FHIR elements must have a @value or children
.... author 0..*Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | RelatedPerson | CH Core Organization EPR | #sd-ch-core-practitioner-epr-ch-core-practitioner-epr)Who and/or what authored the section
ele-1: All FHIR elements must have a @value or children
.... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
ele-1: All FHIR elements must have a @value or children
.... text 0..1NarrativeText summary of the section, for human interpretation
ele-1: All FHIR elements must have a @value or children
.... mode 0..1codeworking | snapshot | changes
Binding: ?? (required): The processing mode that applies to this section.


ele-1: All FHIR elements must have a @value or children
.... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ?? (preferred): What order applies to the items in the entry.


ele-1: All FHIR elements must have a @value or children
.... entry 0..*Reference(Resource)A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children
.... emptyReason 0..1CodeableConceptWhy the section is empty
Binding: ?? (preferred): If a section is empty, why it is empty.


ele-1: All FHIR elements must have a @value or children
.... section 0..*Nested Section
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format