Healthcare Financial Services IG Edition 1 - Local Development build (v0.4.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/vision-prescription | Version: 0.4.0 | |||
Draft as of 2025-10-12 | Computable Name: NphiesVisionPrescription | |||
Copyright/Legal: Used by permission of HL7 International, all rights reserved Creative Commons License |
Nphies VisionPrescription Profile
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: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | VisionPrescription | Prescription for vision correction products for a patient Constraints: BV-00565 |
![]() ![]() ![]() |
Σ | 1..1 | id | Logical id of this artifact Max Length:64 |
![]() ![]() ![]() |
Σ | 1..1 | Meta | Metadata about the resource |
![]() ![]() ![]() ![]() |
Σ | 1..* | DP_canonical(StructureDefinition) | Profiles this resource claims to conform to |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
1..1 | DP_Identifier_A | Business Identifier for vision prescription | |
![]() ![]() ![]() |
?!Σ | 1..1 | DP_code | active | cancelled | draft | entered-in-error Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance. Required Pattern: active |
![]() ![]() ![]() |
Σ | 1..1 | DP_dateTime | Response creation date |
![]() ![]() ![]() |
Σ | 1..1 | DP_Reference_1or2a(Nphies Patient) | Who prescription is for |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL Max Length:250 |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_CodeableConcept | Description of identifier Binding: Patient Identifier Type (required) |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 Max Length:50 |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource Max Length:200 |
![]() ![]() ![]() |
Σ | 1..1 | DP_dateTime | When prescription was authorized |
![]() ![]() ![]() |
Σ | 1..1 | DP_Reference_1or4(Nphies Practitioner) | Who authorized the vision prescription |
![]() ![]() ![]() |
ΣC | 1..* | BackboneElement | Vision lens authorization Constraints: BV-00398, BV-00399 |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_CodeableConcept | Product to be supplied Binding: Lens Type (required) |
![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_code | right | left Binding: VisionEyes (required): A coded concept listing the eye codes. |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Power of the lens |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Lens power for astigmatism |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_integer | Lens meridian which contain no power for astigmatism |
![]() ![]() ![]() ![]() |
S | 0..* | BackboneElement | Eye alignment compensation |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
1..1 | DP_decimal | Amount of adjustment | |
![]() ![]() ![]() ![]() ![]() |
1..1 | DP_code | up | down | in | out Binding: VisionBase (required): A coded concept listing the base codes. | |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Added power for multifocal levels |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens power |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens back curvature |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens diameter |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_SimpleQuantity_1 | Lens wear duration |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_string | Color required |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_string | Brand required |
![]() ![]() ![]() ![]() |
S | 0..* | DP_Annotation | Notes for coatings |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
VisionPrescription.status | Base | required | Financial Resource Status Codes | 📍4.0.1 | FHIR Std. |
VisionPrescription.patient.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
VisionPrescription.patient.identifier.type | Base | required | Patient Identifier Type | 📦0.4.0 | This IG |
VisionPrescription.lensSpecification.product | Base | required | Lens Type | 📦0.4.0 | This IG |
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 |
BV-00398 | error | VisionPrescription.lensSpecification | VisionPrescription lensSpecification duration system is not provided. |
duration.exists() implies duration.system.exists()
|
BV-00399 | error | VisionPrescription.lensSpecification | VisionPrescription lensSpecification duration system is not provided. |
duration.exists() implies duration.value.exists()
|
BV-00565 | error | VisionPrescription | Prescriber display or (prescriber identifier and identifer type)SHALL be provided. |
prescriber.exists() implies (prescriber.display.exists() or (prescriber.identifier.exists() and prescriber.type.exists()))
|
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: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | VisionPrescription | Prescription for vision correction products for a patient Constraints: BV-00565 |
![]() ![]() ![]() |
1..1 | id | Logical id of this artifact Max Length:64 | |
![]() ![]() ![]() |
1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() ![]() |
1..* | DP_canonical(StructureDefinition) | Profiles this resource claims to conform to | |
![]() ![]() ![]() |
1..1 | DP_Identifier_A | Business Identifier for vision prescription | |
![]() ![]() ![]() |
1..1 | DP_code | active | cancelled | draft | entered-in-error Required Pattern: active | |
![]() ![]() ![]() |
1..1 | DP_dateTime | Response creation date | |
![]() ![]() ![]() |
1..1 | DP_Reference_1or2a(Nphies Patient) | Who prescription is for | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | DP_CodeableConcept | Description of identifier Binding: Patient Identifier Type (required) | |
![]() ![]() ![]() |
1..1 | DP_dateTime | When prescription was authorized | |
![]() ![]() ![]() |
1..1 | DP_Reference_1or4(Nphies Practitioner) | Who authorized the vision prescription | |
![]() ![]() ![]() |
C | 1..* | BackboneElement | Vision lens authorization Constraints: BV-00398, BV-00399 |
![]() ![]() ![]() ![]() |
1..1 | DP_CodeableConcept | Product to be supplied Binding: Lens Type (required) | |
![]() ![]() ![]() ![]() |
1..1 | DP_code | right | left | |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Power of the lens |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Lens power for astigmatism |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_integer | Lens meridian which contain no power for astigmatism |
![]() ![]() ![]() ![]() |
S | 0..* | BackboneElement | Eye alignment compensation |
![]() ![]() ![]() ![]() ![]() |
1..1 | DP_decimal | Amount of adjustment | |
![]() ![]() ![]() ![]() ![]() |
1..1 | DP_code | up | down | in | out | |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Added power for multifocal levels |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens power |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens back curvature |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens diameter |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_SimpleQuantity_1 | Lens wear duration |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_string | Color required |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_string | Brand required |
![]() ![]() ![]() ![]() |
S | 0..* | DP_Annotation | Notes for coatings |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
VisionPrescription.patient.identifier.type | Base | required | Patient Identifier Type | 📦0.4.0 | This IG |
VisionPrescription.lensSpecification.product | Base | required | Lens Type | 📦0.4.0 | This IG |
Id | Grade | Path(s) | Description | Expression |
BV-00398 | error | VisionPrescription.lensSpecification | VisionPrescription lensSpecification duration system is not provided. |
duration.exists() implies duration.system.exists()
|
BV-00399 | error | VisionPrescription.lensSpecification | VisionPrescription lensSpecification duration system is not provided. |
duration.exists() implies duration.value.exists()
|
BV-00565 | error | VisionPrescription | Prescriber display or (prescriber identifier and identifer type)SHALL be provided. |
prescriber.exists() implies (prescriber.display.exists() or (prescriber.identifier.exists() and prescriber.type.exists()))
|
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | VisionPrescription | Prescription for vision correction products for a patient Constraints: BV-00565 | ||||
![]() ![]() ![]() |
Σ | 1..1 | id | Logical id of this artifact Max Length:64 | ||||
![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 1..* | DP_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. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | 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". | ||||
![]() ![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
1..1 | DP_Identifier_A | Business Identifier for vision prescription | |||||
![]() ![]() ![]() |
?!Σ | 1..1 | DP_code | active | cancelled | draft | entered-in-error Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance. Required Pattern: active | ||||
![]() ![]() ![]() |
Σ | 1..1 | DP_dateTime | Response creation date | ||||
![]() ![]() ![]() |
Σ | 1..1 | DP_Reference_1or2a(Nphies Patient) | Who prescription is for | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL Max Length:250 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_CodeableConcept | Description of identifier Binding: Patient Identifier Type (required) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 Max Length:50 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource Max Length:200 | ||||
![]() ![]() ![]() |
0..1 | Reference(Encounter) | Created during encounter / admission / stay | |||||
![]() ![]() ![]() |
Σ | 1..1 | DP_dateTime | When prescription was authorized | ||||
![]() ![]() ![]() |
Σ | 1..1 | DP_Reference_1or4(Nphies Practitioner) | Who authorized the vision prescription | ||||
![]() ![]() ![]() |
ΣC | 1..* | BackboneElement | Vision lens authorization Constraints: BV-00398, BV-00399 | ||||
![]() ![]() ![]() ![]() |
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 | DP_CodeableConcept | Product to be supplied Binding: Lens Type (required) | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_code | right | left Binding: VisionEyes (required): A coded concept listing the eye codes. | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Power of the lens | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Lens power for astigmatism | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_integer | Lens meridian which contain no power for astigmatism | ||||
![]() ![]() ![]() ![]() |
S | 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 | DP_decimal | Amount of adjustment | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | DP_code | up | down | in | out Binding: VisionBase (required): A coded concept listing the base codes. | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Added power for multifocal levels | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens power | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens back curvature | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens diameter | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_SimpleQuantity_1 | Lens wear duration | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_string | Color required | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_string | Brand required | ||||
![]() ![]() ![]() ![]() |
S | 0..* | DP_Annotation | Notes for coatings | ||||
![]() |
Path | Status | Usage | ValueSet | Version | Source |
VisionPrescription.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
VisionPrescription.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
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.patient.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
VisionPrescription.patient.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
VisionPrescription.patient.identifier.type | Base | required | Patient Identifier Type | 📦0.4.0 | This IG |
VisionPrescription.lensSpecification.product | Base | required | Lens Type | 📦0.4.0 | This IG |
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 |
BV-00398 | error | VisionPrescription.lensSpecification | VisionPrescription lensSpecification duration system is not provided. |
duration.exists() implies duration.system.exists()
|
BV-00399 | error | VisionPrescription.lensSpecification | VisionPrescription lensSpecification duration system is not provided. |
duration.exists() implies duration.value.exists()
|
BV-00565 | error | VisionPrescription | Prescriber display or (prescriber identifier and identifer type)SHALL be provided. |
prescriber.exists() implies (prescriber.display.exists() or (prescriber.identifier.exists() and prescriber.type.exists()))
|
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
Summary
Mandatory: 4 elements
Must-Support: 12 elements
Structures
This structure refers to these other structures:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | VisionPrescription | Prescription for vision correction products for a patient Constraints: BV-00565 |
![]() ![]() ![]() |
Σ | 1..1 | id | Logical id of this artifact Max Length:64 |
![]() ![]() ![]() |
Σ | 1..1 | Meta | Metadata about the resource |
![]() ![]() ![]() ![]() |
Σ | 1..* | DP_canonical(StructureDefinition) | Profiles this resource claims to conform to |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
1..1 | DP_Identifier_A | Business Identifier for vision prescription | |
![]() ![]() ![]() |
?!Σ | 1..1 | DP_code | active | cancelled | draft | entered-in-error Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance. Required Pattern: active |
![]() ![]() ![]() |
Σ | 1..1 | DP_dateTime | Response creation date |
![]() ![]() ![]() |
Σ | 1..1 | DP_Reference_1or2a(Nphies Patient) | Who prescription is for |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL Max Length:250 |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_CodeableConcept | Description of identifier Binding: Patient Identifier Type (required) |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 Max Length:50 |
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource Max Length:200 |
![]() ![]() ![]() |
Σ | 1..1 | DP_dateTime | When prescription was authorized |
![]() ![]() ![]() |
Σ | 1..1 | DP_Reference_1or4(Nphies Practitioner) | Who authorized the vision prescription |
![]() ![]() ![]() |
ΣC | 1..* | BackboneElement | Vision lens authorization Constraints: BV-00398, BV-00399 |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_CodeableConcept | Product to be supplied Binding: Lens Type (required) |
![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_code | right | left Binding: VisionEyes (required): A coded concept listing the eye codes. |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Power of the lens |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Lens power for astigmatism |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_integer | Lens meridian which contain no power for astigmatism |
![]() ![]() ![]() ![]() |
S | 0..* | BackboneElement | Eye alignment compensation |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
1..1 | DP_decimal | Amount of adjustment | |
![]() ![]() ![]() ![]() ![]() |
1..1 | DP_code | up | down | in | out Binding: VisionBase (required): A coded concept listing the base codes. | |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Added power for multifocal levels |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens power |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens back curvature |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens diameter |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_SimpleQuantity_1 | Lens wear duration |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_string | Color required |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_string | Brand required |
![]() ![]() ![]() ![]() |
S | 0..* | DP_Annotation | Notes for coatings |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
VisionPrescription.status | Base | required | Financial Resource Status Codes | 📍4.0.1 | FHIR Std. |
VisionPrescription.patient.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
VisionPrescription.patient.identifier.type | Base | required | Patient Identifier Type | 📦0.4.0 | This IG |
VisionPrescription.lensSpecification.product | Base | required | Lens Type | 📦0.4.0 | This IG |
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 |
BV-00398 | error | VisionPrescription.lensSpecification | VisionPrescription lensSpecification duration system is not provided. |
duration.exists() implies duration.system.exists()
|
BV-00399 | error | VisionPrescription.lensSpecification | VisionPrescription lensSpecification duration system is not provided. |
duration.exists() implies duration.value.exists()
|
BV-00565 | error | VisionPrescription | Prescriber display or (prescriber identifier and identifer type)SHALL be provided. |
prescriber.exists() implies (prescriber.display.exists() or (prescriber.identifier.exists() and prescriber.type.exists()))
|
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: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | VisionPrescription | Prescription for vision correction products for a patient Constraints: BV-00565 |
![]() ![]() ![]() |
1..1 | id | Logical id of this artifact Max Length:64 | |
![]() ![]() ![]() |
1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() ![]() |
1..* | DP_canonical(StructureDefinition) | Profiles this resource claims to conform to | |
![]() ![]() ![]() |
1..1 | DP_Identifier_A | Business Identifier for vision prescription | |
![]() ![]() ![]() |
1..1 | DP_code | active | cancelled | draft | entered-in-error Required Pattern: active | |
![]() ![]() ![]() |
1..1 | DP_dateTime | Response creation date | |
![]() ![]() ![]() |
1..1 | DP_Reference_1or2a(Nphies Patient) | Who prescription is for | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | DP_CodeableConcept | Description of identifier Binding: Patient Identifier Type (required) | |
![]() ![]() ![]() |
1..1 | DP_dateTime | When prescription was authorized | |
![]() ![]() ![]() |
1..1 | DP_Reference_1or4(Nphies Practitioner) | Who authorized the vision prescription | |
![]() ![]() ![]() |
C | 1..* | BackboneElement | Vision lens authorization Constraints: BV-00398, BV-00399 |
![]() ![]() ![]() ![]() |
1..1 | DP_CodeableConcept | Product to be supplied Binding: Lens Type (required) | |
![]() ![]() ![]() ![]() |
1..1 | DP_code | right | left | |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Power of the lens |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Lens power for astigmatism |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_integer | Lens meridian which contain no power for astigmatism |
![]() ![]() ![]() ![]() |
S | 0..* | BackboneElement | Eye alignment compensation |
![]() ![]() ![]() ![]() ![]() |
1..1 | DP_decimal | Amount of adjustment | |
![]() ![]() ![]() ![]() ![]() |
1..1 | DP_code | up | down | in | out | |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Added power for multifocal levels |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens power |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens back curvature |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens diameter |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_SimpleQuantity_1 | Lens wear duration |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_string | Color required |
![]() ![]() ![]() ![]() |
S | 0..1 | DP_string | Brand required |
![]() ![]() ![]() ![]() |
S | 0..* | DP_Annotation | Notes for coatings |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
VisionPrescription.patient.identifier.type | Base | required | Patient Identifier Type | 📦0.4.0 | This IG |
VisionPrescription.lensSpecification.product | Base | required | Lens Type | 📦0.4.0 | This IG |
Id | Grade | Path(s) | Description | Expression |
BV-00398 | error | VisionPrescription.lensSpecification | VisionPrescription lensSpecification duration system is not provided. |
duration.exists() implies duration.system.exists()
|
BV-00399 | error | VisionPrescription.lensSpecification | VisionPrescription lensSpecification duration system is not provided. |
duration.exists() implies duration.value.exists()
|
BV-00565 | error | VisionPrescription | Prescriber display or (prescriber identifier and identifer type)SHALL be provided. |
prescriber.exists() implies (prescriber.display.exists() or (prescriber.identifier.exists() and prescriber.type.exists()))
|
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | VisionPrescription | Prescription for vision correction products for a patient Constraints: BV-00565 | ||||
![]() ![]() ![]() |
Σ | 1..1 | id | Logical id of this artifact Max Length:64 | ||||
![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 1..* | DP_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. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | 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". | ||||
![]() ![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
1..1 | DP_Identifier_A | Business Identifier for vision prescription | |||||
![]() ![]() ![]() |
?!Σ | 1..1 | DP_code | active | cancelled | draft | entered-in-error Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance. Required Pattern: active | ||||
![]() ![]() ![]() |
Σ | 1..1 | DP_dateTime | Response creation date | ||||
![]() ![]() ![]() |
Σ | 1..1 | DP_Reference_1or2a(Nphies Patient) | Who prescription is for | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL Max Length:250 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_CodeableConcept | Description of identifier Binding: Patient Identifier Type (required) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 Max Length:50 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource Max Length:200 | ||||
![]() ![]() ![]() |
0..1 | Reference(Encounter) | Created during encounter / admission / stay | |||||
![]() ![]() ![]() |
Σ | 1..1 | DP_dateTime | When prescription was authorized | ||||
![]() ![]() ![]() |
Σ | 1..1 | DP_Reference_1or4(Nphies Practitioner) | Who authorized the vision prescription | ||||
![]() ![]() ![]() |
ΣC | 1..* | BackboneElement | Vision lens authorization Constraints: BV-00398, BV-00399 | ||||
![]() ![]() ![]() ![]() |
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 | DP_CodeableConcept | Product to be supplied Binding: Lens Type (required) | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | DP_code | right | left Binding: VisionEyes (required): A coded concept listing the eye codes. | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Power of the lens | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Lens power for astigmatism | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_integer | Lens meridian which contain no power for astigmatism | ||||
![]() ![]() ![]() ![]() |
S | 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 | DP_decimal | Amount of adjustment | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | DP_code | up | down | in | out Binding: VisionBase (required): A coded concept listing the base codes. | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Added power for multifocal levels | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens power | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens back curvature | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_decimal | Contact lens diameter | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_SimpleQuantity_1 | Lens wear duration | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_string | Color required | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | DP_string | Brand required | ||||
![]() ![]() ![]() ![]() |
S | 0..* | DP_Annotation | Notes for coatings | ||||
![]() |
Path | Status | Usage | ValueSet | Version | Source |
VisionPrescription.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
VisionPrescription.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
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.patient.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
VisionPrescription.patient.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
VisionPrescription.patient.identifier.type | Base | required | Patient Identifier Type | 📦0.4.0 | This IG |
VisionPrescription.lensSpecification.product | Base | required | Lens Type | 📦0.4.0 | This IG |
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 |
BV-00398 | error | VisionPrescription.lensSpecification | VisionPrescription lensSpecification duration system is not provided. |
duration.exists() implies duration.system.exists()
|
BV-00399 | error | VisionPrescription.lensSpecification | VisionPrescription lensSpecification duration system is not provided. |
duration.exists() implies duration.value.exists()
|
BV-00565 | error | VisionPrescription | Prescriber display or (prescriber identifier and identifer type)SHALL be provided. |
prescriber.exists() implies (prescriber.display.exists() or (prescriber.identifier.exists() and prescriber.type.exists()))
|
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
Summary
Mandatory: 4 elements
Must-Support: 12 elements
Structures
This structure refers to these other structures:
Other representations of profile: CSV, Excel, Schematron