This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4B R4 R3
Exposure risk of adverse reaction (allergy or intolerance) to the specified substance/product
{ "resourceType": "StructureDefinition", "id": "allergyintolerance-substanceExposureRisk", "url": "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk", "name": "Exposure risk of adverse reaction (allergy or intolerance) to the specified substance/product", "title": "substanceExposureRisk", "status": "draft", "publisher": "Health Level Seven, Inc. - FHIR WG", "contact": [ { "telecom": [ { "system": "url", "value": "HL7" } ] } ], "date": "2015-02-21", "description": "A complex extension allowing structured capture of the exposure risk of the patient for an adverse reaction (allergy or intolerance) to the specified substance/product.", "fhirVersion": "1.8.0", "mapping": [ { "identity": "v2", "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping" }, { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping" } ], "kind": "complex-type", "abstract": false, "contextType": "resource", "context": [ "AllergyIntolerance" ], "type": "Extension", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", "derivation": "constraint", "snapshot": { "element": [ { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product", "path": "Extension", "short": "Exposure risk of adverse reaction (allergy or intolerance) to the specified substance/product", "definition": "A complex extension allowing structured capture of the exposure risk of the patient for an adverse reaction (allergy or intolerance) to the specified substance/product.", "comments": "This extension is available and is intended to be used as a more completely structured and flexible alternative to the 'code' element for representing positive and negative allergy and intolerance statements. If this extension element is present, the AllergyIntolerance.code element SHALL be omitted (see invariant \"code or substanceExposureRisk\").", "min": 0, "max": "1", "base": { "path": "Extension", "min": 0, "max": "*" }, "condition": [ "ele-1" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "children().count() > id.count()", "xpath": "@value|f:*|h:div", "source": "Element" }, { "key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "Extension" }, { "key": "inv-1", "severity": "error", "human": "If the substanceExposureRisk extension element is present, the AllergyIntolerance.code element must be omitted.", "expression": "substanceExposureRisk.exists() and code.empty()", "xpath": "exists(f:substanceExposureRisk) and not(exists(f:code))" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.id", "path": "Extension.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension", "path": "Extension.extension", "slicing": { "id": "82", "discriminator": [ "url" ], "ordered": false, "rules": "open" }, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:substance", "path": "Extension.extension", "sliceName": "substance", "short": "Substance (or pharmaceutical product)", "definition": "Code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk or is known not to have an associated risk of an adverse reaction upon exposure.", "comments": "It is strongly recommended that this element be populated using a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, UNII, and ATC. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text.", "min": 1, "max": "1", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "v2", "map": "AL1-3 / IAM-3" }, { "identity": "rim", "map": ".participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:substance.id", "path": "Extension.extension.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:substance.extension:extension", "path": "Extension.extension.extension", "sliceName": "extension", "short": "Extension", "definition": "An Extension", "min": 0, "max": "0", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:substance.url", "path": "Extension.extension.url", "representation": [ "xmlAttr" ], "short": "identifies the meaning of the extension", "definition": "Source of the definition for the extension code - a logical name or a URL.", "comments": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "min": 1, "max": "1", "base": { "path": "Extension.url", "min": 1, "max": "1" }, "type": [ { "code": "uri" } ], "fixedUri": "substance", "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:substance.valueCodeableConcept", "path": "Extension.extension.valueCodeableConcept", "short": "Value of extension", "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", "min": 1, "max": "1", "base": { "path": "Extension.value[x]", "min": 0, "max": "1" }, "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes defining the type of the substance (including pharmaceutical products).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/substance-code" } }, "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:exposurerisk", "path": "Extension.extension", "sliceName": "exposureRisk", "short": "known-reaction-risk | no-known-reaction-risk", "definition": "The presence or absence of a known exposure risk of the patient for an adverse reaction (allergy or intolerance) to the specified substance/product.", "comments": "exposureRisk is a modifier of the substance.", "min": 1, "max": "1", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:exposurerisk.id", "path": "Extension.extension.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:exposurerisk.extension:extension", "path": "Extension.extension.extension", "sliceName": "extension", "short": "Extension", "definition": "An Extension", "min": 0, "max": "0", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:exposurerisk.url", "path": "Extension.extension.url", "representation": [ "xmlAttr" ], "short": "identifies the meaning of the extension", "definition": "Source of the definition for the extension code - a logical name or a URL.", "comments": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "min": 1, "max": "1", "base": { "path": "Extension.url", "min": 1, "max": "1" }, "type": [ { "code": "uri" } ], "fixedUri": "exposureRisk", "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:exposurerisk.valueCodeableConcept", "path": "Extension.extension.valueCodeableConcept", "short": "Value of extension", "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", "min": 1, "max": "1", "base": { "path": "Extension.value[x]", "min": 0, "max": "1" }, "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The risk of an adverse reaction (allergy or intolerance) for this patient upon xposure to the substance (including pharmaceutical products).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allerg-intol-substance-exp-risk" } }, "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.url", "path": "Extension.url", "representation": [ "xmlAttr" ], "short": "identifies the meaning of the extension", "definition": "Source of the definition for the extension code - a logical name or a URL.", "comments": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "min": 1, "max": "1", "base": { "path": "Extension.url", "min": 1, "max": "1" }, "type": [ { "code": "uri" } ], "fixedUri": "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk", "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.value[x]", "path": "Extension.value[x]", "short": "Value of extension", "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", "min": 0, "max": "0", "base": { "path": "Extension.value[x]", "min": 0, "max": "1" }, "type": [ { "code": "base64Binary" }, { "code": "boolean" }, { "code": "code" }, { "code": "date" }, { "code": "dateTime" }, { "code": "decimal" }, { "code": "id" }, { "code": "instant" }, { "code": "integer" }, { "code": "markdown" }, { "code": "oid" }, { "code": "positiveInt" }, { "code": "string" }, { "code": "time" }, { "code": "unsignedInt" }, { "code": "uri" }, { "code": "Address" }, { "code": "Age" }, { "code": "Annotation" }, { "code": "Attachment" }, { "code": "CodeableConcept" }, { "code": "Coding" }, { "code": "ContactPoint" }, { "code": "Count" }, { "code": "Distance" }, { "code": "Duration" }, { "code": "HumanName" }, { "code": "Identifier" }, { "code": "Money" }, { "code": "Period" }, { "code": "Quantity" }, { "code": "Range" }, { "code": "Ratio" }, { "code": "Reference" }, { "code": "SampledData" }, { "code": "Signature" }, { "code": "Timing" }, { "code": "Meta" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] } ] }, "differential": { "element": [ { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product", "path": "Extension", "short": "Exposure risk of adverse reaction (allergy or intolerance) to the specified substance/product", "definition": "A complex extension allowing structured capture of the exposure risk of the patient for an adverse reaction (allergy or intolerance) to the specified substance/product.", "comments": "This extension is available and is intended to be used as a more completely structured and flexible alternative to the 'code' element for representing positive and negative allergy and intolerance statements. If this extension element is present, the AllergyIntolerance.code element SHALL be omitted (see invariant \"code or substanceExposureRisk\").", "min": 0, "max": "1", "constraint": [ { "key": "inv-1", "severity": "error", "human": "If the substanceExposureRisk extension element is present, the AllergyIntolerance.code element must be omitted.", "expression": "substanceExposureRisk.exists() and code.empty()", "xpath": "exists(f:substanceExposureRisk) and not(exists(f:code))" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:substance", "path": "Extension.extension", "sliceName": "substance", "short": "Substance (or pharmaceutical product)", "definition": "Code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk or is known not to have an associated risk of an adverse reaction upon exposure.", "comments": "It is strongly recommended that this element be populated using a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, UNII, and ATC. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text.", "min": 1, "max": "1", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "v2", "map": "AL1-3 / IAM-3" }, { "identity": "rim", "map": ".participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:substance.extension:extension", "path": "Extension.extension.extension", "sliceName": "extension", "max": "0" }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:substance.url", "path": "Extension.extension.url", "type": [ { "code": "uri" } ], "fixedUri": "substance" }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:substance.value[x]", "path": "Extension.extension.value[x]", "min": 1, "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "description": "Codes defining the type of the substance (including pharmaceutical products).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/substance-code" } } }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:exposurerisk", "path": "Extension.extension", "sliceName": "exposureRisk", "short": "known-reaction-risk | no-known-reaction-risk", "definition": "The presence or absence of a known exposure risk of the patient for an adverse reaction (allergy or intolerance) to the specified substance/product.", "comments": "exposureRisk is a modifier of the substance.", "min": 1, "max": "1", "type": [ { "code": "Extension" } ] }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:exposurerisk.extension:extension", "path": "Extension.extension.extension", "sliceName": "extension", "max": "0" }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:exposurerisk.url", "path": "Extension.extension.url", "type": [ { "code": "uri" } ], "fixedUri": "exposureRisk" }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.extension:exposurerisk.value[x]", "path": "Extension.extension.value[x]", "min": 1, "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "required", "description": "The risk of an adverse reaction (allergy or intolerance) for this patient upon xposure to the substance (including pharmaceutical products).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/allerg-intol-substance-exp-risk" } } }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.url", "path": "Extension.url", "type": [ { "code": "uri" } ], "fixedUri": "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk" }, { "id": "Extension:exposureriskofadversereactionallergyorintolerancetothespecifiedsubstance/product.value[x]", "path": "Extension.value[x]", "min": 0, "max": "0" } ] } }
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.