PREFIX fhir: PREFIX fhirvs: PREFIX xsd: BASE start=@ AND {fhir:nodeRole [fhir:treeRoot]} # A research context or question CLOSED { a [fhir:ResearchDefinition]; 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:ResearchDefinition.url @?; # Canonical identifier for this # research definition, represented # as a URI (globally unique) fhir:ResearchDefinition.identifier @*; # Additional identifier for the # research definition fhir:ResearchDefinition.version @?; # Business version of the research # definition fhir:ResearchDefinition.name @?; # Name for this research definition # (computer friendly) fhir:ResearchDefinition.title @?; # Name for this research definition # (human friendly) fhir:ResearchDefinition.shortTitle @?; # Title for use in informal contexts fhir:ResearchDefinition.subtitle @?; # Subordinate title of the # ResearchDefinition fhir:ResearchDefinition.status @ AND {fhir:value @fhirvs:publication-status}; # draft | active | retired | unknown fhir:ResearchDefinition.experimental @?; # For testing purposes, not real # usage ( # E.g. Patient, Practitioner, # RelatedPerson, Organization, # Location, Device fhir:ResearchDefinition.subjectCodeableConcept @ | fhir:ResearchDefinition.subjectReference @ )?; fhir:ResearchDefinition.date @?; # Date last changed fhir:ResearchDefinition.publisher @?; # Name of the publisher # (organization or individual) fhir:ResearchDefinition.contact @*; # Contact details for the publisher fhir:ResearchDefinition.description @?; # Natural language description of # the research definition fhir:ResearchDefinition.comment @*; # Used for footnotes or explanatory # notes fhir:ResearchDefinition.useContext @*; # The context that the content is # intended to support fhir:ResearchDefinition.jurisdiction @*; # Intended jurisdiction for research # definition (if applicable) fhir:ResearchDefinition.purpose @?; # Why this research definition is # defined fhir:ResearchDefinition.usage @?; # Describes the clinical usage of # the ResearchDefinition fhir:ResearchDefinition.copyright @?; # Use and/or publishing restrictions fhir:ResearchDefinition.approvalDate @?; # When the research definition was # approved by publisher fhir:ResearchDefinition.lastReviewDate @?; # When the research definition was # last reviewed fhir:ResearchDefinition.effectivePeriod @?; # When the research definition is # expected to be used fhir:ResearchDefinition.topic @*; # The category of the # ResearchDefinition, such as # Education, Treatment, Assessment, # etc. fhir:ResearchDefinition.author @*; # Who authored the content fhir:ResearchDefinition.editor @*; # Who edited the content fhir:ResearchDefinition.reviewer @*; # Who reviewed the content fhir:ResearchDefinition.endorser @*; # Who endorsed the content fhir:ResearchDefinition.relatedArtifact @*; # Additional documentation, # citations, etc. fhir:ResearchDefinition.library @*; # Logic used by the # ResearchDefinition fhir:ResearchDefinition.population @; # What population? fhir:ResearchDefinition.exposure @?; # What exposure? fhir:ResearchDefinition.exposureAlternative @?; # What alternative exposure state? fhir:ResearchDefinition.outcome @?; # What outcome? 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? } # 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 } # 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 } # 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 @