Resources
StructureDefinition
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.
Properties
Name | Required | Type | Description |
---|---|---|---|
url | Yes | uri | Canonical identifier for this structure definition, represented as a URI (globally unique) |
identifier | No | Identifier[] | Additional identifier for the structure definition |
version | No | string | Business version of the structure definition |
name | Yes | string | Name for this structure definition (computer friendly) |
title | No | string | Name for this structure definition (human friendly) |
status | Yes | code | draft / active / retired / unknown |
experimental | No | boolean | For testing purposes, not real usage |
date | No | dateTime | Date last changed |
publisher | No | string | Name of the publisher (organization or individual) |
contact | No | ContactDetail[] | Contact details for the publisher |
description | No | markdown | Natural language description of the structure definition |
useContext | No | UsageContext[] | The context that the content is intended to support |
jurisdiction | No | CodeableConcept[] | Intended jurisdiction for structure definition (if applicable) |
purpose | No | markdown | Why this structure definition is defined |
copyright | No | markdown | Use and/or publishing restrictions |
keyword | No | Coding[] | Assist with indexing and finding |
fhirVersion | No | code | FHIR Version this StructureDefinition targets |
mapping | No | StructureDefinitionMapping | External specification that the content is mapped to |
- id | No | string | Unique id for inter-element referencing |
- extension | No | Extension[] | Additional content defined by implementations |
- modifierExtension | No | Extension[] | Extensions that cannot be ignored even if unrecognized |
- identity | Yes | id | Internal id when this mapping is used |
- uri | No | uri | Identifies what this mapping refers to |
- name | No | string | Names what this mapping refers to |
- comment | No | string | Versions, Issues, Scope limitations etc. |
kind | Yes | code | primitive-type / complex-type / resource / logical |
abstract | Yes | boolean | Whether the structure is abstract |
context | No | StructureDefinitionContext | If an extension, where it can be used in instances |
- id | No | string | Unique id for inter-element referencing |
- extension | No | Extension[] | Additional content defined by implementations |
- modifierExtension | No | Extension[] | Extensions that cannot be ignored even if unrecognized |
- type | Yes | code | fhirpath / element / extension |
- expression | Yes | string | Where the extension can be used in instances |
contextInvariant | No | string[] | FHIRPath invariants - when the extension can be used |
type | Yes | uri | Type defined or constrained by this structure |
baseDefinition | No | canonical | Definition that this type is constrained/specialized from |
derivation | No | code | specialization / constraint - How relates to base definition |
snapshot | No | StructureDefinitionSnapshot | Snapshot view of the structure |
- id | No | string | Unique id for inter-element referencing |
- extension | No | Extension[] | Additional content defined by implementations |
- modifierExtension | No | Extension[] | Extensions that cannot be ignored even if unrecognized |
- element | Yes | ElementDefinition[] | Definition of elements in the resource (if no StructureDefinition) |
differential | No | StructureDefinitionDifferential | Differential view of the structure |
- id | No | string | Unique id for inter-element referencing |
- extension | No | Extension[] | Additional content defined by implementations |
- modifierExtension | No | Extension[] | Extensions that cannot be ignored even if unrecognized |
- element | Yes | ElementDefinition[] | Definition of elements in the resource (if no StructureDefinition) |
Search Parameters
Name | Type | Description | Expression |
---|---|---|---|
context | token | A use context assigned to the structure definition | StructureDefinition.useContext.value |
context-quantity | quantity | A quantity- or range-valued use context assigned to the structure definition | StructureDefinition.useContext.value |
context-type | token | A type of use context assigned to the structure definition | StructureDefinition.useContext.code |
date | date | The structure definition publication date | StructureDefinition.date |
description | string | The description of the structure definition | StructureDefinition.description |
jurisdiction | token | Intended jurisdiction for the structure definition | StructureDefinition.jurisdiction |
name | string | Computationally friendly name of the structure definition | StructureDefinition.name |
publisher | string | Name of the publisher of the structure definition | StructureDefinition.publisher |
status | token | The current status of the structure definition | StructureDefinition.status |
title | string | The human-friendly name of the structure definition | StructureDefinition.title |
url | uri | The uri that identifies the structure definition | StructureDefinition.url |
version | token | The business version of the structure definition | StructureDefinition.version |
context-type-quantity | composite | A use context type and quantity- or range-based value assigned to the structure definition | StructureDefinition.useContext |
context-type-value | composite | A use context type and value assigned to the structure definition | StructureDefinition.useContext |
identifier | token | External identifier for the structure definition | StructureDefinition.identifier |
abstract | token | Whether the structure is abstract | StructureDefinition.abstract |
base | reference | Definition that this type is constrained/specialized from | StructureDefinition.baseDefinition |
base-path | token | Path that identifies the base element | StructureDefinition.snapshot.element.base.path |
derivation | token | specialization / constraint - How relates to base definition | StructureDefinition.derivation |
experimental | token | For testing purposes, not real usage | StructureDefinition.experimental |
ext-context | token | The system is the URL for the context-type: e.g. http://hl7.org/fhir/extension-context-type#element/CodeableConcept.text | StructureDefinition.context.type |
keyword | token | A code for the StructureDefinition | StructureDefinition.keyword |
kind | token | primitive-type / complex-type / resource / logical | StructureDefinition.kind |
path | token | A path that is constrained in the StructureDefinition | StructureDefinition.snapshot.element.path |
type | uri | Type defined or constrained by this structure | StructureDefinition.type |
valueset | reference | A vocabulary binding reference | StructureDefinition.snapshot.element.binding.valueSet |
Inherited Properties
Name | Required | Type | Description |
---|---|---|---|
id | No | string | Logical id of this artifact |
meta | No | Meta | Metadata about the resource |
implicitRules | No | uri | A set of rules under which this content was created |
language | No | code | Language of the resource content |
text | No | Narrative | Text summary of the resource, for human interpretation |
contained | No | Resource[] | Contained, inline Resources |
extension | No | Extension[] | Additional content defined by implementations |
modifierExtension | No | Extension[] | Extensions that cannot be ignored |
To view the FHIR specification for this resource, see StructureDefinition.