Skip to content

FHIR R5 Complex Types

Classes representing FHIR R5 complex data types.

Address

Path: fhircraft.fhir.resources.datatypes.R5.complex.address.Address

Bases: Element

An address expressed using postal conventions (as opposed to GPS or other location definition formats)

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
use Code | None

home | work | temp | old | billing - purpose of this address

None
use_ext Element | None

Placeholder element for use extensions

None
type Code | None

postal | physical | both

None
type_ext Element | None

Placeholder element for type extensions

None
text String | None

Text representation of the address

None
text_ext Element | None

Placeholder element for text extensions

None
line List[String] | None

Street name, number, direction & P.O. Box etc.

None
line_ext List[Element | None] | None

Placeholder element for line extensions

None
city String | None

Name of city, town etc.

None
city_ext Element | None

Placeholder element for city extensions

None
district String | None

District name (aka county)

None
district_ext Element | None

Placeholder element for district extensions

None
state String | None

Sub-unit of country (abbreviations ok)

None
state_ext Element | None

Placeholder element for state extensions

None
postalCode String | None

Postal code for area

None
postalCode_ext Element | None

Placeholder element for postalCode extensions

None
country String | None

Country (e.g. may be ISO 3166 2 or 3 letter code)

None
country_ext Element | None

Placeholder element for country extensions

None
period Period | None

Time period when address was/is in use

None

Age

Path: fhircraft.fhir.resources.datatypes.R5.complex.age.Age

Bases: Quantity

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

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
value Decimal | None

Numerical value (with implicit precision)

None
value_ext Element | None

Placeholder element for value extensions

None
comparator Code | None

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

None
comparator_ext Element | None

Placeholder element for comparator extensions

None
unit String | None

Unit representation

None
unit_ext Element | None

Placeholder element for unit extensions

None
system Uri | None

System that defines coded unit form

None
system_ext Element | None

Placeholder element for system extensions

None
code Code | None

Coded form of the unit

None
code_ext Element | None

Placeholder element for code extensions

None

Annotation

Path: fhircraft.fhir.resources.datatypes.R5.complex.annotation.Annotation

Bases: Element

Text node with attribution

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
authorReference Reference | None

Individual responsible for the annotation

None
authorString String | None

Individual responsible for the annotation

None
time DateTime | None

When the annotation was made

None
time_ext Element | None

Placeholder element for time extensions

None
text Markdown | None

The annotation - text content (as markdown)

None
text_ext Element | None

Placeholder element for text extensions

None

Attachment

Path: fhircraft.fhir.resources.datatypes.R5.complex.attachment.Attachment

Bases: Element

Content in a format defined elsewhere

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
contentType Code | None

Mime type of the content, with charset etc.

None
contentType_ext Element | None

Placeholder element for contentType extensions

None
language Code | None

Human language of the content (BCP-47)

None
language_ext Element | None

Placeholder element for language extensions

None
data Base64Binary | None

Data inline, base64ed

None
data_ext Element | None

Placeholder element for data extensions

None
url Url | None

Uri where the data can be found

None
url_ext Element | None

Placeholder element for url extensions

None
size Integer64 | None

Number of bytes of content (if url provided)

None
size_ext Element | None

Placeholder element for size extensions

None
hash Base64Binary | None

Hash of the data (sha-1, base64ed)

None
hash_ext Element | None

Placeholder element for hash extensions

None
title String | None

Label to display in place of the data

None
title_ext Element | None

Placeholder element for title extensions

None
creation DateTime | None

Date attachment was first created

None
creation_ext Element | None

Placeholder element for creation extensions

None
height PositiveInt | None

Height of the image in pixels (photo/video)

None
height_ext Element | None

Placeholder element for height extensions

None
width PositiveInt | None

Width of the image in pixels (photo/video)

None
width_ext Element | None

Placeholder element for width extensions

None
frames PositiveInt | None

Number of frames if > 1 (photo)

None
frames_ext Element | None

Placeholder element for frames extensions

None
duration Decimal | None

Length in seconds (audio / video)

None
duration_ext Element | None

Placeholder element for duration extensions

None
pages PositiveInt | None

Number of printed pages

None
pages_ext Element | None

Placeholder element for pages extensions

None

Availability

Path: fhircraft.fhir.resources.datatypes.R5.complex.availability.Availability

Bases: Element

Availability data for an {item}

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
availableTime List[AvailabilityAvailableTime] | None

Times the {item} is available

None
notAvailableTime List[AvailabilityNotAvailableTime] | None

Not available during this time due to provided reason

None

AvailabilityAvailableTime

Path: fhircraft.fhir.resources.datatypes.R5.complex.availability.AvailabilityAvailableTime

Bases: BackboneElement

Times the {item} is available

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None
daysOfWeek List[Code] | None

Days of the week when the {item} is available

None
allDay Boolean | None

Is this always available? e.g. 24 hour service

None
availableStartTime Time | None

Opening time of day (ignored if allDay = true)

None
availableEndTime Time | None

Closing time of day (ignored if allDay = true)

None

AvailabilityNotAvailableTime

Path: fhircraft.fhir.resources.datatypes.R5.complex.availability.AvailabilityNotAvailableTime

Bases: BackboneElement

Not available during this time due to provided reason

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None
description String

Reason presented to the user explaining why time not available

required
description_ext Element | None

Placeholder element for description extensions

None
during Period | None

Service not available from this date

None

BackboneElement

Path: fhircraft.fhir.resources.datatypes.R5.complex.backbone_element.BackboneElement

Bases: Element

Base for elements defined inside a resource

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None

BackboneType

Path: fhircraft.fhir.resources.datatypes.R5.complex.backbone_type.BackboneType

Bases: Element

Base for datatypes that can carry modifier extensions

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None

Base

Path: fhircraft.fhir.resources.datatypes.R5.complex.base.Base

Bases: FHIRBaseModel

Base for all types and resources

CodeableConcept

Path: fhircraft.fhir.resources.datatypes.R5.complex.codeable_concept.CodeableConcept

Bases: Element

Concept - reference to a terminology or just text

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
coding List[Coding] | None

Code defined by a terminology system

None
text String | None

Plain text representation of the concept

None
text_ext Element | None

Placeholder element for text extensions

None

CodeableReference

Path: fhircraft.fhir.resources.datatypes.R5.complex.codeable_reference.CodeableReference

Bases: Element

Reference to a resource or a concept

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
concept CodeableConcept | None

Reference to a concept (by class)

None
reference Reference | None

Reference to a resource (by instance)

None

Coding

Path: fhircraft.fhir.resources.datatypes.R5.complex.coding.Coding

Bases: Element

A reference to a code defined by a terminology system

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
system Uri | None

Identity of the terminology system

None
system_ext Element | None

Placeholder element for system extensions

None
version String | None

Version of the system - if relevant

None
version_ext Element | None

Placeholder element for version extensions

None
code Code | None

Symbol in syntax defined by the system

None
code_ext Element | None

Placeholder element for code extensions

None
display String | None

Representation defined by the system

None
display_ext Element | None

Placeholder element for display extensions

None
userSelected Boolean | None

If this coding was chosen directly by the user

None
userSelected_ext Element | None

Placeholder element for userSelected extensions

None

ContactDetail

Path: fhircraft.fhir.resources.datatypes.R5.complex.contact_detail.ContactDetail

Bases: Element

Contact information

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
name String | None

Name of an individual to contact

None
name_ext Element | None

Placeholder element for name extensions

None
telecom List[ContactPoint] | None

Contact details for individual or organization

None

ContactPoint

Path: fhircraft.fhir.resources.datatypes.R5.complex.contact_point.ContactPoint

Bases: Element

Details of a Technology mediated contact point (phone, fax, email, etc.)

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
system Code | None

phone | fax | email | pager | url | sms | other

None
system_ext Element | None

Placeholder element for system extensions

None
value String | None

The actual contact point details

None
value_ext Element | None

Placeholder element for value extensions

None
use Code | None

home | work | temp | old | mobile - purpose of this contact point

None
use_ext Element | None

Placeholder element for use extensions

None
rank PositiveInt | None

Specify preferred order of use (1 = highest)

None
rank_ext Element | None

Placeholder element for rank extensions

None
period Period | None

Time period when the contact point was/is in use

None

Contributor

Path: fhircraft.fhir.resources.datatypes.R5.complex.contributor.Contributor

Bases: Element

Contributor information

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
type Code | None

author | editor | reviewer | endorser

None
type_ext Element | None

Placeholder element for type extensions

None
name String | None

Who contributed the content

None
name_ext Element | None

Placeholder element for name extensions

None
contact List[ContactDetail] | None

Contact details of the contributor

None

Count

Path: fhircraft.fhir.resources.datatypes.R5.complex.count.Count

Bases: Quantity

A measured or measurable amount

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
value Decimal | None

Numerical value (with implicit precision)

None
value_ext Element | None

Placeholder element for value extensions

None
comparator Code | None

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

None
comparator_ext Element | None

Placeholder element for comparator extensions

None
unit String | None

Unit representation

None
unit_ext Element | None

Placeholder element for unit extensions

None
system Uri | None

System that defines coded unit form

None
system_ext Element | None

Placeholder element for system extensions

None
code Code | None

Coded form of the unit

None
code_ext Element | None

Placeholder element for code extensions

None

DataRequirement

Path: fhircraft.fhir.resources.datatypes.R5.complex.data_requirement.DataRequirement

Bases: Element

Describes a required data item

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
type Code | None

The type of the required data

