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

Resource Profile: EraRequestContextBasic ( Experimental )

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

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Basic 0..* Basic Resource for non-supported content
Basic.meta This element must be supported. This element is included in summaries. 1..1 Meta Metadata about the resource
Basic.meta.Slices for tag This element is included in summaries. 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
Basic.meta.Slices for tag.tag:immutableMarker This element must be supported. This element is included in summaries. 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:
{
  "system" : "https://eradocumentation.atostek.com/CodeSystem/resourceStatus",
  "code" : "immutable"
}
Basic.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Basic.Slices for extension 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
Basic.Slices for extension.extension:practitioner This element must be supported. 0..1 Reference(Practitioner) Request Context Practitioner
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitioner
Basic.Slices for extension.extension:practitionerIdentificationMethod This element must be supported. 0..1 Coding Practitioner Identification Method
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitionerIdentificationMethod
Basic.Slices for extension.extension:organizationAffiliation This element must be supported. 1..1 Reference(OrganizationAffiliation) Organization Affiliation
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-organizationAffiliation
Basic.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Basic.code This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 CodeableConcept Kind of Resource
Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.
Required Pattern:
{
  "coding" : [
    {
      "system" : "https://eradocumentation.atostek.com/CodeSystem/basicResourceType",
      "code" : "request-context"
    }
  ]
}

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Basic 0..* Basic Resource for non-supported content
Basic.meta This element must be supported. 1..1 Meta Metadata about the resource
Basic.meta.Slices for tag 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
Basic.meta.Slices for tag.tag:immutableMarker This element must be supported. 1..1 Coding Tags applied to this resource
Fixed Value:
{
  "system" : "https://eradocumentation.atostek.com/CodeSystem/resourceStatus",
  "code" : "immutable"
}
Basic.Slices for extension 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
Basic.Slices for extension.extension:practitioner This element must be supported. 0..1 Reference(Practitioner) Request Context Practitioner
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitioner
Basic.Slices for extension.extension:practitionerIdentificationMethod This element must be supported. 0..1 Coding Practitioner Identification Method
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitionerIdentificationMethod
Basic.Slices for extension.extension:organizationAffiliation This element must be supported. 1..1 Reference(OrganizationAffiliation) Organization Affiliation
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-organizationAffiliation
Basic.code This element must be supported. 1..1 CodeableConcept Kind of Resource
Required Pattern:
{
  "coding" : [
    {
      "system" : "https://eradocumentation.atostek.com/CodeSystem/basicResourceType",
      "code" : "request-context"
    }
  ]
}

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Basic 0..* Basic Resource for non-supported content
Basic.id This element is included in summaries. 0..1 id Logical id of this artifact
Basic.meta This element must be supported. This element is included in summaries. 1..1 Meta Metadata about the resource
Basic.meta.id 0..1 string Unique id for inter-element referencing
Basic.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Basic.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Basic.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Basic.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
Basic.meta.profile This element is included in summaries. 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
Basic.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Basic.meta.Slices for tag This element is included in summaries. 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
Basic.meta.Slices for tag.tag:immutableMarker This element must be supported. This element is included in summaries. 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:
{
  "system" : "https://eradocumentation.atostek.com/CodeSystem/resourceStatus",
  "code" : "immutable"
}
Basic.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Basic.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Basic.text 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
Basic.contained 0..* Resource Contained, inline Resources
Basic.Slices for extension 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
Basic.Slices for extension.extension:practitioner This element must be supported. 0..1 Reference(Practitioner) Request Context Practitioner
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitioner
Basic.Slices for extension.extension:practitionerIdentificationMethod This element must be supported. 0..1 Coding Practitioner Identification Method
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitionerIdentificationMethod
Basic.Slices for extension.extension:organizationAffiliation This element must be supported. 1..1 Reference(OrganizationAffiliation) Organization Affiliation
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-organizationAffiliation
Basic.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Basic.identifier This element is included in summaries. 0..* Identifier Business identifier
Basic.code This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 CodeableConcept Kind of Resource
Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.
Required Pattern:
{
  "coding" : [
    {
      "system" : "https://eradocumentation.atostek.com/CodeSystem/basicResourceType",
      "code" : "request-context"
    }
  ]
}
Basic.created This element is included in summaries. 0..1 date When created
Basic.author This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) Who created

doco Documentation for this format

Terminology Bindings

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.

