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
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
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet |
AllergyIntolerance.language | preferred | CommonLanguages Max Binding: AllLanguages |
AllergyIntolerance.clinicalStatus | required | AllergyIntoleranceClinicalStatusCodes |
AllergyIntolerance.verificationStatus | required | AllergyIntoleranceVerificationStatusCodes |
AllergyIntolerance.type | required | AllergyIntoleranceType |
AllergyIntolerance.category | required | AllergyIntoleranceCategory |
AllergyIntolerance.criticality | required | AllergyIntoleranceCriticality |
AllergyIntolerance.code | extensible | AllergiesAndIntolerancesForImmunization |
AllergyIntolerance.reaction.substance | extensible | CHAllergyIntoleranceReactionSubstanceValueSet |
AllergyIntolerance.reaction.manifestation | extensible | CHAllergyIntoleranceReactionManifestationValueSet |
AllergyIntolerance.reaction.severity | required | AllergyIntoleranceSeverity |
AllergyIntolerance.reaction.exposureRoute | example | SNOMEDCTRouteCodes |
Id | Grade | Path | Details | Requirements |
ait-1 | error | AllergyIntolerance | AllergyIntolerance.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-2 | error | AllergyIntolerance | AllergyIntolerance.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-2 | error | AllergyIntolerance | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | AllergyIntolerance | 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 : 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-4 | error | AllergyIntolerance | If 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-5 | error | AllergyIntolerance | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | Best Practice | AllergyIntolerance | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | AllergyIntolerance.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | AllergyIntolerance.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | AllergyIntolerance.extension:abatement-datetime | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | AllergyIntolerance.extension:abatement-datetime | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | AllergyIntolerance.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | AllergyIntolerance.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | AllergyIntolerance.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.clinicalStatus | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.verificationStatus | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.criticality | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.patient | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.encounter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.onset[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.onset[x]:onsetDateTime | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.recordedDate | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.recorder | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.asserter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.lastOccurrence | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.reaction | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.reaction.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | AllergyIntolerance.reaction.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | AllergyIntolerance.reaction.extension:certainty | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | AllergyIntolerance.reaction.extension:certainty | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | AllergyIntolerance.reaction.extension:duration | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | AllergyIntolerance.reaction.extension:duration | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | AllergyIntolerance.reaction.extension:location | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | AllergyIntolerance.reaction.extension:location | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | AllergyIntolerance.reaction.extension:exposureDate | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | AllergyIntolerance.reaction.extension:exposureDate | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | AllergyIntolerance.reaction.extension:exposureDuration | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | AllergyIntolerance.reaction.extension:exposureDuration | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | AllergyIntolerance.reaction.extension:exposureDescription | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | AllergyIntolerance.reaction.extension:exposureDescription | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | AllergyIntolerance.reaction.extension:management | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | AllergyIntolerance.reaction.extension:management | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | AllergyIntolerance.reaction.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | AllergyIntolerance.reaction.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | AllergyIntolerance.reaction.substance | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.reaction.manifestation | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.reaction.description | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.reaction.onset | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.reaction.severity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.reaction.exposureRoute | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | AllergyIntolerance.reaction.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |