PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
BASE
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# Results of a measure evaluation
CLOSED {
a [fhir:MeasureReport];
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:MeasureReport.identifier @*; # Additional identifier for the
# MeasureReport
fhir:MeasureReport.status @ AND
{fhir:value @fhirvs:measure-report-status}; # complete | pending | error
fhir:MeasureReport.type @ AND
{fhir:value @fhirvs:measure-report-type}; # individual | subject-list |
# summary | data-collection
fhir:MeasureReport.measure @; # What measure was calculated
fhir:MeasureReport.subject @?; # What individual(s) the report is
# for
fhir:MeasureReport.date @?; # When the report was generated
fhir:MeasureReport.reporter @?; # Who is reporting the data
fhir:MeasureReport.period @; # What period the report covers
fhir:MeasureReport.improvementNotation @?; # increase | decrease
fhir:MeasureReport.group @*; # Measure results for each group
fhir:MeasureReport.evaluatedResource @*; # What data was used to calculate
# the measure score
fhir:index xsd:integer? # Relative position in a list
}
# Measure results for each group
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:MeasureReport.group.code @?; # Meaning of the group
fhir:MeasureReport.group.population @*; # The populations in the group
fhir:MeasureReport.group.measureScore @?; # What score this group achieved
fhir:MeasureReport.group.stratifier @*; # Stratification results
fhir:index xsd:integer? # Relative position in a list
}
# The populations in the group
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:MeasureReport.group.population.code @?; # initial-population | numerator |
# numerator-exclusion | denominator
# | denominator-exclusion |
# denominator-exception |
# measure-population |
# measure-population-exclusion |
# measure-observation
fhir:MeasureReport.group.population.count @?; # Size of the population
fhir:MeasureReport.group.population.subjectResults @?; # For subject-list reports, the
# subject results in this population
fhir:index xsd:integer? # Relative position in a list
}
# Stratification results
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:MeasureReport.group.stratifier.code @*; # What stratifier of the group
fhir:MeasureReport.group.stratifier.stratum @*; # Stratum results, one for each
# unique value, or set of values, in
# the stratifier, or stratifier
# components
fhir:index xsd:integer? # Relative position in a list
}
# Stratum results, one for each unique value, or set of values, in the stratifier, or stratifier components
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:MeasureReport.group.stratifier.stratum.value @?; # The stratum value, e.g. male
fhir:MeasureReport.group.stratifier.stratum.component @*; # Stratifier component values
fhir:MeasureReport.group.stratifier.stratum.population @*; # Population results in this stratum
fhir:MeasureReport.group.stratifier.stratum.measureScore @?; # What score this stratum achieved
fhir:index xsd:integer? # Relative position in a list
}
# Stratifier component values
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:MeasureReport.group.stratifier.stratum.component.code @; # What stratifier component of the
# group
fhir:MeasureReport.group.stratifier.stratum.component.value @; # The stratum component value, e.g.
# male
fhir:index xsd:integer? # Relative position in a list
}
# Population results in this stratum
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:MeasureReport.group.stratifier.stratum.population.code @?; # initial-population | numerator |
# numerator-exclusion | denominator
# | denominator-exclusion |
# denominator-exception |
# measure-population |
# measure-population-exclusion |
# measure-observation
fhir:MeasureReport.group.stratifier.stratum.population.count @?; # Size of the population
fhir:MeasureReport.group.stratifier.stratum.population.subjectResults @?; # For subject-list reports, the
# subject results in this population
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
}
# 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
}
# 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?
}
# Time range defined by start and end date/time
CLOSED {
fhir:Element.id id?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:Period.start @?; # Starting time with inclusive
# boundary
fhir:Period.end @?; # End time with inclusive boundary,
# if not ongoing
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
}
# Primitive Type canonical
CLOSED {
fhir:Element.id string?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value canonical?; # Primitive value for canonical
fhir:index xsd:integer? # Relative position in a list
}
# Primitive Type integer
CLOSED {
fhir:Element.id string?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value integer MININCLUSIVE -2147483648 MAXINCLUSIVE 2147483647?; # Primitive value for integer
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
}
# 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 @