PREFIX fhir: PREFIX fhirvs: PREFIX xsd: BASE start=@ AND {fhir:nodeRole [fhir:treeRoot]} # Investigation to increase healthcare-related patient-independent knowledge CLOSED { a [fhir:ResearchStudy]; 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:ResearchStudy.identifier @*; # Business Identifier for study fhir:ResearchStudy.title @?; # Name for this study fhir:ResearchStudy.protocol @*; # Steps followed in executing study fhir:ResearchStudy.partOf @*; # Part of larger study fhir:ResearchStudy.status @ AND {fhir:value @fhirvs:research-study-status}; # active | # administratively-completed | # approved | closed-to-accrual | # closed-to-accrual-and-intervention # | completed | disapproved | # in-review | # temporarily-closed-to-accrual | # temporarily-closed-to-accrual-an- # d-intervention | withdrawn fhir:ResearchStudy.primaryPurposeType @?; # treatment | prevention | # diagnostic | supportive-care | # screening | # health-services-research | # basic-science | device-feasibility fhir:ResearchStudy.phase @?; # n-a | early-phase-1 | phase-1 | # phase-1-phase-2 | phase-2 | # phase-2-phase-3 | phase-3 | # phase-4 fhir:ResearchStudy.category @*; # Classifications for the study fhir:ResearchStudy.focus @*; # Drugs, devices, etc. under study fhir:ResearchStudy.condition @*; # Condition being studied fhir:ResearchStudy.contact @*; # Contact details for the study fhir:ResearchStudy.relatedArtifact @*; # References and dependencies fhir:ResearchStudy.keyword @*; # Used to search for the study fhir:ResearchStudy.location @*; # Geographic region(s) for study fhir:ResearchStudy.description @?; # What this is study doing fhir:ResearchStudy.enrollment @*; # Inclusion & exclusion criteria fhir:ResearchStudy.period @?; # When the study began and ended fhir:ResearchStudy.sponsor @?; # Organization that initiates and is # legally responsible for the study fhir:ResearchStudy.principalInvestigator @?; # Researcher who oversees multiple # aspects of the study fhir:ResearchStudy.site @*; # Facility where study activities # are conducted fhir:ResearchStudy.reasonStopped @?; # accrual-goal-met | # closed-due-to-toxicity | # closed-due-to-lack-of-study-prog- # ress | # temporarily-closed-per-study-des- # ign fhir:ResearchStudy.note @*; # Comments made about the study fhir:ResearchStudy.arm @*; # Defined path through the study for # a subject fhir:ResearchStudy.objective @*; # A goal for the study fhir:index xsd:integer? # Relative position in a list } # Defined path through the study for a subject 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:ResearchStudy.arm.name @; # Label for study arm fhir:ResearchStudy.arm.type @?; # Categorization of study arm fhir:ResearchStudy.arm.description @?; # Short explanation of study path fhir:index xsd:integer? # Relative position in a list } # A goal for the study 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:ResearchStudy.objective.name @?; # Label for the objective fhir:ResearchStudy.objective.type @?; # primary | secondary | exploratory 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? } # 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 } # 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 @