Fix rendering of Timing to not have specific verb
This commit is contained in:
parent
54875fd17e
commit
cacf27428e
|
@ -310,7 +310,14 @@ public interface IWorkerContext {
|
|||
* @throws IOException
|
||||
* @throws JsonSyntaxException
|
||||
*/
|
||||
IContextResourceLoader getNewLoader(NpmPackage npm) throws JsonSyntaxException, IOException;
|
||||
IContextResourceLoader getNewLoader(NpmPackage npm) throws JsonSyntaxException, IOException;
|
||||
|
||||
/**
|
||||
* called when processing R2 for implicit code systems in ValueSets
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
List<CodeSystem> getCodeSystems();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -11547,6 +11547,10 @@ The primary difference between a medicationusage and a medicationadministration
|
|||
return FHIRTypes.VISIONPRESCRIPTION;
|
||||
if ("Parameters".equals(codeString))
|
||||
return FHIRTypes.PARAMETERS;
|
||||
if ("Any".equals(codeString))
|
||||
return FHIRTypes.RESOURCE;
|
||||
if ("CapabilityStatement2".equals(codeString))
|
||||
return FHIRTypes.CAPABILITYSTATEMENT;
|
||||
throw new IllegalArgumentException("Unknown FHIRTypes code '"+codeString+"'");
|
||||
}
|
||||
public Enumeration<FHIRTypes> fromType(Base code) throws FHIRException {
|
||||
|
|
|
@ -1574,7 +1574,7 @@ public class DataRenderer extends Renderer {
|
|||
if (rep.hasOffset()) {
|
||||
st = Integer.toString(rep.getOffset())+"min ";
|
||||
}
|
||||
b.append("Do "+st);
|
||||
b.append(st);
|
||||
for (Enumeration<EventTiming> wh : rep.getWhen())
|
||||
b.append(displayEventCode(wh.getValue()));
|
||||
} else {
|
||||
|
@ -1592,7 +1592,7 @@ public class DataRenderer extends Renderer {
|
|||
st = st + "-"+rep.getPeriodMax().toPlainString();
|
||||
st = st + " "+displayTimeUnits(rep.getPeriodUnit());
|
||||
}
|
||||
b.append("Do "+st);
|
||||
b.append(st);
|
||||
}
|
||||
if (rep.hasBoundsPeriod() && rep.getBoundsPeriod().hasEnd())
|
||||
b.append("Until "+displayDateTime(rep.getBoundsPeriod().getEndElement()));
|
||||
|
|
Loading…
Reference in New Issue