German Practice Management FHIR Profiles (R4)
0.90.0 - STU1
Germany
German Practice Management FHIR Profiles (R4) - Local Development build (v0.90.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir.cognovis.de/praxis/StructureDefinition/fpde-e08-visual-aid-prescription | Version: 0.90.0 | |||
| Active as of 2026-07-29 | Computable Name: FPDEE08VisualAidPrescription | |||
| Other Identifiers: OID:2.16.840.1.113883.3.7985.42.343 | ||||
Prescription for conventional corrective glasses or contact lenses. VisionPrescription is retained because it natively carries the lens specification; supporting refraction and coverage use narrow extensions because R4 has no native elements for those references.
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..* | VisionPrescription | Prescription for vision correction products for a patient | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..* | (Complex) | Vision Prescription Supporting Information URL: https://fhir.cognovis.de/praxis/StructureDefinition/vision-supporting-information |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://fhir.cognovis.de/praxis/StructureDefinition/vision-supporting-information" | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Observation) | Value of extension | |
![]() ![]() ![]() |
S | 1..* | Reference(Coverage) | Vision Prescription Coverage URL: https://fhir.cognovis.de/praxis/StructureDefinition/vision-coverage |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
S | 1..* | Identifier | Business Identifier for vision prescription |
![]() ![]() |
?!SΣ | 1..1 | code | active | cancelled | draft | entered-in-error Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance. |
![]() ![]() |
SΣ | 1..1 | dateTime | Response creation date |
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Who prescription is for |
![]() ![]() |
SΣ | 1..1 | dateTime | When prescription was authorized |
![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole) | Who authorized the vision prescription |
![]() ![]() |
SΣ | 1..* | BackboneElement | Vision lens authorization |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Product to be supplied Binding: ExampleVisionPrescriptionProductCodes (example): A coded concept describing the vision products. |
![]() ![]() ![]() |
Σ | 1..1 | code | right | left Binding: VisionEyes (required): A coded concept listing the eye codes. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| VisionPrescription.status | Base | required | Financial Resource Status Codes | 📍4.0.1 | FHIR Std. |
| VisionPrescription.lensSpecification.product | Base | example | Example Vision Prescription Product Codes | 📍4.0.1 | FHIR Std. |
| VisionPrescription.lensSpecification.eye | Base | required | VisionEyes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | VisionPrescription | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | VisionPrescription | 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 | VisionPrescription | 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 | VisionPrescription | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | VisionPrescription | 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 VisionPrescription
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | VisionPrescription | Prescription for vision correction products for a patient | |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..* | (Complex) | Vision Prescription Supporting Information URL: https://fhir.cognovis.de/praxis/StructureDefinition/vision-supporting-information |
![]() ![]() ![]() ![]() |
1..1 | Reference(Observation) | Value of extension | |
![]() ![]() ![]() |
S | 1..* | Reference(Coverage) | Vision Prescription Coverage URL: https://fhir.cognovis.de/praxis/StructureDefinition/vision-coverage |
![]() ![]() |
S | 1..* | Identifier | Business Identifier for vision prescription |
![]() ![]() |
S | 1..1 | code | active | cancelled | draft | entered-in-error |
![]() ![]() |
S | 1..1 | dateTime | Response creation date |
![]() ![]() |
S | 1..1 | Reference(Patient) | Who prescription is for |
![]() ![]() |
S | 1..1 | dateTime | When prescription was authorized |
![]() ![]() |
S | 1..1 | Reference(Practitioner | PractitionerRole) | Who authorized the vision prescription |
![]() ![]() |
S | 1..* | BackboneElement | Vision lens authorization |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | VisionPrescription | Prescription for vision correction products for a patient | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 1..* | (Complex) | Vision Prescription Supporting Information URL: https://fhir.cognovis.de/praxis/StructureDefinition/vision-supporting-information | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://fhir.cognovis.de/praxis/StructureDefinition/vision-supporting-information" | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Observation) | Value of extension | |||||
![]() ![]() ![]() |
S | 1..* | Reference(Coverage) | Vision Prescription Coverage URL: https://fhir.cognovis.de/praxis/StructureDefinition/vision-coverage | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
S | 1..* | Identifier | Business Identifier for vision prescription | ||||
![]() ![]() |
?!SΣ | 1..1 | code | active | cancelled | draft | entered-in-error Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance. | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | Response creation date | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Who prescription is for | ||||
![]() ![]() |
0..1 | Reference(Encounter) | Created during encounter / admission / stay | |||||
![]() ![]() |
SΣ | 1..1 | dateTime | When prescription was authorized | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole) | Who authorized the vision prescription | ||||
![]() ![]() |
SΣ | 1..* | BackboneElement | Vision lens authorization | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Product to be supplied Binding: ExampleVisionPrescriptionProductCodes (example): A coded concept describing the vision products. | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | right | left Binding: VisionEyes (required): A coded concept listing the eye codes. | ||||
![]() ![]() ![]() |
0..1 | decimal | Power of the lens | |||||
![]() ![]() ![]() |
0..1 | decimal | Lens power for astigmatism | |||||
![]() ![]() ![]() |
0..1 | integer | Lens meridian which contain no power for astigmatism | |||||
![]() ![]() ![]() |
0..* | BackboneElement | Eye alignment compensation | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | decimal | Amount of adjustment | |||||
![]() ![]() ![]() ![]() |
1..1 | code | up | down | in | out Binding: VisionBase (required): A coded concept listing the base codes. | |||||
![]() ![]() ![]() |
0..1 | decimal | Added power for multifocal levels | |||||
![]() ![]() ![]() |
0..1 | decimal | Contact lens power | |||||
![]() ![]() ![]() |
0..1 | decimal | Contact lens back curvature | |||||
![]() ![]() ![]() |
0..1 | decimal | Contact lens diameter | |||||
![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | Lens wear duration | |||||
![]() ![]() ![]() |
0..1 | string | Color required | |||||
![]() ![]() ![]() |
0..1 | string | Brand required | |||||
![]() ![]() ![]() |
0..* | Annotation | Notes for coatings | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| VisionPrescription.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| VisionPrescription.status | Base | required | Financial Resource Status Codes | 📍4.0.1 | FHIR Std. |
| VisionPrescription.lensSpecification.product | Base | example | Example Vision Prescription Product Codes | 📍4.0.1 | FHIR Std. |
| VisionPrescription.lensSpecification.eye | Base | required | VisionEyes | 📍4.0.1 | FHIR Std. |
| VisionPrescription.lensSpecification.prism.base | Base | required | VisionBase | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | VisionPrescription | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | VisionPrescription | 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 | VisionPrescription | 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 | VisionPrescription | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | VisionPrescription | 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 VisionPrescription
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | VisionPrescription | Prescription for vision correction products for a patient | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..* | (Complex) | Vision Prescription Supporting Information URL: https://fhir.cognovis.de/praxis/StructureDefinition/vision-supporting-information |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://fhir.cognovis.de/praxis/StructureDefinition/vision-supporting-information" | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Observation) | Value of extension | |
![]() ![]() ![]() |
S | 1..* | Reference(Coverage) | Vision Prescription Coverage URL: https://fhir.cognovis.de/praxis/StructureDefinition/vision-coverage |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
S | 1..* | Identifier | Business Identifier for vision prescription |
![]() ![]() |
?!SΣ | 1..1 | code | active | cancelled | draft | entered-in-error Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance. |
![]() ![]() |
SΣ | 1..1 | dateTime | Response creation date |
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Who prescription is for |
![]() ![]() |
SΣ | 1..1 | dateTime | When prescription was authorized |
![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole) | Who authorized the vision prescription |
![]() ![]() |
SΣ | 1..* | BackboneElement | Vision lens authorization |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Product to be supplied Binding: ExampleVisionPrescriptionProductCodes (example): A coded concept describing the vision products. |
![]() ![]() ![]() |
Σ | 1..1 | code | right | left Binding: VisionEyes (required): A coded concept listing the eye codes. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| VisionPrescription.status | Base | required | Financial Resource Status Codes | 📍4.0.1 | FHIR Std. |
| VisionPrescription.lensSpecification.product | Base | example | Example Vision Prescription Product Codes | 📍4.0.1 | FHIR Std. |
| VisionPrescription.lensSpecification.eye | Base | required | VisionEyes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | VisionPrescription | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | VisionPrescription | 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 | VisionPrescription | 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 | VisionPrescription | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | VisionPrescription | 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 VisionPrescription
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | VisionPrescription | Prescription for vision correction products for a patient | |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..* | (Complex) | Vision Prescription Supporting Information URL: https://fhir.cognovis.de/praxis/StructureDefinition/vision-supporting-information |
![]() ![]() ![]() ![]() |
1..1 | Reference(Observation) | Value of extension | |
![]() ![]() ![]() |
S | 1..* | Reference(Coverage) | Vision Prescription Coverage URL: https://fhir.cognovis.de/praxis/StructureDefinition/vision-coverage |
![]() ![]() |
S | 1..* | Identifier | Business Identifier for vision prescription |
![]() ![]() |
S | 1..1 | code | active | cancelled | draft | entered-in-error |
![]() ![]() |
S | 1..1 | dateTime | Response creation date |
![]() ![]() |
S | 1..1 | Reference(Patient) | Who prescription is for |
![]() ![]() |
S | 1..1 | dateTime | When prescription was authorized |
![]() ![]() |
S | 1..1 | Reference(Practitioner | PractitionerRole) | Who authorized the vision prescription |
![]() ![]() |
S | 1..* | BackboneElement | Vision lens authorization |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | VisionPrescription | Prescription for vision correction products for a patient | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 1..* | (Complex) | Vision Prescription Supporting Information URL: https://fhir.cognovis.de/praxis/StructureDefinition/vision-supporting-information | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://fhir.cognovis.de/praxis/StructureDefinition/vision-supporting-information" | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Observation) | Value of extension | |||||
![]() ![]() ![]() |
S | 1..* | Reference(Coverage) | Vision Prescription Coverage URL: https://fhir.cognovis.de/praxis/StructureDefinition/vision-coverage | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
S | 1..* | Identifier | Business Identifier for vision prescription | ||||
![]() ![]() |
?!SΣ | 1..1 | code | active | cancelled | draft | entered-in-error Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance. | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | Response creation date | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Who prescription is for | ||||
![]() ![]() |
0..1 | Reference(Encounter) | Created during encounter / admission / stay | |||||
![]() ![]() |
SΣ | 1..1 | dateTime | When prescription was authorized | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole) | Who authorized the vision prescription | ||||
![]() ![]() |
SΣ | 1..* | BackboneElement | Vision lens authorization | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Product to be supplied Binding: ExampleVisionPrescriptionProductCodes (example): A coded concept describing the vision products. | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | right | left Binding: VisionEyes (required): A coded concept listing the eye codes. | ||||
![]() ![]() ![]() |
0..1 | decimal | Power of the lens | |||||
![]() ![]() ![]() |
0..1 | decimal | Lens power for astigmatism | |||||
![]() ![]() ![]() |
0..1 | integer | Lens meridian which contain no power for astigmatism | |||||
![]() ![]() ![]() |
0..* | BackboneElement | Eye alignment compensation | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | decimal | Amount of adjustment | |||||
![]() ![]() ![]() ![]() |
1..1 | code | up | down | in | out Binding: VisionBase (required): A coded concept listing the base codes. | |||||
![]() ![]() ![]() |
0..1 | decimal | Added power for multifocal levels | |||||
![]() ![]() ![]() |
0..1 | decimal | Contact lens power | |||||
![]() ![]() ![]() |
0..1 | decimal | Contact lens back curvature | |||||
![]() ![]() ![]() |
0..1 | decimal | Contact lens diameter | |||||
![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | Lens wear duration | |||||
![]() ![]() ![]() |
0..1 | string | Color required | |||||
![]() ![]() ![]() |
0..1 | string | Brand required | |||||
![]() ![]() ![]() |
0..* | Annotation | Notes for coatings | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| VisionPrescription.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| VisionPrescription.status | Base | required | Financial Resource Status Codes | 📍4.0.1 | FHIR Std. |
| VisionPrescription.lensSpecification.product | Base | example | Example Vision Prescription Product Codes | 📍4.0.1 | FHIR Std. |
| VisionPrescription.lensSpecification.eye | Base | required | VisionEyes | 📍4.0.1 | FHIR Std. |
| VisionPrescription.lensSpecification.prism.base | Base | required | VisionBase | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | VisionPrescription | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | VisionPrescription | 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 | VisionPrescription | 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 | VisionPrescription | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | VisionPrescription | 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 VisionPrescription
Other representations of profile: CSV, Excel, Schematron