FHIR R4 data types
The building blocks of every resource. Primitive types hold a single value
(string, dateTime, code); complex types group elements
(HumanName, CodeableConcept, Reference).
Primitive types
base64BinaryPrimitive Type base64BinarybooleanPrimitive Type booleancanonicalPrimitive Type canonicalcodePrimitive Type codedatePrimitive Type datedate TimePrimitive Type dateTimedecimalPrimitive Type decimalidPrimitive Type idinstantPrimitive Type instantintegerPrimitive Type integermarkdownPrimitive Type markdownoidPrimitive Type oidpositive IntPrimitive Type positiveIntstringPrimitive Type stringtimePrimitive Type timeunsigned IntPrimitive Type unsignedInturiPrimitive Type uriurlPrimitive Type urluuidPrimitive Type uuidxhtmlPrimitive Type xhtml
Complex types
AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)AgeA duration of time during which an organism (or a process) has existedAnnotationText node with attributionAttachmentContent in a format defined elsewhereBackbone ElementBase for elements defined inside a resourceCodeable ConceptConcept - reference to a terminology or just textCodingA reference to a code defined by a terminology systemContact DetailContact informationContact PointDetails of a Technology mediated contact point (phone, fax, email, etc.)ContributorContributor informationCountA measured or measurable amountData RequirementDescribes a required data itemDistanceA length - a value with a unit that is a physical distanceDosageHow the medication is/was taken or should be takenDurationA length of timeElementBase for all elementsElement DefinitionDefinition of an element in a resource or extensionExpressionAn expression that can be used to generate a valueExtensionOptional Extensions ElementHuman NameName of a human - parts and usageIdentifierAn identifier intended for computationMarketing StatusThe marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer availableMetaMetadata about a resourceMoneyAn amount of economic utility in some recognized currencyNarrativeHuman-readable summary of the resource (essential clinical and business information)Parameter DefinitionDefinition of a parameter to a modulePeriodTime range defined by start and end date/timePopulationA definition of a set of people that apply to some clinically related context, for example people contraindicated for a certain medicationProd CharacteristicThe marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer availableProduct Shelf LifeThe shelf-life and storage information for a medicinal product item or container can be described using this classQuantityA measured or measurable amountRangeSet of values bounded by low and highRatioA ratio of two Quantity values - a numerator and a denominatorReferenceA reference from one resource to anotherRelated ArtifactRelated artifacts for a knowledge resourceSampled DataA series of measurements taken by a deviceSignatureA Signature - XML DigSig, JWS, Graphical image of signature, etc.Substance AmountChemical substances are a single substance type whose primary defining element is the molecular structure. Chemical substances shall be defined on the basis of their complete covalent molecular structure; the presence of a salt (counter-ion) and/or solvates (water, alcohols) is also captured. Purity, grade, physical form or particle size are not taken into account in the definition of a chemical substance or in the assignment of a Substance IDTimingA timing schedule that specifies an event that may occur multiple timesTrigger DefinitionDefines an expected trigger for a moduleUsage ContextDescribes the context of use for a conformance or knowledge resource