this.response = new MessageHeaderResponseComponent(); return this.response;
/** * @return {@link #response} (Information about the message that this message is a response to. Only present if this message is a response.) */ public MessageHeaderResponseComponent getResponse() { if (this.response == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create MessageHeader.response"); else if (Configuration.doAutoCreate()) this.response = new MessageHeaderResponseComponent(); // cc return this.response; }
public org.hl7.fhir.dstu3.model.MessageHeader.MessageHeaderResponseComponent convertMessageHeaderResponseComponent(org.hl7.fhir.instance.model.MessageHeader.MessageHeaderResponseComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.MessageHeader.MessageHeaderResponseComponent tgt = new org.hl7.fhir.dstu3.model.MessageHeader.MessageHeaderResponseComponent(); copyElement(src, tgt); tgt.setIdentifier(src.getIdentifier()); tgt.setCode(convertResponseType(src.getCode())); tgt.setDetails(convertReference(src.getDetails())); return tgt; }
public MessageHeaderResponseComponent copy() { MessageHeaderResponseComponent dst = new MessageHeaderResponseComponent(); copyValues(dst); dst.identifier = identifier == null ? null : identifier.copy(); dst.code = code == null ? null : code.copy(); dst.details = details == null ? null : details.copy(); return dst; }
public org.hl7.fhir.dstu3.model.MessageHeader.MessageHeaderResponseComponent convertMessageHeaderResponseComponent(org.hl7.fhir.instance.model.MessageHeader.MessageHeaderResponseComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.MessageHeader.MessageHeaderResponseComponent tgt = new org.hl7.fhir.dstu3.model.MessageHeader.MessageHeaderResponseComponent(); copyElement(src, tgt); tgt.setIdentifier(src.getIdentifier()); tgt.setCode(convertResponseType(src.getCode())); tgt.setDetails(convertReference(src.getDetails())); return tgt; }