PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
BASE
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# A EvidenceReport
CLOSED {
a [fhir:EvidenceReport];
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:EvidenceReport.url @?; # Canonical identifier for this
# EvidenceReport, represented as a
# globally unique URI
fhir:EvidenceReport.status @ AND
{fhir:value @fhirvs:publication-status}; # draft | active | retired | unknown
fhir:EvidenceReport.useContext @*; # The context that the content is
# intended to support
fhir:EvidenceReport.identifier @*; # Unique identifier for the evidence
# report
fhir:EvidenceReport.relatedIdentifier @*; # Identifiers for articles that may
# relate to more than one evidence
# report
( # Citation for this report
fhir:EvidenceReport.citeAsReference @ |
fhir:EvidenceReport.citeAsMarkdown @
)?;
fhir:EvidenceReport.type @?; # Kind of report
fhir:EvidenceReport.note @*; # Used for footnotes and annotations
fhir:EvidenceReport.relatedArtifact @*; # Link, description or reference to
# artifact associated with the
# report
fhir:EvidenceReport.subject @; # Focus of the report
fhir:EvidenceReport.publisher @?; # Name of the publisher
# (organization or individual)
fhir:EvidenceReport.contact @*; # Contact details for the publisher
fhir:EvidenceReport.author @*; # Who authored the content
fhir:EvidenceReport.editor @*; # Who edited the content
fhir:EvidenceReport.reviewer @*; # Who reviewed the content
fhir:EvidenceReport.endorser @*; # Who endorsed the content
fhir:EvidenceReport.relatesTo @*; # Relationships to other
# compositions/documents
fhir:EvidenceReport.section @*; # Composition is broken into sections
fhir:index xsd:integer? # Relative position in a list
}
# Focus of the report
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:EvidenceReport.subject.characteristic @*; # Characteristic
fhir:EvidenceReport.subject.note @*; # Footnotes and/or explanatory notes
fhir:index xsd:integer? # Relative position in a list
}
# Relationships to other compositions/documents
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:EvidenceReport.relatesTo.code @ AND
{fhir:value @fhirvs:report-relation-type}; # replaces | amends | appends |
# transforms | replacedWith |
# amendedWith | appendedWith |
# transformedWith
( # Target of the relationship
fhir:EvidenceReport.relatesTo.targetIdentifier @ |
fhir:EvidenceReport.relatesTo.targetReference @
);
fhir:index xsd:integer? # Relative position in a list
}
# Composition is broken into sections
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:EvidenceReport.section.title @?; # Label for section (e.g. for ToC)
fhir:EvidenceReport.section.focus @?; # Classification of section
# (recommended)
fhir:EvidenceReport.section.focusReference @?; # Classification of section by
# Resource
fhir:EvidenceReport.section.author @*; # Who and/or what authored the
# section
fhir:EvidenceReport.section.text @?; # Text summary of the section, for
# human interpretation
fhir:EvidenceReport.section.mode @ AND
{fhir:value @fhirvs:list-mode}?; # working | snapshot | changes
fhir:EvidenceReport.section.orderedBy @?; # Order of section entries
fhir:EvidenceReport.section.entryClassifier @*; # Extensible classifiers as content
fhir:EvidenceReport.section.entryReference @*; # Reference to resources as content
fhir:EvidenceReport.section.entryQuantity @*; # Quantity as content
fhir:EvidenceReport.section.emptyReason @?; # Why the section is empty
fhir:EvidenceReport.section.section @*; # Nested Section
fhir:index xsd:integer? # Relative position in a list
}
# Nested Section
CLOSED {
fhir:index xsd:integer? # Relative position in a list
}
# Characteristic
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:EvidenceReport.subject.characteristic.code @; # Characteristic code
( # Characteristic value
fhir:EvidenceReport.subject.characteristic.valueReference @ |
fhir:EvidenceReport.subject.characteristic.valueCodeableConcept @ |
fhir:EvidenceReport.subject.characteristic.valueBoolean @ |
fhir:EvidenceReport.subject.characteristic.valueQuantity @ |
fhir:EvidenceReport.subject.characteristic.valueRange @
);
fhir:EvidenceReport.subject.characteristic.exclude @?; # Is used to express not the
# characteristic
fhir:EvidenceReport.subject.characteristic.period @?; # Timeframe for the characteristic
fhir:index xsd:integer? # Relative position in a list
}
#---------------------- Data Types -------------------
# 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 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
}
# 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
}
# 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 @