This page is part of the Da Vinci Coverage Requirements Discovery (CRD) FHIR IG (v0.1.0: STU 1 Ballot 1) based on FHIR v3.5.0. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

This is a pre-release version (Ballot 1) of Coverage Requirements Discovery (CRD) R1/STU. There is no current official version.
For a full list of available versions, see the Directory of published versions .

StructureDefinition: CRD VisionPrescription

The official URL for this profile is:

http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/profile-visionprescription-stu3

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. VisionPrescription I0..*Prescription for vision correction products for a patient
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ext-insurance SI0..*Reference(CRD Coverage)Extension
URL: http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S0..*IdentifierBusiness identifier
... status ?!SΣ1..1codeactive | cancelled | draft | entered-in-error
Binding: Financial Resource Status Codes (required)
Fixed Value: draft
... patient S1..1Reference(CRD Patient)Who prescription is for
... encounter 0..1Reference(CRD Encounter)Created during encounter / admission / stay
... dateWritten S1..1dateTimeWhen prescription was authorized
... prescriber S1..1Reference(CRD Practitioner)Who authorizes the vision product
... reason[x] S0..1CodeableConcept, Reference(US Core Condition Profile)Reason or indication for writing the prescription
... dispense SI0..*BackboneElementVision supply authorization
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... product 0..1CodeableConceptProduct to be supplied
Binding: Example Vision Prescription Product Codes (example)
.... eye 0..1coderight | left
Binding: VisionEyes (required)
.... sphere 0..1decimalLens sphere
.... cylinder 0..1decimalLens cylinder
.... axis 0..1integerLens axis
.... prism 0..1decimalLens prism
.... base 0..1codeup | down | in | out
Binding: VisionBase (required)
.... add 0..1decimalLens add
.... power 0..1decimalContact lens power
.... backCurve 0..1decimalContact lens back curvature
.... diameter 0..1decimalContact lens diameter
.... duration 0..1SimpleQuantityLens wear duration
.... color 0..1stringColor required
.... brand 0..1stringBrand required
.... note 0..*AnnotationNotes for coatings

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. VisionPrescription I0..*Prescription for vision correction products for a patient
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ext-insurance SI0..*Reference(CRD Coverage)Extension
URL: http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S0..*IdentifierBusiness identifier
... status ?!SΣ1..1codeactive | cancelled | draft | entered-in-error
Binding: Financial Resource Status Codes (required)
Fixed Value: draft
... patient S1..1Reference(CRD Patient)Who prescription is for
... encounter 0..1Reference(CRD Encounter)Created during encounter / admission / stay
... dateWritten S1..1dateTimeWhen prescription was authorized
... prescriber S1..1Reference(CRD Practitioner)Who authorizes the vision product
... reason[x] S0..1CodeableConcept, Reference(US Core Condition Profile)Reason or indication for writing the prescription
... dispense SI0..*BackboneElementVision supply authorization
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... product 0..1CodeableConceptProduct to be supplied
Binding: Example Vision Prescription Product Codes (example)
.... eye 0..1coderight | left
Binding: VisionEyes (required)
.... sphere 0..1decimalLens sphere
.... cylinder 0..1decimalLens cylinder
.... axis 0..1integerLens axis
.... prism 0..1decimalLens prism
.... base 0..1codeup | down | in | out
Binding: VisionBase (required)
.... add 0..1decimalLens add
.... power 0..1decimalContact lens power
.... backCurve 0..1decimalContact lens back curvature
.... diameter 0..1decimalContact lens diameter
.... duration 0..1SimpleQuantityLens wear duration
.... color 0..1stringColor required
.... brand 0..1stringBrand required
.... note 0..*AnnotationNotes for coatings

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathNameConformanceValueSet
VisionPrescription.languageCommon LanguagesextensibleCommon Languages
VisionPrescription.statusFinancial Resource Status CodesrequiredFinancial Resource Status Codes
VisionPrescription.dispense.productExample Vision Prescription Product CodesexampleExample Vision Prescription Product Codes
VisionPrescription.dispense.eyeVisionEyesrequiredVisionEyes
VisionPrescription.dispense.baseVisionBaserequiredVisionBase

Constraints

IdPathDetailsRequirements
dom-2VisionPrescriptionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1VisionPrescriptionIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4VisionPrescriptionIf 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-3VisionPrescriptionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
ele-1VisionPrescription.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1VisionPrescription.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1VisionPrescription.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1VisionPrescription.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1VisionPrescription.dispenseAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())