None
type_ext Element | None

Placeholder element for type extensions

None
profile List[Canonical] | None

The profile of the required data

None
profile_ext List[Element | None] | None

Placeholder element for profile extensions

None
subjectCodeableConcept CodeableConcept | None

E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device

None
subjectReference Reference | None

E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device

None
mustSupport List[String] | None

Indicates specific structure elements that are referenced by the knowledge module

None
mustSupport_ext List[Element | None] | None

Placeholder element for mustSupport extensions

None
codeFilter List[DataRequirementCodeFilter] | None

What codes are expected

None
dateFilter List[DataRequirementDateFilter] | None

What dates/date ranges are expected

None
valueFilter List[DataRequirementValueFilter] | None

What values are expected

None
limit PositiveInt | None

Number of results

None
limit_ext Element | None

Placeholder element for limit extensions

None
sort List[DataRequirementSort] | None

Order of the results

None

DataRequirementCodeFilter

Path: fhircraft.fhir.resources.datatypes.R5.complex.data_requirement.DataRequirementCodeFilter

Bases: BackboneElement

What codes are expected

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None
path String | None

A code-valued attribute to filter on

None
path_ext Element | None

Placeholder element for path extensions

None
searchParam String | None

A search parameter defined on the specified type

None
searchParam_ext Element | None

Placeholder element for searchParam extensions

None
valueSet Canonical | None

The valueset for the filter

None
valueSet_ext Element | None

Placeholder element for valueSet extensions

None
code List[Coding] | None

What code is expected

None

DataRequirementDateFilter

Path: fhircraft.fhir.resources.datatypes.R5.complex.data_requirement.DataRequirementDateFilter

Bases: BackboneElement

What dates/date ranges are expected

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None
path String | None

A date-valued attribute to filter on

None
path_ext Element | None

Placeholder element for path extensions

None
searchParam String | None

A date-valued parameter to search on

None
searchParam_ext Element | None

Placeholder element for searchParam extensions

None
valueDateTime DateTime | None

The value of the filter, as a dateTime

None
valueDateTime_ext Element | None

Placeholder element for valueDateTime extensions

None
valuePeriod Period | None

The value of the filter, as a period

None
valueDuration Duration | None

The value of the filter, as a duration

None

DataRequirementSort

Path: fhircraft.fhir.resources.datatypes.R5.complex.data_requirement.DataRequirementSort

Bases: BackboneElement

Order of the results

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None
path String | None

The name of the attribute to perform the sort

None
path_ext Element | None

Placeholder element for path extensions

None
direction Code | None

The direction of the sort, ascending or descending

None
direction_ext Element | None

Placeholder element for direction extensions

None

DataRequirementValueFilter

Path: fhircraft.fhir.resources.datatypes.R5.complex.data_requirement.DataRequirementValueFilter

Bases: BackboneElement

What values are expected

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None
path String | None

An attribute to filter on

None
path_ext Element | None

Placeholder element for path extensions

None
searchParam String | None

A parameter to search on

None
searchParam_ext Element | None

Placeholder element for searchParam extensions

None
valueDateTime DateTime | None

The value of the filter, as a dateTime

None
valueDateTime_ext Element | None

Placeholder element for valueDateTime extensions

None
valuePeriod Period | None

The value of the filter, as a period

None
valueDuration Duration | None

The value of the filter, as a duration

None

DataType

Path: fhircraft.fhir.resources.datatypes.R5.complex.data_type.DataType

Bases: Element

Reuseable Types

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None

Distance

Path: fhircraft.fhir.resources.datatypes.R5.complex.distance.Distance

Bases: Quantity

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

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
value Decimal | None

Numerical value (with implicit precision)

None
value_ext Element | None

Placeholder element for value extensions

None
comparator Code | None

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

None
comparator_ext Element | None

Placeholder element for comparator extensions

None
unit String | None

Unit representation

None
unit_ext Element | None

Placeholder element for unit extensions

None
system Uri | None

System that defines coded unit form

None
system_ext Element | None

Placeholder element for system extensions

None
code Code | None

Coded form of the unit

None
code_ext Element | None

Placeholder element for code extensions

None

Dosage

Path: fhircraft.fhir.resources.datatypes.R5.complex.dosage.Dosage

Bases: BackboneType

How the medication is/was taken or should be taken

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None
sequence Integer | None

The order of the dosage instructions

None
sequence_ext Element | None

Placeholder element for sequence extensions

None
text String | None

Free text dosage instructions e.g. SIG

None
text_ext Element | None

Placeholder element for text extensions

None
additionalInstruction List[CodeableConcept] | None

Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"

None
patientInstruction String | None

Patient or consumer oriented instructions

None
patientInstruction_ext Element | None

Placeholder element for patientInstruction extensions

None
timing Timing | None

When medication should be administered

None
asNeeded Boolean | None

Take "as needed"

None
asNeeded_ext Element | None

Placeholder element for asNeeded extensions

None
asNeededFor List[CodeableConcept] | None

Take "as needed" (for x)

None
site CodeableConcept | None

Body site to administer to

None
route CodeableConcept | None

How drug should enter body

None
method CodeableConcept | None

Technique for administering medication

None
doseAndRate List[DosageDoseAndRate] | None

Amount of medication administered, to be administered or typical amount to be administered

None
maxDosePerPeriod List[Ratio] | None

Upper limit on medication per unit of time

None
maxDosePerAdministration SimpleQuantity | None

Upper limit on medication per administration

None
maxDosePerLifetime SimpleQuantity | None

Upper limit on medication per lifetime of the patient

None

DosageDoseAndRate

Path: fhircraft.fhir.resources.datatypes.R5.complex.dosage.DosageDoseAndRate

Bases: BackboneType

Amount of medication administered

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None
type CodeableConcept | None

The kind of dose or rate specified

None
doseRange Range | None

Amount of medication per dose

None
doseQuantity SimpleQuantity | None

Amount of medication per dose

None
rateRatio Ratio | None

Amount of medication per unit of time

None
rateRange Range | None

Amount of medication per unit of time

None
rateQuantity SimpleQuantity | None

Amount of medication per unit of time

None

Duration

Path: fhircraft.fhir.resources.datatypes.R5.complex.duration.Duration

Bases: Quantity

A length of time

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
value Decimal | None

Numerical value (with implicit precision)

None
value_ext Element | None

Placeholder element for value extensions

None
comparator Code | None

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

None
comparator_ext Element | None

Placeholder element for comparator extensions

None
unit String | None

Unit representation

None
unit_ext Element | None

Placeholder element for unit extensions

None
system Uri | None

System that defines coded unit form

None
system_ext Element | None

Placeholder element for system extensions

None
code Code | None

Coded form of the unit

None
code_ext Element | None

Placeholder element for code extensions

None

Element

Path: fhircraft.fhir.resources.datatypes.R5.complex.element.Element

Bases: Base

Base for all elements

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None

ElementDefinition

Path: fhircraft.fhir.resources.datatypes.R5.complex.element_definition.ElementDefinition

Bases: BackboneType

ElementDefinition Type: Captures constraints on each element within the resource, profile, or extension.

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None
path String | None

Path of the element in the hierarchy of elements

None
path_ext Element | None

Placeholder element for path extensions

None
representation List[Code] | None

xmlAttr | xmlText | typeAttr | cdaText | xhtml

None
representation_ext List[Element | None] | None

Placeholder element for representation extensions

None
sliceName String | None

Name for this particular element (in a set of slices)

None
sliceName_ext Element | None

Placeholder element for sliceName extensions

None
sliceIsConstraining Boolean | None

If this slice definition constrains an inherited slice definition (or not)

None
sliceIsConstraining_ext Element | None

Placeholder element for sliceIsConstraining extensions

None
label String | None

Name for element to display with or prompt for element

None
label_ext Element | None

Placeholder element for label extensions

None
code List[Coding] | None

Corresponding codes in terminologies

None
slicing ElementDefinitionSlicing | None

This element is sliced - slices follow

None
short String | None

Concise definition for space-constrained presentation

None
short_ext Element | None

Placeholder element for short extensions

None
definition Markdown | None

Full formal definition as narrative text

None
definition_ext Element | None

Placeholder element for definition extensions

None
comment Markdown | None

Comments about the use of this element

None
comment_ext Element | None

Placeholder element for comment extensions

None
requirements Markdown | None

Why this resource has been created

None
requirements_ext Element | None

Placeholder element for requirements extensions

None
alias List[String] | None

Other names

None
alias_ext List[Element | None] | None

Placeholder element for alias extensions

None
min UnsignedInt | None

Minimum Cardinality

None
min_ext Element | None

Placeholder element for min extensions

None
max String | None

Maximum Cardinality (a number or *)

None
max_ext Element | None

Placeholder element for max extensions

None
base ElementDefinitionBase | None

Base definition information for tools

None
contentReference Uri | None

Reference to definition of content for the element

None
contentReference_ext Element | None

Placeholder element for contentReference extensions

None
type List[ElementDefinitionType] | None

Data type and Profile for this element

None
defaultValueBase64Binary Base64Binary | None

Specified value if missing from instance

None
defaultValueBase64Binary_ext Element | None

Placeholder element for defaultValueBase64Binary extensions

None
defaultValueBoolean Boolean | None

Specified value if missing from instance

None
defaultValueBoolean_ext Element | None

Placeholder element for defaultValueBoolean extensions

None
defaultValueCanonical Canonical | None

Specified value if missing from instance

None
defaultValueCanonical_ext Element | None

