DataType

public enum DataType: String

The type of an element - one of the FHIR data types.

URL: http://hl7.org/fhir/data-types ValueSet: http://hl7.org/fhir/ValueSet/data-types

  • An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.

    Declaration

    Swift

    case address = "Address"
  • age

    A duration of time during which an organism (or a process) has existed.

    Declaration

    Swift

    case age = "Age"
  • A text note which also contains information about who made the statement and when.

    Declaration

    Swift

    case annotation = "Annotation"
  • For referring to data content defined in other formats.

    Declaration

    Swift

    case attachment = "Attachment"
  • Base definition for all elements that are defined inside a resource - but not those in a data type.

    Declaration

    Swift

    case backboneElement = "BackboneElement"
  • A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.

    Declaration

    Swift

    case codeableConcept = "CodeableConcept"
  • A reference to a code defined by a terminology system.

    Declaration

    Swift

    case coding = "Coding"
  • Specifies contact information for a person or organization.

    Declaration

    Swift

    case contactDetail = "ContactDetail"
  • Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.

    Declaration

    Swift

    case contactPoint = "ContactPoint"
  • A contributor to the content of a knowledge asset, including authors, editors, reviewers, and endorsers.

    Declaration

    Swift

    case contributor = "Contributor"
  • A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.

    Declaration

    Swift

    case count = "Count"
  • Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.

    Declaration

    Swift

    case dataRequirement = "DataRequirement"
  • A length - a value with a unit that is a physical distance.

    Declaration

    Swift

    case distance = "Distance"
  • Indicates how the medication is/was taken or should be taken by the patient.

    Declaration

    Swift

    case dosage = "Dosage"
  • A length of time.

    Declaration

    Swift

    case duration = "Duration"
  • Base definition for all elements in a resource.

    Declaration

    Swift

    case element = "Element"
  • Captures constraints on each element within the resource, profile, or extension.

    Declaration

    Swift

    case elementDefinition = "ElementDefinition"
  • Optional Extension Element - found in all resources.

    Declaration

    Swift

    case extension_fhir = "Extension"
  • A human’s name with the ability to identify parts and usage.

    Declaration

    Swift

    case humanName = "HumanName"
  • A technical identifier - identifies some entity uniquely and unambiguously.

    Declaration

    Swift

    case identifier = "Identifier"
  • The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.

    Declaration

    Swift

    case meta = "Meta"
  • An amount of economic utility in some recognized currency.

    Declaration

    Swift

    case money = "Money"
  • A human-readable formatted text, including images.

    Declaration

    Swift

    case narrative = "Narrative"
  • The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse.

    Declaration

    Swift

    case parameterDefinition = "ParameterDefinition"
  • A time period defined by a start and end date and optionally time.

    Declaration

    Swift

    case period = "Period"
  • A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.

    Declaration

    Swift

    case quantity = "Quantity"
  • A set of ordered Quantities defined by a low and high limit.

    Declaration

    Swift

    case range = "Range"
  • A relationship of two Quantity values - expressed as a numerator and a denominator.

    Declaration

    Swift

    case ratio = "Ratio"
  • A reference from one resource to another.

    Declaration

    Swift

    case reference = "Reference"
  • Related artifacts such as additional documentation, justification, or bibliographic references.

    Declaration

    Swift

    case relatedArtifact = "RelatedArtifact"
  • A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.

    Declaration

    Swift

    case sampledData = "SampledData"
  • A digital signature along with supporting context. The signature may be electronic/cryptographic in nature, or a graphical image representing a hand-written signature, or a signature process. Different signature approaches have different utilities.

    Declaration

    Swift

    case signature = "Signature"
  • simpleQuantity

    Declaration

    Swift

    case simpleQuantity = "SimpleQuantity"
  • Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out.

    Declaration

    Swift

    case timing = "Timing"
  • A description of a triggering event.

    Declaration

    Swift

    case triggerDefinition = "TriggerDefinition"
  • Specifies clinical/business/etc metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care).

    Declaration

    Swift

    case usageContext = "UsageContext"
  • A stream of bytes

    Declaration

    Swift

    case base64Binary = "base64Binary"
  • Value of true or false

    Declaration

    Swift

    case boolean = "boolean"
  • A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents

    Declaration

    Swift

    case code = "code"
  • A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates.

    Declaration

    Swift

    case date = "date"
  • A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.

    Declaration

    Swift

    case dateTime = "dateTime"
  • A rational number with implicit precision

    Declaration

    Swift

    case decimal = "decimal"
  • id

    Any combination of letters, numerals, - and ., with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case- insensitive.

    Declaration

    Swift

    case id = "id"
  • An instant in time - known at least to the second

    Declaration

    Swift

    case instant = "instant"
  • A whole number

    Declaration

    Swift

    case integer = "integer"
  • A string that may contain markdown syntax for optional processing by a mark down presentation engine

    Declaration

    Swift

    case markdown = "markdown"
  • oid

    An OID represented as a URI

    Declaration

    Swift

    case oid = "oid"
  • An integer with a value that is positive (e.g. >0)

    Declaration

    Swift

    case positiveInt = "positiveInt"
  • A sequence of Unicode characters

    Declaration

    Swift

    case string = "string"
  • A time during the day, with no date specified

    Declaration

    Swift

    case time = "time"
  • An integer with a value that is not negative (e.g. >= 0)

    Declaration

    Swift

    case unsignedInt = "unsignedInt"
  • uri

    String of characters used to identify a name or a resource

    Declaration

    Swift

    case uri = "uri"
  • A UUID, represented as a URI

    Declaration

    Swift

    case uuid = "uuid"
  • XHTML format, as defined by W3C, but restricted usage (mainly, no active content)

    Declaration

    Swift

    case xhtml = "xhtml"