TransformSupportServices

@Singleton
class TransformSupportServices @Inject constructor(val simpleWorkerContext: SimpleWorkerContext) : StructureMapUtilities.ITransformerServices

Copied from https://github.com/hapifhir/org.hl7.fhir.core/blob/master/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/TransformSupportServices.java and adapted for R4. This class enables us to implement generation of Types and Resources not in the original Hapi Fhir source code here https://github.com/hapifhir/org.hl7.fhir.core/blob/master/org.hl7.fhir.r4/src/main/java/org/hl7/fhir/r4/model/ResourceFactory.java. The missing Types and Resources are internal model types eg RiskAssessment.Prediction, Immunization.Reaction

Constructors

Link copied to clipboard
@Inject
constructor(simpleWorkerContext: SimpleWorkerContext)

Properties

Link copied to clipboard
val outputs: MutableList<Base>
Link copied to clipboard
val simpleWorkerContext: SimpleWorkerContext

Functions

Link copied to clipboard
open override fun createResource(appInfo: Any, res: Base, atRootofTransform: Boolean): Base
Link copied to clipboard
open override fun createType(appInfo: Any, name: String): Base
Link copied to clipboard
open override fun log(message: String)
Link copied to clipboard
open override fun performSearch(appContext: Any, url: String): List<Base>
Link copied to clipboard
open override fun resolveReference(appContext: Any, url: String): Base
Link copied to clipboard
open override fun translate(appInfo: Any, source: Coding, conceptMapUrl: String): Coding