Extensions for Using Data Elements from FHIR R5 in FHIR R4
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R5 in FHIR R4 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R5_VisionPrescription_R4

Official URL: http://hl7.org/fhir/5.0/StructureDefinition/profile-VisionPrescription Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: Profile_R5_VisionPrescription_R4

This cross-version profile allows R5 VisionPrescription content to be represented via FHIR R4 VisionPrescription resources.

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: Filtersdoco
.. VisionPrescription 0..* VisionPrescription(4.0.1) Prescription for vision correction products for a patient
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... status ?!Σ 1..1 code active | cancelled | draft | entered-in-error
Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance.
... patient Σ 1..1 Reference(Patient) Who prescription is for
... dateWritten Σ 1..1 dateTime When prescription was authorized
... prescriber Σ 1..1 Reference(Practitioner | PractitionerRole) Who authorized the vision prescription
... lensSpecification Σ 1..* BackboneElement Vision lens authorization
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... product Σ 1..1 CodeableConcept Product to be supplied
Binding: ExampleVisionPrescriptionProductCodes (example): A coded concept describing the vision products.
.... eye Σ 1..1 code right | left
Binding: VisionEyes (required): A coded concept listing the eye codes.

doco Documentation for this format

Terminology Bindings

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.

Constraints

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 VisionPrescription.implicitRules, VisionPrescription.modifierExtension, VisionPrescription.status, VisionPrescription.created, VisionPrescription.patient, VisionPrescription.dateWritten, VisionPrescription.prescriber, VisionPrescription.lensSpecification, VisionPrescription.lensSpecification.modifierExtension, VisionPrescription.lensSpecification.product, VisionPrescription.lensSpecification.eye All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error VisionPrescription.modifierExtension, VisionPrescription.lensSpecification.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from VisionPrescription

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VisionPrescription 0..* VisionPrescription(4.0.1) Prescription for vision correction products for a patient

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VisionPrescription 0..* VisionPrescription(4.0.1) Prescription for vision correction products for a patient
... id Σ 0..1 id 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
... 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
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier 0..* Identifier Business Identifier for vision prescription
... status ?!Σ 1..1 code active | cancelled | draft | entered-in-error
Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance.
... created Σ 1..1 dateTime Response creation date
... patient Σ 1..1 Reference(Patient) Who prescription is for
... encounter 0..1 Reference(Encounter) Created during encounter / admission / stay
... dateWritten Σ 1..1 dateTime When prescription was authorized
... prescriber Σ 1..1 Reference(Practitioner | PractitionerRole) Who authorized the vision prescription
... lensSpecification Σ 1..* BackboneElement Vision lens authorization
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... product Σ 1..1 CodeableConcept Product to be supplied
Binding: ExampleVisionPrescriptionProductCodes (example): A coded concept describing the vision products.
.... eye Σ 1..1 code right | left
Binding: VisionEyes (required): A coded concept listing the eye codes.
.... sphere 0..1 decimal Power of the lens
.... cylinder 0..1 decimal Lens power for astigmatism
.... axis 0..1 integer Lens meridian which contain no power for astigmatism
.... prism 0..* BackboneElement Eye alignment compensation
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... amount 1..1 decimal Amount of adjustment
..... base 1..1 code up | down | in | out
Binding: VisionBase (required): A coded concept listing the base codes.
.... add 0..1 decimal Added power for multifocal levels
.... power 0..1 decimal Contact lens power
.... backCurve 0..1 decimal Contact lens back curvature
.... diameter 0..1 decimal Contact lens diameter
.... duration 0..1 SimpleQuantity(4.0.1) Lens wear duration
.... color 0..1 string Color required
.... brand 0..1 string Brand required
.... note 0..* Annotation Notes for coatings

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
VisionPrescription.language Base preferred Common Languages . 📍4.0.1 tx.fhir.org
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.

Constraints

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 VisionPrescription.meta, VisionPrescription.implicitRules, VisionPrescription.language, VisionPrescription.text, VisionPrescription.extension, VisionPrescription.modifierExtension, VisionPrescription.identifier, VisionPrescription.status, VisionPrescription.created, VisionPrescription.patient, VisionPrescription.encounter, VisionPrescription.dateWritten, VisionPrescription.prescriber, VisionPrescription.lensSpecification, VisionPrescription.lensSpecification.extension, VisionPrescription.lensSpecification.modifierExtension, VisionPrescription.lensSpecification.product, VisionPrescription.lensSpecification.eye, VisionPrescription.lensSpecification.sphere, VisionPrescription.lensSpecification.cylinder, VisionPrescription.lensSpecification.axis, VisionPrescription.lensSpecification.prism, VisionPrescription.lensSpecification.prism.extension, VisionPrescription.lensSpecification.prism.modifierExtension, VisionPrescription.lensSpecification.prism.amount, VisionPrescription.lensSpecification.prism.base, VisionPrescription.lensSpecification.add, VisionPrescription.lensSpecification.power, VisionPrescription.lensSpecification.backCurve, VisionPrescription.lensSpecification.diameter, VisionPrescription.lensSpecification.duration, VisionPrescription.lensSpecification.color, VisionPrescription.lensSpecification.brand, VisionPrescription.lensSpecification.note All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error VisionPrescription.extension, VisionPrescription.modifierExtension, VisionPrescription.lensSpecification.extension, VisionPrescription.lensSpecification.modifierExtension, VisionPrescription.lensSpecification.prism.extension, VisionPrescription.lensSpecification.prism.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from VisionPrescription

