PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
BASE
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# Contains a collection of resources
CLOSED {
a [fhir:Bundle];
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:Bundle.identifier @?; # Persistent identifier for the
# bundle
fhir:Bundle.type @ AND
{fhir:value @fhirvs:bundle-type}; # document | message | transaction |
# transaction-response | batch |
# batch-response | history |
# searchset | collection
fhir:Bundle.timestamp @?; # When the bundle was assembled
fhir:Bundle.total @?; # If search, the total number of
# matches
fhir:Bundle.link @*; # Links related to this Bundle
fhir:Bundle.entry @*; # Entry in the bundle - will have a
# resource or information
fhir:Bundle.signature @?; # Digital Signature
fhir:index xsd:integer? # Relative position in a list
}
# Entry in the bundle - will have a resource or information
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:Bundle.entry.link @*; # Links related to this entry
fhir:Bundle.entry.fullUrl @?; # URI for resource (Absolute URL
# server address or URI for
# UUID/OID)
fhir:Bundle.entry.resource @?; # A resource in the bundle
fhir:Bundle.entry.search @?; # Search related information
fhir:Bundle.entry.request @?; # Additional execution information
# (transaction/batch/history)
fhir:Bundle.entry.response @?; # Results of execution
# (transaction/batch/history)
fhir:index xsd:integer? # Relative position in a list
}
# Links related to this Bundle
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:Bundle.link.relation @; # See
# http://www.iana.org/assignments/-
# link-relations/link-relations.xh-
# tml#link-relations-1
fhir:Bundle.link.url @; # Reference details for the link
fhir:index xsd:integer? # Relative position in a list
}
# Additional execution information (transaction/batch/history)
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:Bundle.entry.request.method @ AND
{fhir:value @fhirvs:http-verb}; # GET | HEAD | POST | PUT | DELETE |
# PATCH
fhir:Bundle.entry.request.url @; # URL for HTTP equivalent of this
# entry
fhir:Bundle.entry.request.ifNoneMatch @?; # For managing cache currency
fhir:Bundle.entry.request.ifModifiedSince @?; # For managing cache currency
fhir:Bundle.entry.request.ifMatch @?; # For managing update contention
fhir:Bundle.entry.request.ifNoneExist @?; # For conditional creates
fhir:index xsd:integer? # Relative position in a list
}
# Results of execution (transaction/batch/history)
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:Bundle.entry.response.status @; # Status response code (text
# optional)
fhir:Bundle.entry.response.location @?; # The location (if the operation
# returns a location)
fhir:Bundle.entry.response.etag @?; # The Etag for the resource (if
# relevant)
fhir:Bundle.entry.response.lastModified @?; # Server's date time modified
fhir:Bundle.entry.response.outcome @?; # OperationOutcome with hints and
# warnings (for batch/transaction)
fhir:index xsd:integer? # Relative position in a list
}
# Links related to this entry
CLOSED {
fhir:index xsd:integer? # Relative position in a list
}
# Search related information
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:Bundle.entry.search.mode @ AND
{fhir:value @fhirvs:search-entry-mode}?; # match | include | outcome - why
# this is in the result set
fhir:Bundle.entry.search.score @?; # Search ranking (between 0 and 1)
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 @