Model: Model

Description Usage Arguments Value Examples

View source: R/models.R

Description

Model

Usage

1
Model(model, class, jsonDict = list())

Arguments

model

The resource model to build

class

The class of the resource model

jsonDict

The json list to build the data model object. If NULL, then it returns the class.

Value

A Resource object

Examples

1
2
getModelClass('patient')
Model("patient", "Patient", list(id = "test"))

qhu75/fhiRclient documentation built on Dec. 31, 2020, 2:11 a.m.