Atrius India Core FHIR Implementation Guide
0.1.0 - ci-build
Atrius India Core FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-adverse-event | Version: 0.1.0 | ||||
| Draft as of 2026-07-24 | Computable Name: AtriusInAdverseEvent | ||||
| Other Identifiers: OID:1.3.6.1.4.1.66219.1.42.2 | |||||
Atrius India Core profile. Parent: FHIR R4. Structurally aligned with QI-Core. India terminology via NDHM ValueSets where noted. Legacy QI-Core projection: runtime-mapper.
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Path | Status | Usage | ValueSet | Version | Source |
| AdverseEvent.actuality | Base | required | AdverseEventActuality | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | AdverseEvent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | AdverseEvent | 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 | AdverseEvent | 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 | AdverseEvent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | AdverseEvent | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | AdverseEvent.implicitRules, AdverseEvent.modifierExtension, AdverseEvent.actuality, AdverseEvent.subject, AdverseEvent.encounter, AdverseEvent.date, AdverseEvent.recordedDate, AdverseEvent.resultingCondition, AdverseEvent.location, AdverseEvent.recorder, AdverseEvent.contributor, AdverseEvent.subjectMedicalHistory | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | AdverseEvent.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | AdverseEvent(4.0.1) | Medical care, research study or other healthcare event causing physical injury | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..1 | Identifier | Business identifier for the event | ||||
![]() ![]() |
?!Σ | 1..1 | code | actual | potential Binding: AdverseEventActuality (required): Overall nature of the adverse event, e.g. real or potential. | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | product-problem | product-quality | product-use-error | wrong-dose | incorrect-prescribing-information | wrong-technique | wrong-route-of-administration | wrong-rate | wrong-duration | wrong-time | expired-drug | medical-device-use-error | problem-different-manufacturer | unsafe-physical-environment Binding: AdverseEventCategory (extensible): Overall categorization of the event, e.g. product-related or situational. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of the event itself in relation to the subject Binding: SNOMEDCTClinicalFindings (example): Detailed type of event. | ||||
![]() ![]() |
Σ | 1..1 | Reference(Atrius India Core Patient(0.1.0) | Group | Atrius India Core Practitioner(0.1.0) | Atrius India Core RelatedPerson(0.1.0)) | Subject impacted by event | ||||
![]() ![]() |
Σ | 0..1 | Reference(Atrius India Core Encounter(0.1.0)) | Encounter created as part of | ||||
![]() ![]() |
SΣ | 0..1 | dateTime | When the event occurred | ||||
![]() ![]() |
Σ | 0..1 | dateTime | When the event was detected | ||||
![]() ![]() |
SΣ | 0..1 | dateTime | When the event was recorded | ||||
![]() ![]() |
Σ | 0..* | Reference(Atrius India Core Condition Encounter Diagnosis(0.1.0) | Atrius India Core Condition Problems Health Concerns(0.1.0)) | Effect on the subject due to this event | ||||
![]() ![]() |
Σ | 0..1 | Reference(Atrius India Core Location(0.1.0)) | Location where adverse event occurred | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Seriousness of the event Binding: AdverseEventSeriousness (example): Overall seriousness of this event for the patient. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | mild | moderate | severe Binding: AdverseEventSeverity (required): The severity of the adverse event itself, in direct relation to the subject. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | resolved | recovering | ongoing | resolvedWithSequelae | fatal | unknown Binding: AdverseEventOutcome (required): TODO (and should this be required?). | ||||
![]() ![]() |
Σ | 0..1 | Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Practitioner(0.1.0) | Atrius India Core PractitionerRole(0.1.0) | Atrius India Core RelatedPerson(0.1.0)) | Who recorded the adverse event | ||||
![]() ![]() |
Σ | 0..* | Reference(Atrius India Core Practitioner(0.1.0) | Atrius India Core PractitionerRole(0.1.0) | Atrius India Core Device(0.1.0)) | Who was involved in the adverse event or the potential adverse event | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | The suspected agent causing the adverse event | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Atrius India Core Medication(0.1.0) | Atrius India Core MedicationAdministration(0.1.0) | Atrius India Core MedicationStatement(0.1.0) | Atrius India Core Procedure(0.1.0) | Atrius India Core Immunization(0.1.0) | Atrius India Core Device(0.1.0) | Atrius India Core Substance(0.1.0)) | Refers to the specific entity that caused the adverse event | ||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Information on the possible cause of the event | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Assessment of if the entity caused the event Binding: AdverseEventCausalityAssessment (example): Codes for the assessment of whether the entity caused the event. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | AdverseEvent.suspectEntity.causalityProductRelatedness | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Atrius India Core Practitioner(0.1.0) | Atrius India Core PractitionerRole(0.1.0)) | AdverseEvent.suspectEntity.causalityAuthor | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | ProbabilityScale | Bayesian | Checklist Binding: AdverseEventCausalityMethod (example): TODO. | ||||
![]() ![]() |
Σ | 0..* | Reference(Atrius India Core Condition Encounter Diagnosis(0.1.0) | Atrius India Core Condition Problems Health Concerns(0.1.0) | Atrius India Core Observation(0.1.0) | Atrius India Core Procedure(0.1.0) | Atrius India Core Immunization(0.1.0) | Atrius India Core AllergyIntolerance(0.1.0) | Atrius India Core FamilyMemberHistory(0.1.0)) | AdverseEvent.subjectMedicalHistory | ||||
![]() ![]() |
Σ | 0..* | Reference(DocumentReference) | AdverseEvent.referenceDocument | ||||
![]() ![]() |
Σ | 0..* | Reference(ResearchStudy) | AdverseEvent.study | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| AdverseEvent.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| AdverseEvent.actuality | Base | required | AdverseEventActuality | 📍4.0.1 | FHIR Std. |
| AdverseEvent.category | Base | extensible | AdverseEventCategory | 📍4.0.1 | FHIR Std. |
| AdverseEvent.event | Base | example | SNOMED CT Clinical Findings | 📍4.0.1 | FHIR Std. |
| AdverseEvent.seriousness | Base | example | AdverseEventSeriousness | 📍4.0.1 | FHIR Std. |
| AdverseEvent.severity | Base | required | AdverseEventSeverity | 📍4.0.1 | FHIR Std. |
| AdverseEvent.outcome | Base | required | AdverseEventOutcome | 📍4.0.1 | FHIR Std. |
| AdverseEvent.suspectEntity.causality.assessment | Base | example | AdverseEventCausalityAssessment | 📍4.0.1 | FHIR Std. |
| AdverseEvent.suspectEntity.causality.method | Base | example | AdverseEventCausalityMethod | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | AdverseEvent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | AdverseEvent | 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 | AdverseEvent | 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 | AdverseEvent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | AdverseEvent | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | AdverseEvent.meta, AdverseEvent.implicitRules, AdverseEvent.language, AdverseEvent.text, AdverseEvent.extension, AdverseEvent.modifierExtension, AdverseEvent.identifier, AdverseEvent.actuality, AdverseEvent.category, AdverseEvent.event, AdverseEvent.subject, AdverseEvent.encounter, AdverseEvent.date, AdverseEvent.detected, AdverseEvent.recordedDate, AdverseEvent.resultingCondition, AdverseEvent.location, AdverseEvent.seriousness, AdverseEvent.severity, AdverseEvent.outcome, AdverseEvent.recorder, AdverseEvent.contributor, AdverseEvent.suspectEntity, AdverseEvent.suspectEntity.extension, AdverseEvent.suspectEntity.modifierExtension, AdverseEvent.suspectEntity.instance, AdverseEvent.suspectEntity.causality, AdverseEvent.suspectEntity.causality.extension, AdverseEvent.suspectEntity.causality.modifierExtension, AdverseEvent.suspectEntity.causality.assessment, AdverseEvent.suspectEntity.causality.productRelatedness, AdverseEvent.suspectEntity.causality.author, AdverseEvent.suspectEntity.causality.method, AdverseEvent.subjectMedicalHistory, AdverseEvent.referenceDocument, AdverseEvent.study | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | AdverseEvent.extension, AdverseEvent.modifierExtension, AdverseEvent.suspectEntity.extension, AdverseEvent.suspectEntity.modifierExtension, AdverseEvent.suspectEntity.causality.extension, AdverseEvent.suspectEntity.causality.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Summary
Must-Support: 2 elements
Structures
This structure refers to these other structures:
Key Elements View
| Path | Status | Usage | ValueSet | Version | Source |
| AdverseEvent.actuality | Base | required | AdverseEventActuality | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | AdverseEvent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | AdverseEvent | 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 | AdverseEvent | 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 | AdverseEvent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | AdverseEvent | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | AdverseEvent.implicitRules, AdverseEvent.modifierExtension, AdverseEvent.actuality, AdverseEvent.subject, AdverseEvent.encounter, AdverseEvent.date, AdverseEvent.recordedDate, AdverseEvent.resultingCondition, AdverseEvent.location, AdverseEvent.recorder, AdverseEvent.contributor, AdverseEvent.subjectMedicalHistory | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | AdverseEvent.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | AdverseEvent(4.0.1) | Medical care, research study or other healthcare event causing physical injury | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..1 | Identifier | Business identifier for the event | ||||
![]() ![]() |
?!Σ | 1..1 | code | actual | potential Binding: AdverseEventActuality (required): Overall nature of the adverse event, e.g. real or potential. | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | product-problem | product-quality | product-use-error | wrong-dose | incorrect-prescribing-information | wrong-technique | wrong-route-of-administration | wrong-rate | wrong-duration | wrong-time | expired-drug | medical-device-use-error | problem-different-manufacturer | unsafe-physical-environment Binding: AdverseEventCategory (extensible): Overall categorization of the event, e.g. product-related or situational. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of the event itself in relation to the subject Binding: SNOMEDCTClinicalFindings (example): Detailed type of event. | ||||
![]() ![]() |
Σ | 1..1 | Reference(Atrius India Core Patient(0.1.0) | Group | Atrius India Core Practitioner(0.1.0) | Atrius India Core RelatedPerson(0.1.0)) | Subject impacted by event | ||||
![]() ![]() |
Σ | 0..1 | Reference(Atrius India Core Encounter(0.1.0)) | Encounter created as part of | ||||
![]() ![]() |
SΣ | 0..1 | dateTime | When the event occurred | ||||
![]() ![]() |
Σ | 0..1 | dateTime | When the event was detected | ||||
![]() ![]() |
SΣ | 0..1 | dateTime | When the event was recorded | ||||
![]() ![]() |
Σ | 0..* | Reference(Atrius India Core Condition Encounter Diagnosis(0.1.0) | Atrius India Core Condition Problems Health Concerns(0.1.0)) | Effect on the subject due to this event | ||||
![]() ![]() |
Σ | 0..1 | Reference(Atrius India Core Location(0.1.0)) | Location where adverse event occurred | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Seriousness of the event Binding: AdverseEventSeriousness (example): Overall seriousness of this event for the patient. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | mild | moderate | severe Binding: AdverseEventSeverity (required): The severity of the adverse event itself, in direct relation to the subject. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | resolved | recovering | ongoing | resolvedWithSequelae | fatal | unknown Binding: AdverseEventOutcome (required): TODO (and should this be required?). | ||||
![]() ![]() |
Σ | 0..1 | Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Practitioner(0.1.0) | Atrius India Core PractitionerRole(0.1.0) | Atrius India Core RelatedPerson(0.1.0)) | Who recorded the adverse event | ||||
![]() ![]() |
Σ | 0..* | Reference(Atrius India Core Practitioner(0.1.0) | Atrius India Core PractitionerRole(0.1.0) | Atrius India Core Device(0.1.0)) | Who was involved in the adverse event or the potential adverse event | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | The suspected agent causing the adverse event | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Atrius India Core Medication(0.1.0) | Atrius India Core MedicationAdministration(0.1.0) | Atrius India Core MedicationStatement(0.1.0) | Atrius India Core Procedure(0.1.0) | Atrius India Core Immunization(0.1.0) | Atrius India Core Device(0.1.0) | Atrius India Core Substance(0.1.0)) | Refers to the specific entity that caused the adverse event | ||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Information on the possible cause of the event | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Assessment of if the entity caused the event Binding: AdverseEventCausalityAssessment (example): Codes for the assessment of whether the entity caused the event. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | AdverseEvent.suspectEntity.causalityProductRelatedness | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Atrius India Core Practitioner(0.1.0) | Atrius India Core PractitionerRole(0.1.0)) | AdverseEvent.suspectEntity.causalityAuthor | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | ProbabilityScale | Bayesian | Checklist Binding: AdverseEventCausalityMethod (example): TODO. | ||||
![]() ![]() |
Σ | 0..* | Reference(Atrius India Core Condition Encounter Diagnosis(0.1.0) | Atrius India Core Condition Problems Health Concerns(0.1.0) | Atrius India Core Observation(0.1.0) | Atrius India Core Procedure(0.1.0) | Atrius India Core Immunization(0.1.0) | Atrius India Core AllergyIntolerance(0.1.0) | Atrius India Core FamilyMemberHistory(0.1.0)) | AdverseEvent.subjectMedicalHistory | ||||
![]() ![]() |
Σ | 0..* | Reference(DocumentReference) | AdverseEvent.referenceDocument | ||||
![]() ![]() |
Σ | 0..* | Reference(ResearchStudy) | AdverseEvent.study | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| AdverseEvent.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| AdverseEvent.actuality | Base | required | AdverseEventActuality | 📍4.0.1 | FHIR Std. |
| AdverseEvent.category | Base | extensible | AdverseEventCategory | 📍4.0.1 | FHIR Std. |
| AdverseEvent.event | Base | example | SNOMED CT Clinical Findings | 📍4.0.1 | FHIR Std. |
| AdverseEvent.seriousness | Base | example | AdverseEventSeriousness | 📍4.0.1 | FHIR Std. |
| AdverseEvent.severity | Base | required | AdverseEventSeverity | 📍4.0.1 | FHIR Std. |
| AdverseEvent.outcome | Base | required | AdverseEventOutcome | 📍4.0.1 | FHIR Std. |
| AdverseEvent.suspectEntity.causality.assessment | Base | example | AdverseEventCausalityAssessment | 📍4.0.1 | FHIR Std. |
| AdverseEvent.suspectEntity.causality.method | Base | example | AdverseEventCausalityMethod | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | AdverseEvent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | AdverseEvent | 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 | AdverseEvent | 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 | AdverseEvent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | AdverseEvent | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | AdverseEvent.meta, AdverseEvent.implicitRules, AdverseEvent.language, AdverseEvent.text, AdverseEvent.extension, AdverseEvent.modifierExtension, AdverseEvent.identifier, AdverseEvent.actuality, AdverseEvent.category, AdverseEvent.event, AdverseEvent.subject, AdverseEvent.encounter, AdverseEvent.date, AdverseEvent.detected, AdverseEvent.recordedDate, AdverseEvent.resultingCondition, AdverseEvent.location, AdverseEvent.seriousness, AdverseEvent.severity, AdverseEvent.outcome, AdverseEvent.recorder, AdverseEvent.contributor, AdverseEvent.suspectEntity, AdverseEvent.suspectEntity.extension, AdverseEvent.suspectEntity.modifierExtension, AdverseEvent.suspectEntity.instance, AdverseEvent.suspectEntity.causality, AdverseEvent.suspectEntity.causality.extension, AdverseEvent.suspectEntity.causality.modifierExtension, AdverseEvent.suspectEntity.causality.assessment, AdverseEvent.suspectEntity.causality.productRelatedness, AdverseEvent.suspectEntity.causality.author, AdverseEvent.suspectEntity.causality.method, AdverseEvent.subjectMedicalHistory, AdverseEvent.referenceDocument, AdverseEvent.study | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | AdverseEvent.extension, AdverseEvent.modifierExtension, AdverseEvent.suspectEntity.extension, AdverseEvent.suspectEntity.modifierExtension, AdverseEvent.suspectEntity.causality.extension, AdverseEvent.suspectEntity.causality.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Summary
Must-Support: 2 elements
Structures
This structure refers to these other structures:
Other representations of profile: CSV, Excel, Schematron