Health Gorilla uses the FHIR Extensions mechanism to define additional attributes on FHIR resources when standard FHIR elements do not capture the required information.
Extension Usage Pattern
Extensions are included in FHIR resources using the extension element.
Example:
{
"extension": [
{
"url": "https://www.healthgorilla.com/fhir/StructureDefinition/account-wc",
"valueBoolean": true
}
]
}Account Extensions
Worker Compensation
Indicates whether workers’ compensation applies to the account.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/account-wc
- Status: Active
- Type: Boolean
- Context of Use: Account
- Maintained By: Health Gorilla
RequestGroup Extensions
RequestGroup – Account
Specifies the account that should be billed for the order.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/requestgroup-account
- Status: Active
- Type: Reference(Account)
- Context of Use: RequestGroup
- Maintained By: Health Gorilla
RequestGroup – Performer
Specifies the organization that should perform the diagnostic testing.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/requestgroup-performer
- Status: Active
- Type: Reference(Organization)
- Context of Use: RequestGroup
- Maintained By: Health Gorilla
RequestGroup – Requester
Identifies the practitioner requesting the diagnostic procedure and the organization on whose behalf the request is made.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/requestgroup-requester
- Status: Active
- Type: Complex Extension
- Context of Use: RequestGroup
- Maintained By: Health Gorilla
Child Elements
| Field | Type | Card | Description |
|---|---|---|---|
| agent | Reference(Practitioner) | 1..1 | Practitioner initiating the request |
| onBehalfOf | Reference(Organization) | 1..1 | Organization on whose behalf the request is made |
Example:
<extension url="https://www.healthgorilla.com/fhir/StructureDefinition/requestgroup-requester">
<extension url="agent">
<valueReference>
<reference value="#practitioner"/>
</valueReference>
</extension>
<extension url="onBehalfOf">
<valueReference>
<reference value="#organization"/>
</valueReference>
</extension>
</extension>RequestGroup – ReasonCode
Provides a coded or textual explanation for why the diagnostic request was submitted.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/requestgroup-reasoncode
- Status: Active
- Type: CodeableConcept
- Context of Use: RequestGroup
- Maintained By: Health Gorilla
RequestGroup – Specimen
Specifies the specimen or specimens required for the diagnostic procedure.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/requestgroup-specimen
- Status: Active
- Type: Reference(Specimen)
- Context of Use: RequestGroup
- Maintained By: Health Gorilla
RequestGroup – AuthorizedBy
Identifies the organization that authorized the order.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/requestgroup-authorizedBy
- Status: Active
- Type: Reference(Organization)
- Context of Use: RequestGroup
- Maintained By: Health Gorilla
RequestGroup – DeliveryOptions
Specifies how an order should be delivered to the receiving location.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/requestgroup-deliveryOptions
- Status: Draft
- Type: Complex Extension
- Context of Use: RequestGroup
- Maintained By: Health Gorilla
Child Elements
| Field | Type | Card | Description |
|---|---|---|---|
| location | Reference(Location) | 0..1 | Receiving facility |
| method | ContactPoint | 0..1 | Delivery method |
| electronic | Boolean | 0..1 | Submit order electronically |
RequestGroup – SupervisingProvider
Adds a supervising provider electronic signature to a lab requisition.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/requestgroup-supervisingprovider
- Status: Active
- Type: Reference(Practitioner)
- Context of Use: RequestGroup
- Maintained By: Health Gorilla
Patient Extensions
Patient Location
Identifies the patient's current location, such as room, bed, or facility.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/patient-location
- Status: Active
- Type: Reference(Location)
- Context of Use: Patient, RequestGroup, DiagnosticReport
- Maintained By: Health Gorilla
RelatedPerson Extensions
RelatedPerson – Employer
Specifies the employer of the related person.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/relatedperson-employer
- Status: Active
- Type: String
- Context of Use: RelatedPerson
- Maintained By: Health Gorilla
DiagnosticReport Extensions
DiagnosticReport – Fasting
Indicates whether the patient was fasting when the diagnostic report was generated.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/diagnosticreport-fasting
- Status: Active
- Type: Boolean
- Context of Use: DiagnosticReport
- Maintained By: Health Gorilla
DiagnosticReport – Interpretation
Provides a categorical interpretation of the diagnostic result (abnormal flag).
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/diagnosticreport-interpretation
- Status: Active
- Type: CodeableConcept
- Context of Use: DiagnosticReport
- Maintained By: Health Gorilla
Binding:
FHIR DiagnosticReport Interpretation Value Set
https://developer.healthgorilla.com/docs/fhir-value-sets#diagnostic-report-interpretation
DiagnosticReport – Reporting Priority
Indicates the urgency with which the report should be communicated.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/diagnosticreport-reportingPriority
- Status: Active
- Type: CodeableConcept
- Context of Use: DiagnosticReport
- Maintained By: Health Gorilla
Binding:
FHIR DiagnosticReport Reporting Priority Value Set
https://developer.healthgorilla.com/docs/fhir-value-sets#diagnostic-report-reporting-priority
Observation Extensions
Observation – ReflectedBy
Indicates that the observation was generated as a result of a reflex test triggered by another observation.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/observation-reflectedBy
- Status: Draft
- Type: Reference(Observation)
- Context of Use: Observation
- Maintained By: Health Gorilla
Example:
{
"url": "https://www.healthgorilla.com/fhir/StructureDefinition/observation-reflectedBy",
"valueReference": {
"reference": "Observation/sampleb5bcd352fa66d608668c9d0d-2-1",
"display": "SODIUM, SERUM"
}
}DocumentReference Extensions
DocumentReference – On-Demand
Indicates that the document is dynamically generated as an IHE On-Demand Document.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/documentreference-ondemand
- Status: Active
- Type: Boolean
- Context of Use: DocumentReference
- Maintained By: Health Gorilla
OperationOutcome Extensions
OperationOutcome – OrderSplitting
Provides information about how laboratory tests were grouped during order splitting.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/operationoutcome-order-splitting
- Status: Active
- Type: String
- Context of Use: OperationOutcome
- Maintained By: Health Gorilla
Example value:
009001|488162;500199
Organization / Location Extensions
Provider Compendium
References the set of tests that can be ordered from the specified provider.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/provider-compendium
- Status: Active
- Type: Reference(ValueSet)
- Context of Use: Organization, Location
- Maintained By: Health Gorilla
Questionnaire Extensions
Questionnaire – RequiredWhenSpecimenCollected
Indicates that an AOE answer is required when a specimen has been collected.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/questionnaire-requiredwhenspecimen
- Status: Active
- Type: Boolean
- Context of Use: Questionnaire.item
- Maintained By: Health Gorilla
Questionnaire – Constraints
Defines additional constraints related to the AOE question.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/questionnaire-constraints
- Status: Active
- Type: String
- Context of Use: Questionnaire.item
- Maintained By: Health Gorilla
ReferralRequest Extensions
ReferralRequest – Recipient
Defines the practitioner and organization that should receive the referral.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/referralrequest-recipient
- Status: Active
- Type: Complex Extension
- Context of Use: ReferralRequest
- Maintained By: Health Gorilla
Child Elements
| Field | Type | Card | Description |
|---|---|---|---|
| agent | Reference(Practitioner) | 1..1 | Practitioner receiving the referral |
| location | Reference(Location) | 0..1 | Practitioner location |
| onBehalfOf | Reference(Organization) | 1..1 | Organization practitioner represents |
Example:
{
"url": "https://www.healthgorilla.com/fhir/StructureDefinition/referralrequest-recipient",
"extension": [
{
"url": "agent",
"valueReference": {
"reference": "Practitioner/974e04546c424b6f687bf587",
"display": "Dr. John Michael Doe"
}
},
{
"url": "onBehalfOf",
"valueReference": {
"reference": "Organization/t-974e04549053f5b7257b292c",
"display": "Sacred Heart Hospital"
}
}
]
}ReferralRequest – Reply
Represents the response message associated with an incoming referral.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/referralrequest-reply
- Status: Active
- Type: Reference(DirectMessage)
- Context of Use: ReferralRequest
- Maintained By: Health Gorilla
Example:
{
"url": "https://www.healthgorilla.com/fhir/StructureDefinition/referralrequest-reply",
"valueReference": {
"identifier": {
"system": "https://www.healthgorilla.com",
"value": "f2cbc35ee0ea0223658835ba"
}
}
}ReferralRequest – DeliveryOptions
Specifies how the referral should be delivered to the recipient.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/referralrequest-deliveryOptions
- Status: Draft
- Type: Complex Extension
- Context of Use: ReferralRequest
- Maintained By: Health Gorilla
Child Elements
| Field | Type | Card | Description |
|---|---|---|---|
| method | ContactPoint | 0..* | Delivery method |
Example:
{
"url": "https://www.healthgorilla.com/fhir/StructureDefinition/referralrequest-deliveryOptions",
"extension": [
{
"url": "method",
"valueContactPoint": {
"system": "fax",
"value": "000 000 0000"
}
},
{
"url": "method",
"valueContactPoint": {
"system": "email",
"value": "[email protected]"
}
},
{
"url": "method",
"valueContactPoint": {
"system": "sms",
"value": "+1 000 000 0000"
}
}
]
}Subscription Extensions
Subscription – Channel Secret
Provides an HMAC signing secret used to validate subscription notifications.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/subscription-channelSecret
- Type: Complex Extension
- Context of Use: Subscription.channel
- Maintained By: Health Gorilla
Child Elements
| Field | Type | Description |
|---|---|---|
| value | String | 32-character hex signing secret |
| id | String | Secret identifier |
| end | DateTime | Expiration time |
Example:
{
"url": "https://www.healthgorilla.com/fhir/StructureDefinition/subscription-channelSecret",
"extension": [
{
"url": "value",
"valueString": "my-signing-key"
},
{
"url": "id",
"valueString": "key-1"
},
{
"url": "end",
"valueDateTime": "2022-02-02T02:02:02+03:00"
}
]
}PractitionerRole Extensions
PractitionerRole – Read-only
Indicates that the practitioner role has read-only access.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/practitioner-role-readonly
- Type: Boolean
- Context of Use: PractitionerRole
- Maintained By: Health Gorilla
Example:
{
"extension": [
{
"url": "https://www.healthgorilla.com/fhir/StructureDefinition/practitioner-role-readonly",
"valueBoolean": true
}
]
}Condition Extensions
Condition – Encounter
Provides a reference to the encounter associated with the condition.
- Extension URL: https://www.healthgorilla.com/fhir/StructureDefinition/condition-encounter
- Status: Active
- Type: Reference(Encounter)
- Context of Use: Condition
- Maintained By: Health Gorilla
