PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
BASE
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# A pharmaceutical product described in terms of its composition and dose form
CLOSED {
a [fhir:MedicinalProductPharmaceutical];
fhir:nodeRole [fhir:treeRoot]?;
fhir:Resource.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:MedicinalProductPharmaceutical.identifier @*; # An identifier for the
# pharmaceutical medicinal product
fhir:MedicinalProductPharmaceutical.administrableDoseForm @; # The administrable dose form, after
# necessary reconstitution
fhir:MedicinalProductPharmaceutical.unitOfPresentation @?; # Todo
fhir:MedicinalProductPharmaceutical.ingredient @*; # Ingredient
fhir:MedicinalProductPharmaceutical.device @*; # Accompanying device
fhir:MedicinalProductPharmaceutical.characteristics @*; # Characteristics e.g. a products
# onset of action
fhir:MedicinalProductPharmaceutical.routeOfAdministration @+; # The path by which the
# pharmaceutical product is taken
# into or makes contact with the
# body
fhir:index xsd:integer? # Relative position in a list
}
# The path by which the pharmaceutical product is taken into or makes contact with the body
CLOSED {
fhir:Element.id @?; # 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:MedicinalProductPharmaceutical.routeOfAdministration.code @; # Coded expression for the route
fhir:MedicinalProductPharmaceutical.routeOfAdministration.firstDose @?; # The first dose (dose quantity)
# administered in humans can be
# specified, for a product under
# investigation, using a numerical
# value and its unit of measurement
fhir:MedicinalProductPharmaceutical.routeOfAdministration.maxSingleDose @?; # The maximum single dose that can
# be administered as per the
# protocol of a clinical trial can
# be specified using a numerical
# value and its unit of measurement
fhir:MedicinalProductPharmaceutical.routeOfAdministration.maxDosePerDay @?; # The maximum dose per day (maximum
# dose quantity to be administered
# in any one 24-h period) that can
# be administered as per the
# protocol referenced in the
# clinical trial authorisation
fhir:MedicinalProductPharmaceutical.routeOfAdministration.maxDosePerTreatmentPeriod @?; # The maximum dose per treatment
# period that can be administered as
# per the protocol referenced in the
# clinical trial authorisation
fhir:MedicinalProductPharmaceutical.routeOfAdministration.maxTreatmentPeriod @?; # The maximum treatment period
# during which an Investigational
# Medicinal Product can be
# administered as per the protocol
# referenced in the clinical trial
# authorisation
fhir:MedicinalProductPharmaceutical.routeOfAdministration.targetSpecies @*; # A species for which this route
# applies
fhir:index xsd:integer? # Relative position in a list
}
# Characteristics e.g. a products onset of action
CLOSED {
fhir:Element.id @?; # 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:MedicinalProductPharmaceutical.characteristics.code @; # A coded characteristic
fhir:MedicinalProductPharmaceutical.characteristics.status @?; # The status of characteristic e.g.
# assigned or pending
fhir:index xsd:integer? # Relative position in a list
}
# A species for which this route applies
CLOSED {
fhir:Element.id @?; # 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:MedicinalProductPharmaceutical.routeOfAdministration.targetSpecies.code @; # Coded expression for the species
fhir:MedicinalProductPharmaceutical.routeOfAdministration.targetSpecies.withdrawalPeriod @*; # A species specific time during
# which consumption of animal
# product is not appropriate
fhir:index xsd:integer? # Relative position in a list
}
# A species specific time during which consumption of animal product is not appropriate
CLOSED {
fhir:Element.id @?; # 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:MedicinalProductPharmaceutical.routeOfAdministration.targetSpecies.withdrawalPeriod.tissue @; # Coded expression for the type of
# tissue for which the withdrawal
# period applues, e.g. meat, milk
fhir:MedicinalProductPharmaceutical.routeOfAdministration.targetSpecies.withdrawalPeriod.value @; # A value for the time
fhir:MedicinalProductPharmaceutical.routeOfAdministration.targetSpecies.withdrawalPeriod.supportingInformation @?; # Extra information about the
# withdrawal period
fhir:index xsd:integer? # Relative position in a list
}
#---------------------- Data Types -------------------
# Metadata about a resource
CLOSED {
fhir:Element.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 @?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value @?; # Primitive value for code
fhir:index xsd:integer? # Relative position in a list
}
# Primitive Type string
CLOSED {
fhir:Element.id @?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value @?; # 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 @?; # 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 @?; # 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?
}
# A measured or measurable amount
CLOSED {
fhir:Element.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
}
# A length of time
CLOSED {
fhir:Element.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 uri
CLOSED {
fhir:Element.id @?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value @?; # Primitive value for uri
fhir:index xsd:integer? # Relative position in a list
}
# Optional Extensions Element
CLOSED {
fhir:Element.id @?;
fhir:Element.extension @*;
fhir:Extension.url @;
(
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 @