@Child(name = "code", type = {CodeableConcept.class}, order=2, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="What procedure to perform", formalDefinition="The specific procedure that is ordered. Use text if the exact nature of the procedure cannot be coded." )
protected CodeableConcept code;
public CodeableConcept getReasonRefused()
{
...
}
but it's not immediately clear what the name of the field is in QiCore or its cardinality.
The FHIR reference Java implementation provides field annotations, for instance https://github.com/jamesagnew/hapi-fhir/blob/1adfc4b4d963159ac01fe0aae036424200912823/hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ProcedureRequest.java
defines:
from this annotation we can easily find out the name, type, and cardinality attributes of the given field.
It would be useful to have the same information in QiCore adapters, for instance:
https://github.com/cqframework/qicore_model/blob/master/src/main/java/org/cqf/qicore/dstu3/qicoreprocedurerequestAdapter.java
defines:
but it's not immediately clear what the name of the field is in QiCore or its cardinality.