Implementation Guide CH VACD
2.0.0 - STU 2

This page is part of the CH VACD (R4) (v2.0.0: STU 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Resource Profile: CH VACD Recommendation AllergyIntolerances Profile

Defining URL:http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-recommendation-allergyintolerances
Version:2.0.0
Name:CHVACDRecommendationAllergyIntolerances
Title:CH VACD Recommendation AllergyIntolerances Profile
Status:Draft as of 2022-02-11 02:45:16+0100
Definition:

Definition of the AllergyIntolerance part for immunization recommendation request and response documents.

Publisher:HL7 Switzerland
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-recommendation-allergyintolerances

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from CHAllergyIntolerance

Summary

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
AllergyIntolerance.languagepreferredCommonLanguages
Max Binding: AllLanguages
AllergyIntolerance.clinicalStatusrequiredAllergyIntoleranceClinicalStatusCodes
AllergyIntolerance.verificationStatusrequiredAllergyIntoleranceVerificationStatusCodes
AllergyIntolerance.typerequiredAllergyIntoleranceType
AllergyIntolerance.categoryrequiredAllergyIntoleranceCategory
AllergyIntolerance.criticalityrequiredAllergyIntoleranceCriticality
AllergyIntolerance.codeextensibleAllergiesAndIntolerancesForImmunization
AllergyIntolerance.reaction.substanceextensibleCHAllergyIntoleranceReactionSubstanceValueSet
AllergyIntolerance.reaction.manifestationextensibleCHAllergyIntoleranceReactionManifestationValueSet
AllergyIntolerance.reaction.severityrequiredAllergyIntoleranceSeverity
AllergyIntolerance.reaction.exposureRouteexampleSNOMEDCTRouteCodes

Constraints

IdGradePathDetailsRequirements
ait-1errorAllergyIntoleranceAllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.
: verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()
ait-2errorAllergyIntoleranceAllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
: verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()
dom-2errorAllergyIntoleranceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAllergyIntoleranceIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorAllergyIntoleranceIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorAllergyIntoleranceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6Best PracticeAllergyIntoleranceA resource should have narrative for robust management
: text.`div`.exists()
ele-1errorAllergyIntolerance.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorAllergyIntolerance.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorAllergyIntolerance.extension:abatement-datetimeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorAllergyIntolerance.extension:abatement-datetimeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorAllergyIntolerance.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorAllergyIntolerance.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorAllergyIntolerance.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.clinicalStatusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.verificationStatusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.categoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.criticalityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.patientAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.encounterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.onset[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.onset[x]:onsetDateTimeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.recordedDateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.recorderAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.asserterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.lastOccurrenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.noteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.reactionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.reaction.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorAllergyIntolerance.reaction.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorAllergyIntolerance.reaction.extension:certaintyAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorAllergyIntolerance.reaction.extension:certaintyMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorAllergyIntolerance.reaction.extension:durationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorAllergyIntolerance.reaction.extension:durationMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorAllergyIntolerance.reaction.extension:locationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorAllergyIntolerance.reaction.extension:locationMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorAllergyIntolerance.reaction.extension:exposureDateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorAllergyIntolerance.reaction.extension:exposureDateMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorAllergyIntolerance.reaction.extension:exposureDurationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorAllergyIntolerance.reaction.extension:exposureDurationMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorAllergyIntolerance.reaction.extension:exposureDescriptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorAllergyIntolerance.reaction.extension:exposureDescriptionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorAllergyIntolerance.reaction.extension:managementAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorAllergyIntolerance.reaction.extension:managementMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorAllergyIntolerance.reaction.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorAllergyIntolerance.reaction.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorAllergyIntolerance.reaction.substanceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.reaction.manifestationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.reaction.descriptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.reaction.onsetAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.reaction.severityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.reaction.exposureRouteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorAllergyIntolerance.reaction.noteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())