Simplifier logo

Confirmation

Are you sure?
Simplifier.net
SNIPPETS FEEDBACK LOG IN SIGN UP

Query
  • Default
    What is FQL?

    FQL is a query language that allows you to retrieve, filter and project data from any data source containing FHIR Resources. It brings the power of three existing languages together: SQL, JSON and FhirPath. It allows you to create tables and is useful for gaining insight and perform quality control.

  • FQL Query resources
    FQL Playground

    Try Firely Query Language in our playground by using this scope as data source.

  • FQL Documentation
  • FQL Language
    Syntax specification

    To learn more about FQL syntax choose this menu item.

  • YamlGen Generate resources
    YamlGen Playground

    Try YamlGen in our playground by using this scope as data source.

  • YamlGen Language
    YamlGen Syntax specification

    To learn more about YamlGen syntax choose this.

  • FHIRPath Inspect resource
    FHIRPath Playground

    Try out the FHIRPath playground and navigate inside this resource.

  • FHIRPath Documentation
    FHIRPath Documentation

    Find out what FHIRPath is or learn how to write FHIRPath scripts.

API
  • Project FHIR API

     This is the location where you can find your resource using a FHIR client.

  • Simplifier FHIR API

     The global endpoint is where users can search for all resources in Simplifier. Resources have a globally unique guid Id here.

Tools
  • Custom Example generation
    Custom Example generation beta

    Experiment with resource instance generation using YamlGen and based on this profile.

    This feature is in beta. You can help us improve it by giving feedback with the feedback button at the top of the screen.

Download
  • Download as XML
  • Download as JSON
  • Download snapshot as XML
  • Download snapshot as JSON
  • Copy to clipboard as XML
  • Copy to clipboard as JSON
Project test

Distance

Base StructureDefinition for Distance Type

  • type Profile on Distance
  • FHIR STU3
  • status Draft
  • version
    none
  Unregistered conflicting canonical

The canonical from this resource does not match any claim in this context and conflicts with a claim from another scope.

http://hl7.org/fhir

Canonical claims are used to verify ownership of your canonical URLs.

 Canonical
  • Overview
  • Details
  • Mappings
  • Table
  • XML
  • JSON
  • Related
  • History
  • Issues
  • Narrative

DistanceIQuantityElement id

Distance

Short description

A length - a value with a unit that is a physical distance

Definition

A length - a value with a unit that is a physical distance.

Comments

The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.

Data type

Quantity

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() | (children().count() > id.count())
  • qty-3: If a code for the unit is present, the system SHALL also be present
    code.empty() or system.exists()
  • dis-1: There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM.
    (code or value.empty()) and (system.empty() or system = %ucum)
Mappings
  • rim: n/a
  • v2: SN (see also Range) or CQ
  • rim: PQ, IVL<PQ>, MO, CO, depending on the values
  • rim: PQ
id0..1string
There are no (further) constraints on this element
Element id

Distance.id

Short description

xml:id (or equivalent in JSON)

Definition

unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extension0..*Extension
There are no (further) constraints on this element
Element id

Distance.extension

Short description

Additional Content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Sliced:

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url
Mappings
  • rim: n/a
valueΣ0..1decimal
There are no (further) constraints on this element
Element id

Distance.value

Short description

Numerical value (with implicit precision)

Definition

The value of the measured amount. The value includes an implicit precision in the presentation of the value.

Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).

Data type

decimal

Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
comparatorΣ ?!0..1codeBinding
There are no (further) constraints on this element
Element id

Distance.comparator

Short description

< | <= | >= | > - how to understand the value

Definition

How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.

Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Comments

This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value.

Meaning when missing

If there is no comparator, then there is no modification of the value

Data type

code

Binding

How the Quantity should be understood and represented.
?? (required)

Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
unitΣ0..1string
There are no (further) constraints on this element
Element id

Distance.unit

Short description

Unit representation

Definition

A human-readable form of the unit.

Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Data type

string

Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
systemΣ I0..1uri
There are no (further) constraints on this element
Element id

Distance.system

Short description

System that defines coded unit form

Definition

The identification of the system that provides the coded form of the unit.

Requirements

Need to know the system that defines the coded form of the unit.

Data type

uri

Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
codeΣ0..1code
There are no (further) constraints on this element
Element id

Distance.code

Short description

Coded form of the unit

Definition

A computer processable form of the unit in some unit representation system.

Requirements

Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.

Comments

The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.

Data type

code

Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code

Documentation:
https://simplifier.net/test20171053/distance
Last updated on 1/24/2018, 10:23:49 AM

About

About Simplifier
About Firely
Learn more
Contact

Information

Documentation
Terms
Privacy
Vulnerability disclosure policy
Features
Pricing
Status

Follow us

Github
Twitter
Youtube

Links

FHIR DevDays
FHIR specification R5
FHIR specification R4B
FHIR specification R4
FHIR specification STU3
FHIR specification DSTU 2
FHIR Server

SIMPLIFIER.NET version 2025.2.1.1

Copyright © 2015-2025 Firely

HL7® and FHIR® are the registered trademarks of Health Level Seven International