pub async fn generate(
file_paths: &Vec<String>,
level: Option<&'static str>,
) -> Result<GeneratedTypes, OperationOutcomeError>Expand description
Generates the Rust types for the provided FHIR definition files.
ยงErrors
Returns an [OperationOutcomeError] if:
- terminology generation fails; or
- data type generation fails.