PREFIX fhir: PREFIX fhirvs: PREFIX xsd: BASE start=@ AND {fhir:nodeRole [fhir:treeRoot]} # A group of related requests CLOSED { a [fhir:RequestGroup]; 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:RequestGroup.identifier @*; # Business identifier fhir:RequestGroup.instantiatesCanonical @*; # Instantiates FHIR protocol or # definition fhir:RequestGroup.instantiatesUri @*; # Instantiates external protocol or # definition fhir:RequestGroup.basedOn @*; # Fulfills plan, proposal, or order fhir:RequestGroup.replaces @*; # Request(s) replaced by this request fhir:RequestGroup.groupIdentifier @?; # Composite request this is part of fhir:RequestGroup.status @ AND {fhir:value @fhirvs:request-status}; # draft | active | on-hold | revoked # | completed | entered-in-error | # unknown fhir:RequestGroup.intent @ AND {fhir:value @fhirvs:request-intent}; # proposal | plan | directive | # order | original-order | # reflex-order | filler-order | # instance-order | option fhir:RequestGroup.priority @ AND {fhir:value @fhirvs:request-priority}?; # routine | urgent | asap | stat fhir:RequestGroup.code @?; # What's being requested/ordered fhir:RequestGroup.subject @?; # Who the request group is about fhir:RequestGroup.encounter @?; # Created as part of fhir:RequestGroup.authoredOn @?; # When the request group was authored fhir:RequestGroup.author @?; # Device or practitioner that # authored the request group fhir:RequestGroup.reasonCode @*; # Why the request group is needed fhir:RequestGroup.reasonReference @*; # Why the request group is needed fhir:RequestGroup.note @*; # Additional notes about the response fhir:RequestGroup.action @*; # Proposed actions, if any fhir:index xsd:integer? # Relative position in a list } # Proposed actions, if any 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:RequestGroup.action.prefix @?; # User-visible prefix for the action # (e.g. 1. or A.) fhir:RequestGroup.action.title @?; # User-visible title fhir:RequestGroup.action.description @?; # Short description of the action fhir:RequestGroup.action.textEquivalent @?; # Static text equivalent of the # action, used if the dynamic # aspects cannot be interpreted by # the receiving system fhir:RequestGroup.action.priority @ AND {fhir:value @fhirvs:request-priority}?; # routine | urgent | asap | stat fhir:RequestGroup.action.code @*; # Code representing the meaning of # the action or sub-actions fhir:RequestGroup.action.documentation @*; # Supporting documentation for the # intended performer of the action fhir:RequestGroup.action.condition @*; # Whether or not the action is # applicable fhir:RequestGroup.action.relatedAction @*; # Relationship to another action ( # When the action should take place fhir:RequestGroup.action.timingDateTime @ | fhir:RequestGroup.action.timingAge @ | fhir:RequestGroup.action.timingPeriod @ | fhir:RequestGroup.action.timingDuration @ | fhir:RequestGroup.action.timingRange @ | fhir:RequestGroup.action.timingTiming @ )?; fhir:RequestGroup.action.participant @*; # Who should perform the action fhir:RequestGroup.action.type @?; # create | update | remove | # fire-event fhir:RequestGroup.action.groupingBehavior @ AND {fhir:value @fhirvs:action-grouping-behavior}?; # visual-group | logical-group | # sentence-group fhir:RequestGroup.action.selectionBehavior @ AND {fhir:value @fhirvs:action-selection-behavior}?; # any | all | all-or-none | # exactly-one | at-most-one | # one-or-more fhir:RequestGroup.action.requiredBehavior @ AND {fhir:value @fhirvs:action-required-behavior}?; # must | could | # must-unless-documented fhir:RequestGroup.action.precheckBehavior @ AND {fhir:value @fhirvs:action-precheck-behavior}?; # yes | no fhir:RequestGroup.action.cardinalityBehavior @ AND {fhir:value @fhirvs:action-cardinality-behavior}?; # single | multiple fhir:RequestGroup.action.resource @?; # The target of the action fhir:RequestGroup.action.action @*; # Sub action fhir:index xsd:integer? # Relative position in a list } # Relationship to another action 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:RequestGroup.action.relatedAction.actionId @; # What action this is related to fhir:RequestGroup.action.relatedAction.relationship @ AND {fhir:value @fhirvs:action-relationship-type}; # before-start | before | before-end # | concurrent-with-start | # concurrent | concurrent-with-end | # after-start | after | after-end ( # Time offset for the relationship fhir:RequestGroup.action.relatedAction.offsetDuration @ | fhir:RequestGroup.action.relatedAction.offsetRange @ )?; fhir:index xsd:integer? # Relative position in a list } # Whether or not the action is applicable 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:RequestGroup.action.condition.kind @ AND {fhir:value @fhirvs:action-condition-kind}; # applicability | start | stop fhir:RequestGroup.action.condition.expression @?; # Boolean-valued expression fhir:index xsd:integer? # Relative position in a list } # Sub action 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 } # 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? } # 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 length of time 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 } # 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 @