FHIR Chat · Change MedicationOrder to MedicationRequest · committers

Stream: committers

Topic: Change MedicationOrder to MedicationRequest


view this post on Zulip Melva Peters (Oct 25 2016 at 20:22):

I'm starting to change the name of the MedicationOrder resouce to MedicationRequest. I know lots of other resources reference MedicationOrder so I will fix those references and examples. Please confirm if you have any issues with me proceeding.

view this post on Zulip Melva Peters (Oct 25 2016 at 20:24):

I'm getting a build error as I start to make this change - I've updated all of the spreadsheets and examples as well as fhir.ini. Here's the error I'm getting. Is there another change that needs to be made? @Lloyd McKenzie wondered if there was a need to migrate generated code??

view this post on Zulip Grahame Grieve (Oct 25 2016 at 20:25):

what's the error?

view this post on Zulip Grahame Grieve (Oct 25 2016 at 20:25):

you should not need to do anything with the generated code

view this post on Zulip Melva Peters (Oct 25 2016 at 20:26):

 [java] ===Resources with FMM forced to 0===
 [java]      1.141   9sec  235MB
 [java] This was a Full Build                                                      0.001   9sec  235MB
 [java] java.lang.Exception: unable to find resource 'MedicationOrder'FHIR build failure @ Tue, Oct 25, 2016 13:18-0700                          0.683  10sec  240MB
 [java]     at org.hl7.fhir.definitions.model.Definitions.getResourceByName(Definitions.java:289)
 [java]     at org.hl7.fhir.definitions.parsers.SourceParser.loadCompartments(SourceParser.java:627)
 [java] 
 [java]     at org.hl7.fhir.definitions.parsers.SourceParser.parse(SourceParser.java:232)
 [java] Error: unable to find resource 'MedicationOrder'
 [java]     at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:550)
 [java]     at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:428)

BUILD FAILED
/Users/mpeters/Documents/FHIRBuild/build/build.xml:30: The following error occurred while executing this line:
/Users/mpeters/Documents/FHIRBuild/build/tools/java/org.hl7.fhir.tools.core/build.xml:134: Java returned: 1

view this post on Zulip Grahame Grieve (Oct 25 2016 at 20:27):

something is still referencing MedicationOrder in a spreadhseet

view this post on Zulip Grahame Grieve (Oct 25 2016 at 20:27):

ah compartments.xml

view this post on Zulip Melva Peters (Oct 25 2016 at 20:29):

Thanks Grahame...that fixed that error...on to the next :)

view this post on Zulip Melva Peters (Oct 26 2016 at 22:15):

I'm about to commit the changes to change MedicationOrder to MedicationRequest. I've fixed examples and as many pages as I can find that reference MedicationOrder. I have not updated any IGuides and associated files. If you have questions, let me know.

view this post on Zulip Grahame Grieve (Oct 26 2016 at 23:07):

Thanks Mevlva - big job!


Last updated: Apr 12 2022 at 19:14 UTC