/** * @return {@link #replacedBy} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (For naming systems that are retired, indicates the naming system that should be used in their place (if any).) */ public NamingSystem getReplacedByTarget() { if (this.replacedByTarget == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create NamingSystem.replacedBy"); else if (Configuration.doAutoCreate()) this.replacedByTarget = new NamingSystem(); // aa return this.replacedByTarget; }
public org.hl7.fhir.dstu3.model.NamingSystem convertNamingSystem(org.hl7.fhir.instance.model.NamingSystem src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.NamingSystem tgt = new org.hl7.fhir.dstu3.model.NamingSystem(); copyDomainResource(src, tgt); tgt.setName(src.getName()); tgt.setStatus(convertConformanceResourceStatus(src.getStatus())); tgt.setKind(convertNamingSystemType(src.getKind())); if (src.hasDate()) tgt.setDate(src.getDate()); tgt.setPublisher(src.getPublisher()); for (org.hl7.fhir.instance.model.NamingSystem.NamingSystemContactComponent t : src.getContact()) tgt.addContact(convertNamingSystemContactComponent(t)); tgt.setResponsible(src.getResponsible()); tgt.setType(convertCodeableConcept(src.getType())); tgt.setDescription(src.getDescription()); for (org.hl7.fhir.instance.model.CodeableConcept t : src.getUseContext()) if (isJurisdiction(t)) tgt.addJurisdiction(convertCodeableConcept(t)); else tgt.addUseContext(convertCodeableConceptToUsageContext(t)); tgt.setUsage(src.getUsage()); for (org.hl7.fhir.instance.model.NamingSystem.NamingSystemUniqueIdComponent t : src.getUniqueId()) tgt.addUniqueId(convertNamingSystemUniqueIdComponent(t)); tgt.setReplacedBy(convertReference(src.getReplacedBy())); return tgt; }
public static org.hl7.fhir.dstu3.model.NamingSystem convertNamingSystem(org.hl7.fhir.dstu2016may.model.NamingSystem src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.NamingSystem tgt = new org.hl7.fhir.dstu3.model.NamingSystem(); copyDomainResource(src, tgt); tgt.setName(src.getName()); tgt.setStatus(convertConformanceResourceStatus(src.getStatus())); tgt.setKind(convertNamingSystemType(src.getKind())); tgt.setDate(src.getDate()); if (src.hasPublisher()) tgt.setPublisher(src.getPublisher()); for (org.hl7.fhir.dstu2016may.model.NamingSystem.NamingSystemContactComponent t : src.getContact()) tgt.addContact(convertNamingSystemContactComponent(t)); if (src.hasResponsible()) tgt.setResponsible(src.getResponsible()); tgt.setType(convertCodeableConcept(src.getType())); if (src.hasDescription()) tgt.setDescription(src.getDescription()); for (org.hl7.fhir.dstu2016may.model.CodeableConcept t : src.getUseContext()) if (isJurisdiction(t)) tgt.addJurisdiction(convertCodeableConcept(t)); else tgt.addUseContext(convertCodeableConceptToUsageContext(t)); if (src.hasUsage()) tgt.setUsage(src.getUsage()); for (org.hl7.fhir.dstu2016may.model.NamingSystem.NamingSystemUniqueIdComponent t : src.getUniqueId()) tgt.addUniqueId(convertNamingSystemUniqueIdComponent(t)); tgt.setReplacedBy(convertReference(src.getReplacedBy())); return tgt; }
public NamingSystem copy() { NamingSystem dst = new NamingSystem(); copyValues(dst); dst.name = name == null ? null : name.copy();
return new ProcessResponse(); if ("NamingSystem".equals(name)) return new NamingSystem(); if ("Schedule".equals(name)) return new Schedule();
public org.hl7.fhir.dstu3.model.NamingSystem convertNamingSystem(org.hl7.fhir.instance.model.NamingSystem src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.NamingSystem tgt = new org.hl7.fhir.dstu3.model.NamingSystem(); copyDomainResource(src, tgt); tgt.setName(src.getName()); tgt.setStatus(convertConformanceResourceStatus(src.getStatus())); tgt.setKind(convertNamingSystemType(src.getKind())); if (src.hasDate()) tgt.setDate(src.getDate()); tgt.setPublisher(src.getPublisher()); for (org.hl7.fhir.instance.model.NamingSystem.NamingSystemContactComponent t : src.getContact()) tgt.addContact(convertNamingSystemContactComponent(t)); tgt.setResponsible(src.getResponsible()); tgt.setType(convertCodeableConcept(src.getType())); tgt.setDescription(src.getDescription()); for (org.hl7.fhir.instance.model.CodeableConcept t : src.getUseContext()) if (isJurisdiction(t)) tgt.addJurisdiction(convertCodeableConcept(t)); else tgt.addUseContext(convertCodeableConceptToUsageContext(t)); tgt.setUsage(src.getUsage()); for (org.hl7.fhir.instance.model.NamingSystem.NamingSystemUniqueIdComponent t : src.getUniqueId()) tgt.addUniqueId(convertNamingSystemUniqueIdComponent(t)); tgt.setReplacedBy(convertReference(src.getReplacedBy())); return tgt; }
public static org.hl7.fhir.dstu3.model.NamingSystem convertNamingSystem(org.hl7.fhir.dstu2016may.model.NamingSystem src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.NamingSystem tgt = new org.hl7.fhir.dstu3.model.NamingSystem(); copyDomainResource(src, tgt); tgt.setName(src.getName()); tgt.setStatus(convertConformanceResourceStatus(src.getStatus())); tgt.setKind(convertNamingSystemType(src.getKind())); tgt.setDate(src.getDate()); if (src.hasPublisher()) tgt.setPublisher(src.getPublisher()); for (org.hl7.fhir.dstu2016may.model.NamingSystem.NamingSystemContactComponent t : src.getContact()) tgt.addContact(convertNamingSystemContactComponent(t)); if (src.hasResponsible()) tgt.setResponsible(src.getResponsible()); tgt.setType(convertCodeableConcept(src.getType())); if (src.hasDescription()) tgt.setDescription(src.getDescription()); for (org.hl7.fhir.dstu2016may.model.CodeableConcept t : src.getUseContext()) if (isJurisdiction(t)) tgt.addJurisdiction(convertCodeableConcept(t)); else tgt.addUseContext(convertCodeableConceptToUsageContext(t)); if (src.hasUsage()) tgt.setUsage(src.getUsage()); for (org.hl7.fhir.dstu2016may.model.NamingSystem.NamingSystemUniqueIdComponent t : src.getUniqueId()) tgt.addUniqueId(convertNamingSystemUniqueIdComponent(t)); tgt.setReplacedBy(convertReference(src.getReplacedBy())); return tgt; }
case 2394661: return new Meta(); case 74526880: return new Money(); case 369315063: return new NamingSystem(); case -540546990: return new Narrative(); case 1247831734: return new NutritionOrder();