Placeholder element for defaultValueCanonical extensions

None
defaultValueCode Code | None

Specified value if missing from instance

None
defaultValueCode_ext Element | None

Placeholder element for defaultValueCode extensions

None
defaultValueDate Date | None

Specified value if missing from instance

None
defaultValueDate_ext Element | None

Placeholder element for defaultValueDate extensions

None
defaultValueDateTime DateTime | None

Specified value if missing from instance

None
defaultValueDateTime_ext Element | None

Placeholder element for defaultValueDateTime extensions

None
defaultValueDecimal Decimal | None

Specified value if missing from instance

None
defaultValueDecimal_ext Element | None

Placeholder element for defaultValueDecimal extensions

None
defaultValueId Id | None

Specified value if missing from instance

None
defaultValueId_ext Element | None

Placeholder element for defaultValueId extensions

None
defaultValueInstant Instant | None

Specified value if missing from instance

None
defaultValueInstant_ext Element | None

Placeholder element for defaultValueInstant extensions

None
defaultValueInteger Integer | None

Specified value if missing from instance

None
defaultValueInteger_ext Element | None

Placeholder element for defaultValueInteger extensions

None
defaultValueInteger64 Integer64 | None

Specified value if missing from instance

None
defaultValueInteger64_ext Element | None

Placeholder element for defaultValueInteger64 extensions

None
defaultValueMarkdown Markdown | None

Specified value if missing from instance

None
defaultValueMarkdown_ext Element | None

Placeholder element for defaultValueMarkdown extensions

None
defaultValueOid Oid | None

Specified value if missing from instance

None
defaultValueOid_ext Element | None

Placeholder element for defaultValueOid extensions

None
defaultValuePositiveInt PositiveInt | None

Specified value if missing from instance

None
defaultValuePositiveInt_ext Element | None

Placeholder element for defaultValuePositiveInt extensions

None
defaultValueString String | None

Specified value if missing from instance

None
defaultValueString_ext Element | None

Placeholder element for defaultValueString extensions

None
defaultValueTime Time | None

Specified value if missing from instance

None
defaultValueTime_ext Element | None

Placeholder element for defaultValueTime extensions

None
defaultValueUnsignedInt UnsignedInt | None

Specified value if missing from instance

None
defaultValueUnsignedInt_ext Element | None

Placeholder element for defaultValueUnsignedInt extensions

None
defaultValueUri Uri | None

Specified value if missing from instance

None
defaultValueUri_ext Element | None

Placeholder element for defaultValueUri extensions

None
defaultValueUrl Url | None

Specified value if missing from instance

None
defaultValueUrl_ext Element | None

Placeholder element for defaultValueUrl extensions

None
defaultValueUuid Uuid | None

Specified value if missing from instance

None
defaultValueUuid_ext Element | None

Placeholder element for defaultValueUuid extensions

None
defaultValueAddress Address | None

Specified value if missing from instance

None
defaultValueAge Age | None

Specified value if missing from instance

None
defaultValueAnnotation Annotation | None

Specified value if missing from instance

None
defaultValueAttachment Attachment | None

Specified value if missing from instance

None
defaultValueCodeableConcept CodeableConcept | None

Specified value if missing from instance

None
defaultValueCodeableReference CodeableReference | None

Specified value if missing from instance

None
defaultValueCoding Coding | None

Specified value if missing from instance

None
defaultValueContactPoint ContactPoint | None

Specified value if missing from instance

None
defaultValueCount Count | None

Specified value if missing from instance

None
defaultValueDistance Distance | None

Specified value if missing from instance

None
defaultValueDuration Duration | None

Specified value if missing from instance

None
defaultValueHumanName HumanName | None

Specified value if missing from instance

None
defaultValueIdentifier Identifier | None

Specified value if missing from instance

None
defaultValueMoney Money | None

Specified value if missing from instance

None
defaultValuePeriod Period | None

Specified value if missing from instance

None
defaultValueQuantity Quantity | None

Specified value if missing from instance

None
defaultValueRange Range | None

Specified value if missing from instance

None
defaultValueRatio Ratio | None

Specified value if missing from instance

None
defaultValueRatioRange RatioRange | None

Specified value if missing from instance

None
defaultValueReference Reference | None

Specified value if missing from instance

None
defaultValueSampledData SampledData | None

Specified value if missing from instance

None
defaultValueSignature Signature | None

Specified value if missing from instance

None
defaultValueTiming Timing | None

Specified value if missing from instance

None
defaultValueContactDetail ContactDetail | None

Specified value if missing from instance

None
defaultValueDataRequirement DataRequirement | None

Specified value if missing from instance

None
defaultValueExpression Expression | None

Specified value if missing from instance

None
defaultValueParameterDefinition ParameterDefinition | None

Specified value if missing from instance

None
defaultValueRelatedArtifact RelatedArtifact | None

Specified value if missing from instance

None
defaultValueTriggerDefinition TriggerDefinition | None

Specified value if missing from instance

None
defaultValueUsageContext UsageContext | None

Specified value if missing from instance

None
defaultValueAvailability Availability | None

Specified value if missing from instance

None
defaultValueExtendedContactDetail ExtendedContactDetail | None

Specified value if missing from instance

None
defaultValueDosage Dosage | None

Specified value if missing from instance

None
defaultValueMeta Meta | None

Specified value if missing from instance

None
meaningWhenMissing Markdown | None

Implicit meaning when this element is missing

None
meaningWhenMissing_ext Element | None

Placeholder element for meaningWhenMissing extensions

None
orderMeaning String | None

What the order of the elements means

None
orderMeaning_ext Element | None

Placeholder element for orderMeaning extensions

None
fixedBase64Binary Base64Binary | None

Value must be exactly this

None
fixedBase64Binary_ext Element | None

Placeholder element for fixedBase64Binary extensions

None
fixedBoolean Boolean | None

Value must be exactly this

None
fixedBoolean_ext Element | None

Placeholder element for fixedBoolean extensions

None
fixedCanonical Canonical | None

Value must be exactly this

None
fixedCanonical_ext Element | None

Placeholder element for fixedCanonical extensions

None
fixedCode Code | None

Value must be exactly this

None
fixedCode_ext Element | None

Placeholder element for fixedCode extensions

None
fixedDate Date | None

Value must be exactly this

None
fixedDate_ext Element | None

Placeholder element for fixedDate extensions

None
fixedDateTime DateTime | None

Value must be exactly this

None
fixedDateTime_ext Element | None

Placeholder element for fixedDateTime extensions

None
fixedDecimal Decimal | None

Value must be exactly this

None
fixedDecimal_ext Element | None

Placeholder element for fixedDecimal extensions

None
fixedId Id | None

Value must be exactly this

None
fixedId_ext Element | None

Placeholder element for fixedId extensions

None
fixedInstant Instant | None

Value must be exactly this

None
fixedInstant_ext Element | None

Placeholder element for fixedInstant extensions

None
fixedInteger Integer | None

Value must be exactly this

None
fixedInteger_ext Element | None

Placeholder element for fixedInteger extensions

None
fixedInteger64 Integer64 | None

Value must be exactly this

None
fixedInteger64_ext Element | None

Placeholder element for fixedInteger64 extensions

None
fixedMarkdown Markdown | None

Value must be exactly this

None
fixedMarkdown_ext Element | None

Placeholder element for fixedMarkdown extensions

None
fixedOid Oid | None

Value must be exactly this

None
fixedOid_ext Element | None

Placeholder element for fixedOid extensions

None
fixedPositiveInt PositiveInt | None

Value must be exactly this

None
fixedPositiveInt_ext Element | None

Placeholder element for fixedPositiveInt extensions

None
fixedString String | None

Value must be exactly this

None
fixedString_ext Element | None

Placeholder element for fixedString extensions

None
fixedTime Time | None

Value must be exactly this

None
fixedTime_ext Element | None

Placeholder element for fixedTime extensions

None
fixedUnsignedInt UnsignedInt | None

Value must be exactly this

None
fixedUnsignedInt_ext Element | None

Placeholder element for fixedUnsignedInt extensions

None
fixedUri Uri | None

Value must be exactly this

None
fixedUri_ext Element | None

Placeholder element for fixedUri extensions

None
fixedUrl Url | None

Value must be exactly this

None
fixedUrl_ext Element | None

Placeholder element for fixedUrl extensions

None
fixedUuid Uuid | None

Value must be exactly this

None
fixedUuid_ext Element | None

Placeholder element for fixedUuid extensions

None
fixedAddress Address | None

Value must be exactly this

None
fixedAge Age | None

Value must be exactly this

None
fixedAnnotation Annotation | None

Value must be exactly this

None
fixedAttachment Attachment | None

Value must be exactly this

None
fixedCodeableConcept CodeableConcept | None

Value must be exactly this

None
fixedCodeableReference CodeableReference | None

Value must be exactly this

None
fixedCoding Coding | None

Value must be exactly this

None
fixedContactPoint ContactPoint | None

Value must be exactly this

None
fixedCount Count | None

Value must be exactly this

None
fixedDistance Distance | None

Value must be exactly this

None
fixedDuration Duration | None

Value must be exactly this

None
fixedHumanName HumanName | None

Value must be exactly this

None
fixedIdentifier Identifier | None

Value must be exactly this

None
fixedMoney Money | None

Value must be exactly this

None
fixedPeriod Period | None

Value must be exactly this

None
fixedQuantity Quantity | None

Value must be exactly this

None
fixedRange Range | None