Summary

Maturity: 0

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VisionPrescription 0..* VisionPrescription(4.0.1) Prescription for vision correction products for a patient
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... status ?!Σ 1..1 code active | cancelled | draft | entered-in-error
Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance.
... patient Σ 1..1 Reference(Patient) Who prescription is for
... dateWritten Σ 1..1 dateTime When prescription was authorized
... prescriber Σ 1..1 Reference(Practitioner | PractitionerRole) Who authorized the vision prescription
... lensSpecification Σ 1..* BackboneElement Vision lens authorization
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... product Σ 1..1 CodeableConcept Product to be supplied
Binding: ExampleVisionPrescriptionProductCodes (example): A coded concept describing the vision products.
.... eye Σ 1..1 code right | left
Binding: VisionEyes (required): A coded concept listing the eye codes.

doco Documentation for this format

Terminology Bindings

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.

Constraints

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 VisionPrescription.implicitRules, VisionPrescription.modifierExtension, VisionPrescription.status, VisionPrescription.created, VisionPrescription.patient, VisionPrescription.dateWritten, VisionPrescription.prescriber, VisionPrescription.lensSpecification, VisionPrescription.lensSpecification.modifierExtension, VisionPrescription.lensSpecification.product, VisionPrescription.lensSpecification.eye All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error VisionPrescription.modifierExtension, VisionPrescription.lensSpecification.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from VisionPrescription

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VisionPrescription 0..* VisionPrescription(4.0.1) Prescription for vision correction products for a patient

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VisionPrescription 0..* VisionPrescription(4.0.1) Prescription for vision correction products for a patient
... id Σ 0..1 id 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
... 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
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier 0..* Identifier Business Identifier for vision prescription
... status ?!Σ 1..1 code active | cancelled | draft | entered-in-error
Binding: FinancialResourceStatusCodes (required): A code specifying the state of the resource instance.
... created Σ 1..1 dateTime Response creation date
... patient Σ 1..1 Reference(Patient) Who prescription is for
... encounter 0..1 Reference(Encounter) Created during encounter / admission / stay
... dateWritten Σ 1..1 dateTime When prescription was authorized
... prescriber Σ 1..1 Reference(Practitioner | PractitionerRole) Who authorized the vision prescription
... lensSpecification Σ 1..* BackboneElement Vision lens authorization
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... product Σ 1..1 CodeableConcept Product to be supplied
Binding: ExampleVisionPrescriptionProductCodes (example): A coded concept describing the vision products.
.... eye Σ 1..1 code right | left
Binding: VisionEyes (required): A coded concept listing the eye codes.
.... sphere 0..1 decimal Power of the lens
.... cylinder 0..1 decimal Lens power for astigmatism
.... axis 0..1 integer Lens meridian which contain no power for astigmatism
.... prism 0..* BackboneElement Eye alignment compensation
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... amount 1..1 decimal Amount of adjustment
..... base 1..1 code up | down | in | out
Binding: VisionBase (required): A coded concept listing the base codes.
.... add 0..1 decimal Added power for multifocal levels
.... power 0..1 decimal Contact lens power
.... backCurve 0..1 decimal Contact lens back curvature
.... diameter 0..1 decimal Contact lens diameter
.... duration 0..1 SimpleQuantity(4.0.1) Lens wear duration
.... color 0..1 string Color required
.... brand 0..1 string Brand required
.... note 0..* Annotation Notes for coatings

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
VisionPrescription.language Base preferred Common Languages . 📍4.0.1 tx.fhir.org
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.

Constraints

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 VisionPrescription.meta, VisionPrescription.implicitRules, VisionPrescription.language, VisionPrescription.text, VisionPrescription.extension, VisionPrescription.modifierExtension, VisionPrescription.identifier, VisionPrescription.status, VisionPrescription.created, VisionPrescription.patient, VisionPrescription.encounter, VisionPrescription.dateWritten, VisionPrescription.prescriber, VisionPrescription.lensSpecification, VisionPrescription.lensSpecification.extension, VisionPrescription.lensSpecification.modifierExtension, VisionPrescription.lensSpecification.product, VisionPrescription.lensSpecification.eye, VisionPrescription.lensSpecification.sphere, VisionPrescription.lensSpecification.cylinder, VisionPrescription.lensSpecification.axis, VisionPrescription.lensSpecification.prism, VisionPrescription.lensSpecification.prism.extension, VisionPrescription.lensSpecification.prism.modifierExtension, VisionPrescription.lensSpecification.prism.amount, VisionPrescription.lensSpecification.prism.base, VisionPrescription.lensSpecification.add, VisionPrescription.lensSpecification.power, VisionPrescription.lensSpecification.backCurve, VisionPrescription.lensSpecification.diameter, VisionPrescription.lensSpecification.duration, VisionPrescription.lensSpecification.color, VisionPrescription.lensSpecification.brand, VisionPrescription.lensSpecification.note All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error VisionPrescription.extension, VisionPrescription.modifierExtension, VisionPrescription.lensSpecification.extension, VisionPrescription.lensSpecification.modifierExtension, VisionPrescription.lensSpecification.prism.extension, VisionPrescription.lensSpecification.prism.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from VisionPrescription

Summary

Maturity: 0

 

Other representations of profile: CSV, Excel, Schematron