PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
BASE
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# Todo
CLOSED {
a [fhir:SubstancePolymer];
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:SubstancePolymer.class @?; # Todo
fhir:SubstancePolymer.geometry @?; # Todo
fhir:SubstancePolymer.copolymerConnectivity @*; # Todo
fhir:SubstancePolymer.modification @*; # Todo
fhir:SubstancePolymer.monomerSet @*; # Todo
fhir:SubstancePolymer.repeat @*; # Todo
fhir:index xsd:integer? # Relative position in a list
}
# Todo
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:SubstancePolymer.repeat.numberOfUnits @?; # Todo
fhir:SubstancePolymer.repeat.averageMolecularFormula @?; # Todo
fhir:SubstancePolymer.repeat.repeatUnitAmountType @?; # Todo
fhir:SubstancePolymer.repeat.repeatUnit @*; # Todo
fhir:index xsd:integer? # Relative position in a list
}
# Todo
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:SubstancePolymer.monomerSet.ratioType @?; # Todo
fhir:SubstancePolymer.monomerSet.startingMaterial @*; # Todo
fhir:index xsd:integer? # Relative position in a list
}
# Todo
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:SubstancePolymer.monomerSet.startingMaterial.material @?; # Todo
fhir:SubstancePolymer.monomerSet.startingMaterial.type @?; # Todo
fhir:SubstancePolymer.monomerSet.startingMaterial.isDefining @?; # Todo
fhir:SubstancePolymer.monomerSet.startingMaterial.amount @?; # Todo
fhir:index xsd:integer? # Relative position in a list
}
# Todo
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:SubstancePolymer.repeat.repeatUnit.orientationOfPolymerisation @?; # Todo
fhir:SubstancePolymer.repeat.repeatUnit.repeatUnit @?; # Todo
fhir:SubstancePolymer.repeat.repeatUnit.amount @?; # Todo
fhir:SubstancePolymer.repeat.repeatUnit.degreeOfPolymerisation @*; # Todo
fhir:SubstancePolymer.repeat.repeatUnit.structuralRepresentation @*; # Todo
fhir:index xsd:integer? # Relative position in a list
}
# Todo
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:SubstancePolymer.repeat.repeatUnit.degreeOfPolymerisation.degree @?; # Todo
fhir:SubstancePolymer.repeat.repeatUnit.degreeOfPolymerisation.amount @?; # Todo
fhir:index xsd:integer? # Relative position in a list
}
# Todo
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:SubstancePolymer.repeat.repeatUnit.structuralRepresentation.type @?; # Todo
fhir:SubstancePolymer.repeat.repeatUnit.structuralRepresentation.representation @?; # Todo
fhir:SubstancePolymer.repeat.repeatUnit.structuralRepresentation.attachment @?; # Todo
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
}
# 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?
}
# Content in a format defined elsewhere
CLOSED {
fhir:Element.id @?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:Attachment.contentType @ AND
{fhir:value @fhirvs:mimetypes}?; # Mime type of the content, with
# charset etc.
fhir:Attachment.language @?; # Human language of the content
# (BCP-47)
fhir:Attachment.data @?; # Data inline, base64ed
fhir:Attachment.url @?; # Uri where the data can be found
fhir:Attachment.size @?; # Number of bytes of content (if url
# provided)
fhir:Attachment.hash @?; # Hash of the data (sha-1, base64ed)
fhir:Attachment.title @?; # Label to display in place of the
# data
fhir:Attachment.creation @?; # Date attachment was first created
fhir:index xsd:integer? # Relative position in a list
}
# Primitive Type integer
CLOSED {
fhir:Element.id @?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value @?; # Primitive value for integer
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 @