Value must be exactly this

None
fixedRatio Ratio | None

Value must be exactly this

None
fixedRatioRange RatioRange | None

Value must be exactly this

None
fixedReference Reference | None

Value must be exactly this

None
fixedSampledData SampledData | None

Value must be exactly this

None
fixedSignature Signature | None

Value must be exactly this

None
fixedTiming Timing | None

Value must be exactly this

None
fixedContactDetail ContactDetail | None

Value must be exactly this

None
fixedDataRequirement DataRequirement | None

Value must be exactly this

None
fixedExpression Expression | None

Value must be exactly this

None
fixedParameterDefinition ParameterDefinition | None

Value must be exactly this

None
fixedRelatedArtifact RelatedArtifact | None

Value must be exactly this

None
fixedTriggerDefinition TriggerDefinition | None

Value must be exactly this

None
fixedUsageContext UsageContext | None

Value must be exactly this

None
fixedAvailability Availability | None

Value must be exactly this

None
fixedExtendedContactDetail ExtendedContactDetail | None

Value must be exactly this

None
fixedDosage Dosage | None

Value must be exactly this

None
fixedMeta Meta | None

Value must be exactly this

None
patternBase64Binary Base64Binary | None

Value must have at least these property values

None
patternBase64Binary_ext Element | None

Placeholder element for patternBase64Binary extensions

None
patternBoolean Boolean | None

Value must have at least these property values

None
patternBoolean_ext Element | None

Placeholder element for patternBoolean extensions

None
patternCanonical Canonical | None

Value must have at least these property values

None
patternCanonical_ext Element | None

Placeholder element for patternCanonical extensions

None
patternCode Code | None

Value must have at least these property values

None
patternCode_ext Element | None

Placeholder element for patternCode extensions

None
patternDate Date | None

Value must have at least these property values

None
patternDate_ext Element | None

Placeholder element for patternDate extensions

None
patternDateTime DateTime | None

Value must have at least these property values

None
patternDateTime_ext Element | None

Placeholder element for patternDateTime extensions

None
patternDecimal Decimal | None

Value must have at least these property values

None
patternDecimal_ext Element | None

Placeholder element for patternDecimal extensions

None
patternId Id | None

Value must have at least these property values

None
patternId_ext Element | None

Placeholder element for patternId extensions

None
patternInstant Instant | None

Value must have at least these property values

None
patternInstant_ext Element | None

Placeholder element for patternInstant extensions

None
patternInteger Integer | None

Value must have at least these property values

None
patternInteger_ext Element | None

Placeholder element for patternInteger extensions

None
patternInteger64 Integer64 | None

Value must have at least these property values

None
patternInteger64_ext Element | None

Placeholder element for patternInteger64 extensions

None
patternMarkdown Markdown | None

Value must have at least these property values

None
patternMarkdown_ext Element | None

Placeholder element for patternMarkdown extensions

None
patternOid Oid | None

Value must have at least these property values

None
patternOid_ext Element | None

Placeholder element for patternOid extensions

None
patternPositiveInt PositiveInt | None

Value must have at least these property values

None
patternPositiveInt_ext Element | None

Placeholder element for patternPositiveInt extensions

None
patternString String | None

Value must have at least these property values

None
patternString_ext Element | None

Placeholder element for patternString extensions

None
patternTime Time | None

Value must have at least these property values

None
patternTime_ext Element | None

Placeholder element for patternTime extensions

None
patternUnsignedInt UnsignedInt | None

Value must have at least these property values

None
patternUnsignedInt_ext Element | None

Placeholder element for patternUnsignedInt extensions

None
patternUri Uri | None

Value must have at least these property values

None
patternUri_ext Element | None

Placeholder element for patternUri extensions

None
patternUrl Url | None

Value must have at least these property values

None
patternUrl_ext Element | None

Placeholder element for patternUrl extensions

None
patternUuid Uuid | None

Value must have at least these property values

None
patternUuid_ext Element | None

Placeholder element for patternUuid extensions

None
patternAddress Address | None

Value must have at least these property values

None
patternAge Age | None

Value must have at least these property values

None
patternAnnotation Annotation | None

Value must have at least these property values

None
patternAttachment Attachment | None

Value must have at least these property values

None
patternCodeableConcept CodeableConcept | None

Value must have at least these property values

None
patternCodeableReference CodeableReference | None

Value must have at least these property values

None
patternCoding Coding | None

Value must have at least these property values

None
patternContactPoint ContactPoint | None

Value must have at least these property values

None
patternCount Count | None

Value must have at least these property values

None
patternDistance Distance | None

Value must have at least these property values

None
patternDuration Duration | None

Value must have at least these property values

None
patternHumanName HumanName | None

Value must have at least these property values

None
patternIdentifier Identifier | None

Value must have at least these property values

None
patternMoney Money | None

Value must have at least these property values

None
patternPeriod Period | None

Value must have at least these property values

None
patternQuantity Quantity | None

Value must have at least these property values

None
patternRange Range | None

Value must have at least these property values

None
patternRatio Ratio | None

Value must have at least these property values

None
patternRatioRange RatioRange | None

Value must have at least these property values

None
patternReference Reference | None

Value must have at least these property values

None
patternSampledData SampledData | None

Value must have at least these property values

None
patternSignature Signature | None

Value must have at least these property values

None
patternTiming Timing | None

Value must have at least these property values

None
patternContactDetail ContactDetail | None

Value must have at least these property values

None
patternDataRequirement DataRequirement | None

Value must have at least these property values

None
patternExpression Expression | None

Value must have at least these property values

None
patternParameterDefinition ParameterDefinition | None

Value must have at least these property values

None
patternRelatedArtifact RelatedArtifact | None

Value must have at least these property values

None
patternTriggerDefinition TriggerDefinition | None

Value must have at least these property values

None
patternUsageContext UsageContext | None

Value must have at least these property values

None
patternAvailability Availability | None

Value must have at least these property values

None
patternExtendedContactDetail ExtendedContactDetail | None

Value must have at least these property values

None
patternDosage Dosage | None

Value must have at least these property values

None
patternMeta Meta | None

Value must have at least these property values

None
example List[ElementDefinitionExample] | None

Example value (as defined for type)

None
minValueDate Date | None

Minimum Allowed Value (for some types)

None
minValueDate_ext Element | None

Placeholder element for minValueDate extensions

None
minValueDateTime DateTime | None

Minimum Allowed Value (for some types)

None
minValueDateTime_ext Element | None

Placeholder element for minValueDateTime extensions

None
minValueInstant Instant | None

Minimum Allowed Value (for some types)

None
minValueInstant_ext Element | None

Placeholder element for minValueInstant extensions

None
minValueTime Time | None

Minimum Allowed Value (for some types)

None
minValueTime_ext Element | None

Placeholder element for minValueTime extensions

None
minValueDecimal Decimal | None

Minimum Allowed Value (for some types)

None
minValueDecimal_ext Element | None

Placeholder element for minValueDecimal extensions

None
minValueInteger Integer | None

Minimum Allowed Value (for some types)

None
minValueInteger_ext Element | None

Placeholder element for minValueInteger extensions

None
minValueInteger64 Integer64 | None

Minimum Allowed Value (for some types)

None
minValueInteger64_ext Element | None

Placeholder element for minValueInteger64 extensions

None
minValuePositiveInt PositiveInt | None

Minimum Allowed Value (for some types)

None
minValuePositiveInt_ext Element | None

Placeholder element for minValuePositiveInt extensions

None
minValueUnsignedInt UnsignedInt | None

Minimum Allowed Value (for some types)

None
minValueUnsignedInt_ext Element | None

Placeholder element for minValueUnsignedInt extensions

None
minValueQuantity Quantity | None

Minimum Allowed Value (for some types)

None
maxValueDate Date | None

Maximum Allowed Value (for some types)

None
maxValueDate_ext Element | None

Placeholder element for maxValueDate extensions

None
maxValueDateTime DateTime | None

Maximum Allowed Value (for some types)

None
maxValueDateTime_ext Element | None

Placeholder element for maxValueDateTime extensions

None
maxValueInstant Instant | None

Maximum Allowed Value (for some types)

None
maxValueInstant_ext Element | None

Placeholder element for maxValueInstant extensions

None
maxValueTime Time | None

Maximum Allowed Value (for some types)

None
maxValueTime_ext Element | None

Placeholder element for maxValueTime extensions

None
maxValueDecimal Decimal | None

Maximum Allowed Value (for some types)

None
maxValueDecimal_ext Element | None

Placeholder element for maxValueDecimal extensions

None
maxValueInteger Integer | None

Maximum Allowed Value (for some types)

None
maxValueInteger_ext Element | None

Placeholder element for maxValueInteger extensions

None
maxValueInteger64 Integer64 | None

Maximum Allowed Value (for some types)

None
maxValueInteger64_ext Element | None

Placeholder element for maxValueInteger64 extensions

None
maxValuePositiveInt PositiveInt | None

Maximum Allowed Value (for some types)

None
maxValuePositiveInt_ext Element | None

Placeholder element for maxValuePositiveInt extensions

None
maxValueUnsignedInt UnsignedInt | None

Maximum Allowed Value (for some types)

None
maxValueUnsignedInt_ext Element | None

Placeholder element for maxValueUnsignedInt extensions

None
maxValueQuantity Quantity | None

Maximum Allowed Value (for some types)

None
maxLength Integer | None

Max length for string type data

None
maxLength_ext Element | None

Placeholder element for maxLength extensions

