Primitive types
Primitive types hold a single value. Each type links to its R4 definition.
Fields ending in
DateTime, such as onsetDateTime, use dateTime. Fields ending in String, such as onsetString, use string. See choice fields.
Coding
A Coding is one code from one code system. See the R4 definition of Coding.
Encounter
class is the only field that holds a bare Coding. Everywhere else, a Coding sits inside a CodeableConcept.
CodeableConcept
A CodeableConcept is a coded value: one or more Codings that mean the same thing, plus a text label. See the R4 definition of CodeableConcept.- Coded
- Two codings
- Text only
Identifier
An Identifier is a business ID for a resource, such as a patient number. See the R4 definition of Identifier.
Patient and Encounter carry
identifier as a list with one Identifier:
Reference
A Reference points from one resource to another, or names someone the note mentions. See the R4 definition of Reference.- Points to the Patient
- Points to the Encounter
- Names a person
Quantity
A Quantity is a number with a unit. See the R4 definition of Quantity.onsetAge, for the age at which a relative got a condition.
Ratio
A Ratio is one Quantity divided by another, such as a titer of “1:64”. See the R4 definition of Ratio.Range
A Range is a span between two Quantities, such as “in her 50s”. See the R4 definition of Range.Period
A Period is a span between two points in time. See the R4 definition of Period.Annotation
An Annotation is a free-text note. Thenote field on every clinical resource is a list of Annotations. See the R4 definition of Annotation.
Extension
An Extension adds data that FHIR R4 has no field for. Systems that do not know an extension ignore it. See Extensibility in the R4 specification. A resource can carry two kinds of Corti extensions in itsextension list. Patient and Encounter carry only mentions.
Mention
A mention links one field of the resource to the words in the note that support it. The Mention extension page has the full definition.Alternative
An alternative lists up to 10 other codes that could also fit a field. The Alternative extension page has the full definition.Next steps
Condition resource group
See these datatypes in use on a Condition.
FHIR basics
Learn the ideas behind resources, codes, and Bundles.