Constraints

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:

  • The element 1 is sliced based on the value of Basic.meta.tag

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Basic 0..* Basic Resource for non-supported content
Basic.meta This element must be supported. This element is included in summaries. 1..1 Meta Metadata about the resource
Basic.meta.Slices for tag This element is included in summaries. 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
Basic.meta.Slices for tag.tag:immutableMarker This element must be supported. This element is included in summaries. 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:
{
  "system" : "https://eradocumentation.atostek.com/CodeSystem/resourceStatus",
  "code" : "immutable"
}
Basic.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Basic.Slices for extension 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
Basic.Slices for extension.extension:practitioner This element must be supported. 0..1 Reference(Practitioner) Request Context Practitioner
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitioner
Basic.Slices for extension.extension:practitionerIdentificationMethod This element must be supported. 0..1 Coding Practitioner Identification Method
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitionerIdentificationMethod
Basic.Slices for extension.extension:organizationAffiliation This element must be supported. 1..1 Reference(OrganizationAffiliation) Organization Affiliation
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-organizationAffiliation
Basic.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Basic.code This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 CodeableConcept Kind of Resource
Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.
Required Pattern:
{
  "coding" : [
    {
      "system" : "https://eradocumentation.atostek.com/CodeSystem/basicResourceType",
      "code" : "request-context"
    }
  ]
}

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Basic 0..* Basic Resource for non-supported content
Basic.meta This element must be supported. 1..1 Meta Metadata about the resource
Basic.meta.Slices for tag 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
Basic.meta.Slices for tag.tag:immutableMarker This element must be supported. 1..1 Coding Tags applied to this resource
Fixed Value:
{
  "system" : "https://eradocumentation.atostek.com/CodeSystem/resourceStatus",
  "code" : "immutable"
}
Basic.Slices for extension 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
Basic.Slices for extension.extension:practitioner This element must be supported. 0..1 Reference(Practitioner) Request Context Practitioner
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitioner
Basic.Slices for extension.extension:practitionerIdentificationMethod This element must be supported. 0..1 Coding Practitioner Identification Method
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitionerIdentificationMethod
Basic.Slices for extension.extension:organizationAffiliation This element must be supported. 1..1 Reference(OrganizationAffiliation) Organization Affiliation
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-organizationAffiliation
Basic.code This element must be supported. 1..1 CodeableConcept Kind of Resource
Required Pattern:
{
  "coding" : [
    {
      "system" : "https://eradocumentation.atostek.com/CodeSystem/basicResourceType",
      "code" : "request-context"
    }
  ]
}
Basic.subject 0..0 Identifies the focus of this resource

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Basic 0..* Basic Resource for non-supported content
Basic.id This element is included in summaries. 0..1 id Logical id of this artifact
Basic.meta This element must be supported. This element is included in summaries. 1..1 Meta Metadata about the resource
Basic.meta.id 0..1 string Unique id for inter-element referencing
Basic.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Basic.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Basic.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Basic.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
Basic.meta.profile This element is included in summaries. 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
Basic.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Basic.meta.Slices for tag This element is included in summaries. 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
Basic.meta.Slices for tag.tag:immutableMarker This element must be supported. This element is included in summaries. 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:
{
  "system" : "https://eradocumentation.atostek.com/CodeSystem/resourceStatus",
  "code" : "immutable"
}
Basic.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Basic.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Basic.text 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
Basic.contained 0..* Resource Contained, inline Resources
Basic.Slices for extension 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
Basic.Slices for extension.extension:practitioner This element must be supported. 0..1 Reference(Practitioner) Request Context Practitioner
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitioner
Basic.Slices for extension.extension:practitionerIdentificationMethod This element must be supported. 0..1 Coding Practitioner Identification Method
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-practitionerIdentificationMethod
Basic.Slices for extension.extension:organizationAffiliation This element must be supported. 1..1 Reference(OrganizationAffiliation) Organization Affiliation
URL: https://eradocumentation.atostek.com/StructureDefinition/extension/requestContext-organizationAffiliation
Basic.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Basic.identifier This element is included in summaries. 0..* Identifier Business identifier
Basic.code This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 CodeableConcept Kind of Resource
Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.
Required Pattern:
{
  "coding" : [
    {
      "system" : "https://eradocumentation.atostek.com/CodeSystem/basicResourceType",
      "code" : "request-context"
    }
  ]
}
Basic.created This element is included in summaries. 0..1 date When created
Basic.author This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) Who created

doco Documentation for this format

Terminology Bindings

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.

Constraints

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:

  • The element 1 is sliced based on the value of Basic.meta.tag

 

Other representations of profile: CSV, Excel, Schematron