None
condition List[Id] | None

Reference to invariant about presence

None
condition_ext List[Element | None] | None

Placeholder element for condition extensions

None
constraint List[ElementDefinitionConstraint] | None

Condition that must evaluate to True

None
mustHaveValue Boolean | None

For primitives, that a value must be present - not replaced by an extension

None
mustHaveValue_ext Element | None

Placeholder element for mustHaveValue extensions

None
valueAlternatives List[Canonical] | None

Extensions that are allowed to replace a primitive value

None
valueAlternatives_ext List[Element | None] | None

Placeholder element for valueAlternatives extensions

None
mustSupport Boolean | None

If the element must be supported (discouraged - see obligations)

None
mustSupport_ext Element | None

Placeholder element for mustSupport extensions

None
isModifier Boolean | None

If this modifies the meaning of other elements

None
isModifier_ext Element | None

Placeholder element for isModifier extensions

None
isModifierReason String | None

Reason that this element is marked as a modifier

None
isModifierReason_ext Element | None

Placeholder element for isModifierReason extensions

None
isSummary Boolean | None

Include when _summary = True?

None
isSummary_ext Element | None

Placeholder element for isSummary extensions

None
binding ElementDefinitionBinding | None

ValueSet details if this is coded

None
mapping List[ElementDefinitionMapping] | None

Map element to another set of definitions

None

ElementDefinitionBase

Path: fhircraft.fhir.resources.datatypes.R5.complex.element_definition.ElementDefinitionBase

Bases: Element

Information about the base definition of the element, provided to make it unnecessary for tools to trace the deviation of the element through the derived and related profiles. When the element definition is not the original definition of an element - e.g. either in a constraint on another type, or for elements from a super type in a snap shot - then the information in provided in the element definition may be different to the base definition. On the original definition of the element, it will be same.

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
path String | None

Path that identifies the base element

None
path_ext Element | None

Placeholder element for path extensions

None
min UnsignedInt | None

Min cardinality of the base element

None
min_ext Element | None

Placeholder element for min extensions

None
max String | None

Max cardinality of the base element

None
max_ext Element | None

Placeholder element for max extensions

None

ElementDefinitionBinding

Path: fhircraft.fhir.resources.datatypes.R5.complex.element_definition.ElementDefinitionBinding

Bases: Element

Binds to a value set if this element is coded (code, Coding, CodeableConcept, Quantity), or the data types (string, uri).

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
strength Code | None

required | extensible | preferred | example

None
strength_ext Element | None

Placeholder element for strength extensions

None
description Markdown | None

Intended use of codes in the bound value set

None
description_ext Element | None

Placeholder element for description extensions

None
valueSet Canonical | None

Source of value set

None
valueSet_ext Element | None

Placeholder element for valueSet extensions

None
additional List[ElementDefinitionBindingAdditional] | None

Additional Bindings - more rules about the binding

None

ElementDefinitionBindingAdditional

Path: fhircraft.fhir.resources.datatypes.R5.complex.element_definition.ElementDefinitionBindingAdditional

Bases: Element

Additional bindings that help applications implementing this element. Additional bindings do not replace the main binding but provide more information and/or context.

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
purpose Code | None

maximum | minimum | required | extensible | candidate | current | preferred | ui | starter | component

None
purpose_ext Element | None

Placeholder element for purpose extensions

None
valueSet Canonical | None

The value set for the additional binding

None
valueSet_ext Element | None

Placeholder element for valueSet extensions

None
documentation Markdown | None

Documentation of the purpose of use of the binding

None
documentation_ext Element | None

Placeholder element for documentation extensions

None
shortDoco String | None

Concise documentation - for summary tables

None
shortDoco_ext Element | None

Placeholder element for shortDoco extensions

None
usage List[UsageContext] | None

Qualifies the usage - jurisdiction, gender, workflow status etc.

None
any Boolean | None

Whether binding can applies to all repeats, or just one

None
any_ext Element | None

Placeholder element for any extensions

None

ElementDefinitionConstraint

Path: fhircraft.fhir.resources.datatypes.R5.complex.element_definition.ElementDefinitionConstraint

Bases: Element

Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
key Id | None

Target of 'condition' reference above

None
key_ext Element | None

Placeholder element for key extensions

None
requirements Markdown | None

Why this constraint is necessary or appropriate

None
requirements_ext Element | None

Placeholder element for requirements extensions

None
severity Code | None

error | warning

None
severity_ext Element | None

Placeholder element for severity extensions

None
suppress Boolean | None

Suppress warning or hint in profile

None
suppress_ext Element | None

Placeholder element for suppress extensions

None
human String | None

Human description of constraint

None
human_ext Element | None

Placeholder element for human extensions

None
expression String | None

FHIRPath expression of constraint

None
expression_ext Element | None

Placeholder element for expression extensions

None
source Canonical | None

Reference to original source of constraint

None
source_ext Element | None

Placeholder element for source extensions

None

ElementDefinitionExample

Path: fhircraft.fhir.resources.datatypes.R5.complex.element_definition.ElementDefinitionExample

Bases: Element

A sample value for this element demonstrating the type of information that would typically be found in the element.

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
label String | None

Describes the purpose of this example

None
label_ext Element | None

Placeholder element for label extensions

None
valueBase64Binary Base64Binary | None

Value of Example (one of allowed types)

None
valueBase64Binary_ext Element | None

Placeholder element for valueBase64Binary extensions

None
valueBoolean Boolean | None

Value of Example (one of allowed types)

None
valueBoolean_ext Element | None

Placeholder element for valueBoolean extensions

None
valueCanonical Canonical | None

Value of Example (one of allowed types)

None
valueCanonical_ext Element | None

Placeholder element for valueCanonical extensions

None
valueCode Code | None

Value of Example (one of allowed types)

None
valueCode_ext Element | None

Placeholder element for valueCode extensions

None
valueDate Date | None

Value of Example (one of allowed types)

None
valueDate_ext Element | None

Placeholder element for valueDate extensions

None
valueDateTime DateTime | None

Value of Example (one of allowed types)

None
valueDateTime_ext Element | None

Placeholder element for valueDateTime extensions

None
valueDecimal Decimal | None

Value of Example (one of allowed types)

None
valueDecimal_ext Element | None

Placeholder element for valueDecimal extensions

None
valueId Id | None

Value of Example (one of allowed types)

None
valueId_ext Element | None

Placeholder element for valueId extensions

None
valueInstant Instant | None

Value of Example (one of allowed types)

None
valueInstant_ext Element | None

Placeholder element for valueInstant extensions

None
valueInteger Integer | None

Value of Example (one of allowed types)

None
valueInteger_ext Element | None

Placeholder element for valueInteger extensions

None
valueInteger64 Integer64 | None

Value of Example (one of allowed types)

None
valueInteger64_ext Element | None

Placeholder element for valueInteger64 extensions

None
valueMarkdown Markdown | None

Value of Example (one of allowed types)

None
valueMarkdown_ext Element | None

Placeholder element for valueMarkdown extensions

None
valueOid Oid | None

Value of Example (one of allowed types)

None
valueOid_ext Element | None

Placeholder element for valueOid extensions

None
valuePositiveInt PositiveInt | None

Value of Example (one of allowed types)

None
valuePositiveInt_ext Element | None

Placeholder element for valuePositiveInt extensions

None
valueString String | None

Value of Example (one of allowed types)

None
valueString_ext Element | None

Placeholder element for valueString extensions

None
valueTime Time | None

Value of Example (one of allowed types)

None
valueTime_ext Element | None

Placeholder element for valueTime extensions

None
valueUnsignedInt UnsignedInt | None

Value of Example (one of allowed types)

None
valueUnsignedInt_ext Element | None

Placeholder element for valueUnsignedInt extensions

None
valueUri Uri | None

Value of Example (one of allowed types)

None
valueUri_ext Element | None

Placeholder element for valueUri extensions

None
valueUrl Url | None

Value of Example (one of allowed types)

None
valueUrl_ext Element | None

Placeholder element for valueUrl extensions

None
valueUuid Uuid | None

Value of Example (one of allowed types)

None
valueUuid_ext Element | None

Placeholder element for valueUuid extensions

None
valueAddress Address | None

Value of Example (one of allowed types)

None
valueAge Age | None

Value of Example (one of allowed types)

None
valueAnnotation Annotation | None

Value of Example (one of allowed types)

None
valueAttachment Attachment | None

Value of Example (one of allowed types)

None
valueCodeableConcept CodeableConcept | None

Value of Example (one of allowed types)

None
valueCodeableReference CodeableReference | None

Value of Example (one of allowed types)

None
valueCoding Coding | None

Value of Example (one of allowed types)

None
valueContactPoint ContactPoint | None

Value of Example (one of allowed types)

None
valueCount Count | None

Value of Example (one of allowed types)

None
valueDistance Distance | None

Value of Example (one of allowed types)

None
valueDuration Duration | None

Value of Example (one of allowed types)

None
valueHumanName HumanName | None

Value of Example (one of allowed types)

None
valueIdentifier Identifier | None

Value of Example (one of allowed types)

None
valueMoney Money | None

Value of Example (one of allowed types)

None
valuePeriod Period | None

Value of Example (one of allowed types)

None
valueQuantity Quantity | None

Value of Example (one of allowed types)

None
valueRange Range | None

Value of Example (one of allowed types)

None
valueRatio Ratio | None

Value of Example (one of allowed types)

None
valueRatioRange RatioRange | None

Value of Example (one of allowed types)

