public static class MelConceptDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MelConceptDetails.Builder |
attributes(Map<String,String> attributes)
additional attribute values specific to ontology for ex.
|
MelConceptDetails |
build() |
MelConceptDetails.Builder |
copy(MelConceptDetails model) |
MelConceptDetails.Builder |
id(String id)
id of the relation
|
MelConceptDetails.Builder |
name(String name)
The matched concept name/description on the ontology
|
MelConceptDetails.Builder |
score(Double score)
The relevant score between the concept and the input text
|
public MelConceptDetails.Builder id(String id)
id of the relation
id
- the value to setpublic MelConceptDetails.Builder name(String name)
The matched concept name/description on the ontology
name
- the value to setpublic MelConceptDetails.Builder score(Double score)
The relevant score between the concept and the input text
score
- the value to setpublic MelConceptDetails.Builder attributes(Map<String,String> attributes)
additional attribute values specific to ontology for ex. for SNOMED semantic_type and for for ICD-10 default_charge_code etc.
attributes
- the value to setpublic MelConceptDetails build()
public MelConceptDetails.Builder copy(MelConceptDetails model)
Copyright © 2016–2024. All rights reserved.