PREFIX fhir: PREFIX fhirvs: PREFIX xsd: BASE start=@ AND {fhir:nodeRole [fhir:treeRoot]} # Medical care, research study or other healthcare event causing physical injury CLOSED { a [fhir:AdverseEvent]; fhir:nodeRole [fhir:treeRoot]?; fhir:Resource.id id?; # Logical id of this artifact fhir:Resource.meta @?; # Metadata about the resource fhir:Resource.implicitRules @?; # A set of rules under which this # content was created fhir:Resource.language @?; # Language of the resource content fhir:DomainResource.text @?; # Text summary of the resource, for # human interpretation fhir:DomainResource.contained @*; # Contained, inline Resources fhir:DomainResource.extension @*; # Additional content defined by # implementations fhir:DomainResource.modifierExtension @*; # Extensions that cannot be ignored fhir:AdverseEvent.identifier @?; # Business identifier for the event fhir:AdverseEvent.actuality @ AND {fhir:value @fhirvs:adverse-event-actuality}; # actual | potential fhir:AdverseEvent.category @*; # 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 fhir:AdverseEvent.event @?; # Type of the event itself in # relation to the subject fhir:AdverseEvent.subject @; # Subject impacted by event fhir:AdverseEvent.encounter @?; # Encounter created as part of fhir:AdverseEvent.date @?; # When the event occurred fhir:AdverseEvent.detected @?; # When the event was detected fhir:AdverseEvent.recordedDate @?; # When the event was recorded fhir:AdverseEvent.resultingCondition @*; # Effect on the subject due to this # event fhir:AdverseEvent.location @?; # Location where adverse event # occurred fhir:AdverseEvent.seriousness @?; # Seriousness of the event fhir:AdverseEvent.severity @?; # mild | moderate | severe fhir:AdverseEvent.outcome @?; # resolved | recovering | ongoing | # resolvedWithSequelae | fatal | # unknown fhir:AdverseEvent.recorder @?; # Who recorded the adverse event fhir:AdverseEvent.contributor @*; # Who was involved in the adverse # event or the potential adverse # event fhir:AdverseEvent.suspectEntity @*; # The suspected agent causing the # adverse event fhir:AdverseEvent.subjectMedicalHistory @*; # AdverseEvent.subjectMedicalHistory fhir:AdverseEvent.referenceDocument @*; # AdverseEvent.referenceDocument fhir:AdverseEvent.study @*; # AdverseEvent.study fhir:index xsd:integer? # Relative position in a list } # The suspected agent causing the adverse event CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized fhir:AdverseEvent.suspectEntity.instance @; # Refers to the specific entity that # caused the adverse event fhir:AdverseEvent.suspectEntity.causality @*; # Information on the possible cause # of the event fhir:index xsd:integer? # Relative position in a list } # Information on the possible cause of the event CLOSED { fhir:Element.id string?; # Unique id for inter-element # referencing fhir:Element.extension @*; # Additional content defined by # implementations fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored # even if unrecognized fhir:AdverseEvent.suspectEntity.causality.assessment @?; # Assessment of if the entity caused # the event fhir:AdverseEvent.suspectEntity.causality.productRelatedness @?; # AdverseEvent.suspectEntity.causa- # lityProductRelatedness fhir:AdverseEvent.suspectEntity.causality.author @?; # AdverseEvent.suspectEntity.causa- # lityAuthor fhir:AdverseEvent.suspectEntity.causality.method @?; # ProbabilityScale | Bayesian | # Checklist fhir:index xsd:integer? # Relative position in a list } #---------------------- Data Types ------------------- # Optional Extensions Element CLOSED { fhir:Element.id id?; fhir:Element.extension @*; fhir:Extension.url uri; ( fhir:Extension.valueBase64Binary @ | fhir:Extension.valueBoolean @ | fhir:Extension.valueCanonical @ | fhir:Extension.valueCode @ | fhir:Extension.valueDate @ | fhir:Extension.valueDateTime @ | fhir:Extension.valueDecimal @ | fhir:Extension.valueId @ | fhir:Extension.valueInstant @ | fhir:Extension.valueInteger @ | fhir:Extension.valueMarkdown @ | fhir:Extension.valueOid @ | fhir:Extension.valuePositiveInt @ | fhir:Extension.valueString @ | fhir:Extension.valueTime @