None
valueReference Reference | None

Value of Example (one of allowed types)

None
valueSampledData SampledData | None

Value of Example (one of allowed types)

None
valueSignature Signature | None

Value of Example (one of allowed types)

None
valueTiming Timing | None

Value of Example (one of allowed types)

None
valueContactDetail ContactDetail | None

Value of Example (one of allowed types)

None
valueDataRequirement DataRequirement | None

Value of Example (one of allowed types)

None
valueExpression Expression | None

Value of Example (one of allowed types)

None
valueParameterDefinition ParameterDefinition | None

Value of Example (one of allowed types)

None
valueRelatedArtifact RelatedArtifact | None

Value of Example (one of allowed types)

None
valueTriggerDefinition TriggerDefinition | None

Value of Example (one of allowed types)

None
valueUsageContext UsageContext | None

Value of Example (one of allowed types)

None
valueAvailability Availability | None

Value of Example (one of allowed types)

None
valueExtendedContactDetail ExtendedContactDetail | None

Value of Example (one of allowed types)

None
valueDosage Dosage | None

Value of Example (one of allowed types)

None
valueMeta Meta | None

Value of Example (one of allowed types)

None

ElementDefinitionMapping

Path: fhircraft.fhir.resources.datatypes.R5.complex.element_definition.ElementDefinitionMapping

Bases: Element

Identifies a concept from an external specification that roughly corresponds to this element.

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
identity Id | None

Reference to mapping declaration

None
identity_ext Element | None

Placeholder element for identity extensions

None
language Code | None

Computable language of mapping

None
language_ext Element | None

Placeholder element for language extensions

None
map String | None

Details of the mapping

None
map_ext Element | None

Placeholder element for map extensions

None
comment Markdown | None

Comments about the mapping or its use

None
comment_ext Element | None

Placeholder element for comment extensions

None

ElementDefinitionSlicing

Path: fhircraft.fhir.resources.datatypes.R5.complex.element_definition.ElementDefinitionSlicing

Bases: Element

Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set).

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
discriminator List[ElementDefinitionSlicingDiscriminator] | None

Element values that are used to distinguish the slices

None
description String | None

Text description of how slicing works (or not)

None
description_ext Element | None

Placeholder element for description extensions

None
ordered Boolean | None

If elements must be in same order as slices

None
ordered_ext Element | None

Placeholder element for ordered extensions

None
rules Code | None

closed | open | openAtEnd

None
rules_ext Element | None

Placeholder element for rules extensions

None

ElementDefinitionSlicingDiscriminator

Path: fhircraft.fhir.resources.datatypes.R5.complex.element_definition.ElementDefinitionSlicingDiscriminator

Bases: Element

Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices.

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
type Code | None

value | exists | type | profile | position

None
type_ext List[Element | None] | None

Placeholder element for type extensions

None
path String | None

Path to element value

None
path_ext Element | None

Placeholder element for path extensions

None

ElementDefinitionType

Path: fhircraft.fhir.resources.datatypes.R5.complex.element_definition.ElementDefinitionType

Bases: Element

The data type or resource that the value of this element is permitted to be.

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
code Uri | None

Data type or Resource (reference to definition)

None
code_ext List[Element | None] | None

Placeholder element for code extensions

None
profile List[Canonical] | None

Profiles (StructureDefinition or IG) - one must apply

None
profile_ext List[Element | None] | None

Placeholder element for profile extensions

None
targetProfile List[Canonical] | None

Profile (StructureDefinition or IG) on the Reference/canonical target - one must apply

None
targetProfile_ext List[Element | None] | None

Placeholder element for targetProfile extensions

None
aggregation List[Code] | None

contained | referenced | bundled - how aggregated

None
aggregation_ext List[Element | None] | None

Placeholder element for aggregation extensions

None
versioning Code | None

either | independent | specific

None
versioning_ext Element | None

Placeholder element for versioning extensions

None

Expression

Path: fhircraft.fhir.resources.datatypes.R5.complex.expression.Expression

Bases: DataType

An expression that can be used to generate a value

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
description String | None

Natural language description of the condition

None
description_ext Element | None

Placeholder element for description extensions

None
name Code | None

Short name assigned to expression for reuse

None
name_ext Element | None

Placeholder element for name extensions

None
language Code | None

text/cql | text/fhirpath | application/x-fhir-query | etc.

None
language_ext Element | None

Placeholder element for language extensions

None
expression String | None

Expression in specified language

None
expression_ext Element | None

Placeholder element for expression extensions

None
reference Uri | None

Where the expression is found

None
reference_ext Element | None

Placeholder element for reference extensions

None

ExtendedContactDetail

Path: fhircraft.fhir.resources.datatypes.R5.complex.extended_contact_detail.ExtendedContactDetail

Bases: DataType

Contact information

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
purpose CodeableConcept | None

The type of contact

None
name List[HumanName] | None

Name of an individual to contact

None
telecom List[ContactPoint] | None

Contact details (e.g.phone/fax/url)

None
address Address | None

Address for the contact

None
organization Reference | None

This contact detail is handled/monitored by a specific organization

None
period Period | None

Period that this contact was valid for usage

None

Extension

Path: fhircraft.fhir.resources.datatypes.R5.complex.extension.Extension

Bases: DataType

Optional Extensions Element

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
url String | None

identifies the meaning of the extension

None
url_ext Element | None

Placeholder element for url extensions

None
valueBase64Binary Base64Binary | None

Value of extension

None
valueBase64Binary_ext Element | None

Placeholder element for valueBase64Binary extensions

None
valueBoolean Boolean | None

Value of extension

None
valueBoolean_ext Element | None

Placeholder element for valueBoolean extensions

None
valueCanonical Canonical | None

Value of extension

None
valueCanonical_ext Element | None

Placeholder element for valueCanonical extensions

None
valueCode Code | None

Value of extension

None
valueCode_ext Element | None

Placeholder element for valueCode extensions

None
valueDate Date | None

Value of extension

None
valueDate_ext Element | None

Placeholder element for valueDate extensions

None
valueDateTime DateTime | None

Value of extension

None
valueDateTime_ext Element | None

Placeholder element for valueDateTime extensions

None
valueDecimal Decimal | None

Value of extension

None
valueDecimal_ext Element | None

Placeholder element for valueDecimal extensions

None
valueId Id | None

Value of extension

None
valueId_ext Element | None

Placeholder element for valueId extensions

None
valueInstant Instant | None

Value of extension

None
valueInstant_ext Element | None

Placeholder element for valueInstant extensions

None
valueInteger Integer | None

Value of extension

None
valueInteger_ext Element | None

Placeholder element for valueInteger extensions

None
valueInteger64 Integer64 | None

Value of extension

None
valueInteger64_ext Element | None

Placeholder element for valueInteger64 extensions

None
valueMarkdown Markdown | None

Value of extension

None
valueMarkdown_ext Element | None

Placeholder element for valueMarkdown extensions

None
valueOid Oid | None

Value of extension

None
valueOid_ext Element | None

Placeholder element for valueOid extensions

None
valuePositiveInt PositiveInt | None

Value of extension

None
valuePositiveInt_ext Element | None

Placeholder element for valuePositiveInt extensions

None
valueString String | None

Value of extension

None
valueString_ext Element | None

Placeholder element for valueString extensions

None
valueTime Time | None

Value of extension

None
valueTime_ext Element | None

Placeholder element for valueTime extensions

None
valueUnsignedInt UnsignedInt | None

Value of extension

None
valueUnsignedInt_ext Element | None

Placeholder element for valueUnsignedInt extensions

None
valueUri Uri | None

Value of extension

None
valueUri_ext Element | None

Placeholder element for valueUri extensions

None
valueUrl Url | None

Value of extension

None
valueUrl_ext Element | None

Placeholder element for valueUrl extensions

None
valueUuid Uuid | None

Value of extension

None
valueUuid_ext Element | None

Placeholder element for valueUuid extensions

None
valueAddress Address | None

Value of extension

None
valueAge Age | None

Value of extension

None
valueAnnotation Annotation | None

Value of extension

None
valueAttachment Attachment | None

Value of extension

None
valueCodeableConcept CodeableConcept | None

Value of extension

None
valueCodeableReference CodeableReference | None

Value of extension

None
valueCoding Coding | None

Value of extension

None
valueContactPoint ContactPoint | None

Value of extension

None
valueCount Count | None

Value of extension

None
valueDistance Distance | None

Value of extension

None
valueDuration Duration | None

Value of extension

None
valueHumanName HumanName | None

Value of extension

None
valueIdentifier Identifier | None

Value of extension

None
valueMoney Money | None

Value of extension

None
valuePeriod Period | None

Value of extension

None
valueQuantity Quantity | None

Value of extension

None
valueRange Range | None

Value of extension

None
valueRatio Ratio | None

Value of extension

None
valueRatioRange RatioRange | None

Value of extension

None
valueReference Reference | None

Value of extension

None
valueSampledData SampledData | None

Value of extension

None
valueSignature Signature | None

Value of extension

None
valueTiming Timing | None

Value of extension

None
valueContactDetail ContactDetail | None

Value of extension

None
valueDataRequirement DataRequirement | None

Value of extension

None
valueExpression Expression | None

Value of extension

None
valueParameterDefinition ParameterDefinition | None

Value of extension

None
valueRelatedArtifact RelatedArtifact | None

Value of extension

None
valueTriggerDefinition TriggerDefinition | None

Value of extension

None
valueUsageContext UsageContext | None

Value of extension

