HL7 FHIR® Implementation Guide: Ophthalmology Retinal, Release 1
0.1.0 - STU 1 Ballot

HL7 FHIR® Implementation Guide: Ophthalmology Retinal, Release 1, published by HL7 International - Patient Care WG. This is not an authorized publication; it is the continuous build for version 0.1.0). This version is based on the current content of https://github.com/HL7/fhir-eyecare-ig/ and changes regularly. See the Directory of published versions

## Resource Profile: Ocular anatomical location

Defining URL: | http://hl7.org/fhir/uv/eyecare/StructureDefinition/body-structure-eye
Version: | 0.1.0
Name: | BodyStructureEye
Title: | Ocular anatomical location
Status: | Draft as of 2022-06-24 01:58:09+0000
Definition: | The description of an ophthalmic anatomical site that is located within the following structures: the eyeball or the periocular or orbital regions (as opposed to non-ocular anatomical locations). This profile is used by combining the unique valueset (hyperlink) for relevant ophthalmic specific BodyStructure.locationQualifier (Body Site modifier) in combination with the base Observation BodyStructure.location (Body Site; descendants from SNOMED 371398005 (Eye Region Structure), each with a preferred binding in order to refine the accuracy of the location decription of occular structures. This unique qualifying element is important because these locations are routinely described either diffently and/or more granularly than other body parts. Of note - non occular (or surrounding) anatomical location references of Observations (eg - arm) do not need to use this modified specialty profile.
Publisher: | HL7 International - Patient Care WG
Source Resource: | XML / JSON / Turtle

The official URL for this profile is:

    http://hl7.org/fhir/uv/eyecare/StructureDefinition/body-structure-eye

### Formal Views of Profile Content

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

- Text Summary
- Differential Table
- Snapshot Table
- Snapshot Table (Must Support)
- All

This structure is derived from BodyStructure

Summary

Must-Support: 2 elements

This structure is derived from BodyStructure

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
BodyStructure |  | 0..* | BodyStructure | Specific and identified anatomical structure
location | S | 0..1 | CodeableConcept | Body site Binding: Ophthalmic anatomical location (preferred)
locationQualifier | S | 0..* | CodeableConcept | Body site modifier Binding: Ophthalmic anatomical location qualifiers (preferred)
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
BodyStructure |  | 0..* | BodyStructure | Specific and identified anatomical structure
id | Σ | 0..1 | string | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier | Bodystructure identifier
active | ?!Σ | 0..1 | boolean | Whether this record is in active use
morphology | Σ | 0..1 | CodeableConcept | Kind of Structure Binding: SNOMEDCTMorphologicAbnormalities (example): Codes describing anatomic morphology.
location | S Σ | 0..1 | CodeableConcept | Body site Binding: Ophthalmic anatomical location (preferred)
locationQualifier | S | 0..* | CodeableConcept | Body site modifier Binding: Ophthalmic anatomical location qualifiers (preferred)
description | Σ | 0..1 | string | Text description
image |  | 0..* | Attachment | Attached images
patient | Σ | 1..1 | Reference(Patient) | Who this is about
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
BodyStructure |  | 0..* | BodyStructure | Specific and identified anatomical structure
location | Σ | 0..1 | CodeableConcept | Body site Binding: Ophthalmic anatomical location (preferred)
locationQualifier |  | 0..* | CodeableConcept | Body site modifier Binding: Ophthalmic anatomical location qualifiers (preferred)
Documentation for this format

This structure is derived from BodyStructure

Summary

Must-Support: 2 elements

Differential View

This structure is derived from BodyStructure

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
BodyStructure |  | 0..* | BodyStructure | Specific and identified anatomical structure
location | S | 0..1 | CodeableConcept | Body site Binding: Ophthalmic anatomical location (preferred)
locationQualifier | S | 0..* | CodeableConcept | Body site modifier Binding: Ophthalmic anatomical location qualifiers (preferred)
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
BodyStructure |  | 0..* | BodyStructure | Specific and identified anatomical structure
id | Σ | 0..1 | string | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier | Bodystructure identifier
active | ?!Σ | 0..1 | boolean | Whether this record is in active use
morphology | Σ | 0..1 | CodeableConcept | Kind of Structure Binding: SNOMEDCTMorphologicAbnormalities (example): Codes describing anatomic morphology.
location | S Σ | 0..1 | CodeableConcept | Body site Binding: Ophthalmic anatomical location (preferred)
locationQualifier | S | 0..* | CodeableConcept | Body site modifier Binding: Ophthalmic anatomical location qualifiers (preferred)
description | Σ | 0..1 | string | Text description
image |  | 0..* | Attachment | Attached images
patient | Σ | 1..1 | Reference(Patient) | Who this is about
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Conformance | ValueSet
BodyStructure.language | preferred | CommonLanguages Max Binding: AllLanguages
BodyStructure.morphology | example | SNOMEDCTMorphologicAbnormalities
BodyStructure.location | preferred | OphthalmologyBodySiteEye
BodyStructure.locationQualifier | preferred | BodyStructureQualifiers

#### Constraints

Id | Grade | Path | Details | Requirements
dom-2 | error | BodyStructure | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | BodyStructure | 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 | BodyStructure | 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 | BodyStructure | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | Best Practice | BodyStructure | A resource should have narrative for robust management : text.`div`.exists() |
ele-1 | error | BodyStructure.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | BodyStructure.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | BodyStructure.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | BodyStructure.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | BodyStructure.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | BodyStructure.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | error | BodyStructure.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | BodyStructure.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | error | BodyStructure.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | BodyStructure.active | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | BodyStructure.morphology | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | BodyStructure.location | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | BodyStructure.locationQualifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | BodyStructure.description | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | BodyStructure.image | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | BodyStructure.patient | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |