toJsonLd method
Serialize SchemaTherapeuticProcedure to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
...super.toJsonLd(),
'@type': 'TherapeuticProcedure',
'adverseOutcome':
convertToJsonLd(adverseOutcome, [SchemaMedicalEntity]),
'doseSchedule': convertToJsonLd(doseSchedule, [SchemaDoseSchedule]),
'drug': convertToJsonLd(drug, [SchemaDrug]),
});