None
valueAvailability Availability | None

Value of extension

None
valueExtendedContactDetail ExtendedContactDetail | None

Value of extension

None
valueDosage Dosage | None

Value of extension

None
valueMeta Meta | None

Value of extension

None

HumanName

Path: fhircraft.fhir.resources.datatypes.R5.complex.human_name.HumanName

Bases: DataType

Name of a human or other living entity - parts and usage

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
use Code | None

usual | official | temp | nickname | anonymous | old | maiden

None
use_ext Element | None

Placeholder element for use extensions

None
text String | None

Text representation of the full name

None
text_ext Element | None

Placeholder element for text extensions

None
family String | None

Family name (often called 'Surname')

None
family_ext Element | None

Placeholder element for family extensions

None
given List[String] | None

Given names (not always 'first'). Includes middle names

None
given_ext List[Element | None] | None

Placeholder element for given extensions

None
prefix List[String] | None

Parts that come before the name

None
prefix_ext List[Element | None] | None

Placeholder element for prefix extensions

None
suffix List[String] | None

Parts that come after the name

None
suffix_ext List[Element | None] | None

Placeholder element for suffix extensions

None
period Period | None

Time period when name was/is in use

None

Identifier

Path: fhircraft.fhir.resources.datatypes.R5.complex.identifier.Identifier

Bases: DataType

An identifier intended for computation

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
use Code | None

usual | official | temp | secondary | old (If known)

None
use_ext Element | None

Placeholder element for use extensions

None
type CodeableConcept | None

Description of identifier

None
system Uri | None

The namespace for the identifier value

None
system_ext Element | None

Placeholder element for system extensions

None
value String | None

The value that is unique

None
value_ext Element | None

Placeholder element for value extensions

None
period Period | None

Time period when id is/was valid for use

None
assigner Reference | None

Organization that issued id (may be just text)

None

MarketingStatus

Path: fhircraft.fhir.resources.datatypes.R5.complex.marketing_status.MarketingStatus

Bases: BackboneType

The 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 available

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None
country CodeableConcept | None

The country in which the marketing authorization has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements

None
jurisdiction CodeableConcept | None

Where a Medicines Regulatory Agency has granted a marketing authorization for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified

None
status CodeableConcept | None

This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples

None
dateRange Period | None

The date when the Medicinal Product is placed on the market by the Marketing Authorization Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain

None
restoreDate DateTime | None

The date when the Medicinal Product is placed on the market by the Marketing Authorization Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain

None
restoreDate_ext Element | None

Placeholder element for restoreDate extensions

None

Meta

Path: fhircraft.fhir.resources.datatypes.R5.complex.meta.Meta

Bases: DataType

Metadata about a resource

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
versionId Id | None

Version specific identifier

None
versionId_ext Element | None

Placeholder element for versionId extensions

None
lastUpdated Instant | None

When the resource version last changed

None
lastUpdated_ext Element | None

Placeholder element for lastUpdated extensions

None
source Uri | None

Identifies where the resource comes from

None
source_ext Element | None

Placeholder element for source extensions

None
profile List[Canonical] | None

Profiles this resource claims to conform to

None
profile_ext List[Element | None] | None

Placeholder element for profile extensions

None
security List[Coding] | None

Security Labels applied to this resource

None
tag List[Coding] | None

Tags applied to this resource

None

MonetaryComponent

Path: fhircraft.fhir.resources.datatypes.R5.complex.monetary_component.MonetaryComponent

Bases: DataType

Availability data for an {item}

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
type Code | None

base | surcharge | deduction | discount | tax | informational

None
type_ext Element | None

Placeholder element for type extensions

None
code CodeableConcept | None

Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc.

None
factor Decimal | None

Factor used for calculating this component

None
factor_ext Element | None

Placeholder element for factor extensions

None
amount Money | None

Explicit value amount to be used

None

Money

Path: fhircraft.fhir.resources.datatypes.R5.complex.money.Money

Bases: DataType

An amount of economic utility in some recognized currency

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
value Decimal | None

Numerical value (with implicit precision)

None
value_ext Element | None

Placeholder element for value extensions

None
currency Code | None

ISO 4217 Currency Code

None
currency_ext Element | None

Placeholder element for currency extensions

None

MoneyQuantity

Path: fhircraft.fhir.resources.datatypes.R5.complex.money_quantity.MoneyQuantity

Bases: Quantity

An amount of money.

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
value Decimal | None

Numerical value (with implicit precision)

None
value_ext Element | None

Placeholder element for value extensions

None
comparator Code | None

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

None
comparator_ext Element | None

Placeholder element for comparator extensions

None
unit String | None

Unit representation

None
unit_ext Element | None

Placeholder element for unit extensions

None
system Uri | None

System that defines coded unit form

None
system_ext Element | None

Placeholder element for system extensions

None
code Code | None

Coded form of the unit

None
code_ext Element | None

Placeholder element for code extensions

None

Narrative

Path: fhircraft.fhir.resources.datatypes.R5.complex.narrative.Narrative

Bases: DataType

Human-readable summary of the resource (essential clinical and business information)

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
status Code | None

generated | extensions | additional | empty

None
status_ext Element | None

Placeholder element for status extensions

None
div str | None

Limited xhtml content

None

ParameterDefinition

Path: fhircraft.fhir.resources.datatypes.R5.complex.parameter_definition.ParameterDefinition

Bases: DataType

Definition of a parameter to a module

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
name Code | None

Name used to access the parameter value

None
name_ext Element | None

Placeholder element for name extensions

None
use Code | None

in | out

None
use_ext Element | None

Placeholder element for use extensions

None
min Integer | None

Minimum cardinality

None
min_ext Element | None

Placeholder element for min extensions

None
max String | None

Maximum cardinality (a number of *)

None
max_ext Element | None

Placeholder element for max extensions

None
documentation String | None

A brief description of the parameter

None
documentation_ext Element | None

Placeholder element for documentation extensions

None
type Code | None

What type of value

None
type_ext Element | None

Placeholder element for type extensions

None
profile Canonical | None

What profile the value is expected to be

None
profile_ext Element | None

Placeholder element for profile extensions

None

Period

Path: fhircraft.fhir.resources.datatypes.R5.complex.period.Period

Bases: DataType

Time range defined by start and end date/time

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
start DateTime | None

Starting time with inclusive boundary

None
start_ext Element | None

Placeholder element for start extensions

None
end DateTime | None

End time with inclusive boundary, if not ongoing

None
end_ext Element | None

Placeholder element for end extensions

None

PrimitiveType

Path: fhircraft.fhir.resources.datatypes.R5.complex.primitive_type.PrimitiveType

Bases: DataType

Parent type for DataTypes with a simple value

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None

ProductShelfLife

Path: fhircraft.fhir.resources.datatypes.R5.complex.product_shelf_life.ProductShelfLife

Bases: BackboneType

The shelf-life and storage information for a medicinal product item or container can be described using this class

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None
type CodeableConcept | None

This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified

None
periodDuration Duration | None

The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used

None
periodString String | None

The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used

None
specialPrecautionsForStorage List[CodeableConcept] | None

Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified

None

Quantity

Path: fhircraft.fhir.resources.datatypes.R5.complex.quantity.Quantity

Bases: DataType

A measured or measurable amount

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
value Decimal | None

Numerical value (with implicit precision)

None
value_ext Element | None

Placeholder element for value extensions

None
comparator Code | None

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

None
comparator_ext Element | None

Placeholder element for comparator extensions

None
unit String | None

Unit representation

None
unit_ext Element | None

Placeholder element for unit extensions

None
system Uri | None

System that defines coded unit form

None
system_ext Element | None

Placeholder element for system extensions

None
code Code | None

Coded form of the unit

None
code_ext Element | None

Placeholder element for code extensions

None

Range

Path: fhircraft.fhir.resources.datatypes.R5.complex.range.Range

Bases: DataType

Set of values bounded by low and high

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
low Quantity | None

Low limit

None
high Quantity | None

High limit

None

Ratio

Path: fhircraft.fhir.resources.datatypes.R5.complex.ratio.Ratio

Bases: DataType

A ratio of two Quantity values - a numerator and a denominator

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
numerator Quantity | None

Numerator value

None
denominator Quantity | None

Denominator value

None

RatioRange

Path: fhircraft.fhir.resources.datatypes.R5.complex.ratio_range.RatioRange

Bases: DataType

Range of ratio values

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
lowNumerator Quantity | None

Low Numerator limit

None
highNumerator Quantity | None

High Numerator limit

None
denominator Quantity | None

Denominator value

None

Reference

Path: fhircraft.fhir.resources.datatypes.R5.complex.reference.Reference

Bases: DataType

A reference from one resource to another

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
reference String | None

Literal reference, Relative, internal or absolute URL

None
reference_ext Element | None

Placeholder element for reference extensions

None
type Uri | None

Type the reference refers to (e.g. "Patient") - must be a resource in resources

None
type_ext Element | None

Placeholder element for type extensions

None
identifier Identifier | None

Logical reference, when literal reference is not known

None
display String | None

Text alternative for the resource

None
display_ext Element | None

Placeholder element for display extensions

None

RelatedArtifact

Path: fhircraft.fhir.resources.datatypes.R5.complex.related_artifact.RelatedArtifact

Bases: DataType

Related artifacts for a knowledge resource

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
type Code | None

documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as

None
type_ext Element | None

Placeholder element for type extensions

None
classifier List[CodeableConcept] | None

Additional classifiers

