Skip to content

Hide ToSystemType conversions behind an interface. #2932

Closed
@ewoutkramer

Description

@ewoutkramer

The following datatypes (to which Instant should be added) have methods to convert their values to a CQL type.

*Code
*CodeableConcept
*Code
*Coding
*Date
*FhirDateTime
*Time
*NEW Instant

There is no way to polymorphically call these, which would be really useful in the implementation of IScopedNode.Value. So, create an interface with a single ToSystemType() method, hide these methods behind an explicit implementation and adapt the implementation of IScopedNode.Value to use these methods instead.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions