hapi-fhir/sync_ri3.fish

68 lines
7.1 KiB
Fish
Raw Normal View History

#!/usr/bin/fish
# Note: Element needs to implement IBaseElement
2016-11-06 17:34:13 -05:00
# Copy Resource Models
for i in (grep -lir ResourceDef ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/*.java); cp $i hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/; end
2016-11-06 17:34:13 -05:00
# Copy Datatype Models
for i in (grep -lir DatatypeDef ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/*.java); cp $i hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/; end
2016-11-06 17:34:13 -05:00
# Copy CodeSystems
rm hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/codesystems/*
2016-11-06 17:34:13 -05:00
cp ~/workspace/fhir/trunk/build/temp/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/* hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/
cp ~/workspace/fhir/trunk/build/temp/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/codesystems/* hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/codesystems/
2016-11-06 17:34:13 -05:00
Updating to 1.9.0 structures Squashed commit of the following: commit 81edf46fe02a88851693f958e60855edfe69c04c Author: James Agnew <jamesagnew@gmail.com> Date: Fri Mar 17 21:05:22 2017 -0400 Work on converter commit 3342d987008892dd3a75dddd251fe599c31c5a6c Author: James <jamesagnew@gmail.com> Date: Fri Mar 17 08:40:37 2017 -0400 Site updates commit 7dcb63904ece1fcb59a09dc268e8382ac0b75535 Author: James <jamesagnew@gmail.com> Date: Fri Mar 17 08:36:39 2017 -0400 STU3 structs working! commit c5aec809e3f19f3fedf0aaaeab8cdd7924c144a2 Author: James <jamesagnew@gmail.com> Date: Fri Mar 17 07:05:54 2017 -0400 Format test commit 5033090010e8c93644505bccaa5e41ccbd756485 Author: James <jamesagnew@gmail.com> Date: Fri Mar 17 07:03:39 2017 -0400 Merge tests for STU3 commit de40a516bfa4d2ab7f5e28e2d95815fde68bd10a Merge: d5a5a60 899ed25 Author: James <jamesagnew@gmail.com> Date: Fri Mar 17 06:59:20 2017 -0400 Merge branch 'master' into dstu3_latest_structs commit d5a5a601b53d8be6712f0bfe37ba7e6eb4d3ce58 Author: James <jamesagnew@gmail.com> Date: Tue Mar 14 12:04:37 2017 -0400 Latest fixes commit ae46ad53d2075e66e3c58c1e626652b4e144f20c Author: James <jamesagnew@gmail.com> Date: Tue Mar 14 06:51:59 2017 -0400 STU3 structs passing commit ec3b62d31131d303001f8574c58fb7a8b8194f68 Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 22:20:05 2017 -0400 Fix some tests commit 933f9b08c32dd8671638f406a0966c5ee07d86a1 Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 21:18:03 2017 -0400 Fix test commit 2a3ad0b422f58cfffea966a7005c6a3d86d189da Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 21:07:33 2017 -0400 Resolve compile issues in STU3 commit fe04eba312a42c74b10a3971e4d61d58ba003bf9 Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 20:51:35 2017 -0400 FIx compilation error commit 6c63a558c97cf176105967a84a0b32472c6c0fcb Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 20:48:13 2017 -0400 Another STU3 struct fix commit 6acd25458aad89aaff94768c824d4d1fcdac97ba Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 20:41:16 2017 -0400 Work on STU3 structs commit 90a476dba2665a129572ad5cbbd8dd29afd9d4c8 Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 20:28:32 2017 -0400 Resolve JDK8 dependencies commit 783bc1519971e977fe7139aa1d3a2e7f37940a63 Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 20:20:57 2017 -0400 Fix some tests commit 60c379175b689495e65278bb6a237af3de379aa8 Author: James <jamesagnew@gmail.com> Date: Sun Mar 12 19:56:29 2017 -0400 Work on STU3 structs commit e98c2eed6601f7009e199aca3b82399a3377077c Author: James <jamesagnew@gmail.com> Date: Sun Mar 12 19:41:48 2017 -0400 Work on DSTU3 structures commit 3ce909212bf0f11561b8342d406cffcf957afeb3 Author: James <jamesagnew@gmail.com> Date: Tue Mar 7 21:03:14 2017 -0500 Work up upgrading structs
2017-03-17 21:06:12 -04:00
p ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/utils/FHIRPathEngine.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/utils/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.utilities/src/org/hl7/fhir/utilities/xhtml/HierarchicalTableGenerator.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/utilities/xhtml/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/terminologies/ValueSetExpanderSimple.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/terminologies/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/terminologies/ValueSetExpander.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/terminologies/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/terminologies/ValueSetExpansionCache.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/terminologies/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/terminologies/ValueSetCheckerSimple.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/terminologies/
2016-11-06 17:34:13 -05:00
cp /home/james/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/ExpressionNode.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/Base.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/elementmodel/Element.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/elementmodel/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/elementmodel/Property.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/elementmodel/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/conformance/ProfileUtilities.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/conformance/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/elementmodel/ObjectConverter.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/elementmodel/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/elementmodel/XmlParser.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/elementmodel/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/elementmodel/JsonParser.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/elementmodel/
cp /home/james/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/utils/StructureMapUtilities.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/utils/
cp /home/james/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/utils/formats/JsonTrackingParser.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/utils/formats/
cp /home/james/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/utils/formats/XmlLocationAnnotator.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/utils/formats/
cp /home/james/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/utils/formats/XmlLocationData.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/utils/formats/
cp /home/james/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/terminologies/CodeSystemUtilities.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/terminologies/
Updating to 1.9.0 structures Squashed commit of the following: commit 81edf46fe02a88851693f958e60855edfe69c04c Author: James Agnew <jamesagnew@gmail.com> Date: Fri Mar 17 21:05:22 2017 -0400 Work on converter commit 3342d987008892dd3a75dddd251fe599c31c5a6c Author: James <jamesagnew@gmail.com> Date: Fri Mar 17 08:40:37 2017 -0400 Site updates commit 7dcb63904ece1fcb59a09dc268e8382ac0b75535 Author: James <jamesagnew@gmail.com> Date: Fri Mar 17 08:36:39 2017 -0400 STU3 structs working! commit c5aec809e3f19f3fedf0aaaeab8cdd7924c144a2 Author: James <jamesagnew@gmail.com> Date: Fri Mar 17 07:05:54 2017 -0400 Format test commit 5033090010e8c93644505bccaa5e41ccbd756485 Author: James <jamesagnew@gmail.com> Date: Fri Mar 17 07:03:39 2017 -0400 Merge tests for STU3 commit de40a516bfa4d2ab7f5e28e2d95815fde68bd10a Merge: d5a5a60 899ed25 Author: James <jamesagnew@gmail.com> Date: Fri Mar 17 06:59:20 2017 -0400 Merge branch 'master' into dstu3_latest_structs commit d5a5a601b53d8be6712f0bfe37ba7e6eb4d3ce58 Author: James <jamesagnew@gmail.com> Date: Tue Mar 14 12:04:37 2017 -0400 Latest fixes commit ae46ad53d2075e66e3c58c1e626652b4e144f20c Author: James <jamesagnew@gmail.com> Date: Tue Mar 14 06:51:59 2017 -0400 STU3 structs passing commit ec3b62d31131d303001f8574c58fb7a8b8194f68 Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 22:20:05 2017 -0400 Fix some tests commit 933f9b08c32dd8671638f406a0966c5ee07d86a1 Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 21:18:03 2017 -0400 Fix test commit 2a3ad0b422f58cfffea966a7005c6a3d86d189da Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 21:07:33 2017 -0400 Resolve compile issues in STU3 commit fe04eba312a42c74b10a3971e4d61d58ba003bf9 Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 20:51:35 2017 -0400 FIx compilation error commit 6c63a558c97cf176105967a84a0b32472c6c0fcb Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 20:48:13 2017 -0400 Another STU3 struct fix commit 6acd25458aad89aaff94768c824d4d1fcdac97ba Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 20:41:16 2017 -0400 Work on STU3 structs commit 90a476dba2665a129572ad5cbbd8dd29afd9d4c8 Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 20:28:32 2017 -0400 Resolve JDK8 dependencies commit 783bc1519971e977fe7139aa1d3a2e7f37940a63 Author: James Agnew <jamesagnew@gmail.com> Date: Sun Mar 12 20:20:57 2017 -0400 Fix some tests commit 60c379175b689495e65278bb6a237af3de379aa8 Author: James <jamesagnew@gmail.com> Date: Sun Mar 12 19:56:29 2017 -0400 Work on STU3 structs commit e98c2eed6601f7009e199aca3b82399a3377077c Author: James <jamesagnew@gmail.com> Date: Sun Mar 12 19:41:48 2017 -0400 Work on DSTU3 structures commit 3ce909212bf0f11561b8342d406cffcf957afeb3 Author: James <jamesagnew@gmail.com> Date: Tue Mar 7 21:03:14 2017 -0500 Work up upgrading structs
2017-03-17 21:06:12 -04:00
# Validation
rm hapi-fhir-validator/src/main/java/org/hl7/fhir/dstu3/validation/*
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.validation/src/org/hl7/fhir/dstu3/validator/*.java hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/validation/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.utilities/src/org/hl7/fhir/utilities/validation/ValidationMessage.java hapi-fhir-validator/src/main/java/org/hl7/fhir/utilities/validation/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/utils/IResourceValidator.java hapi-fhir-validator/src/main/java/org/hl7/fhir/dstu3/utils/
cp ~/workspace/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/utils/ValidationProfileSet.java hapi-fhir-validator/src/main/java/org/hl7/fhir/dstu3/utils/
# Copy Spreadsheets
rm hapi-tinder-plugin/src/main/resources/res/dstu3/*.xml; cp ~/workspace/fhir/trunk/build/source/*/*-spreadsheet.xml hapi-tinder-plugin/src/main/resources/res/dstu3/; rm hapi-tinder-plugin/src/main/resources/res/dstu3/*-*-*.xml
# Copy Validation Resources
cp ~/workspace/fhir/trunk/build/publish/*.sch hapi-fhir-validation-resources-dstu3/src/main/resources/org/hl7/fhir/instance/model/dstu3/schema/
cp ~/workspace/fhir/trunk/build/publish/fhir-single.xsd hapi-fhir-validation-resources-dstu3/src/main/resources/org/hl7/fhir/instance/model/dstu3/schema/
cp ~/workspace/fhir/trunk/build/publish/fhir-xhtml.xsd hapi-fhir-validation-resources-dstu3/src/main/resources/org/hl7/fhir/instance/model/dstu3/schema/
cp ~/workspace/fhir/trunk/build/publish/xml.xsd hapi-fhir-validation-resources-dstu3/src/main/resources/org/hl7/fhir/instance/model/dstu3/schema/
cp ~/workspace/fhir/trunk/build/publish/profiles-*.xml hapi-fhir-validation-resources-dstu3/src/main/resources/org/hl7/fhir/instance/model/dstu3/profile/
cp ~/workspace/fhir/trunk/build/publish/v2-tables.xml hapi-fhir-validation-resources-dstu3/src/main/resources/org/hl7/fhir/instance/model/dstu3/valueset/
cp ~/workspace/fhir/trunk/build/publish/v3-codesystems.xml hapi-fhir-validation-resources-dstu3/src/main/resources/org/hl7/fhir/instance/model/dstu3/valueset/
cp ~/workspace/fhir/trunk/build/publish/valuesets.xml hapi-fhir-validation-resources-dstu3/src/main/resources/org/hl7/fhir/instance/model/dstu3/valueset/
c