Upgrade to STU3

This commit is contained in:
James 2017-04-18 21:58:23 -04:00
parent f3b52424e3
commit cc526f6d99
5 changed files with 20427 additions and 20364 deletions

View File

@ -9,9 +9,9 @@ package ca.uhn.fhir.context;
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

View File

@ -1,17 +1,38 @@
package org.hl7.fhir.convertors; package org.hl7.fhir.convertors;
import org.hl7.fhir.dstu3.model.CodeSystem; /*-
import org.hl7.fhir.dstu3.model.ValueSet; * #%L
import org.hl7.fhir.exceptions.FHIRException; * HAPI FHIR - Converter
* %%
public interface VersionConvertorAdvisor { * Copyright (C) 2014 - 2017 University Health Network
boolean ignoreEntry(org.hl7.fhir.dstu3.model.Bundle.BundleEntryComponent src); * %%
* Licensed under the Apache License, Version 2.0 (the "License");
// called ? * you may not use this file except in compliance with the License.
org.hl7.fhir.instance.model.Resource convert(org.hl7.fhir.dstu3.model.Resource resource) throws FHIRException; * You may obtain a copy of the License at
*
// called when an r2 value set has a codeSystem in it * http://www.apache.org/licenses/LICENSE-2.0
void handleCodeSystem(CodeSystem tgtcs, ValueSet source); *
* Unless required by applicable law or agreed to in writing, software
CodeSystem getCodeSystem(ValueSet src); * distributed under the License is distributed on an "AS IS" BASIS,
} * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import org.hl7.fhir.dstu3.model.CodeSystem;
import org.hl7.fhir.dstu3.model.ValueSet;
import org.hl7.fhir.exceptions.FHIRException;
public interface VersionConvertorAdvisor {
boolean ignoreEntry(org.hl7.fhir.dstu3.model.Bundle.BundleEntryComponent src);
// called ?
org.hl7.fhir.instance.model.Resource convert(org.hl7.fhir.dstu3.model.Resource resource) throws FHIRException;
// called when an r2 value set has a codeSystem in it
void handleCodeSystem(CodeSystem tgtcs, ValueSet source);
CodeSystem getCodeSystem(ValueSet src);
}

View File

@ -48,9 +48,9 @@ import static org.apache.commons.lang3.StringUtils.isNotBlank;
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.