PREFIX fhir: PREFIX fhirvs: PREFIX xsd: BASE start=@ AND {fhir:nodeRole [fhir:treeRoot]} # Item used in healthcare CLOSED { a [fhir:Device]; 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:Device.identifier @*; # Instance identifier fhir:Device.definition @?; # The reference to the definition # for the device fhir:Device.udiCarrier @*; # Unique Device Identifier (UDI) # Barcode string fhir:Device.status @ AND {fhir:value @fhirvs:device-status}?; # active | inactive | # entered-in-error | unknown fhir:Device.statusReason @*; # online | paused | standby | # offline | not-ready | # transduc-discon | hw-discon | off fhir:Device.distinctIdentifier @?; # The distinct identification string fhir:Device.manufacturer @?; # Name of device manufacturer fhir:Device.manufactureDate @?; # Date when the device was made fhir:Device.expirationDate @?; # Date and time of expiry of this # device (if applicable) fhir:Device.lotNumber @?; # Lot number of manufacture fhir:Device.serialNumber @?; # Serial number assigned by the # manufacturer fhir:Device.deviceName @*; # The name of the device as given by # the manufacturer fhir:Device.modelNumber @?; # The manufacturer's model number # for the device fhir:Device.partNumber @?; # The part number or catalog number # of the device fhir:Device.type @?; # The kind or type of device fhir:Device.specialization @*; # The capabilities supported on a # device, the standards to which the # device conforms for a particular # purpose, and used for the # communication fhir:Device.version @*; # The actual design of the device or # software version running on the # device fhir:Device.property @*; # The actual configuration settings # of a device as it actually # operates, e.g., regulation status, # time properties fhir:Device.patient @?; # Patient to whom Device is affixed fhir:Device.owner @?; # Organization responsible for device fhir:Device.contact @*; # Details for human/organization for # support fhir:Device.location @?; # Where the device is found fhir:Device.url @?; # Network address to contact device fhir:Device.note @*; # Device notes and comments fhir:Device.safety @*; # Safety Characteristics of Device fhir:Device.parent @?; # The device that this device is # attached to or is part of fhir:index xsd:integer? # Relative position in a list } # The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication 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:Device.specialization.systemType @; # The standard that is used to # operate and communicate fhir:Device.specialization.version @?; # The version of the standard that # is used to operate and communicate fhir:index xsd:integer? # Relative position in a list } # The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties 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:Device.property.type @; # Code that specifies the property # DeviceDefinitionPropetyCode # (Extensible) fhir:Device.property.valueQuantity @*; # Property value as a quantity fhir:Device.property.valueCode @*; # Property value as a code, e.g., # NTP4 (synced to NTP) fhir:index xsd:integer? # Relative position in a list } # The name of the device as given by the manufacturer 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:Device.deviceName.name @; # The name that identifies the device fhir:Device.deviceName.type @ AND {fhir:value @fhirvs:device-nametype}; # udi-label-name | # user-friendly-name | # patient-reported-name | # manufacturer-name | model-name | # other fhir:index xsd:integer? # Relative position in a list } # Unique Device Identifier (UDI) Barcode string 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:Device.udiCarrier.deviceIdentifier @?; # Mandatory fixed portion of UDI fhir:Device.udiCarrier.issuer @?; # UDI Issuing Organization fhir:Device.udiCarrier.jurisdiction @?; # Regional UDI authority fhir:Device.udiCarrier.carrierAIDC @?; # UDI Machine Readable Barcode String fhir:Device.udiCarrier.carrierHRF @?; # UDI Human Readable Barcode String fhir:Device.udiCarrier.entryType @ AND {fhir:value @fhirvs:udi-entry-type}?; # barcode | rfid | manual + fhir:index xsd:integer? # Relative position in a list } # The actual design of the device or software version running on the device 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:Device.version.type @?; # The type of the device version, # e.g. manufacturer, approved, # internal fhir:Device.version.component @?; # A single component of the device # version fhir:Device.version.value @; # The version text 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 } # 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? } # A measured or measurable amount CLOSED { fhir:Element.id 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 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 @