PREFIX fhir: PREFIX fhirvs: PREFIX xsd: BASE start=@ AND {fhir:nodeRole [fhir:treeRoot]} # A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure CLOSED { a [fhir:ClinicalUseDefinition]; 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:ClinicalUseDefinition.identifier @*; # Business identifier for this issue fhir:ClinicalUseDefinition.type @ AND {fhir:value @fhirvs:clinical-use-definition-type}; # indication | contraindication | # interaction | undesirable-effect | # warning fhir:ClinicalUseDefinition.category @*; # A categorisation of the issue, # primarily for dividing warnings # into subject heading areas such as # "Pregnancy", "Overdose" fhir:ClinicalUseDefinition.subject @*; # The medication or procedure for # which this is an indication fhir:ClinicalUseDefinition.status @?; # Whether this is a current issue or # one that has been retired etc fhir:ClinicalUseDefinition.contraindication @?; # Specifics for when this is a # contraindication fhir:ClinicalUseDefinition.indication @?; # Specifics for when this is an # indication fhir:ClinicalUseDefinition.interaction @?; # Specifics for when this is an # interaction fhir:ClinicalUseDefinition.population @*; # The population group to which this # applies fhir:ClinicalUseDefinition.undesirableEffect @?; # A possible negative outcome from # the use of this treatment fhir:ClinicalUseDefinition.warning @?; # Critical environmental, health or # physical risks or hazards. For # example 'Do not operate heavy # machinery', 'May cause drowsiness' fhir:index xsd:integer? # Relative position in a list } # A possible negative outcome from the use of this treatment 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:ClinicalUseDefinition.undesirableEffect.symptomConditionEffect @?; # The situation in which the # undesirable effect may manifest fhir:ClinicalUseDefinition.undesirableEffect.classification @?; # High level classification of the # effect fhir:ClinicalUseDefinition.undesirableEffect.frequencyOfOccurrence @?; # How often the effect is seen fhir:index xsd:integer? # Relative position in a list } # Critical environmental, health or physical risks or hazards. For example 'Do not operate heavy machinery', 'May cause drowsiness' 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:ClinicalUseDefinition.warning.description @?; # A textual definition of this # warning, with formatting fhir:ClinicalUseDefinition.warning.code @?; # A coded or unformatted textual # definition of this warning fhir:index xsd:integer? # Relative position in a list } # Specifics for when this is an interaction 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:ClinicalUseDefinition.interaction.interactant @*; # The specific medication, food, # substance or laboratory test that # interacts fhir:ClinicalUseDefinition.interaction.type @?; # The type of the interaction e.g. # drug-drug interaction, drug-lab # test interaction fhir:ClinicalUseDefinition.interaction.effect @?; # The effect of the interaction, for # example "reduced gastric # absorption of primary medication" fhir:ClinicalUseDefinition.interaction.incidence @?; # The incidence of the interaction, # e.g. theoretical, observed fhir:ClinicalUseDefinition.interaction.management @*; # Actions for managing the # interaction fhir:index xsd:integer? # Relative position in a list } # Specifics for when this is a contraindication 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:ClinicalUseDefinition.contraindication.diseaseSymptomProcedure @?; # The situation that is being # documented as contraindicating # against this item fhir:ClinicalUseDefinition.contraindication.diseaseStatus @?; # The status of the disease or # symptom for the contraindication fhir:ClinicalUseDefinition.contraindication.comorbidity @*; # A comorbidity (concurrent # condition) or coinfection fhir:ClinicalUseDefinition.contraindication.indication @*; # The indication which this is a # contraidication for fhir:ClinicalUseDefinition.contraindication.otherTherapy @*; # Information about use of the # product in relation to other # therapies described as part of the # contraindication fhir:index xsd:integer? # Relative position in a list } # Specifics for when this is an indication 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:ClinicalUseDefinition.indication.diseaseSymptomProcedure @?; # The situation that is being # documented as an indicaton for # this item fhir:ClinicalUseDefinition.indication.diseaseStatus @?; # The status of the disease or # symptom for the indication fhir:ClinicalUseDefinition.indication.comorbidity @*; # A comorbidity or coinfection as # part of the indication fhir:ClinicalUseDefinition.indication.intendedEffect @?; # The intended effect, aim or # strategy to be achieved ( # Timing or duration information fhir:ClinicalUseDefinition.indication.durationRange @ | fhir:ClinicalUseDefinition.indication.durationString @ )?; fhir:ClinicalUseDefinition.indication.undesirableEffect @*; # An unwanted side effect or # negative outcome of the subject of # this resource when being used for # this indication fhir:ClinicalUseDefinition.indication.otherTherapy @*; # The use of the medicinal product # in relation to other therapies # described as part of the # indication fhir:index xsd:integer? # Relative position in a list } # The specific medication, food, substance or laboratory test that interacts 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 ( # The specific medication, food or # laboratory test that interacts fhir:ClinicalUseDefinition.interaction.interactant.itemReference @ | fhir:ClinicalUseDefinition.interaction.interactant.itemCodeableConcept @ ); fhir:index xsd:integer? # Relative position in a list } # Information about use of the product in relation to other therapies described as part of the contraindication 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:ClinicalUseDefinition.contraindication.otherTherapy.relationshipType @; # The type of relationship between # the product # indication/contraindication and # another therapy fhir:ClinicalUseDefinition.contraindication.otherTherapy.therapy @; # Reference to a specific medication # as part of an indication or # contraindication fhir:index xsd:integer? # Relative position in a list } # The use of the medicinal product in relation to other therapies described as part of the indication CLOSED { 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? } # 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 } # 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 @