None
label String | None

Short label

None
label_ext Element | None

Placeholder element for label extensions

None
display String | None

Brief description of the related artifact

None
display_ext Element | None

Placeholder element for display extensions

None
citation Markdown | None

Bibliographic citation for the artifact

None
citation_ext Element | None

Placeholder element for citation extensions

None
document Attachment | None

What document is being referenced

None
resource Canonical | None

What artifact is being referenced

None
resource_ext Element | None

Placeholder element for resource extensions

None
resourceReference Reference | None

What artifact, if not a conformance resource

None
publicationStatus Code | None

draft | active | retired | unknown

None
publicationStatus_ext Element | None

Placeholder element for publicationStatus extensions

None
publicationDate Date | None

Date of publication of the artifact being referred to

None
publicationDate_ext Element | None

Placeholder element for publicationDate extensions

None

SampledData

Path: fhircraft.fhir.resources.datatypes.R5.complex.sampled_data.SampledData

Bases: DataType

A series of measurements taken by a device

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
origin Quantity | None

Zero value and units

None
interval Decimal | None

Number of intervalUnits between samples

None
interval_ext Element | None

Placeholder element for interval extensions

None
intervalUnit Code | None

The measurement unit of the interval between samples

None
intervalUnit_ext Element | None

Placeholder element for intervalUnit extensions

None
factor Decimal | None

Multiply data by this before adding to origin

None
factor_ext Element | None

Placeholder element for factor extensions

None
lowerLimit Decimal | None

Lower limit of detection

None
lowerLimit_ext Element | None

Placeholder element for lowerLimit extensions

None
upperLimit Decimal | None

Upper limit of detection

None
upperLimit_ext Element | None

Placeholder element for upperLimit extensions

None
dimensions PositiveInt | None

Number of sample points at each time point

None
dimensions_ext Element | None

Placeholder element for dimensions extensions

None
codeMap Canonical | None

Defines the codes used in the data

None
codeMap_ext Element | None

Placeholder element for codeMap extensions

None
offsets String | None

Offsets, typically in time, at which data values were taken

None
offsets_ext Element | None

Placeholder element for offsets extensions

None
data String | None

Decimal values with spaces, or "E" | "U" | "L", or another code

None
data_ext Element | None

Placeholder element for data extensions

None

Signature

Path: fhircraft.fhir.resources.datatypes.R5.complex.signature.Signature

Bases: DataType

A Signature - XML DigSig, JWS, Graphical image of signature, etc.

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
type List[Coding] | None

Indication of the reason the entity signed the object(s)

None
when Instant | None

When the signature was created

None
when_ext Element | None

Placeholder element for when extensions

None
who Reference | None

Who signed

None
onBehalfOf Reference | None

The party represented

None
targetFormat Code | None

The technical format of the signed resources

None
targetFormat_ext Element | None

Placeholder element for targetFormat extensions

None
sigFormat Code | None

The technical format of the signature

None
sigFormat_ext Element | None

Placeholder element for sigFormat extensions

None
data Base64Binary | None

The actual signature content (XML DigSig. JWS, picture, etc.)

None
data_ext Element | None

Placeholder element for data extensions

None

SimpleQuantity

Path: fhircraft.fhir.resources.datatypes.R5.complex.simple_quantity.SimpleQuantity

Bases: Quantity

A fixed quantity (no comparator)

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
value Decimal | None

Numerical value (with implicit precision)

None
value_ext Element | None

Placeholder element for value extensions

None
comparator Code | None

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

None
comparator_ext Element | None

Placeholder element for comparator extensions

None
unit String | None

Unit representation

None
unit_ext Element | None

Placeholder element for unit extensions

None
system Uri | None

System that defines coded unit form

None
system_ext Element | None

Placeholder element for system extensions

None
code Code | None

Coded form of the unit

None
code_ext Element | None

Placeholder element for code extensions

None

Timing

Path: fhircraft.fhir.resources.datatypes.R5.complex.timing.Timing

Bases: BackboneType

A timing schedule that specifies an event that may occur multiple times

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None
event List[DateTime] | None

When the event occurs

None
event_ext List[Element | None] | None

Placeholder element for event extensions

None
repeat TimingRepeat | None

When the event is to occur

None
code CodeableConcept | None

C | BID | TID | QID | AM | PM | QD | QOD | +

None

TimingRepeat

Path: fhircraft.fhir.resources.datatypes.R5.complex.timing.TimingRepeat

Bases: BackboneType

When the event is to occur

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
modifierExtension List[Extension] | None

Extensions that cannot be ignored even if unrecognized

None
boundsDuration Duration | None

Length/Range of lengths, or (Start and/or end) limits

None
boundsRange Range | None

Length/Range of lengths, or (Start and/or end) limits

None
boundsPeriod Period | None

Length/Range of lengths, or (Start and/or end) limits

None
count PositiveInt | None

Number of times to repeat

None
count_ext Element | None

Placeholder element for count extensions

None
countMax PositiveInt | None

Maximum number of times to repeat

None
countMax_ext Element | None

Placeholder element for countMax extensions

None
duration Decimal | None

How long when it happens

None
duration_ext Element | None

Placeholder element for duration extensions

None
durationMax Decimal | None

How long when it happens

None
durationMax_ext Element | None

Placeholder element for durationMax extensions

None
durationUnit Code | None

s | min | h | d | wk | mo | a

None
durationUnit_ext Element | None

Placeholder element for durationUnit extensions

None
frequency PositiveInt | None

Event occurs frequency times per period

None
frequency_ext Element | None

Placeholder element for frequency extensions

None
frequencyMax PositiveInt | None

Event occurs up to frequencyMax times per period

None
frequencyMax_ext Element | None

Placeholder element for frequencyMax extensions

None
period Decimal | None

Event occurs frequency times per period

None
period_ext Element | None

Placeholder element for period extensions

None
periodMax Decimal | None

Event occurs up to periodMax times per period

None
periodMax_ext Element | None

Placeholder element for periodMax extensions

None
periodUnit Code | None

s | min | h | d | wk | mo | a

None
periodUnit_ext Element | None

Placeholder element for periodUnit extensions

None
dayOfWeek List[Code] | None

mon | tue | wed | thu | fri | sat | sun

None
dayOfWeek_ext Element | None

Placeholder element for dayOfWeek extensions

None
timeOfDay List[Time] | None

Specified time of day for action

None
timeOfDay_ext Element | None

Placeholder element for timeOfDay extensions

None
when List[Code] | None

Code for time period of occurrence

None
when_ext Element | None

Placeholder element for when extensions

None
offset UnsignedInt | None

Minutes from event (before or after)

None
offset_ext Element | None

Placeholder element for offset extensions

None

TriggerDefinition

Path: fhircraft.fhir.resources.datatypes.R5.complex.trigger_definition.TriggerDefinition

Bases: DataType

Defines an expected trigger for a module

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
type Code | None

named-event | periodic | data-changed | data-added | data-modified | data-removed | data-accessed | data-access-ended

None
type_ext Element | None

Placeholder element for type extensions

None
name String | None

Name or URI that identifies the event

None
name_ext Element | None

Placeholder element for name extensions

None
code CodeableConcept | None

Coded definition of the event

None
subscriptionTopic Canonical | None

What event

None
subscriptionTopic_ext Element | None

Placeholder element for subscriptionTopic extensions

None
timingTiming Timing | None

Timing of the event

None
timingReference Reference | None

Timing of the event

None
timingDate Date | None

Timing of the event

None
timingDateTime DateTime | None

Timing of the event

None
data List[DataRequirement] | None

Triggering data of the event (multiple = 'and')

None
condition Expression | None

Whether the event triggers (boolean expression)

None

UsageContext

Path: fhircraft.fhir.resources.datatypes.R5.complex.usage_context.UsageContext

Bases: DataType

Describes the context of use for a conformance or knowledge resource

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
code Coding | None

Type of context being specified

None
valueCodeableConcept CodeableConcept | None

Value that defines the context

None
valueQuantity Quantity | None

Value that defines the context

None
valueRange Range | None

Value that defines the context

None
valueReference Reference | None

Value that defines the context

None

VirtualServiceDetail

Path: fhircraft.fhir.resources.datatypes.R5.complex.virtual_service_detail.VirtualServiceDetail

Bases: DataType

Virtual Service Contact Details

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
channelType Coding | None

Channel Type

None
addressUrl Url | None

Contact address/number

None
addressString String | None

Contact address/number

None
addressContactPoint ContactPoint | None

Contact address/number

None
addressExtendedContactDetail ExtendedContactDetail | None

Contact address/number

None
additionalInfo List[Url] | None

Address to see alternative connection details

None
additionalInfo_ext List[Element | None] | None

Placeholder element for additionalInfo extensions

None
maxParticipants PositiveInt | None

Maximum number of participants supported by the virtual service

None
maxParticipants_ext Element | None

Placeholder element for maxParticipants extensions

None
sessionKey String | None

Session Key required by the virtual service

None
sessionKey_ext Element | None

Placeholder element for sessionKey extensions

None

xhtml

Path: fhircraft.fhir.resources.datatypes.R5.complex.xhtml.xhtml

Bases: Element

Primitive Type xhtml

Parameters:

Name Type Description Default
id String | None

Unique id for inter-element referencing

None
id_ext Element | None

Placeholder element for id extensions

None
extension List[Extension] | None

Additional content defined by implementations

None
value String | None

Actual xhtml

None
value_ext Element | None

Placeholder element for value extensions

None