Skip to main content

StructureDefinition

ResourceFoundation · ConformanceNormativeMaturity 5

A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions and constraints on resources and data types.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
24 of 26 parameters tested

Structure​

ElementCard.TypeDescription
urlRequiredΣ
1..1uriCanonical identifier for this structure definition, represented as a URI (globally unique)
identifierΣ
0..*IdentifierAdditional identifier for the structure definition
versionΣ
0..1stringBusiness version of the structure definition
nameRequiredΣ
1..1stringName for this structure definition (computer friendly)
titleΣ
0..1stringName for this structure definition (human friendly)
statusRequired?!Σ
1..1codedraft | active | retired | unknownBinding (required): publication-status
experimentalΣ
0..1booleanFor testing purposes, not real usage
dateΣ
0..1dateTimeDate last changed
publisherΣ
0..1stringName of the publisher (organization or individual)
contactΣ
0..*ContactDetailContact details for the publisher
description
0..1markdownNatural language description of the structure definition
useContextΣ
0..*UsageContextThe context that the content is intended to support
jurisdictionΣ
0..*CodeableConceptIntended jurisdiction for structure definition (if applicable)Binding (extensible): jurisdiction
purpose
0..1markdownWhy this structure definition is defined
copyright
0..1markdownUse and/or publishing restrictions
keywordΣ
0..*CodingAssist with indexing and findingBinding (extensible): definition-use
fhirVersionΣ
0..1codeFHIR Version this StructureDefinition targetsBinding (required): FHIR-version
mapping
0..*BackboneElementExternal specification that the content is mapped to
identityRequired
1..1idInternal id when this mapping is used
uri
0..1uriIdentifies what this mapping refers to
name
0..1stringNames what this mapping refers to
comment
0..1stringVersions, Issues, Scope limitations etc.
kindRequiredΣ
1..1codeprimitive-type | complex-type | resource | logicalBinding (required): structure-definition-kind
abstractRequiredΣ
1..1booleanWhether the structure is abstract
contextΣ
0..*BackboneElementIf an extension, where it can be used in instances
typeRequiredΣ
1..1codefhirpath | element | extensionBinding (required): extension-context-type
expressionRequiredΣ
1..1stringWhere the extension can be used in instances
contextInvariantΣ
0..*stringFHIRPath invariants - when the extension can be used
typeRequiredΣ
1..1uriType defined or constrained by this structureBinding (extensible): defined-types
baseDefinitionΣ
0..1canonical(StructureDefinition)Definition that this type is constrained/specialized from
derivationΣ
0..1codespecialization | constraint - How relates to base definitionBinding (required): type-derivation-rule
snapshot
0..1BackboneElementSnapshot view of the structure
elementRequired
1..*ElementDefinitionDefinition of elements in the resource (if no StructureDefinition)
differential
0..1BackboneElementDifferential view of the structure
elementRequired
1..*ElementDefinitionDefinition of elements in the resource (if no StructureDefinition)

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/StructureDefinition?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
abstracttoken

Whether the structure is abstract

StructureDefinition.abstract
basereference

Definition that this type is constrained/specialized from

StructureDefinition.baseDefinition
base-pathtoken

Path that identifies the base element

StructureDefinition.snapshot.element.base.path | StructureDefinition.differential.element.base.path
contexttoken

A use context assigned to the structure definition

(StructureDefinition.useContext.value.ofType(CodeableConcept))
context-quantityquantity

A quantity- or range-valued use context assigned to the structure definition

(StructureDefinition.useContext.value.ofType(Quantity)) | (StructureDefinition.useContext.value.ofType(Range))
context-typetoken

A type of use context assigned to the structure definition

StructureDefinition.useContext.code
context-type-quantitycomposite

A use context type and quantity- or range-based value assigned to the structure definition

StructureDefinition.useContext
context-type-valuecomposite

A use context type and value assigned to the structure definition

StructureDefinition.useContext
datedate

The structure definition publication date

StructureDefinition.date
derivationtoken

specialization | constraint - How relates to base definition

StructureDefinition.derivation
descriptionstring

The description of the structure definition

StructureDefinition.description
experimentaltoken

For testing purposes, not real usage

StructureDefinition.experimental
ext-contexttoken

The system is the URL for the context-type: e.g. http://hl7.org/fhir/extension-context-type#element|CodeableConcept.text

StructureDefinition.context.type
identifiertoken

External identifier for the structure definition

StructureDefinition.identifier
jurisdictiontoken

Intended jurisdiction for the structure definition

StructureDefinition.jurisdiction
keywordtoken

A code for the StructureDefinition

StructureDefinition.keyword
kindtoken

primitive-type | complex-type | resource | logical

StructureDefinition.kind
namestring

Computationally friendly name of the structure definition

StructureDefinition.name
pathtoken

A path that is constrained in the StructureDefinition

StructureDefinition.snapshot.element.path | StructureDefinition.differential.element.path
publisherstring

Name of the publisher of the structure definition

StructureDefinition.publisher
statustoken

The current status of the structure definition

StructureDefinition.status
titlestring

The human-friendly name of the structure definition

StructureDefinition.title
typeuri

Type defined or constrained by this structure

StructureDefinition.type
urluri

The uri that identifies the structure definition

StructureDefinition.url
valuesetreference

A vocabulary binding reference

StructureDefinition.snapshot.element.binding.valueSet
versiontoken

The business version of the structure definition

StructureDefinition.version

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition