The adapters create new instances of FHIR resources they extend:
public qicoreprocedurerequestAdapter()
{
this.adaptedClass = new org.hl7.fhir.dstu3.model.ProcedureRequest();
}
and the FHIR spec offers a facility to capture the profile a resource conforms to through the "meta" field of a FHIR resource which has a "profile" element. If the adapters populate this field with the respective QiCore profiles it will make it possible for the receiving system to behave in a more user-friendly manner by resolving the extensions to the right profile which was used at creation time.
The adapters create new instances of FHIR resources they extend:
and the FHIR spec offers a facility to capture the profile a resource conforms to through the "meta" field of a FHIR resource which has a "profile" element. If the adapters populate this field with the respective QiCore profiles it will make it possible for the receiving system to behave in a more user-friendly manner by resolving the extensions to the right profile which was used at creation time.