001package org.hl7.fhir.convertors;
002
003import org.hl7.fhir.utilities.Utilities;
004
005public class VersionConvertorResourceNameMapper {
006
007  public static String mapName3to5(String name) {
008    if (Utilities.noString(name)) {
009      return null;
010    }
011    switch (name) {
012      case "Account":
013        return org.hl7.fhir.r5.model.Account.class.getSimpleName();
014      case "ActivityDefinition":
015        return org.hl7.fhir.r5.model.ActivityDefinition.class.getSimpleName();
016      case "AdverseEvent":
017        return org.hl7.fhir.r5.model.AdverseEvent.class.getSimpleName();
018      case "AllergyIntolerance":
019        return org.hl7.fhir.r5.model.AllergyIntolerance.class.getSimpleName();
020      case "Appointment":
021        return org.hl7.fhir.r5.model.Appointment.class.getSimpleName();
022      case "AppointmentResponse":
023        return org.hl7.fhir.r5.model.AppointmentResponse.class.getSimpleName();
024      case "AuditEvent":
025        return org.hl7.fhir.r5.model.AuditEvent.class.getSimpleName();
026      case "Basic":
027        return org.hl7.fhir.r5.model.Basic.class.getSimpleName();
028      case "Binary":
029        return org.hl7.fhir.r5.model.Binary.class.getSimpleName();
030      case "BodySite":
031        return org.hl7.fhir.r5.model.BodyStructure.class.getSimpleName();
032      case "Bundle":
033        return org.hl7.fhir.r5.model.Bundle.class.getSimpleName();
034      case "CapabilityStatement":
035        return org.hl7.fhir.r5.model.CapabilityStatement.class.getSimpleName();
036      case "CarePlan":
037        return org.hl7.fhir.r5.model.CarePlan.class.getSimpleName();
038      case "CareTeam":
039        return org.hl7.fhir.r5.model.CareTeam.class.getSimpleName();
040      case "ChargeItem":
041        return org.hl7.fhir.r5.model.ChargeItem.class.getSimpleName();
042      case "Claim":
043        return org.hl7.fhir.r5.model.Claim.class.getSimpleName();
044      case "ClaimResponse":
045        return org.hl7.fhir.r5.model.ClaimResponse.class.getSimpleName();
046      case "ClinicalImpression":
047        return org.hl7.fhir.r5.model.ClinicalImpression.class.getSimpleName();
048      case "CodeSystem":
049        return org.hl7.fhir.r5.model.CodeSystem.class.getSimpleName();
050      case "Communication":
051        return org.hl7.fhir.r5.model.Communication.class.getSimpleName();
052      case "CommunicationRequest":
053        return org.hl7.fhir.r5.model.CommunicationRequest.class.getSimpleName();
054      case "CompartmentDefinition":
055        return org.hl7.fhir.r5.model.CompartmentDefinition.class.getSimpleName();
056      case "Composition":
057        return org.hl7.fhir.r5.model.Composition.class.getSimpleName();
058      case "ConceptMap":
059        return org.hl7.fhir.r5.model.ConceptMap.class.getSimpleName();
060      case "Condition":
061        return org.hl7.fhir.r5.model.Condition.class.getSimpleName();
062      case "Consent":
063        return org.hl7.fhir.r5.model.Consent.class.getSimpleName();
064      case "Contract":
065        return org.hl7.fhir.r5.model.Contract.class.getSimpleName();
066      case "Coverage":
067        return org.hl7.fhir.r5.model.Coverage.class.getSimpleName();
068      case "DataElement":
069        return org.hl7.fhir.r5.model.StructureDefinition.class.getSimpleName();
070      case "EligibilityRequest":
071        return org.hl7.fhir.r5.model.CoverageEligibilityRequest.class.getSimpleName();
072      case "EligibilityResponse":
073        return org.hl7.fhir.r5.model.CoverageEligibilityResponse.class.getSimpleName();
074      case "DetectedIssue":
075        return org.hl7.fhir.r5.model.DetectedIssue.class.getSimpleName();
076      case "Device":
077        return org.hl7.fhir.r5.model.Device.class.getSimpleName();
078      case "DeviceComponent":
079        return null;
080      case "DeviceMetric":
081        return org.hl7.fhir.r5.model.DeviceMetric.class.getSimpleName();
082      case "DeviceRequest":
083        return org.hl7.fhir.r5.model.DeviceRequest.class.getSimpleName();
084      case "DeviceUseStatement":
085        return org.hl7.fhir.r5.model.DeviceUsage.class.getSimpleName();
086      case "DiagnosticReport":
087        return org.hl7.fhir.r5.model.DiagnosticReport.class.getSimpleName();
088//      case "DocumentManifest":
089//        return org.hl7.fhir.r5.model.DocumentManifest.class.getSimpleName();
090      case "DocumentReference":
091        return org.hl7.fhir.r5.model.DocumentReference.class.getSimpleName();
092      case "Encounter":
093        return org.hl7.fhir.r5.model.Encounter.class.getSimpleName();
094      case "Endpoint":
095        return org.hl7.fhir.r5.model.Endpoint.class.getSimpleName();
096      case "EnrollmentRequest":
097        return org.hl7.fhir.r5.model.EnrollmentRequest.class.getSimpleName();
098      case "EnrollmentResponse":
099        return org.hl7.fhir.r5.model.EnrollmentResponse.class.getSimpleName();
100      case "EpisodeOfCare":
101        return org.hl7.fhir.r5.model.EpisodeOfCare.class.getSimpleName();
102      case "ExpansionProfile":
103        return org.hl7.fhir.r5.model.Parameters.class.getSimpleName();
104      case "ExplanationOfBenefit":
105        return org.hl7.fhir.r5.model.ExplanationOfBenefit.class.getSimpleName();
106      case "FamilyMemberHistory":
107        return org.hl7.fhir.r5.model.FamilyMemberHistory.class.getSimpleName();
108      case "Flag":
109        return org.hl7.fhir.r5.model.Flag.class.getSimpleName();
110      case "Goal":
111        return org.hl7.fhir.r5.model.Goal.class.getSimpleName();
112      case "GraphDefinition":
113        return org.hl7.fhir.r5.model.GraphDefinition.class.getSimpleName();
114      case "Group":
115        return org.hl7.fhir.r5.model.Group.class.getSimpleName();
116      case "GuidanceResponse":
117        return org.hl7.fhir.r5.model.GuidanceResponse.class.getSimpleName();
118      case "HealthcareService":
119        return org.hl7.fhir.r5.model.HealthcareService.class.getSimpleName();
120      case "ImagingManifest":
121        return null;
122      case "ImagingStudy":
123        return org.hl7.fhir.r5.model.ImagingStudy.class.getSimpleName();
124      case "Immunization":
125        return org.hl7.fhir.r5.model.Immunization.class.getSimpleName();
126      case "ImmunizationRecommendation":
127        return org.hl7.fhir.r5.model.ImmunizationRecommendation.class.getSimpleName();
128      case "ImplementationGuide":
129        return org.hl7.fhir.r5.model.ImplementationGuide.class.getSimpleName();
130      case "Library":
131        return org.hl7.fhir.r5.model.Library.class.getSimpleName();
132      case "Linkage":
133        return org.hl7.fhir.r5.model.Linkage.class.getSimpleName();
134      case "List":
135        return org.hl7.fhir.r5.model.ListResource.class.getSimpleName();
136      case "Location":
137        return org.hl7.fhir.r5.model.Location.class.getSimpleName();
138      case "Measure":
139        return org.hl7.fhir.r5.model.Measure.class.getSimpleName();
140      case "MeasureReport":
141        return org.hl7.fhir.r5.model.MeasureReport.class.getSimpleName();
142      case "Media":
143        return org.hl7.fhir.r5.model.DocumentReference.class.getSimpleName();
144      case "Medication":
145        return org.hl7.fhir.r5.model.Medication.class.getSimpleName();
146      case "MedicationAdministration":
147        return org.hl7.fhir.r5.model.MedicationAdministration.class.getSimpleName();
148      case "MedicationDispense":
149        return org.hl7.fhir.r5.model.MedicationDispense.class.getSimpleName();
150      case "MedicationRequest":
151        return org.hl7.fhir.r5.model.MedicationRequest.class.getSimpleName();
152      case "MedicationStatement":
153        return org.hl7.fhir.r5.model.MedicationStatement.class.getSimpleName();
154      case "MessageDefinition":
155        return org.hl7.fhir.r5.model.MessageDefinition.class.getSimpleName();
156      case "MessageHeader":
157        return org.hl7.fhir.r5.model.MessageHeader.class.getSimpleName();
158      case "Sequence":
159        return org.hl7.fhir.r5.model.MolecularSequence.class.getSimpleName();
160      case "NamingSystem":
161        return org.hl7.fhir.r5.model.NamingSystem.class.getSimpleName();
162      case "NutritionOrder":
163        return org.hl7.fhir.r5.model.NutritionOrder.class.getSimpleName();
164      case "Observation":
165        return org.hl7.fhir.r5.model.Observation.class.getSimpleName();
166      case "OperationDefinition":
167        return org.hl7.fhir.r5.model.OperationDefinition.class.getSimpleName();
168      case "OperationOutcome":
169        return org.hl7.fhir.r5.model.OperationOutcome.class.getSimpleName();
170      case "Organization":
171        return org.hl7.fhir.r5.model.Organization.class.getSimpleName();
172      case "Parameters":
173        return org.hl7.fhir.r5.model.Parameters.class.getSimpleName();
174      case "Patient":
175        return org.hl7.fhir.r5.model.Patient.class.getSimpleName();
176      case "PaymentNotice":
177        return org.hl7.fhir.r5.model.PaymentNotice.class.getSimpleName();
178      case "PaymentReconciliation":
179        return org.hl7.fhir.r5.model.PaymentReconciliation.class.getSimpleName();
180      case "Person":
181        return org.hl7.fhir.r5.model.Person.class.getSimpleName();
182      case "PlanDefinition":
183        return org.hl7.fhir.r5.model.PlanDefinition.class.getSimpleName();
184      case "Practitioner":
185        return org.hl7.fhir.r5.model.Practitioner.class.getSimpleName();
186      case "PractitionerRole":
187        return org.hl7.fhir.r5.model.PractitionerRole.class.getSimpleName();
188      case "Procedure":
189        return org.hl7.fhir.r5.model.Procedure.class.getSimpleName();
190      case "ProcessRequest":
191        return org.hl7.fhir.r5.model.Task.class.getSimpleName();
192      case "ProcessResponse":
193        return org.hl7.fhir.r5.model.Task.class.getSimpleName();
194      case "Provenance":
195        return org.hl7.fhir.r5.model.Provenance.class.getSimpleName();
196      case "Questionnaire":
197        return org.hl7.fhir.r5.model.Questionnaire.class.getSimpleName();
198      case "QuestionnaireResponse":
199        return org.hl7.fhir.r5.model.QuestionnaireResponse.class.getSimpleName();
200      case "ReferralRequest":
201        return org.hl7.fhir.r5.model.ServiceRequest.class.getSimpleName();
202      case "RelatedPerson":
203        return org.hl7.fhir.r5.model.RelatedPerson.class.getSimpleName();
204      case "RequestGroup":
205        return org.hl7.fhir.r5.model.RequestOrchestration.class.getSimpleName();
206      case "ResearchStudy":
207        return org.hl7.fhir.r5.model.ResearchStudy.class.getSimpleName();
208      case "ResearchSubject":
209        return org.hl7.fhir.r5.model.ResearchSubject.class.getSimpleName();
210      case "RiskAssessment":
211        return org.hl7.fhir.r5.model.RiskAssessment.class.getSimpleName();
212      case "Schedule":
213        return org.hl7.fhir.r5.model.Schedule.class.getSimpleName();
214      case "SearchParameter":
215        return org.hl7.fhir.r5.model.SearchParameter.class.getSimpleName();
216      case "ServiceDefinition":
217        return null;
218      case "ProcedureRequest":
219        return org.hl7.fhir.r5.model.ServiceRequest.class.getSimpleName();
220      case "Slot":
221        return org.hl7.fhir.r5.model.Slot.class.getSimpleName();
222      case "Specimen":
223        return org.hl7.fhir.r5.model.Specimen.class.getSimpleName();
224      case "StructureDefinition":
225        return org.hl7.fhir.r5.model.StructureDefinition.class.getSimpleName();
226      case "StructureMap":
227        return org.hl7.fhir.r5.model.StructureMap.class.getSimpleName();
228      case "Subscription":
229        return org.hl7.fhir.r5.model.Subscription.class.getSimpleName();
230      case "Substance":
231        return org.hl7.fhir.r5.model.Substance.class.getSimpleName();
232      case "SupplyDelivery":
233        return org.hl7.fhir.r5.model.SupplyDelivery.class.getSimpleName();
234      case "SupplyRequest":
235        return org.hl7.fhir.r5.model.SupplyRequest.class.getSimpleName();
236      case "Task":
237        return org.hl7.fhir.r5.model.Task.class.getSimpleName();
238      case "TestReport":
239        return org.hl7.fhir.r5.model.TestReport.class.getSimpleName();
240      case "TestScript":
241        return org.hl7.fhir.r5.model.TestScript.class.getSimpleName();
242      case "ValueSet":
243        return org.hl7.fhir.r5.model.ValueSet.class.getSimpleName();
244      case "VisionPrescription":
245        return org.hl7.fhir.r5.model.VisionPrescription.class.getSimpleName();
246      default:
247        return null;
248    }
249  }
250
251  public static String mapName5to3(String name) {
252    if (Utilities.noString(name)) {
253      return null;
254    }
255    switch (name) {
256      case "Account":
257        return org.hl7.fhir.dstu3.model.Account.class.getSimpleName();
258      case "ActivityDefinition":
259        return org.hl7.fhir.dstu3.model.ActivityDefinition.class.getSimpleName();
260      case "AdverseEvent":
261        return org.hl7.fhir.dstu3.model.AdverseEvent.class.getSimpleName();
262      case "AllergyIntolerance":
263        return org.hl7.fhir.dstu3.model.AllergyIntolerance.class.getSimpleName();
264      case "Appointment":
265        return org.hl7.fhir.dstu3.model.Appointment.class.getSimpleName();
266      case "AppointmentResponse":
267        return org.hl7.fhir.dstu3.model.AppointmentResponse.class.getSimpleName();
268      case "AuditEvent":
269        return org.hl7.fhir.dstu3.model.AuditEvent.class.getSimpleName();
270      case "Basic":
271        return org.hl7.fhir.dstu3.model.Basic.class.getSimpleName();
272      case "Binary":
273        return org.hl7.fhir.dstu3.model.Binary.class.getSimpleName();
274      case "BiologicallyDerivedProduct":
275        return null;
276      case "BodyStructure":
277        return org.hl7.fhir.dstu3.model.BodySite.class.getSimpleName();
278      case "Bundle":
279        return org.hl7.fhir.dstu3.model.Bundle.class.getSimpleName();
280      case "CapabilityStatement":
281        return org.hl7.fhir.dstu3.model.CapabilityStatement.class.getSimpleName();
282      case "CarePlan":
283        return org.hl7.fhir.dstu3.model.CarePlan.class.getSimpleName();
284      case "CareTeam":
285        return org.hl7.fhir.dstu3.model.CareTeam.class.getSimpleName();
286      case "CatalogEntry":
287        return null;
288      case "ChargeItem":
289        return org.hl7.fhir.dstu3.model.ChargeItem.class.getSimpleName();
290      case "ChargeItemDefinition":
291        return null;
292      case "Claim":
293        return org.hl7.fhir.dstu3.model.Claim.class.getSimpleName();
294      case "ClaimResponse":
295        return org.hl7.fhir.dstu3.model.ClaimResponse.class.getSimpleName();
296      case "ClinicalImpression":
297        return org.hl7.fhir.dstu3.model.ClinicalImpression.class.getSimpleName();
298      case "CodeSystem":
299        return org.hl7.fhir.dstu3.model.CodeSystem.class.getSimpleName();
300      case "Communication":
301        return org.hl7.fhir.dstu3.model.Communication.class.getSimpleName();
302      case "CommunicationRequest":
303        return org.hl7.fhir.dstu3.model.CommunicationRequest.class.getSimpleName();
304      case "CompartmentDefinition":
305        return org.hl7.fhir.dstu3.model.CompartmentDefinition.class.getSimpleName();
306      case "Composition":
307        return org.hl7.fhir.dstu3.model.Composition.class.getSimpleName();
308      case "ConceptMap":
309        return org.hl7.fhir.dstu3.model.ConceptMap.class.getSimpleName();
310      case "Condition":
311        return org.hl7.fhir.dstu3.model.Condition.class.getSimpleName();
312      case "Consent":
313        return org.hl7.fhir.dstu3.model.Consent.class.getSimpleName();
314      case "Contract":
315        return org.hl7.fhir.dstu3.model.Contract.class.getSimpleName();
316      case "Coverage":
317        return org.hl7.fhir.dstu3.model.Coverage.class.getSimpleName();
318      case "CoverageEligibilityRequest":
319        return org.hl7.fhir.dstu3.model.EligibilityRequest.class.getSimpleName();
320      case "CoverageEligibilityResponse":
321        return org.hl7.fhir.dstu3.model.EligibilityResponse.class.getSimpleName();
322      case "DetectedIssue":
323        return org.hl7.fhir.dstu3.model.DetectedIssue.class.getSimpleName();
324      case "Device":
325        return org.hl7.fhir.dstu3.model.Device.class.getSimpleName();
326      case "DeviceDefinition":
327        return null;
328      case "DeviceMetric":
329        return org.hl7.fhir.dstu3.model.DeviceMetric.class.getSimpleName();
330      case "DeviceRequest":
331        return org.hl7.fhir.dstu3.model.DeviceRequest.class.getSimpleName();
332      case "DeviceUsage":
333        return org.hl7.fhir.dstu3.model.DeviceUseStatement.class.getSimpleName();
334      case "DiagnosticReport":
335        return org.hl7.fhir.dstu3.model.DiagnosticReport.class.getSimpleName();
336      case "DocumentManifest":
337        return org.hl7.fhir.dstu3.model.DocumentManifest.class.getSimpleName();
338      case "DocumentReference":
339        return org.hl7.fhir.dstu3.model.DocumentReference.class.getSimpleName();
340      case "Encounter":
341        return org.hl7.fhir.dstu3.model.Encounter.class.getSimpleName();
342      case "Endpoint":
343        return org.hl7.fhir.dstu3.model.Endpoint.class.getSimpleName();
344      case "EnrollmentRequest":
345        return org.hl7.fhir.dstu3.model.EnrollmentRequest.class.getSimpleName();
346      case "EnrollmentResponse":
347        return org.hl7.fhir.dstu3.model.EnrollmentResponse.class.getSimpleName();
348      case "EpisodeOfCare":
349        return org.hl7.fhir.dstu3.model.EpisodeOfCare.class.getSimpleName();
350      case "EventDefinition":
351        return null;
352      case "ExampleScenario":
353        return null;
354      case "ExplanationOfBenefit":
355        return org.hl7.fhir.dstu3.model.ExplanationOfBenefit.class.getSimpleName();
356      case "FamilyMemberHistory":
357        return org.hl7.fhir.dstu3.model.FamilyMemberHistory.class.getSimpleName();
358      case "Flag":
359        return org.hl7.fhir.dstu3.model.Flag.class.getSimpleName();
360      case "Goal":
361        return org.hl7.fhir.dstu3.model.Goal.class.getSimpleName();
362      case "GraphDefinition":
363        return org.hl7.fhir.dstu3.model.GraphDefinition.class.getSimpleName();
364      case "Group":
365        return org.hl7.fhir.dstu3.model.Group.class.getSimpleName();
366      case "GuidanceResponse":
367        return org.hl7.fhir.dstu3.model.GuidanceResponse.class.getSimpleName();
368      case "HealthcareService":
369        return org.hl7.fhir.dstu3.model.HealthcareService.class.getSimpleName();
370      case "ImagingStudy":
371        return org.hl7.fhir.dstu3.model.ImagingStudy.class.getSimpleName();
372      case "Immunization":
373        return org.hl7.fhir.dstu3.model.Immunization.class.getSimpleName();
374      case "ImmunizationEvaluation":
375        return null;
376      case "ImmunizationRecommendation":
377        return org.hl7.fhir.dstu3.model.ImmunizationRecommendation.class.getSimpleName();
378      case "ImplementationGuide":
379        return org.hl7.fhir.dstu3.model.ImplementationGuide.class.getSimpleName();
380      case "InsurancePlan":
381        return null;
382      case "Invoice":
383        return null;
384      case "Library":
385        return org.hl7.fhir.dstu3.model.Library.class.getSimpleName();
386      case "Linkage":
387        return org.hl7.fhir.dstu3.model.Linkage.class.getSimpleName();
388      case "List":
389        return org.hl7.fhir.dstu3.model.ListResource.class.getSimpleName();
390      case "Location":
391        return org.hl7.fhir.dstu3.model.Location.class.getSimpleName();
392      case "Measure":
393        return org.hl7.fhir.dstu3.model.Measure.class.getSimpleName();
394      case "MeasureReport":
395        return org.hl7.fhir.dstu3.model.MeasureReport.class.getSimpleName();
396      case "Medication":
397        return org.hl7.fhir.dstu3.model.Medication.class.getSimpleName();
398      case "MedicationAdministration":
399        return org.hl7.fhir.dstu3.model.MedicationAdministration.class.getSimpleName();
400      case "MedicationDispense":
401        return org.hl7.fhir.dstu3.model.MedicationDispense.class.getSimpleName();
402      case "MedicationKnowledge":
403        return null;
404      case "MedicationRequest":
405        return org.hl7.fhir.dstu3.model.MedicationRequest.class.getSimpleName();
406      case "MedicationStatement":
407        return org.hl7.fhir.dstu3.model.MedicationStatement.class.getSimpleName();
408      case "MessageDefinition":
409        return org.hl7.fhir.dstu3.model.MessageDefinition.class.getSimpleName();
410      case "MessageHeader":
411        return org.hl7.fhir.dstu3.model.MessageHeader.class.getSimpleName();
412      case "MolecularSequence":
413        return org.hl7.fhir.dstu3.model.Sequence.class.getSimpleName();
414      case "NamingSystem":
415        return org.hl7.fhir.dstu3.model.NamingSystem.class.getSimpleName();
416      case "NutritionOrder":
417        return org.hl7.fhir.dstu3.model.NutritionOrder.class.getSimpleName();
418      case "Observation":
419        return org.hl7.fhir.dstu3.model.Observation.class.getSimpleName();
420      case "ObservationDefinition":
421        return null;
422      case "OperationDefinition":
423        return org.hl7.fhir.dstu3.model.OperationDefinition.class.getSimpleName();
424      case "OperationOutcome":
425        return org.hl7.fhir.dstu3.model.OperationOutcome.class.getSimpleName();
426      case "Organization":
427        return org.hl7.fhir.dstu3.model.Organization.class.getSimpleName();
428      case "OrganizationAffiliation":
429        return null;
430      case "Parameters":
431        return org.hl7.fhir.dstu3.model.Parameters.class.getSimpleName();
432      case "Patient":
433        return org.hl7.fhir.dstu3.model.Patient.class.getSimpleName();
434      case "PaymentNotice":
435        return org.hl7.fhir.dstu3.model.PaymentNotice.class.getSimpleName();
436      case "PaymentReconciliation":
437        return org.hl7.fhir.dstu3.model.PaymentReconciliation.class.getSimpleName();
438      case "Person":
439        return org.hl7.fhir.dstu3.model.Person.class.getSimpleName();
440      case "PlanDefinition":
441        return org.hl7.fhir.dstu3.model.PlanDefinition.class.getSimpleName();
442      case "Practitioner":
443        return org.hl7.fhir.dstu3.model.Practitioner.class.getSimpleName();
444      case "PractitionerRole":
445        return org.hl7.fhir.dstu3.model.PractitionerRole.class.getSimpleName();
446      case "Procedure":
447        return org.hl7.fhir.dstu3.model.Procedure.class.getSimpleName();
448      case "Provenance":
449        return org.hl7.fhir.dstu3.model.Provenance.class.getSimpleName();
450      case "Questionnaire":
451        return org.hl7.fhir.dstu3.model.Questionnaire.class.getSimpleName();
452      case "QuestionnaireResponse":
453        return org.hl7.fhir.dstu3.model.QuestionnaireResponse.class.getSimpleName();
454      case "RelatedPerson":
455        return org.hl7.fhir.dstu3.model.RelatedPerson.class.getSimpleName();
456      case "RequestGroup":
457        return org.hl7.fhir.dstu3.model.RequestGroup.class.getSimpleName();
458      case "ResearchStudy":
459        return org.hl7.fhir.dstu3.model.ResearchStudy.class.getSimpleName();
460      case "ResearchSubject":
461        return org.hl7.fhir.dstu3.model.ResearchSubject.class.getSimpleName();
462      case "RiskAssessment":
463        return org.hl7.fhir.dstu3.model.RiskAssessment.class.getSimpleName();
464      case "Schedule":
465        return org.hl7.fhir.dstu3.model.Schedule.class.getSimpleName();
466      case "SearchParameter":
467        return org.hl7.fhir.dstu3.model.SearchParameter.class.getSimpleName();
468      case "ServiceRequest":
469        return org.hl7.fhir.dstu3.model.ProcedureRequest.class.getSimpleName();
470      // case "ServiceRequest" : return org.hl7.fhir.dstu3.model.ReferralRequest.class.getSimpleName();
471      case "Slot":
472        return org.hl7.fhir.dstu3.model.Slot.class.getSimpleName();
473      case "Specimen":
474        return org.hl7.fhir.dstu3.model.Specimen.class.getSimpleName();
475      case "SpecimenDefinition":
476        return null;
477      case "StructureDefinition":
478        return org.hl7.fhir.dstu3.model.StructureDefinition.class.getSimpleName();
479      // case "StructureDefinition" : return org.hl7.fhir.dstu3.model.DataElement.class.getSimpleName();
480      case "StructureMap":
481        return org.hl7.fhir.dstu3.model.StructureMap.class.getSimpleName();
482      case "Subscription":
483        return org.hl7.fhir.dstu3.model.Subscription.class.getSimpleName();
484      case "Substance":
485        return org.hl7.fhir.dstu3.model.Substance.class.getSimpleName();
486      case "SubstancePolymer":
487        return null;
488      case "SubstanceReferenceInformation":
489        return null;
490      case "SupplyDelivery":
491        return org.hl7.fhir.dstu3.model.SupplyDelivery.class.getSimpleName();
492      case "SupplyRequest":
493        return org.hl7.fhir.dstu3.model.SupplyRequest.class.getSimpleName();
494      case "Task":
495        return org.hl7.fhir.dstu3.model.Task.class.getSimpleName();
496      case "TerminologyCapabilities":
497        return null;
498      case "TestReport":
499        return org.hl7.fhir.dstu3.model.TestReport.class.getSimpleName();
500      case "TestScript":
501        return org.hl7.fhir.dstu3.model.TestScript.class.getSimpleName();
502      case "ValueSet":
503        return org.hl7.fhir.dstu3.model.ValueSet.class.getSimpleName();
504      case "VerificationResult":
505        return null;
506      case "VisionPrescription":
507        return org.hl7.fhir.dstu3.model.VisionPrescription.class.getSimpleName();
508      default:
509        return null;
510    }
511  }
512
513
514  public static String mapName3to4(String name) {
515    if (Utilities.noString(name)) {
516      return null;
517    }
518    switch (name) {
519      case "Account":
520        return org.hl7.fhir.r4.model.Account.class.getSimpleName();
521      case "ActivityDefinition":
522        return org.hl7.fhir.r4.model.ActivityDefinition.class.getSimpleName();
523      case "AdverseEvent":
524        return org.hl7.fhir.r4.model.AdverseEvent.class.getSimpleName();
525      case "AllergyIntolerance":
526        return org.hl7.fhir.r4.model.AllergyIntolerance.class.getSimpleName();
527      case "Appointment":
528        return org.hl7.fhir.r4.model.Appointment.class.getSimpleName();
529      case "AppointmentResponse":
530        return org.hl7.fhir.r4.model.AppointmentResponse.class.getSimpleName();
531      case "AuditEvent":
532        return org.hl7.fhir.r4.model.AuditEvent.class.getSimpleName();
533      case "Basic":
534        return org.hl7.fhir.r4.model.Basic.class.getSimpleName();
535      case "Binary":
536        return org.hl7.fhir.r4.model.Binary.class.getSimpleName();
537      case "BodySite":
538        return org.hl7.fhir.r4.model.BodyStructure.class.getSimpleName();
539      case "Bundle":
540        return org.hl7.fhir.r4.model.Bundle.class.getSimpleName();
541      case "CapabilityStatement":
542        return org.hl7.fhir.r4.model.CapabilityStatement.class.getSimpleName();
543      case "CarePlan":
544        return org.hl7.fhir.r4.model.CarePlan.class.getSimpleName();
545      case "CareTeam":
546        return org.hl7.fhir.r4.model.CareTeam.class.getSimpleName();
547      case "ChargeItem":
548        return org.hl7.fhir.r4.model.ChargeItem.class.getSimpleName();
549      case "Claim":
550        return org.hl7.fhir.r4.model.Claim.class.getSimpleName();
551      case "ClaimResponse":
552        return org.hl7.fhir.r4.model.ClaimResponse.class.getSimpleName();
553      case "ClinicalImpression":
554        return org.hl7.fhir.r4.model.ClinicalImpression.class.getSimpleName();
555      case "CodeSystem":
556        return org.hl7.fhir.r4.model.CodeSystem.class.getSimpleName();
557      case "Communication":
558        return org.hl7.fhir.r4.model.Communication.class.getSimpleName();
559      case "CommunicationRequest":
560        return org.hl7.fhir.r4.model.CommunicationRequest.class.getSimpleName();
561      case "CompartmentDefinition":
562        return org.hl7.fhir.r4.model.CompartmentDefinition.class.getSimpleName();
563      case "Composition":
564        return org.hl7.fhir.r4.model.Composition.class.getSimpleName();
565      case "ConceptMap":
566        return org.hl7.fhir.r4.model.ConceptMap.class.getSimpleName();
567      case "Condition":
568        return org.hl7.fhir.r4.model.Condition.class.getSimpleName();
569      case "Consent":
570        return org.hl7.fhir.r4.model.Consent.class.getSimpleName();
571      case "Contract":
572        return org.hl7.fhir.r4.model.Contract.class.getSimpleName();
573      case "Coverage":
574        return org.hl7.fhir.r4.model.Coverage.class.getSimpleName();
575      case "DataElement":
576        return org.hl7.fhir.r4.model.StructureDefinition.class.getSimpleName();
577      case "EligibilityRequest":
578        return org.hl7.fhir.r4.model.CoverageEligibilityRequest.class.getSimpleName();
579      case "EligibilityResponse":
580        return org.hl7.fhir.r4.model.CoverageEligibilityResponse.class.getSimpleName();
581      case "DetectedIssue":
582        return org.hl7.fhir.r4.model.DetectedIssue.class.getSimpleName();
583      case "Device":
584        return org.hl7.fhir.r4.model.Device.class.getSimpleName();
585      case "DeviceComponent":
586        return null;
587      case "DeviceMetric":
588        return null;
589      case "DeviceRequest":
590        return org.hl7.fhir.r4.model.DeviceRequest.class.getSimpleName();
591      case "DeviceUseStatement":
592        return org.hl7.fhir.r4.model.DeviceUseStatement.class.getSimpleName();
593      case "DiagnosticReport":
594        return org.hl7.fhir.r4.model.DiagnosticReport.class.getSimpleName();
595      case "DocumentManifest":
596        return org.hl7.fhir.r4.model.DocumentManifest.class.getSimpleName();
597      case "DocumentReference":
598        return org.hl7.fhir.r4.model.DocumentReference.class.getSimpleName();
599      case "Encounter":
600        return org.hl7.fhir.r4.model.Encounter.class.getSimpleName();
601      case "Endpoint":
602        return org.hl7.fhir.r4.model.Endpoint.class.getSimpleName();
603      case "EnrollmentRequest":
604        return org.hl7.fhir.r4.model.EnrollmentRequest.class.getSimpleName();
605      case "EnrollmentResponse":
606        return org.hl7.fhir.r4.model.EnrollmentResponse.class.getSimpleName();
607      case "EpisodeOfCare":
608        return org.hl7.fhir.r4.model.EpisodeOfCare.class.getSimpleName();
609      case "ExpansionProfile":
610        return org.hl7.fhir.r4.model.Parameters.class.getSimpleName();
611      case "ExplanationOfBenefit":
612        return org.hl7.fhir.r4.model.ExplanationOfBenefit.class.getSimpleName();
613      case "FamilyMemberHistory":
614        return org.hl7.fhir.r4.model.FamilyMemberHistory.class.getSimpleName();
615      case "Flag":
616        return org.hl7.fhir.r4.model.Flag.class.getSimpleName();
617      case "Goal":
618        return org.hl7.fhir.r4.model.Goal.class.getSimpleName();
619      case "GraphDefinition":
620        return org.hl7.fhir.r4.model.GraphDefinition.class.getSimpleName();
621      case "Group":
622        return org.hl7.fhir.r4.model.Group.class.getSimpleName();
623      case "GuidanceResponse":
624        return org.hl7.fhir.r4.model.GuidanceResponse.class.getSimpleName();
625      case "HealthcareService":
626        return org.hl7.fhir.r4.model.HealthcareService.class.getSimpleName();
627      case "ImagingManifest":
628        return null;
629      case "ImagingStudy":
630        return org.hl7.fhir.r4.model.ImagingStudy.class.getSimpleName();
631      case "Immunization":
632        return org.hl7.fhir.r4.model.Immunization.class.getSimpleName();
633      case "ImmunizationRecommendation":
634        return org.hl7.fhir.r4.model.ImmunizationRecommendation.class.getSimpleName();
635      case "ImplementationGuide":
636        return org.hl7.fhir.r4.model.ImplementationGuide.class.getSimpleName();
637      case "Library":
638        return org.hl7.fhir.r4.model.Library.class.getSimpleName();
639      case "Linkage":
640        return org.hl7.fhir.r4.model.Linkage.class.getSimpleName();
641      case "List":
642        return org.hl7.fhir.r4.model.ListResource.class.getSimpleName();
643      case "Location":
644        return org.hl7.fhir.r4.model.Location.class.getSimpleName();
645      case "Measure":
646        return org.hl7.fhir.r4.model.Measure.class.getSimpleName();
647      case "MeasureReport":
648        return org.hl7.fhir.r4.model.MeasureReport.class.getSimpleName();
649      case "Media":
650        return org.hl7.fhir.r4.model.Media.class.getSimpleName();
651      case "Medication":
652        return org.hl7.fhir.r4.model.Medication.class.getSimpleName();
653      case "MedicationAdministration":
654        return org.hl7.fhir.r4.model.MedicationAdministration.class.getSimpleName();
655      case "MedicationDispense":
656        return org.hl7.fhir.r4.model.MedicationDispense.class.getSimpleName();
657      case "MedicationRequest":
658        return org.hl7.fhir.r4.model.MedicationRequest.class.getSimpleName();
659      case "MedicationStatement":
660        return org.hl7.fhir.r4.model.MedicationStatement.class.getSimpleName();
661      case "MessageDefinition":
662        return org.hl7.fhir.r4.model.MessageDefinition.class.getSimpleName();
663      case "MessageHeader":
664        return org.hl7.fhir.r4.model.MessageHeader.class.getSimpleName();
665      case "Sequence":
666        return org.hl7.fhir.r4.model.MolecularSequence.class.getSimpleName();
667      case "NamingSystem":
668        return org.hl7.fhir.r4.model.NamingSystem.class.getSimpleName();
669      case "NutritionOrder":
670        return org.hl7.fhir.r4.model.NutritionOrder.class.getSimpleName();
671      case "Observation":
672        return org.hl7.fhir.r4.model.Observation.class.getSimpleName();
673      case "OperationDefinition":
674        return org.hl7.fhir.r4.model.OperationDefinition.class.getSimpleName();
675      case "OperationOutcome":
676        return org.hl7.fhir.r4.model.OperationOutcome.class.getSimpleName();
677      case "Organization":
678        return org.hl7.fhir.r4.model.Organization.class.getSimpleName();
679      case "Parameters":
680        return org.hl7.fhir.r4.model.Parameters.class.getSimpleName();
681      case "Patient":
682        return org.hl7.fhir.r4.model.Patient.class.getSimpleName();
683      case "PaymentNotice":
684        return org.hl7.fhir.r4.model.PaymentNotice.class.getSimpleName();
685      case "PaymentReconciliation":
686        return org.hl7.fhir.r4.model.PaymentReconciliation.class.getSimpleName();
687      case "Person":
688        return org.hl7.fhir.r4.model.Person.class.getSimpleName();
689      case "PlanDefinition":
690        return org.hl7.fhir.r4.model.PlanDefinition.class.getSimpleName();
691      case "Practitioner":
692        return org.hl7.fhir.r4.model.Practitioner.class.getSimpleName();
693      case "PractitionerRole":
694        return org.hl7.fhir.r4.model.PractitionerRole.class.getSimpleName();
695      case "Procedure":
696        return org.hl7.fhir.r4.model.Procedure.class.getSimpleName();
697      case "ProcessRequest":
698        return org.hl7.fhir.r4.model.Task.class.getSimpleName();
699      case "ProcessResponse":
700        return org.hl7.fhir.r4.model.Task.class.getSimpleName();
701      case "Provenance":
702        return org.hl7.fhir.r4.model.Provenance.class.getSimpleName();
703      case "Questionnaire":
704        return org.hl7.fhir.r4.model.Questionnaire.class.getSimpleName();
705      case "QuestionnaireResponse":
706        return org.hl7.fhir.r4.model.QuestionnaireResponse.class.getSimpleName();
707      case "ReferralRequest":
708        return org.hl7.fhir.r4.model.ServiceRequest.class.getSimpleName();
709      case "RelatedPerson":
710        return org.hl7.fhir.r4.model.RelatedPerson.class.getSimpleName();
711      case "RequestGroup":
712        return org.hl7.fhir.r4.model.RequestGroup.class.getSimpleName();
713      case "ResearchStudy":
714        return org.hl7.fhir.r4.model.ResearchStudy.class.getSimpleName();
715      case "ResearchSubject":
716        return org.hl7.fhir.r4.model.ResearchSubject.class.getSimpleName();
717      case "RiskAssessment":
718        return org.hl7.fhir.r4.model.RiskAssessment.class.getSimpleName();
719      case "Schedule":
720        return org.hl7.fhir.r4.model.Schedule.class.getSimpleName();
721      case "SearchParameter":
722        return org.hl7.fhir.r4.model.SearchParameter.class.getSimpleName();
723      case "ServiceDefinition":
724        return null;
725      case "ProcedureRequest":
726        return org.hl7.fhir.r4.model.ServiceRequest.class.getSimpleName();
727      case "Slot":
728        return org.hl7.fhir.r4.model.Slot.class.getSimpleName();
729      case "Specimen":
730        return org.hl7.fhir.r4.model.Specimen.class.getSimpleName();
731      case "StructureDefinition":
732        return org.hl7.fhir.r4.model.StructureDefinition.class.getSimpleName();
733      case "StructureMap":
734        return org.hl7.fhir.r4.model.StructureMap.class.getSimpleName();
735      case "Subscription":
736        return org.hl7.fhir.r4.model.Subscription.class.getSimpleName();
737      case "Substance":
738        return org.hl7.fhir.r4.model.Substance.class.getSimpleName();
739      case "SupplyDelivery":
740        return org.hl7.fhir.r4.model.SupplyDelivery.class.getSimpleName();
741      case "SupplyRequest":
742        return org.hl7.fhir.r4.model.SupplyRequest.class.getSimpleName();
743      case "Task":
744        return org.hl7.fhir.r4.model.Task.class.getSimpleName();
745      case "TestReport":
746        return org.hl7.fhir.r4.model.TestReport.class.getSimpleName();
747      case "TestScript":
748        return org.hl7.fhir.r4.model.TestScript.class.getSimpleName();
749      case "ValueSet":
750        return org.hl7.fhir.r4.model.ValueSet.class.getSimpleName();
751      case "VisionPrescription":
752        return org.hl7.fhir.r4.model.VisionPrescription.class.getSimpleName();
753      default:
754        return null;
755    }
756  }
757
758  public static String mapName4to3(String name) {
759    if (Utilities.noString(name)) {
760      return null;
761    }
762    switch (name) {
763      case "Account":
764        return org.hl7.fhir.dstu3.model.Account.class.getSimpleName();
765      case "ActivityDefinition":
766        return org.hl7.fhir.dstu3.model.ActivityDefinition.class.getSimpleName();
767      case "AdverseEvent":
768        return org.hl7.fhir.dstu3.model.AdverseEvent.class.getSimpleName();
769      case "AllergyIntolerance":
770        return org.hl7.fhir.dstu3.model.AllergyIntolerance.class.getSimpleName();
771      case "Appointment":
772        return org.hl7.fhir.dstu3.model.Appointment.class.getSimpleName();
773      case "AppointmentResponse":
774        return org.hl7.fhir.dstu3.model.AppointmentResponse.class.getSimpleName();
775      case "AuditEvent":
776        return org.hl7.fhir.dstu3.model.AuditEvent.class.getSimpleName();
777      case "Basic":
778        return org.hl7.fhir.dstu3.model.Basic.class.getSimpleName();
779      case "Binary":
780        return org.hl7.fhir.dstu3.model.Binary.class.getSimpleName();
781      case "BiologicallyDerivedProduct":
782        return null;
783      case "BodyStructure":
784        return org.hl7.fhir.dstu3.model.BodySite.class.getSimpleName();
785      case "Bundle":
786        return org.hl7.fhir.dstu3.model.Bundle.class.getSimpleName();
787      case "CapabilityStatement":
788        return org.hl7.fhir.dstu3.model.CapabilityStatement.class.getSimpleName();
789      case "CarePlan":
790        return org.hl7.fhir.dstu3.model.CarePlan.class.getSimpleName();
791      case "CareTeam":
792        return org.hl7.fhir.dstu3.model.CareTeam.class.getSimpleName();
793      case "CatalogEntry":
794        return null;
795      case "ChargeItem":
796        return org.hl7.fhir.dstu3.model.ChargeItem.class.getSimpleName();
797      case "ChargeItemDefinition":
798        return null;
799      case "Claim":
800        return org.hl7.fhir.dstu3.model.Claim.class.getSimpleName();
801      case "ClaimResponse":
802        return org.hl7.fhir.dstu3.model.ClaimResponse.class.getSimpleName();
803      case "ClinicalImpression":
804        return org.hl7.fhir.dstu3.model.ClinicalImpression.class.getSimpleName();
805      case "CodeSystem":
806        return org.hl7.fhir.dstu3.model.CodeSystem.class.getSimpleName();
807      case "Communication":
808        return org.hl7.fhir.dstu3.model.Communication.class.getSimpleName();
809      case "CommunicationRequest":
810        return org.hl7.fhir.dstu3.model.CommunicationRequest.class.getSimpleName();
811      case "CompartmentDefinition":
812        return org.hl7.fhir.dstu3.model.CompartmentDefinition.class.getSimpleName();
813      case "Composition":
814        return org.hl7.fhir.dstu3.model.Composition.class.getSimpleName();
815      case "ConceptMap":
816        return org.hl7.fhir.dstu3.model.ConceptMap.class.getSimpleName();
817      case "Condition":
818        return org.hl7.fhir.dstu3.model.Condition.class.getSimpleName();
819      case "Consent":
820        return org.hl7.fhir.dstu3.model.Consent.class.getSimpleName();
821      case "Contract":
822        return org.hl7.fhir.dstu3.model.Contract.class.getSimpleName();
823      case "Coverage":
824        return org.hl7.fhir.dstu3.model.Coverage.class.getSimpleName();
825      case "CoverageEligibilityRequest":
826        return org.hl7.fhir.dstu3.model.EligibilityRequest.class.getSimpleName();
827      case "CoverageEligibilityResponse":
828        return org.hl7.fhir.dstu3.model.EligibilityResponse.class.getSimpleName();
829      case "DetectedIssue":
830        return org.hl7.fhir.dstu3.model.DetectedIssue.class.getSimpleName();
831      case "Device":
832        return org.hl7.fhir.dstu3.model.Device.class.getSimpleName();
833      case "DeviceDefinition":
834        return null;
835      case "DeviceMetric":
836        return org.hl7.fhir.dstu3.model.DeviceMetric.class.getSimpleName();
837      case "DeviceRequest":
838        return org.hl7.fhir.dstu3.model.DeviceRequest.class.getSimpleName();
839      case "DeviceUseStatement":
840        return org.hl7.fhir.dstu3.model.DeviceUseStatement.class.getSimpleName();
841      case "DiagnosticReport":
842        return org.hl7.fhir.dstu3.model.DiagnosticReport.class.getSimpleName();
843      case "DocumentManifest":
844        return org.hl7.fhir.dstu3.model.DocumentManifest.class.getSimpleName();
845      case "DocumentReference":
846        return org.hl7.fhir.dstu3.model.DocumentReference.class.getSimpleName();
847      case "EffectEvidenceSynthesis":
848        return null;
849      case "Encounter":
850        return org.hl7.fhir.dstu3.model.Encounter.class.getSimpleName();
851      case "Endpoint":
852        return org.hl7.fhir.dstu3.model.Endpoint.class.getSimpleName();
853      case "EnrollmentRequest":
854        return org.hl7.fhir.dstu3.model.EnrollmentRequest.class.getSimpleName();
855      case "EnrollmentResponse":
856        return org.hl7.fhir.dstu3.model.EnrollmentResponse.class.getSimpleName();
857      case "EpisodeOfCare":
858        return org.hl7.fhir.dstu3.model.EpisodeOfCare.class.getSimpleName();
859      case "EventDefinition":
860        return null;
861      case "ExampleScenario":
862        return null;
863      case "ExplanationOfBenefit":
864        return org.hl7.fhir.dstu3.model.ExplanationOfBenefit.class.getSimpleName();
865      case "FamilyMemberHistory":
866        return org.hl7.fhir.dstu3.model.FamilyMemberHistory.class.getSimpleName();
867      case "Flag":
868        return org.hl7.fhir.dstu3.model.Flag.class.getSimpleName();
869      case "Goal":
870        return org.hl7.fhir.dstu3.model.Goal.class.getSimpleName();
871      case "GraphDefinition":
872        return org.hl7.fhir.dstu3.model.GraphDefinition.class.getSimpleName();
873      case "Group":
874        return org.hl7.fhir.dstu3.model.Group.class.getSimpleName();
875      case "GuidanceResponse":
876        return org.hl7.fhir.dstu3.model.GuidanceResponse.class.getSimpleName();
877      case "HealthcareService":
878        return org.hl7.fhir.dstu3.model.HealthcareService.class.getSimpleName();
879      case "ImagingStudy":
880        return org.hl7.fhir.dstu3.model.ImagingStudy.class.getSimpleName();
881      case "Immunization":
882        return org.hl7.fhir.dstu3.model.Immunization.class.getSimpleName();
883      case "ImmunizationEvaluation":
884        return null;
885      case "ImmunizationRecommendation":
886        return org.hl7.fhir.dstu3.model.ImmunizationRecommendation.class.getSimpleName();
887      case "ImplementationGuide":
888        return org.hl7.fhir.dstu3.model.ImplementationGuide.class.getSimpleName();
889      case "InsurancePlan":
890        return null;
891      case "Invoice":
892        return null;
893      case "Library":
894        return org.hl7.fhir.dstu3.model.Library.class.getSimpleName();
895      case "Linkage":
896        return org.hl7.fhir.dstu3.model.Linkage.class.getSimpleName();
897      case "List":
898        return org.hl7.fhir.dstu3.model.ListResource.class.getSimpleName();
899      case "Location":
900        return org.hl7.fhir.dstu3.model.Location.class.getSimpleName();
901      case "Measure":
902        return org.hl7.fhir.dstu3.model.Measure.class.getSimpleName();
903      case "MeasureReport":
904        return org.hl7.fhir.dstu3.model.MeasureReport.class.getSimpleName();
905      case "Media":
906        return org.hl7.fhir.dstu3.model.Media.class.getSimpleName();
907      case "Medication":
908        return org.hl7.fhir.dstu3.model.Medication.class.getSimpleName();
909      case "MedicationAdministration":
910        return org.hl7.fhir.dstu3.model.MedicationAdministration.class.getSimpleName();
911      case "MedicationDispense":
912        return org.hl7.fhir.dstu3.model.MedicationDispense.class.getSimpleName();
913      case "MedicationKnowledge":
914        return null;
915      case "MedicationRequest":
916        return org.hl7.fhir.dstu3.model.MedicationRequest.class.getSimpleName();
917      case "MedicationStatement":
918        return org.hl7.fhir.dstu3.model.MedicationStatement.class.getSimpleName();
919      case "MedicinalProduct":
920        return null;
921      case "MedicinalProductAuthorization":
922        return null;
923      case "MedicinalProductContraindication":
924        return null;
925      case "MedicinalProductIndication":
926        return null;
927      case "MedicinalProductIngredient":
928        return null;
929      case "MedicinalProductInteraction":
930        return null;
931      case "MedicinalProductManufactured":
932        return null;
933      case "MedicinalProductPackaged":
934        return null;
935      case "MedicinalProductPharmaceutical":
936        return null;
937      case "MedicinalProductUndesirableEffect":
938        return null;
939      case "MessageDefinition":
940        return org.hl7.fhir.dstu3.model.MessageDefinition.class.getSimpleName();
941      case "MessageHeader":
942        return org.hl7.fhir.dstu3.model.MessageHeader.class.getSimpleName();
943      case "MolecularSequence":
944        return org.hl7.fhir.dstu3.model.Sequence.class.getSimpleName();
945      case "NamingSystem":
946        return org.hl7.fhir.dstu3.model.NamingSystem.class.getSimpleName();
947      case "NutritionOrder":
948        return org.hl7.fhir.dstu3.model.NutritionOrder.class.getSimpleName();
949      case "Observation":
950        return org.hl7.fhir.dstu3.model.Observation.class.getSimpleName();
951      case "ObservationDefinition":
952        return null;
953      case "OperationDefinition":
954        return org.hl7.fhir.dstu3.model.OperationDefinition.class.getSimpleName();
955      case "OperationOutcome":
956        return org.hl7.fhir.dstu3.model.OperationOutcome.class.getSimpleName();
957      case "Organization":
958        return org.hl7.fhir.dstu3.model.Organization.class.getSimpleName();
959      case "OrganizationAffiliation":
960        return null;
961      case "Parameters":
962        return org.hl7.fhir.dstu3.model.Parameters.class.getSimpleName();
963      case "Patient":
964        return org.hl7.fhir.dstu3.model.Patient.class.getSimpleName();
965      case "PaymentNotice":
966        return org.hl7.fhir.dstu3.model.PaymentNotice.class.getSimpleName();
967      case "PaymentReconciliation":
968        return org.hl7.fhir.dstu3.model.PaymentReconciliation.class.getSimpleName();
969      case "Person":
970        return org.hl7.fhir.dstu3.model.Person.class.getSimpleName();
971      case "PlanDefinition":
972        return org.hl7.fhir.dstu3.model.PlanDefinition.class.getSimpleName();
973      case "Practitioner":
974        return org.hl7.fhir.dstu3.model.Practitioner.class.getSimpleName();
975      case "PractitionerRole":
976        return org.hl7.fhir.dstu3.model.PractitionerRole.class.getSimpleName();
977      case "Procedure":
978        return org.hl7.fhir.dstu3.model.Procedure.class.getSimpleName();
979      case "Provenance":
980        return org.hl7.fhir.dstu3.model.Provenance.class.getSimpleName();
981      case "Questionnaire":
982        return org.hl7.fhir.dstu3.model.Questionnaire.class.getSimpleName();
983      case "QuestionnaireResponse":
984        return org.hl7.fhir.dstu3.model.QuestionnaireResponse.class.getSimpleName();
985      case "RelatedPerson":
986        return org.hl7.fhir.dstu3.model.RelatedPerson.class.getSimpleName();
987      case "RequestGroup":
988        return org.hl7.fhir.dstu3.model.RequestGroup.class.getSimpleName();
989      case "ResearchStudy":
990        return org.hl7.fhir.dstu3.model.ResearchStudy.class.getSimpleName();
991      case "ResearchSubject":
992        return org.hl7.fhir.dstu3.model.ResearchSubject.class.getSimpleName();
993      case "RiskAssessment":
994        return org.hl7.fhir.dstu3.model.RiskAssessment.class.getSimpleName();
995      case "Schedule":
996        return org.hl7.fhir.dstu3.model.Schedule.class.getSimpleName();
997      case "SearchParameter":
998        return org.hl7.fhir.dstu3.model.SearchParameter.class.getSimpleName();
999      case "ServiceRequest":
1000        return org.hl7.fhir.dstu3.model.ProcedureRequest.class.getSimpleName();
1001//    case "ServiceRequest" : return org.hl7.fhir.dstu3.model.ReferralRequest.class.getSimpleName(); 
1002      case "Slot":
1003        return org.hl7.fhir.dstu3.model.Slot.class.getSimpleName();
1004      case "Specimen":
1005        return org.hl7.fhir.dstu3.model.Specimen.class.getSimpleName();
1006      case "SpecimenDefinition":
1007        return null;
1008      case "StructureDefinition":
1009        return org.hl7.fhir.dstu3.model.StructureDefinition.class.getSimpleName();
1010//    case "StructureDefinition" : return org.hl7.fhir.dstu3.model.DataElement.class.getSimpleName(); 
1011      case "StructureMap":
1012        return org.hl7.fhir.dstu3.model.StructureMap.class.getSimpleName();
1013      case "Subscription":
1014        return org.hl7.fhir.dstu3.model.Subscription.class.getSimpleName();
1015      case "Substance":
1016        return org.hl7.fhir.dstu3.model.Substance.class.getSimpleName();
1017      case "SubstancePolymer":
1018        return null;
1019      case "SubstanceReferenceInformation":
1020        return null;
1021      case "SubstanceSpecification":
1022        return null;
1023      case "SupplyDelivery":
1024        return org.hl7.fhir.dstu3.model.SupplyDelivery.class.getSimpleName();
1025      case "SupplyRequest":
1026        return org.hl7.fhir.dstu3.model.SupplyRequest.class.getSimpleName();
1027      case "Task":
1028        return org.hl7.fhir.dstu3.model.Task.class.getSimpleName();
1029      case "TerminologyCapabilities":
1030        return null;
1031      case "TestReport":
1032        return org.hl7.fhir.dstu3.model.TestReport.class.getSimpleName();
1033      case "TestScript":
1034        return org.hl7.fhir.dstu3.model.TestScript.class.getSimpleName();
1035      case "ValueSet":
1036        return org.hl7.fhir.dstu3.model.ValueSet.class.getSimpleName();
1037      case "VerificationResult":
1038        return null;
1039      case "VisionPrescription":
1040        return org.hl7.fhir.dstu3.model.VisionPrescription.class.getSimpleName();
1041      default:
1042        return null;
1043    }
1044  }
1045
1046  public static String mapName2to3(String name) {
1047    if (Utilities.noString(name)) {
1048      return null;
1049    }
1050    switch (name) {
1051      case "AllergyIntolerance":
1052        return org.hl7.fhir.dstu3.model.AllergyIntolerance.class.getSimpleName();
1053      case "Appointment":
1054        return org.hl7.fhir.dstu3.model.Appointment.class.getSimpleName();
1055      case "AppointmentResponse":
1056        return org.hl7.fhir.dstu3.model.AppointmentResponse.class.getSimpleName();
1057      case "AuditEvent":
1058        return org.hl7.fhir.dstu3.model.AuditEvent.class.getSimpleName();
1059      case "Basic":
1060        return org.hl7.fhir.dstu3.model.Basic.class.getSimpleName();
1061      case "Binary":
1062        return org.hl7.fhir.dstu3.model.Binary.class.getSimpleName();
1063      case "BodySite":
1064        return org.hl7.fhir.dstu3.model.BodySite.class.getSimpleName();
1065      case "Bundle":
1066        return org.hl7.fhir.dstu3.model.Bundle.class.getSimpleName();
1067      case "Conformance":
1068        return org.hl7.fhir.dstu3.model.CapabilityStatement.class.getSimpleName();
1069      case "CarePlan":
1070        return org.hl7.fhir.dstu3.model.CarePlan.class.getSimpleName();
1071      case "Claim":
1072        return org.hl7.fhir.dstu3.model.Claim.class.getSimpleName();
1073      case "ClaimResponse":
1074        return org.hl7.fhir.dstu3.model.ClaimResponse.class.getSimpleName();
1075      case "ClinicalImpression":
1076        return org.hl7.fhir.dstu3.model.ClinicalImpression.class.getSimpleName();
1077      case "Communication":
1078        return org.hl7.fhir.dstu3.model.Communication.class.getSimpleName();
1079      case "CommunicationRequest":
1080        return org.hl7.fhir.dstu3.model.CommunicationRequest.class.getSimpleName();
1081      case "Composition":
1082        return org.hl7.fhir.dstu3.model.Composition.class.getSimpleName();
1083      case "ConceptMap":
1084        return org.hl7.fhir.dstu3.model.ConceptMap.class.getSimpleName();
1085      case "Condition":
1086        return org.hl7.fhir.dstu3.model.Condition.class.getSimpleName();
1087      case "Contract":
1088        return org.hl7.fhir.dstu3.model.Contract.class.getSimpleName();
1089      case "Coverage":
1090        return org.hl7.fhir.dstu3.model.Coverage.class.getSimpleName();
1091      case "DataElement":
1092        return org.hl7.fhir.dstu3.model.DataElement.class.getSimpleName();
1093      case "EligibilityRequest":
1094        return org.hl7.fhir.dstu3.model.EligibilityRequest.class.getSimpleName();
1095      case "EligibilityResponse":
1096        return org.hl7.fhir.dstu3.model.EligibilityResponse.class.getSimpleName();
1097      case "DetectedIssue":
1098        return org.hl7.fhir.dstu3.model.DetectedIssue.class.getSimpleName();
1099      case "Device":
1100        return org.hl7.fhir.dstu3.model.Device.class.getSimpleName();
1101      case "DeviceComponent":
1102        return org.hl7.fhir.dstu3.model.DeviceComponent.class.getSimpleName();
1103      case "DeviceMetric":
1104        return org.hl7.fhir.dstu3.model.DeviceMetric.class.getSimpleName();
1105      case "DeviceUseRequest":
1106        return org.hl7.fhir.dstu3.model.DeviceRequest.class.getSimpleName();
1107      case "DeviceUseStatement":
1108        return org.hl7.fhir.dstu3.model.DeviceUseStatement.class.getSimpleName();
1109      case "DiagnosticOrder":
1110        return org.hl7.fhir.dstu3.model.ProcedureRequest.class.getSimpleName();
1111      case "DiagnosticReport":
1112        return org.hl7.fhir.dstu3.model.DiagnosticReport.class.getSimpleName();
1113      case "DocumentManifest":
1114        return org.hl7.fhir.dstu3.model.DocumentManifest.class.getSimpleName();
1115      case "DocumentReference":
1116        return org.hl7.fhir.dstu3.model.DocumentReference.class.getSimpleName();
1117      case "Encounter":
1118        return org.hl7.fhir.dstu3.model.Encounter.class.getSimpleName();
1119      case "EnrollmentRequest":
1120        return org.hl7.fhir.dstu3.model.EnrollmentRequest.class.getSimpleName();
1121      case "EnrollmentResponse":
1122        return org.hl7.fhir.dstu3.model.EnrollmentResponse.class.getSimpleName();
1123      case "EpisodeOfCare":
1124        return org.hl7.fhir.dstu3.model.EpisodeOfCare.class.getSimpleName();
1125      case "ExplanationOfBenefit":
1126        return org.hl7.fhir.dstu3.model.ExplanationOfBenefit.class.getSimpleName();
1127      case "FamilyMemberHistory":
1128        return org.hl7.fhir.dstu3.model.FamilyMemberHistory.class.getSimpleName();
1129      case "Flag":
1130        return org.hl7.fhir.dstu3.model.Flag.class.getSimpleName();
1131      case "Goal":
1132        return org.hl7.fhir.dstu3.model.Goal.class.getSimpleName();
1133      case "Group":
1134        return org.hl7.fhir.dstu3.model.Group.class.getSimpleName();
1135      case "HealthcareService":
1136        return org.hl7.fhir.dstu3.model.HealthcareService.class.getSimpleName();
1137      case "ImagingObjectSelection":
1138        return null;  // != ImagingManifest
1139      case "ImagingStudy":
1140        return org.hl7.fhir.dstu3.model.ImagingStudy.class.getSimpleName();
1141      case "Immunization":
1142        return org.hl7.fhir.dstu3.model.Immunization.class.getSimpleName();
1143      case "ImmunizationRecommendation":
1144        return org.hl7.fhir.dstu3.model.ImmunizationRecommendation.class.getSimpleName();
1145      case "ImplementationGuide":
1146        return org.hl7.fhir.dstu3.model.ImplementationGuide.class.getSimpleName();
1147      case "List":
1148        return org.hl7.fhir.dstu3.model.ListResource.class.getSimpleName();
1149      case "Location":
1150        return org.hl7.fhir.dstu3.model.Location.class.getSimpleName();
1151      case "Media":
1152        return org.hl7.fhir.dstu3.model.Media.class.getSimpleName();
1153      case "Medication":
1154        return org.hl7.fhir.dstu3.model.Medication.class.getSimpleName();
1155      case "MedicationAdministration":
1156        return org.hl7.fhir.dstu3.model.MedicationAdministration.class.getSimpleName();
1157      case "MedicationDispense":
1158        return org.hl7.fhir.dstu3.model.MedicationDispense.class.getSimpleName();
1159      case "MedicationOrder":
1160        return org.hl7.fhir.dstu3.model.MedicationRequest.class.getSimpleName();
1161      case "MedicationStatement":
1162        return org.hl7.fhir.dstu3.model.MedicationStatement.class.getSimpleName();
1163      case "MessageHeader":
1164        return org.hl7.fhir.dstu3.model.MessageHeader.class.getSimpleName();
1165      case "NamingSystem":
1166        return org.hl7.fhir.dstu3.model.NamingSystem.class.getSimpleName();
1167      case "NutritionOrder":
1168        return org.hl7.fhir.dstu3.model.NutritionOrder.class.getSimpleName();
1169      case "Observation":
1170        return org.hl7.fhir.dstu3.model.Observation.class.getSimpleName();
1171      case "OperationDefinition":
1172        return org.hl7.fhir.dstu3.model.OperationDefinition.class.getSimpleName();
1173      case "OperationOutcome":
1174        return org.hl7.fhir.dstu3.model.OperationOutcome.class.getSimpleName();
1175      case "Order":
1176        return org.hl7.fhir.dstu3.model.Task.class.getSimpleName();
1177      case "OrderResponse":
1178        return org.hl7.fhir.dstu3.model.Task.class.getSimpleName();
1179      case "Organization":
1180        return org.hl7.fhir.dstu3.model.Organization.class.getSimpleName();
1181      case "Parameters":
1182        return org.hl7.fhir.dstu3.model.Parameters.class.getSimpleName();
1183      case "Patient":
1184        return org.hl7.fhir.dstu3.model.Patient.class.getSimpleName();
1185      case "PaymentNotice":
1186        return org.hl7.fhir.dstu3.model.PaymentNotice.class.getSimpleName();
1187      case "PaymentReconciliation":
1188        return org.hl7.fhir.dstu3.model.PaymentReconciliation.class.getSimpleName();
1189      case "Person":
1190        return org.hl7.fhir.dstu3.model.Person.class.getSimpleName();
1191      case "Practitioner":
1192        return org.hl7.fhir.dstu3.model.Practitioner.class.getSimpleName();
1193      case "Procedure":
1194        return org.hl7.fhir.dstu3.model.Procedure.class.getSimpleName();
1195      case "ProcessRequest":
1196        return org.hl7.fhir.dstu3.model.ProcessRequest.class.getSimpleName();
1197      case "ProcessResponse":
1198        return org.hl7.fhir.dstu3.model.ProcessResponse.class.getSimpleName();
1199      case "Provenance":
1200        return org.hl7.fhir.dstu3.model.Provenance.class.getSimpleName();
1201      case "Questionnaire":
1202        return org.hl7.fhir.dstu3.model.Questionnaire.class.getSimpleName();
1203      case "QuestionnaireResponse":
1204        return org.hl7.fhir.dstu3.model.QuestionnaireResponse.class.getSimpleName();
1205      case "ReferralRequest":
1206        return org.hl7.fhir.dstu3.model.ReferralRequest.class.getSimpleName();
1207      case "RelatedPerson":
1208        return org.hl7.fhir.dstu3.model.RelatedPerson.class.getSimpleName();
1209      case "RiskAssessment":
1210        return org.hl7.fhir.dstu3.model.RiskAssessment.class.getSimpleName();
1211      case "Schedule":
1212        return org.hl7.fhir.dstu3.model.Schedule.class.getSimpleName();
1213      case "SearchParameter":
1214        return org.hl7.fhir.dstu3.model.SearchParameter.class.getSimpleName();
1215      case "ProcedureRequest":
1216        return org.hl7.fhir.dstu3.model.ProcedureRequest.class.getSimpleName();
1217      case "Slot":
1218        return org.hl7.fhir.dstu3.model.Slot.class.getSimpleName();
1219      case "Specimen":
1220        return org.hl7.fhir.dstu3.model.Specimen.class.getSimpleName();
1221      case "StructureDefinition":
1222        return org.hl7.fhir.dstu3.model.StructureDefinition.class.getSimpleName();
1223      case "Subscription":
1224        return org.hl7.fhir.dstu3.model.Subscription.class.getSimpleName();
1225      case "Substance":
1226        return org.hl7.fhir.dstu3.model.Substance.class.getSimpleName();
1227      case "SupplyDelivery":
1228        return org.hl7.fhir.dstu3.model.SupplyDelivery.class.getSimpleName();
1229      case "SupplyRequest":
1230        return org.hl7.fhir.dstu3.model.SupplyRequest.class.getSimpleName();
1231      case "TestScript":
1232        return org.hl7.fhir.dstu3.model.TestScript.class.getSimpleName();
1233      case "ValueSet":
1234        return org.hl7.fhir.dstu3.model.ValueSet.class.getSimpleName();
1235//    case "ValueSet" : return org.hl7.fhir.dstu3.model.CodeSystem.class.getSimpleName(); 
1236      case "VisionPrescription":
1237        return org.hl7.fhir.dstu3.model.VisionPrescription.class.getSimpleName();
1238      default:
1239        return null;
1240    }
1241  }
1242
1243  public static String mapName3to2(String name) {
1244    if (Utilities.noString(name)) {
1245      return null;
1246    }
1247    switch (name) {
1248      case "Account":
1249        return null;
1250      case "ActivityDefinition":
1251        return null;
1252      case "AllergyIntolerance":
1253        return org.hl7.fhir.dstu2.model.AllergyIntolerance.class.getSimpleName();
1254      case "AdverseEvent":
1255        return null;
1256      case "Appointment":
1257        return org.hl7.fhir.dstu2.model.Appointment.class.getSimpleName();
1258      case "AppointmentResponse":
1259        return org.hl7.fhir.dstu2.model.AppointmentResponse.class.getSimpleName();
1260      case "AuditEvent":
1261        return org.hl7.fhir.dstu2.model.AuditEvent.class.getSimpleName();
1262      case "Basic":
1263        return org.hl7.fhir.dstu2.model.Basic.class.getSimpleName();
1264      case "Binary":
1265        return org.hl7.fhir.dstu2.model.Binary.class.getSimpleName();
1266      case "BodySite":
1267        return org.hl7.fhir.dstu2.model.BodySite.class.getSimpleName();
1268      case "Bundle":
1269        return org.hl7.fhir.dstu2.model.Bundle.class.getSimpleName();
1270      case "CapabilityStatement":
1271        return org.hl7.fhir.dstu2.model.Conformance.class.getSimpleName();
1272      case "CarePlan":
1273        return org.hl7.fhir.dstu2.model.CarePlan.class.getSimpleName();
1274      case "CareTeam":
1275        return null;
1276      case "ChargeItem":
1277        return null;
1278      case "Claim":
1279        return org.hl7.fhir.dstu2.model.Claim.class.getSimpleName();
1280      case "ClaimResponse":
1281        return org.hl7.fhir.dstu2.model.ClaimResponse.class.getSimpleName();
1282      case "ClinicalImpression":
1283        return org.hl7.fhir.dstu2.model.ClinicalImpression.class.getSimpleName();
1284      case "CodeSystem":
1285        return org.hl7.fhir.dstu2.model.ValueSet.class.getSimpleName();
1286      case "Communication":
1287        return org.hl7.fhir.dstu2.model.Communication.class.getSimpleName();
1288      case "CommunicationRequest":
1289        return org.hl7.fhir.dstu2.model.CommunicationRequest.class.getSimpleName();
1290      case "CompartmentDefinition":
1291        return null;
1292      case "Composition":
1293        return org.hl7.fhir.dstu2.model.Composition.class.getSimpleName();
1294      case "ConceptMap":
1295        return org.hl7.fhir.dstu2.model.ConceptMap.class.getSimpleName();
1296      case "Condition":
1297        return org.hl7.fhir.dstu2.model.Condition.class.getSimpleName();
1298      case "Consent":
1299        return null;
1300      case "Contract":
1301        return org.hl7.fhir.dstu2.model.Contract.class.getSimpleName();
1302      case "Coverage":
1303        return org.hl7.fhir.dstu2.model.Coverage.class.getSimpleName();
1304      case "DataElement":
1305        return org.hl7.fhir.dstu2.model.DataElement.class.getSimpleName();
1306      case "EligibilityRequest":
1307        return org.hl7.fhir.dstu2.model.EligibilityRequest.class.getSimpleName();
1308      case "EligibilityResponse":
1309        return org.hl7.fhir.dstu2.model.EligibilityResponse.class.getSimpleName();
1310      case "DetectedIssue":
1311        return org.hl7.fhir.dstu2.model.DetectedIssue.class.getSimpleName();
1312      case "Device":
1313        return org.hl7.fhir.dstu2.model.Device.class.getSimpleName();
1314      case "DeviceComponent":
1315        return org.hl7.fhir.dstu2.model.DeviceComponent.class.getSimpleName();
1316      case "DeviceMetric":
1317        return org.hl7.fhir.dstu2.model.DeviceMetric.class.getSimpleName();
1318      case "DeviceRequest":
1319        return org.hl7.fhir.dstu2.model.DeviceUseRequest.class.getSimpleName();
1320      case "DeviceUseStatement":
1321        return org.hl7.fhir.dstu2.model.DeviceUseStatement.class.getSimpleName();
1322//    case "ProcedureRequest" : return org.hl7.fhir.dstu2.model.DiagnosticOrder.class.getSimpleName(); 
1323      case "DiagnosticReport":
1324        return org.hl7.fhir.dstu2.model.DiagnosticReport.class.getSimpleName();
1325      case "DocumentManifest":
1326        return org.hl7.fhir.dstu2.model.DocumentManifest.class.getSimpleName();
1327      case "DocumentReference":
1328        return org.hl7.fhir.dstu2.model.DocumentReference.class.getSimpleName();
1329      case "Encounter":
1330        return org.hl7.fhir.dstu2.model.Encounter.class.getSimpleName();
1331      case "Endpoint":
1332        return null;
1333      case "EnrollmentRequest":
1334        return org.hl7.fhir.dstu2.model.EnrollmentRequest.class.getSimpleName();
1335      case "EnrollmentResponse":
1336        return org.hl7.fhir.dstu2.model.EnrollmentResponse.class.getSimpleName();
1337      case "EpisodeOfCare":
1338        return org.hl7.fhir.dstu2.model.EpisodeOfCare.class.getSimpleName();
1339      case "ExpansionProfile":
1340        return null;
1341      case "ExplanationOfBenefit":
1342        return org.hl7.fhir.dstu2.model.ExplanationOfBenefit.class.getSimpleName();
1343      case "FamilyMemberHistory":
1344        return org.hl7.fhir.dstu2.model.FamilyMemberHistory.class.getSimpleName();
1345      case "Flag":
1346        return org.hl7.fhir.dstu2.model.Flag.class.getSimpleName();
1347      case "Goal":
1348        return org.hl7.fhir.dstu2.model.Goal.class.getSimpleName();
1349      case "GraphDefinition":
1350        return null;
1351      case "Group":
1352        return org.hl7.fhir.dstu2.model.Group.class.getSimpleName();
1353      case "GuidanceResponse":
1354        return null;
1355      case "HealthcareService":
1356        return org.hl7.fhir.dstu2.model.HealthcareService.class.getSimpleName();
1357      case "ImagingManifest":
1358        return null;  // != ImagingObjectSelection
1359      case "ImagingStudy":
1360        return org.hl7.fhir.dstu2.model.ImagingStudy.class.getSimpleName();
1361      case "Immunization":
1362        return org.hl7.fhir.dstu2.model.Immunization.class.getSimpleName();
1363      case "ImmunizationRecommendation":
1364        return org.hl7.fhir.dstu2.model.ImmunizationRecommendation.class.getSimpleName();
1365      case "ImplementationGuide":
1366        return org.hl7.fhir.dstu2.model.ImplementationGuide.class.getSimpleName();
1367      case "Library":
1368        return null;
1369      case "Linkage":
1370        return null;
1371      case "List":
1372        return org.hl7.fhir.dstu2.model.List_.class.getSimpleName();
1373      case "Location":
1374        return org.hl7.fhir.dstu2.model.Location.class.getSimpleName();
1375      case "Measure":
1376        return null;
1377      case "MeasureReport":
1378        return null;
1379      case "Media":
1380        return org.hl7.fhir.dstu2.model.Media.class.getSimpleName();
1381      case "Medication":
1382        return org.hl7.fhir.dstu2.model.Medication.class.getSimpleName();
1383      case "MedicationAdministration":
1384        return org.hl7.fhir.dstu2.model.MedicationAdministration.class.getSimpleName();
1385      case "MedicationDispense":
1386        return org.hl7.fhir.dstu2.model.MedicationDispense.class.getSimpleName();
1387      case "MedicationRequest":
1388        return org.hl7.fhir.dstu2.model.MedicationOrder.class.getSimpleName();
1389      case "MedicationStatement":
1390        return org.hl7.fhir.dstu2.model.MedicationStatement.class.getSimpleName();
1391      case "MessageDefinition":
1392        return null;
1393      case "MessageHeader":
1394        return org.hl7.fhir.dstu2.model.MessageHeader.class.getSimpleName();
1395      case "Sequence":
1396        return null;
1397      case "NamingSystem":
1398        return org.hl7.fhir.dstu2.model.NamingSystem.class.getSimpleName();
1399      case "NutritionOrder":
1400        return org.hl7.fhir.dstu2.model.NutritionOrder.class.getSimpleName();
1401      case "Observation":
1402        return org.hl7.fhir.dstu2.model.Observation.class.getSimpleName();
1403      case "OperationDefinition":
1404        return org.hl7.fhir.dstu2.model.OperationDefinition.class.getSimpleName();
1405      case "OperationOutcome":
1406        return org.hl7.fhir.dstu2.model.OperationOutcome.class.getSimpleName();
1407      case "Task":
1408        return org.hl7.fhir.dstu2.model.Order.class.getSimpleName();
1409//    case "Task" : return org.hl7.fhir.dstu2.model.OrderResponse.class.getSimpleName(); 
1410      case "Organization":
1411        return org.hl7.fhir.dstu2.model.Organization.class.getSimpleName();
1412      case "Parameters":
1413        return org.hl7.fhir.dstu2.model.Parameters.class.getSimpleName();
1414      case "Patient":
1415        return org.hl7.fhir.dstu2.model.Patient.class.getSimpleName();
1416      case "PaymentNotice":
1417        return org.hl7.fhir.dstu2.model.PaymentNotice.class.getSimpleName();
1418      case "PaymentReconciliation":
1419        return org.hl7.fhir.dstu2.model.PaymentReconciliation.class.getSimpleName();
1420      case "Person":
1421        return org.hl7.fhir.dstu2.model.Person.class.getSimpleName();
1422      case "PlanDefinition":
1423        return null;
1424      case "Practitioner":
1425        return org.hl7.fhir.dstu2.model.Practitioner.class.getSimpleName();
1426      case "PractitionerRole":
1427        return null;
1428      case "Procedure":
1429        return org.hl7.fhir.dstu2.model.Procedure.class.getSimpleName();
1430      case "ProcessRequest":
1431        return org.hl7.fhir.dstu2.model.ProcessRequest.class.getSimpleName();
1432      case "ProcessResponse":
1433        return org.hl7.fhir.dstu2.model.ProcessResponse.class.getSimpleName();
1434      case "Provenance":
1435        return org.hl7.fhir.dstu2.model.Provenance.class.getSimpleName();
1436      case "Questionnaire":
1437        return org.hl7.fhir.dstu2.model.Questionnaire.class.getSimpleName();
1438      case "QuestionnaireResponse":
1439        return org.hl7.fhir.dstu2.model.QuestionnaireResponse.class.getSimpleName();
1440      case "ReferralRequest":
1441        return org.hl7.fhir.dstu2.model.ReferralRequest.class.getSimpleName();
1442      case "RelatedPerson":
1443        return org.hl7.fhir.dstu2.model.RelatedPerson.class.getSimpleName();
1444      case "RequestGroup":
1445        return null;
1446      case "ResearchStudy":
1447        return null;
1448      case "ResearchSubject":
1449        return null;
1450      case "RiskAssessment":
1451        return org.hl7.fhir.dstu2.model.RiskAssessment.class.getSimpleName();
1452      case "Schedule":
1453        return org.hl7.fhir.dstu2.model.Schedule.class.getSimpleName();
1454      case "SearchParameter":
1455        return org.hl7.fhir.dstu2.model.SearchParameter.class.getSimpleName();
1456      case "ServiceDefinition":
1457        return null;
1458      case "ProcedureRequest":
1459        return org.hl7.fhir.dstu2.model.ProcedureRequest.class.getSimpleName();
1460      case "Slot":
1461        return org.hl7.fhir.dstu2.model.Slot.class.getSimpleName();
1462      case "Specimen":
1463        return org.hl7.fhir.dstu2.model.Specimen.class.getSimpleName();
1464      case "StructureDefinition":
1465        return org.hl7.fhir.dstu2.model.StructureDefinition.class.getSimpleName();
1466      case "StructureMap":
1467        return null;
1468      case "Subscription":
1469        return org.hl7.fhir.dstu2.model.Subscription.class.getSimpleName();
1470      case "Substance":
1471        return org.hl7.fhir.dstu2.model.Substance.class.getSimpleName();
1472      case "SupplyDelivery":
1473        return org.hl7.fhir.dstu2.model.SupplyDelivery.class.getSimpleName();
1474      case "SupplyRequest":
1475        return org.hl7.fhir.dstu2.model.SupplyRequest.class.getSimpleName();
1476      case "TestReport":
1477        return null;
1478      case "TestScript":
1479        return org.hl7.fhir.dstu2.model.TestScript.class.getSimpleName();
1480      case "ValueSet":
1481        return org.hl7.fhir.dstu2.model.ValueSet.class.getSimpleName();
1482      case "VisionPrescription":
1483        return org.hl7.fhir.dstu2.model.VisionPrescription.class.getSimpleName();
1484      default:
1485        return null;
1486    }
1487  }
1488
1489
1490}