ERA FHIR specification
1.0.0 - draft
ERA FHIR specification - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://eradocumentation.atostek.com/StructureDefinition/EraRequestContextBasic | Version: 1.0.0 | |||
| Draft as of 2026-10-28 | Computable Name: EraRequestContextBasic | |||
Captures the context of an action or operation: the practitioner involved, how they were identified for this request, and the organization relationship/connection model in effect (via OrganizationAffiliation).
Generated and owned internally by server operations; not directly writable by clients.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..* | Coding | Tags applied to this resource Slice: Unordered, Open by value:system Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". Fixed Value: | |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | Reference(Practitioner) | Request Context Practitioner URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitioner | |
![]() ![]() ![]() |
0..1 | Coding | Practitioner Identification Method URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitionerIdentificationMethod | |
![]() ![]() ![]() |
1..1 | Reference(OrganizationAffiliation) | Organization Affiliation URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-organizationAffiliation | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. Required Pattern: | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Basic.meta.tag:immutableMarker | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Basic
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..* | Coding | Tags applied to this resource Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Tags applied to this resource Fixed Value: | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | Reference(Practitioner) | Request Context Practitioner URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitioner | |
![]() ![]() ![]() |
0..1 | Coding | Practitioner Identification Method URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitionerIdentificationMethod | |
![]() ![]() ![]() |
1..1 | Reference(OrganizationAffiliation) | Organization Affiliation URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-organizationAffiliation | |
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Required Pattern: | |
![]() ![]() |
0..0 | Identifies the focus of this resource | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
1..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
1..* | Coding | Tags applied to this resource Slice: Unordered, Open by value:system Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". Fixed Value: | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | Reference(Practitioner) | Request Context Practitioner URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitioner | |||||
![]() ![]() ![]() |
0..1 | Coding | Practitioner Identification Method URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitionerIdentificationMethod | |||||
![]() ![]() ![]() |
1..1 | Reference(OrganizationAffiliation) | Organization Affiliation URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-organizationAffiliation | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | Business identifier | |||||
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. Required Pattern: | |||||
![]() ![]() |
0..1 | date | When created | |||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | Who created | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Basic.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Basic.meta.tag:immutableMarker | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Basic.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Basic
Summary
Mandatory: 5 elements
Must-Support: 6 elements
Fixed: 1 element
Prohibited: 1 element
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..* | Coding | Tags applied to this resource Slice: Unordered, Open by value:system Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". Fixed Value: | |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | Reference(Practitioner) | Request Context Practitioner URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitioner | |
![]() ![]() ![]() |
0..1 | Coding | Practitioner Identification Method URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitionerIdentificationMethod | |
![]() ![]() ![]() |
1..1 | Reference(OrganizationAffiliation) | Organization Affiliation URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-organizationAffiliation | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. Required Pattern: | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Basic.meta.tag:immutableMarker | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from Basic
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..* | Coding | Tags applied to this resource Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Tags applied to this resource Fixed Value: | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | Reference(Practitioner) | Request Context Practitioner URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitioner | |
![]() ![]() ![]() |
0..1 | Coding | Practitioner Identification Method URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitionerIdentificationMethod | |
![]() ![]() ![]() |
1..1 | Reference(OrganizationAffiliation) | Organization Affiliation URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-organizationAffiliation | |
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Required Pattern: | |
![]() ![]() |
0..0 | Identifies the focus of this resource | ||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
1..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
1..* | Coding | Tags applied to this resource Slice: Unordered, Open by value:system Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". Fixed Value: | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | Reference(Practitioner) | Request Context Practitioner URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitioner | |||||
![]() ![]() ![]() |
0..1 | Coding | Practitioner Identification Method URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitionerIdentificationMethod | |||||
![]() ![]() ![]() |
1..1 | Reference(OrganizationAffiliation) | Organization Affiliation URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-organizationAffiliation | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | Business identifier | |||||
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. Required Pattern: | |||||
![]() ![]() |
0..1 | date | When created | |||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | Who created | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Basic.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Basic.meta.tag:immutableMarker | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Basic.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Basic
Summary
Mandatory: 5 elements
Must-Support: 6 elements
Fixed: 1 element
Prohibited: 1 element
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron