PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
BASE
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# Single evidence bit
CLOSED {
a [fhir:Evidence];
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:Evidence.url @?; # Canonical identifier for this
# evidence, represented as a
# globally unique URI
fhir:Evidence.identifier @*; # Additional identifier for the
# summary
fhir:Evidence.version @?; # Business version of this summary
fhir:Evidence.title @?; # Name for this summary (human
# friendly)
( # Citation for this evidence
fhir:Evidence.citeAsReference @ |
fhir:Evidence.citeAsMarkdown @
)?;
fhir:Evidence.status @ AND
{fhir:value @fhirvs:publication-status}; # draft | active | retired | unknown
fhir:Evidence.date @?; # Date last changed
fhir:Evidence.useContext @*; # The context that the content is
# intended to support
fhir:Evidence.approvalDate @?; # When the summary was approved by
# publisher
fhir:Evidence.lastReviewDate @?; # When the summary was last reviewed
fhir:Evidence.publisher @?; # Name of the publisher
# (organization or individual)
fhir:Evidence.contact @*; # Contact details for the publisher
fhir:Evidence.author @*; # Who authored the content
fhir:Evidence.editor @*; # Who edited the content
fhir:Evidence.reviewer @*; # Who reviewed the content
fhir:Evidence.endorser @*; # Who endorsed the content
fhir:Evidence.relatedArtifact @*; # Link or citation to artifact
# associated with the summary
fhir:Evidence.description @?; # Description of the particular
# summary
fhir:Evidence.assertion @?; # Declarative description of the
# Evidence
fhir:Evidence.note @*; # Footnotes and/or explanatory notes
fhir:Evidence.variableDefinition @+; # Evidence variable such as
# population, exposure, or outcome
fhir:Evidence.synthesisType @?; # The method to combine studies
fhir:Evidence.studyType @?; # The type of study that produced
# this evidence
fhir:Evidence.statistic @*; # Values and parameters for a single
# statistic
fhir:Evidence.certainty @*; # Certainty or quality of the
# evidence
fhir:index xsd:integer? # Relative position in a list
}
# Evidence variable such as population, exposure, or outcome
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:Evidence.variableDefinition.description @?; # A text description or summary of
# the variable
fhir:Evidence.variableDefinition.note @*; # Footnotes and/or explanatory notes
fhir:Evidence.variableDefinition.variableRole @; # population | subpopulation |
# exposure | referenceExposure |
# measuredVariable | confounder
fhir:Evidence.variableDefinition.observed @?; # Definition of the actual variable
# related to the statistic(s)
fhir:Evidence.variableDefinition.intended @?; # Definition of the intended
# variable related to the Evidence
fhir:Evidence.variableDefinition.directnessMatch @?; # low | moderate | high | exact
fhir:index xsd:integer? # Relative position in a list
}
# Certainty or quality of the evidence
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:Evidence.certainty.description @?; # Textual description of certainty
fhir:Evidence.certainty.note @*; # Footnotes and/or explanatory notes
fhir:Evidence.certainty.type @?; # Aspect of certainty being rated
fhir:Evidence.certainty.rating @?; # Assessment or judgement of the
# aspect
fhir:Evidence.certainty.rater @?; # Individual or group who did the
# rating
fhir:Evidence.certainty.subcomponent @*; # A domain or subdomain of certainty
fhir:index xsd:integer? # Relative position in a list
}
# Values and parameters for a single statistic
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:Evidence.statistic.description @?; # Description of content
fhir:Evidence.statistic.note @*; # Footnotes and/or explanatory notes
fhir:Evidence.statistic.statisticType @?; # Type of statistic, eg relative risk
fhir:Evidence.statistic.category @?; # Associated category for
# categorical variable
fhir:Evidence.statistic.quantity @?; # Statistic value
fhir:Evidence.statistic.numberOfEvents @?; # The number of events associated
# with the statistic
fhir:Evidence.statistic.numberAffected @?; # The number of participants affected
fhir:Evidence.statistic.sampleSize @?; # Number of samples in the statistic
fhir:Evidence.statistic.attributeEstimate @*; # An attribute of the Statistic
fhir:Evidence.statistic.modelCharacteristic @*; # An aspect of the statistical model
fhir:index xsd:integer? # Relative position in a list
}
# An aspect of the statistical model
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:Evidence.statistic.modelCharacteristic.code @; # Model specification
fhir:Evidence.statistic.modelCharacteristic.value @?; # Numerical value to complete model
# specification
fhir:Evidence.statistic.modelCharacteristic.variable @*; # A variable adjusted for in the
# adjusted analysis
fhir:Evidence.statistic.modelCharacteristic.attributeEstimate @*; # An attribute of the statistic used
# as a model characteristic
fhir:index xsd:integer? # Relative position in a list
}
# An attribute of the Statistic
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:Evidence.statistic.attributeEstimate.description @?; # Textual description of the
# attribute estimate
fhir:Evidence.statistic.attributeEstimate.note @*; # Footnote or explanatory note about
# the estimate
fhir:Evidence.statistic.attributeEstimate.type @?; # The type of attribute estimate, eg
# confidence interval or p value
fhir:Evidence.statistic.attributeEstimate.quantity @?; # The singular quantity of the
# attribute estimate, for attribute
# estimates represented as single
# values; also used to report unit
# of measure
fhir:Evidence.statistic.attributeEstimate.level @?; # Level of confidence interval, eg
# 0.95 for 95% confidence interval
fhir:Evidence.statistic.attributeEstimate.range @?; # Lower and upper bound values of
# the attribute estimate
fhir:Evidence.statistic.attributeEstimate.attributeEstimate @*; # A nested attribute estimate; which
# is the attribute estimate of an
# attribute estimate
fhir:index xsd:integer? # Relative position in a list
}
# Number of samples in the statistic
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:Evidence.statistic.sampleSize.description @?; # Textual description of sample size
# for statistic
fhir:Evidence.statistic.sampleSize.note @*; # Footnote or explanatory note about
# the sample size
fhir:Evidence.statistic.sampleSize.numberOfStudies @?; # Number of contributing studies
fhir:Evidence.statistic.sampleSize.numberOfParticipants @?; # Cumulative number of participants
fhir:Evidence.statistic.sampleSize.knownDataCount @?; # Number of participants with known
# results for measured variables
fhir:index xsd:integer? # Relative position in a list
}
# A domain or subdomain of certainty
CLOSED {
fhir:index xsd:integer? # Relative position in a list
}
# A variable adjusted for in the adjusted analysis
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:Evidence.statistic.modelCharacteristic.variable.variableDefinition @; # Description of the variable
fhir:Evidence.statistic.modelCharacteristic.variable.handling @ AND
{fhir:value @fhirvs:variable-handling}?; # continuous | dichotomous | ordinal
# | polychotomous
fhir:Evidence.statistic.modelCharacteristic.variable.valueCategory @*; # Description for grouping of
# ordinal or polychotomous variables
fhir:Evidence.statistic.modelCharacteristic.variable.valueQuantity @*; # Discrete value for grouping of
# ordinal or polychotomous variables
fhir:Evidence.statistic.modelCharacteristic.variable.valueRange @*; # Range of values for grouping of
# ordinal or polychotomous variables
fhir:index xsd:integer? # Relative position in a list
}
# An attribute of the statistic used as a model characteristic
CLOSED {
fhir:index xsd:integer? # Relative position in a list
}
# A nested attribute estimate; which is the attribute estimate of an attribute estimate
CLOSED {
fhir:index xsd:integer? # Relative position in a list
}
#---------------------- Data Types -------------------
# Primitive Type dateTime
CLOSED {
fhir:Element.id string?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value dateTime?; # Primitive value for dateTime
fhir:index xsd:integer? # Relative position in a list
}
# Primitive Type date
CLOSED {
fhir:Element.id string?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value date?; # Primitive value for date
fhir:index xsd:integer? # Relative position in a list
}
# Metadata about a resource
CLOSED {
fhir:Element.id id?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:Meta.versionId @?; # Version specific identifier
fhir:Meta.lastUpdated @?; # When the resource version last
# changed
fhir:Meta.source @?; # Identifies where the resource
# comes from
fhir:Meta.profile @*; # Profiles this resource claims to
# conform to
fhir:Meta.security @*; # Security Labels applied to this
# resource
fhir:Meta.tag @*; # Tags applied to this resource
fhir:index xsd:integer? # Relative position in a list
}
# Primitive Type code
CLOSED {
fhir:Element.id string?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value code?; # Primitive value for code
fhir:index xsd:integer? # Relative position in a list
}
# Primitive Type string
CLOSED {
fhir:Element.id string?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value string MAXLENGTH 1048576?; # Primitive value for string
fhir:index xsd:integer? # Relative position in a list
}
# A reference from one resource to another
CLOSED {
fhir:link IRI?;
fhir:Element.id id?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:Reference.reference @?; # Literal reference, Relative,
# internal or absolute URL
fhir:Reference.type @?; # Type the reference refers to (e.g.
# "Patient")
fhir:Reference.identifier @?; # Logical reference, when literal
# reference is not known
fhir:Reference.display @?; # Text alternative for the resource
fhir:index xsd:integer? # Relative position in a list
}
# Base Resource
{a .+;
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:index xsd:integer?
}
# A fixed quantity (no comparator)
CLOSED {
fhir:Element.id id?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:Quantity.value @?; # Numerical value (with implicit
# precision)
fhir:Quantity.unit @?; # Unit representation
fhir:Quantity.system @?; # System that defines coded unit form
fhir:Quantity.code @?; # Coded form of the unit
fhir:index xsd:integer? # Relative position in a list
}
# A measured or measurable amount
CLOSED {
fhir:Element.id id?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:Quantity.value @?; # Numerical value (with implicit
# precision)
fhir:Quantity.comparator @ AND
{fhir:value @fhirvs:quantity-comparator}?; # < | <= | >= | > - how to
# understand the value
fhir:Quantity.unit @?; # Unit representation
fhir:Quantity.system @?; # System that defines coded unit form
fhir:Quantity.code @?; # Coded form of the unit
fhir:index xsd:integer? # Relative position in a list
}
# Related artifacts for a knowledge resource
CLOSED {
fhir:Element.id id?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:RelatedArtifact.type @ AND
{fhir:value @fhirvs:related-artifact-type}; # documentation | justification |
# citation | predecessor | successor
# | derived-from | depends-on |
# composed-of
fhir:RelatedArtifact.label @?; # Short label
fhir:RelatedArtifact.display @?; # Brief description of the related
# artifact
fhir:RelatedArtifact.citation @?; # Bibliographic citation for the
# artifact
fhir:RelatedArtifact.url @?; # Where the artifact can be accessed
fhir:RelatedArtifact.document @?; # What document is being referenced
fhir:RelatedArtifact.resource @?; # What resource is being referenced
fhir:index xsd:integer? # Relative position in a list
}
# Set of values bounded by low and high
CLOSED {
fhir:Element.id id?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:Range.low @?; # Low limit
fhir:Range.high @?; # High limit
fhir:index xsd:integer? # Relative position in a list
}
# Primitive Type uri
CLOSED {
fhir:Element.id string?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value uri?; # Primitive value for uri
fhir:index xsd:integer? # Relative position in a list
}
# Text node with attribution
CLOSED {
fhir:Element.id id?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
( # Individual responsible for the
# annotation
fhir:Annotation.authorReference @ |
fhir:Annotation.authorString @
)?;
fhir:Annotation.time @?; # When the annotation was made
fhir:Annotation.text @; # The annotation - text content (as
# markdown)
fhir:index xsd:integer? # Relative position in a list
}
# 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 @