more i18n refactoring

This commit is contained in:
Grahame Grieve 2024-03-24 18:05:06 +11:00
parent 0e36d2a3c6
commit c633eafef6
17 changed files with 482 additions and 367 deletions

View File

@ -68,7 +68,7 @@ public class BundleRenderer extends ResourceRenderer {
// nothing // nothing
} else { } else {
XhtmlNode root = new XhtmlNode(NodeType.Element, "div"); XhtmlNode root = new XhtmlNode(NodeType.Element, "div");
root.para().addText(formatMessage(RenderingContext.RENDER_BUNDLE_HEADER_ROOT, b.getId(), b.get("type").primitiveValue())); root.para().addText(formatMessage(RenderingContext.BUNDLE_HEADER_ROOT, b.getId(), b.get("type").primitiveValue()));
int i = 0; int i = 0;
for (BaseWrapper be : entries) { for (BaseWrapper be : entries) {
i++; i++;
@ -85,9 +85,9 @@ public class BundleRenderer extends ResourceRenderer {
} }
root.hr(); root.hr();
if (be.has("fullUrl")) { if (be.has("fullUrl")) {
root.para().addText(formatMessage(RenderingContext.RENDER_BUNDLE_HEADER_ENTRY_URL, Integer.toString(i), be.get("fullUrl").primitiveValue())); root.para().addText(formatMessage(RenderingContext.BUNDLE_HEADER_ENTRY_URL, Integer.toString(i), be.get("fullUrl").primitiveValue()));
} else { } else {
root.para().addText(formatMessage(RenderingContext.RENDER_BUNDLE_HEADER_ENTRY, Integer.toString(i))); root.para().addText(formatMessage(RenderingContext.BUNDLE_HEADER_ENTRY, Integer.toString(i)));
} }
// if (be.hasRequest()) // if (be.hasRequest())
// renderRequest(root, be.getRequest()); // renderRequest(root, be.getRequest());
@ -96,7 +96,7 @@ public class BundleRenderer extends ResourceRenderer {
// if (be.hasResponse()) // if (be.hasResponse())
// renderResponse(root, be.getResponse()); // renderResponse(root, be.getResponse());
if (be.has("resource")) { if (be.has("resource")) {
root.para().addText(formatMessage(RenderingContext.RENDER_BUNDLE_RESOURCE, be.get("resource").fhirType())); root.para().addText(formatMessage(RenderingContext.BUNDLE_RESOURCE, be.get("resource").fhirType()));
ResourceWrapper rw = be.getChildByName("resource").getAsResource(); ResourceWrapper rw = be.getChildByName("resource").getAsResource();
XhtmlNode xn = rw.getNarrative(); XhtmlNode xn = rw.getNarrative();
if (xn == null || xn.isEmpty()) { if (xn == null || xn.isEmpty()) {
@ -286,9 +286,9 @@ public class BundleRenderer extends ResourceRenderer {
start = 1; start = 1;
docMode = true; docMode = true;
x.hr(); x.hr();
x.h2().addText(formatMessage(RenderingContext.RENDER_BUNDLE_DOCUMENT_CONTENT, b.getId(), b.getType().toCode())); x.h2().addText(formatMessage(RenderingContext.BUNDLE_DOCUMENT_CONTENT, b.getId(), b.getType().toCode()));
} else { } else {
x.para().addText(formatMessage(RenderingContext.RENDER_BUNDLE_HEADER_ROOT, b.getId(), b.getType().toCode())); x.para().addText(formatMessage(RenderingContext.BUNDLE_HEADER_ROOT, b.getId(), b.getType().toCode()));
} }
int i = 0; int i = 0;
for (BundleEntryComponent be : b.getEntry()) { for (BundleEntryComponent be : b.getEntry()) {
@ -307,17 +307,17 @@ public class BundleRenderer extends ResourceRenderer {
x.hr(); x.hr();
if (docMode) { if (docMode) {
if (be.hasFullUrl() && be.hasResource()) { if (be.hasFullUrl() && be.hasResource()) {
x.para().addText(formatMessage(RenderingContext.RENDER_BUNDLE_HEADER_DOC_ENTRY_URD, Integer.toString(i), be.getFullUrl(), be.getResource().fhirType(), be.getResource().getIdBase())); x.para().addText(formatMessage(RenderingContext.BUNDLE_HEADER_DOC_ENTRY_URD, Integer.toString(i), be.getFullUrl(), be.getResource().fhirType(), be.getResource().getIdBase()));
} else if (be.hasFullUrl()) { } else if (be.hasFullUrl()) {
x.para().addText(formatMessage(RenderingContext.RENDER_BUNDLE_HEADER_DOC_ENTRY_U, Integer.toString(i), be.getFullUrl())); x.para().addText(formatMessage(RenderingContext.BUNDLE_HEADER_DOC_ENTRY_U, Integer.toString(i), be.getFullUrl()));
} else if (be.hasResource()) { } else if (be.hasResource()) {
x.para().addText(formatMessage(RenderingContext.RENDER_BUNDLE_HEADER_DOC_ENTRY_RD, Integer.toString(i), be.getResource().fhirType(), be.getResource().getIdBase())); x.para().addText(formatMessage(RenderingContext.BUNDLE_HEADER_DOC_ENTRY_RD, Integer.toString(i), be.getResource().fhirType(), be.getResource().getIdBase()));
} }
} else { } else {
if (be.hasFullUrl()) { if (be.hasFullUrl()) {
x.para().addText(formatMessage(RenderingContext.RENDER_BUNDLE_HEADER_ENTRY_URL, Integer.toString(i), be.getFullUrl())); x.para().addText(formatMessage(RenderingContext.BUNDLE_HEADER_ENTRY_URL, Integer.toString(i), be.getFullUrl()));
} else { } else {
x.para().addText(formatMessage(RenderingContext.RENDER_BUNDLE_HEADER_ENTRY, Integer.toString(i))); x.para().addText(formatMessage(RenderingContext.BUNDLE_HEADER_ENTRY, Integer.toString(i)));
} }
if (be.hasRequest()) if (be.hasRequest())
renderRequest(x, be.getRequest()); renderRequest(x, be.getRequest());
@ -328,7 +328,7 @@ public class BundleRenderer extends ResourceRenderer {
} }
if (be.hasResource()) { if (be.hasResource()) {
if (!docMode) { if (!docMode) {
x.para().addText(formatMessage(RenderingContext.RENDER_BUNDLE_RESOURCE, be.getResource().fhirType())); x.para().addText(formatMessage(RenderingContext.BUNDLE_RESOURCE, be.getResource().fhirType()));
} }
if (be.hasResource()) { if (be.hasResource()) {
XhtmlNode xn = null; XhtmlNode xn = null;
@ -401,42 +401,42 @@ public class BundleRenderer extends ResourceRenderer {
private void renderSearch(XhtmlNode root, BundleEntrySearchComponent search) { private void renderSearch(XhtmlNode root, BundleEntrySearchComponent search) {
StringBuilder b = new StringBuilder(); StringBuilder b = new StringBuilder();
b.append(formatMessage(RenderingContext.RENDER_BUNDLE_SEARCH)); b.append(formatMessage(RenderingContext.BUNDLE_SEARCH));
if (search.hasMode()) if (search.hasMode())
b.append(formatMessage(RenderingContext.RENDER_BUNDLE_SEARCH_MODE, search.getMode().toCode())); b.append(formatMessage(RenderingContext.BUNDLE_SEARCH_MODE, search.getMode().toCode()));
if (search.hasScore()) { if (search.hasScore()) {
if (search.hasMode()) if (search.hasMode())
b.append(","); b.append(",");
b.append(formatMessage(RenderingContext.RENDER_BUNDLE_SEARCH_SCORE, search.getScore())); b.append(formatMessage(RenderingContext.BUNDLE_SEARCH_SCORE, search.getScore()));
} }
root.para().addText(b.toString()); root.para().addText(b.toString());
} }
private void renderResponse(XhtmlNode root, BundleEntryResponseComponent response) { private void renderResponse(XhtmlNode root, BundleEntryResponseComponent response) {
root.para().addText(formatMessage(RenderingContext.RENDER_BUNDLE_RESPONSE)); root.para().addText(formatMessage(RenderingContext.BUNDLE_RESPONSE));
StringBuilder b = new StringBuilder(); StringBuilder b = new StringBuilder();
b.append(response.getStatus()+"\r\n"); b.append(response.getStatus()+"\r\n");
if (response.hasLocation()) if (response.hasLocation())
b.append(formatMessage(RenderingContext.RENDER_BUNDLE_LOCATION, response.getLocation())+"\r\n"); b.append(formatMessage(RenderingContext.BUNDLE_LOCATION, response.getLocation())+"\r\n");
if (response.hasEtag()) if (response.hasEtag())
b.append(formatMessage(RenderingContext.RENDER_BUNDLE_ETAG, response.getEtag())+"\r\n"); b.append(formatMessage(RenderingContext.BUNDLE_ETAG, response.getEtag())+"\r\n");
if (response.hasLastModified()) if (response.hasLastModified())
b.append(formatMessage(RenderingContext.RENDER_BUNDLE_LAST_MOD, response.getEtag())+"\r\n"); b.append(formatMessage(RenderingContext.BUNDLE_LAST_MOD, response.getEtag())+"\r\n");
root.pre().addText(b.toString()); root.pre().addText(b.toString());
} }
private void renderRequest(XhtmlNode root, BundleEntryRequestComponent request) { private void renderRequest(XhtmlNode root, BundleEntryRequestComponent request) {
root.para().addText(formatMessage(RenderingContext.RENDER_BUNDLE_REQUEST)); root.para().addText(formatMessage(RenderingContext.BUNDLE_REQUEST));
StringBuilder b = new StringBuilder(); StringBuilder b = new StringBuilder();
b.append(request.getMethod()+" "+request.getUrl()+"\r\n"); b.append(request.getMethod()+" "+request.getUrl()+"\r\n");
if (request.hasIfNoneMatch()) if (request.hasIfNoneMatch())
b.append(formatMessage(RenderingContext.RENDER_BUNDLE_IF_NON_MATCH, request.getIfNoneMatch())+"\r\n"); b.append(formatMessage(RenderingContext.BUNDLE_IF_NON_MATCH, request.getIfNoneMatch())+"\r\n");
if (request.hasIfModifiedSince()) if (request.hasIfModifiedSince())
b.append(formatMessage(RenderingContext.RENDER_BUNDLE_IF_MOD, request.getIfModifiedSince())+"\r\n"); b.append(formatMessage(RenderingContext.BUNDLE_IF_MOD, request.getIfModifiedSince())+"\r\n");
if (request.hasIfMatch()) if (request.hasIfMatch())
b.append(formatMessage(RenderingContext.RENDER_BUNDLE_IF_MATCH, request.getIfMatch())+"\r\n"); b.append(formatMessage(RenderingContext.BUNDLE_IF_MATCH, request.getIfMatch())+"\r\n");
if (request.hasIfNoneExist()) if (request.hasIfNoneExist())
b.append(formatMessage(RenderingContext.RENDER_BUNDLE_IF_NONE, request.getIfNoneExist())+"\r\n"); b.append(formatMessage(RenderingContext.BUNDLE_IF_NONE, request.getIfNoneExist())+"\r\n");
root.pre().addText(b.toString()); root.pre().addText(b.toString());
} }

View File

@ -82,13 +82,13 @@ public class CodeSystemRenderer extends TerminologyRenderer {
private void generateFilters(XhtmlNode x, CodeSystem cs) { private void generateFilters(XhtmlNode x, CodeSystem cs) {
if (cs.hasFilter()) { if (cs.hasFilter()) {
x.para().b().tx(formatMessage(RenderingContext.RENDER_CODESYSTEM_FILTERS)); x.para().b().tx(formatMessage(RenderingContext.CODESYSTEM_FILTERS));
XhtmlNode tbl = x.table("grid"); XhtmlNode tbl = x.table("grid");
XhtmlNode tr = tbl.tr(); XhtmlNode tr = tbl.tr();
tr.td().b().tx(formatMessage(RenderingContext.RENDER_CODESYSTEM_FILTER_CODE)); tr.td().b().tx(formatMessage(RenderingContext.CODESYSTEM_FILTER_CODE));
tr.td().b().tx(formatMessage(RenderingContext.RENDER_CODESYSTEM_FILTER_DESC)); tr.td().b().tx(formatMessage(RenderingContext.CODESYSTEM_FILTER_DESC));
tr.td().b().tx(formatMessage(RenderingContext.RENDER_CODESYSTEM_FILTER_OP)); tr.td().b().tx(formatMessage(RenderingContext.CODESYSTEM_FILTER_OP));
tr.td().b().tx(formatMessage(RenderingContext.RENDER_CODESYSTEM_FILTER_VALUE)); tr.td().b().tx(formatMessage(RenderingContext.CODESYSTEM_FILTER_VALUE));
for (CodeSystemFilterComponent f : cs.getFilter()) { for (CodeSystemFilterComponent f : cs.getFilter()) {
tr = tbl.tr(); tr = tbl.tr();
renderStatus(f, tr.td()).tx(f.getCode()); renderStatus(f, tr.td()).tx(f.getCode());
@ -112,20 +112,20 @@ public class CodeSystemRenderer extends TerminologyRenderer {
hasDescription = hasDescription || p.hasDescription(); hasDescription = hasDescription || p.hasDescription();
} }
x.para().b().tx(formatMessage(RenderingContext.RENDER_CODESYSTEM_PROPS)); x.para().b().tx(formatMessage(RenderingContext.CODESYSTEM_PROPS));
x.para().b().tx(formatMessage(RenderingContext.RENDER_CODESYSTEM_PROPS_DESC)); x.para().b().tx(formatMessage(RenderingContext.CODESYSTEM_PROPS_DESC));
XhtmlNode tbl = x.table("grid"); XhtmlNode tbl = x.table("grid");
XhtmlNode tr = tbl.tr(); XhtmlNode tr = tbl.tr();
if (hasRendered) { if (hasRendered) {
tr.td().b().tx(formatMessage(RenderingContext.RENDER_CODESYSTEM_PROP_NAME)); tr.td().b().tx(formatMessage(RenderingContext.CODESYSTEM_PROP_NAME));
} }
tr.td().b().tx(formatMessage(RenderingContext.RENDER_CODESYSTEM_PROP_CODE)); tr.td().b().tx(formatMessage(RenderingContext.CODESYSTEM_PROP_CODE));
if (hasURI) { if (hasURI) {
tr.td().b().tx(formatMessage(RenderingContext.RENDER_CODESYSTEM_PROP_URI)); tr.td().b().tx(formatMessage(RenderingContext.CODESYSTEM_PROP_URI));
} }
tr.td().b().tx(formatMessage(RenderingContext.RENDER_CODESYSTEM_PROP_TYPE)); tr.td().b().tx(formatMessage(RenderingContext.CODESYSTEM_PROP_TYPE));
if (hasDescription) { if (hasDescription) {
tr.td().b().tx(formatMessage(RenderingContext.RENDER_CODESYSTEM_PROP_DESC)); tr.td().b().tx(formatMessage(RenderingContext.CODESYSTEM_PROP_DESC));
} }
for (PropertyComponent p : cs.getProperty()) { for (PropertyComponent p : cs.getProperty()) {
tr = tbl.tr(); tr = tbl.tr();
@ -149,10 +149,10 @@ public class CodeSystemRenderer extends TerminologyRenderer {
private String sentenceForContent(CodeSystemContentMode mode, CodeSystem cs) { private String sentenceForContent(CodeSystemContentMode mode, CodeSystem cs) {
switch (mode) { switch (mode) {
case COMPLETE: return formatMessage(I18nConstants.RND_CS_CONTENT_COMPLETE); case COMPLETE: return formatMessage(RenderingContext.CODESYSTEM_CONTENT_COMPLETE);
case EXAMPLE: return formatMessage(I18nConstants.RND_CS_CONTENT_EXAMPLE); case EXAMPLE: return formatMessage(RenderingContext.CODESYSTEM_CONTENT_EXAMPLE);
case FRAGMENT: return formatMessage(I18nConstants.RND_CS_CONTENT_FRAGMENT); case FRAGMENT: return formatMessage(RenderingContext.CODESYSTEM_CONTENT_FRAGMENT);
case NOTPRESENT: return formatMessage(I18nConstants.RND_CS_CONTENT_NOTPRESENT); case NOTPRESENT: return formatMessage(RenderingContext.CODESYSTEM_CONTENT_NOTPRESENT);
case SUPPLEMENT: case SUPPLEMENT:
boolean properties = CodeSystemUtilities.hasProperties(cs); boolean properties = CodeSystemUtilities.hasProperties(cs);
boolean designations = CodeSystemUtilities.hasDesignations(cs); boolean designations = CodeSystemUtilities.hasDesignations(cs);
@ -166,7 +166,7 @@ public class CodeSystemRenderer extends TerminologyRenderer {
} else { } else {
features = /*!#*/"features"; // ? features = /*!#*/"features"; // ?
} }
return formatMessage(I18nConstants.RND_CS_CONTENT_SUPPLEMENT, features); return formatMessage(RenderingContext.CODESYSTEM_CONTENT_SUPPLEMENT, features);
default: default:
throw new FHIRException(/*!#*/"Unknown CodeSystemContentMode mode"); throw new FHIRException(/*!#*/"Unknown CodeSystemContentMode mode");
} }
@ -174,7 +174,7 @@ public class CodeSystemRenderer extends TerminologyRenderer {
private boolean generateCodeSystemContent(XhtmlNode x, CodeSystem cs, boolean hasExtensions, List<UsedConceptMap> maps, boolean props) throws FHIRFormatError, DefinitionException, IOException { private boolean generateCodeSystemContent(XhtmlNode x, CodeSystem cs, boolean hasExtensions, List<UsedConceptMap> maps, boolean props) throws FHIRFormatError, DefinitionException, IOException {
if (props) { if (props) {
x.para().b().tx(formatMessage(RenderingContext.RENDER_CODESYSTEM_CONCEPTS)); x.para().b().tx(formatMessage(RenderingContext.CODESYSTEM_CONCEPTS));
} }
XhtmlNode p = x.para(); XhtmlNode p = x.para();
renderStatus(cs.getUrlElement(), p.param("cs")).code().tx(cs.getUrl()); renderStatus(cs.getUrlElement(), p.param("cs")).code().tx(cs.getUrl());
@ -463,7 +463,7 @@ public class CodeSystemRenderer extends TerminologyRenderer {
td = tr.td(); td = tr.td();
Boolean b = CodeSystemUtilities.isDeprecated(cs, c, false); Boolean b = CodeSystemUtilities.isDeprecated(cs, c, false);
if (b != null && b) { if (b != null && b) {
smartAddText(td, formatMessage(RenderingContext.RENDER_CODESYSTEM_DEPRECATED)); smartAddText(td, formatMessage(RenderingContext.CODESYSTEM_DEPRECATED));
hasExtensions = true; hasExtensions = true;
if (ToolingExtensions.hasExtension(c, ToolingExtensions.EXT_REPLACED_BY)) { if (ToolingExtensions.hasExtension(c, ToolingExtensions.EXT_REPLACED_BY)) {
Coding cc = (Coding) ToolingExtensions.getExtension(c, ToolingExtensions.EXT_REPLACED_BY).getValue(); Coding cc = (Coding) ToolingExtensions.getExtension(c, ToolingExtensions.EXT_REPLACED_BY).getValue();

View File

@ -222,21 +222,25 @@ public class PatientRenderer extends ResourceRenderer {
private String display(HumanName name, String gender, DateType dob, Identifier id) { private String display(HumanName name, String gender, DateType dob, Identifier id) {
StringBuilder b = new StringBuilder(); StringBuilder b = new StringBuilder();
if (name == null) {
b.append(display(name)); b.append(display(name));
} else {
b.append(context.formatMessage(RenderingContext.PAT_NO_NAME));
}
b.append(" "); b.append(" ");
if (dob == null) { if (dob == null) {
b.append("(no stated gender)"/*!#*/); b.append(context.formatMessage(RenderingContext.PAT_NO_GENDER));
} else { } else {
b.append(gender); b.append(gender);
} }
b.append(", "); b.append(", ");
if (dob == null) { if (dob == null) {
b.append("DoB Unknown"/*!#*/); b.append(context.formatMessage(RenderingContext.PAT_NO_DOB));
} else { } else {
b.append(/*!#*/"DoB: "+display(dob)); b.append(context.formatMessage(RenderingContext.PAT_DOB, display(dob)));
} }
if (id != null) { if (id != null) {
b.append(" "+/*!#*/"( "); b.append(" ( ");
b.append(display(id)); b.append(display(id));
b.append(")"); b.append(")");
} }
@ -245,22 +249,21 @@ public class PatientRenderer extends ResourceRenderer {
public void describe(XhtmlNode x, HumanName name, String gender, DateType dob, Identifier id) throws UnsupportedEncodingException, IOException { public void describe(XhtmlNode x, HumanName name, String gender, DateType dob, Identifier id) throws UnsupportedEncodingException, IOException {
if (name == null) { if (name == null) {
x.b().tx(/*!#*/"Anonymous Patient"); // todo: is this appropriate? x.b().tx(context.formatMessage(RenderingContext.PAT_NO_NAME)); // todo: is this appropriate?
} else { } else {
render(x.b(), name); render(x.b(), name);
} }
x.tx(" "); x.tx(" ");
if (gender == null) { if (gender == null) {
x.tx(/*!#*/"(no stated gender)"); x.tx(context.formatMessage(RenderingContext.PAT_NO_GENDER));
} else { } else {
x.tx(gender); x.tx(gender);
} }
x.tx(", "); x.tx(", ");
if (dob == null) { if (dob == null) {
x.tx(/*!#*/"DoB Unknown"); x.tx(context.formatMessage(RenderingContext.PAT_NO_DOB));
} else { } else {
x.tx(/*!#*/"DoB: "); x.tx(context.formatMessage(RenderingContext.PAT_DOB, display(dob)));
render(x, dob);
} }
if (id != null) { if (id != null) {
x.tx(" ( "); x.tx(" ( ");
@ -298,7 +301,7 @@ public class PatientRenderer extends ResourceRenderer {
} }
if (r.has("contained") && context.isTechnicalMode()) { if (r.has("contained") && context.isTechnicalMode()) {
x.hr(); x.hr();
x.para().b().tx(/*!#*/"Contained Resources"); x.para().b().tx(context.formatMessagePlural(r.getContained().size(), RenderingContext.PAT_CONTAINED));
addContained(x, r.getContained()); addContained(x, r.getContained());
} }
return false; return false;
@ -390,23 +393,21 @@ public class PatientRenderer extends ResourceRenderer {
if (id != null) { if (id != null) {
ids.remove(id); ids.remove(id);
}; };
if (ids.size() > 0) {
XhtmlNode tr = tbl.tr();
nameCell(tr, context.formatMessagePlural(ids.size(), RenderingContext.PAT_OTHER_ID),context.formatMessagePlural(ids.size(), RenderingContext.PAT_OTHER_ID_HINT));
XhtmlNode td = tr.td();
td.colspan("3");
if (ids.size() == 1) { if (ids.size() == 1) {
XhtmlNode tr = tbl.tr();
nameCell(tr, /*!#*/"Other Id:", /*!#*/"Other Ids (see the one above)");
XhtmlNode td = tr.td();
td.colspan("3");
render(r, td, ids.get(0)); render(r, td, ids.get(0));
} else if (ids.size() > 1) { } else {
XhtmlNode tr = tbl.tr();
nameCell(tr, /*!#*/"Other Ids:", /*!#*/"Other Ids (see the one above)");
XhtmlNode td = tr.td();
td.colspan("3");
XhtmlNode ul = td.ul(); XhtmlNode ul = td.ul();
for (Identifier i : ids) { for (Identifier i : ids) {
render(r, ul.li(), i); render(r, ul.li(), i);
} }
} }
} }
}
private void addLangs(XhtmlNode tbl, ResourceWrapper r) throws FHIRFormatError, DefinitionException, IOException { private void addLangs(XhtmlNode tbl, ResourceWrapper r) throws FHIRFormatError, DefinitionException, IOException {
List<CodeableConcept> langs = new ArrayList<>(); List<CodeableConcept> langs = new ArrayList<>();
@ -423,44 +424,41 @@ public class PatientRenderer extends ResourceRenderer {
} }
} }
} }
if (langs.size() == 1) { if (langs.size() > 0) {
XhtmlNode tr = tbl.tr(); XhtmlNode tr = tbl.tr();
nameCell(tr, /*!#*/"Language:", /*!#*/"Languages spoken"); nameCell(tr, context.formatMessagePlural(langs.size(), RenderingContext.PAT_LANG), context.formatMessagePlural(langs.size(), RenderingContext.PAT_LANG_HINT));
XhtmlNode td = tr.td(); XhtmlNode td = tr.td();
td.colspan("3"); td.colspan("3");
if (langs.size() == 1) {
render(r, td, langs.get(0)); render(r, td, langs.get(0));
if (prefLang != null) { if (prefLang != null) {
td.tx(" "+/*!#*/"(preferred)"); td.tx(" "+context.formatMessage(RenderingContext.PAT_LANG_PREFERRED));
} }
} else if (langs.size() > 1) { } else if (langs.size() > 1) {
XhtmlNode tr = tbl.tr();
nameCell(tr, /*!#*/"Languages:", /*!#*/"Languages spoken");
XhtmlNode td = tr.td();
td.colspan("3");
XhtmlNode ul = td.ul(); XhtmlNode ul = td.ul();
for (CodeableConcept i : langs) { for (CodeableConcept i : langs) {
XhtmlNode li = ul.li(); XhtmlNode li = ul.li();
render(r, li, i); render(r, li, i);
if (i == prefLang) { if (i == prefLang) {
li.tx(" "+/*!#*/"(preferred)"); li.tx(" "+context.formatMessage(RenderingContext.PAT_LANG_PREFERRED));;
}
} }
} }
} }
} }
private void addLinks(XhtmlNode tbl, ResourceWrapper r) throws UnsupportedEncodingException, FHIRException, IOException { private void addLinks(XhtmlNode tbl, ResourceWrapper r) throws UnsupportedEncodingException, FHIRException, IOException {
List<NamedReferance> refs = new ArrayList<>(); List<NamedReferance> refs = new ArrayList<>();
PropertyWrapper pw = getProperty(r, "generalPractitioner"); PropertyWrapper pw = getProperty(r, "generalPractitioner");
if (pw != null) { if (pw != null) {
for (BaseWrapper t : pw.getValues()) { for (BaseWrapper t : pw.getValues()) {
refs.add(new NamedReferance(/*!#*/"General Practitioner", (Reference) t.getBase(), t)); refs.add(new NamedReferance(context.formatMessage(RenderingContext.PAT_GP), (Reference) t.getBase(), t));
} }
} }
pw = getProperty(r, "managingOrganization"); pw = getProperty(r, "managingOrganization");
if (pw != null) { if (pw != null) {
for (BaseWrapper t : pw.getValues()) { for (BaseWrapper t : pw.getValues()) {
refs.add(new NamedReferance(/*!#*/"Managing Organization", (Reference) t.getBase(), t)); refs.add(new NamedReferance(context.formatMessage(RenderingContext.PAT_MO), (Reference) t.getBase(), t));
} }
} }
pw = getProperty(r, "link"); pw = getProperty(r, "link");
@ -484,7 +482,7 @@ public class PatientRenderer extends ResourceRenderer {
if (refs.size() > 0) { if (refs.size() > 0) {
XhtmlNode tr = tbl.tr(); XhtmlNode tr = tbl.tr();
nameCell(tr, /*!#*/"Links:", /*!#*/"Patient Links"); nameCell(tr, context.formatMessage(RenderingContext.PAT_LINKS), context.formatMessage(RenderingContext.PAT_LINKS_HINT));
XhtmlNode td = tr.td(); XhtmlNode td = tr.td();
td.colspan("3"); td.colspan("3");
XhtmlNode ul = td.ul(); XhtmlNode ul = td.ul();
@ -499,10 +497,10 @@ public class PatientRenderer extends ResourceRenderer {
private String describeLinkedRecord(String type) { private String describeLinkedRecord(String type) {
switch (type) { switch (type) {
case "replaced-by" : return /*!#*/"This record replaced by"; case "replaced-by" : return context.formatMessage(RenderingContext.PAT_LINK_REPLBY);
case "replaces": return /*!#*/"This record replaces"; case "replaces": return context.formatMessage(RenderingContext.PAT_LINK_REPL);
case "refer": return /*!#*/"Please refer to"; case "refer": return context.formatMessage(RenderingContext.PAT_LINK_REFER);
case "seealso": return /*!#*/"Also see"; case "seealso": return context.formatMessage(RenderingContext.PAT_LINK_SEE);
} }
return "Unknown"; return "Unknown";
} }
@ -564,9 +562,9 @@ public class PatientRenderer extends ResourceRenderer {
} }
XhtmlNode tr = tbl.tr(); XhtmlNode tr = tbl.tr();
if (rels.size() == 1) { if (rels.size() == 1) {
nameCell(tr, (rels.get(0).getCodingFirstRep().hasDisplay() ? rels.get(0).getCodingFirstRep().getDisplay() : display(rels.get(0)))+":", /*!#*/"Nominated Contact: "+display(rels.get(0))); nameCell(tr, (rels.get(0).getCodingFirstRep().hasDisplay() ? rels.get(0).getCodingFirstRep().getDisplay() : display(rels.get(0)))+":", context.formatMessage(RenderingContext.PAT_NOM_CONTACT)+" "+display(rels.get(0)));
} else { } else {
nameCell(tr, /*!#*/"Contact", /*!#*/"Patient contact"); nameCell(tr, context.formatMessage(RenderingContext.PAT_NOK_CONTACT), context.formatMessage(RenderingContext.PAT_NOK_CONTACT_HINT));
} }
XhtmlNode td = tr.td(); XhtmlNode td = tr.td();
td.colspan("3"); td.colspan("3");
@ -576,15 +574,15 @@ public class PatientRenderer extends ResourceRenderer {
li = ul.li(); li = ul.li();
render(r, li, name); render(r, li, name);
if (gender != null) { if (gender != null) {
li.tx(" "+/*!#*/"("+gender+")"); li.tx(" "+"("+gender+")");
} }
} else if (gender != null) { } else if (gender != null) {
li = ul.li(); li = ul.li();
li.tx(/*!#*/"Gender: "+gender); li.tx(context.formatMessage(RenderingContext.PAT_GENDER, gender));
} }
if (rels.size() > 1) { if (rels.size() > 1) {
li = ul.li(); li = ul.li();
li.tx(/*!#*/"Relationships: "); li.tx(context.formatMessage(RenderingContext.PAT_RELN));
boolean first = true; boolean first = true;
for (CodeableConcept rel : rels) { for (CodeableConcept rel : rels) {
if (first) first = false; else li.tx(", "); if (first) first = false; else li.tx(", ");
@ -599,12 +597,12 @@ public class PatientRenderer extends ResourceRenderer {
} }
if (organization != null) { if (organization != null) {
li = ul.li(); li = ul.li();
li.tx(/*!#*/"Organization: "); li.tx(context.formatMessage(RenderingContext.PAT_ORG));
render(r, li, organization); render(r, li, organization);
} }
if (period != null) { if (period != null) {
li = ul.li(); li = ul.li();
li.tx(/*!#*/"Valid Period: "); li.tx(context.formatMessage(RenderingContext.PAT_PERIOD));
render(r, li, period); render(r, li, period);
} }
} }
@ -624,21 +622,19 @@ public class PatientRenderer extends ResourceRenderer {
}; };
if (names.size() == 1) { if (names.size() == 1) {
XhtmlNode tr = tbl.tr(); XhtmlNode tr = tbl.tr();
nameCell(tr, /*!#*/"Alt. Name:", /*!#*/"Alternate names (see the one above)"); nameCell(tr, context.formatMessage(RenderingContext.PAT_ALT_NAME), context.formatMessage(RenderingContext.PAT_ALT_NAME_HINT));
XhtmlNode td = tr.td(); XhtmlNode td = tr.td();
td.colspan("3"); td.colspan("3");
if (names.size() == 1) {
render(r, td, names.get(0)); render(r, td, names.get(0));
} else if (names.size() > 1) { } else {
XhtmlNode tr = tbl.tr();
nameCell(tr, /*!#*/"Alt Names:", /*!#*/"Alternate names (see the one above)");
XhtmlNode td = tr.td();
td.colspan("3");
XhtmlNode ul = td.ul(); XhtmlNode ul = td.ul();
for (HumanName n : names) { for (HumanName n : names) {
render(r, ul.li(), n); render(r, ul.li(), n);
} }
} }
} }
}
private void addComms(XhtmlNode tbl, ResourceWrapper r) throws FHIRFormatError, DefinitionException, IOException { private void addComms(XhtmlNode tbl, ResourceWrapper r) throws FHIRFormatError, DefinitionException, IOException {
List<ContactPoint> tels = new ArrayList<>(); List<ContactPoint> tels = new ArrayList<>();
@ -651,21 +647,18 @@ public class PatientRenderer extends ResourceRenderer {
for (BaseWrapper t : pw.getValues()) { for (BaseWrapper t : pw.getValues()) {
adds.add((Address) t.getBase()); adds.add((Address) t.getBase());
} }
if (tels.size() + adds.size() == 1) { if (tels.size() + adds.size() > 0) {
XhtmlNode tr = tbl.tr(); XhtmlNode tr = tbl.tr();
nameCell(tr, /*!#*/"Contact Detail:", /*!#*/"Ways to contact the Patient"); nameCell(tr, context.formatMessage(RenderingContext.PAT_CONTACT), context.formatMessage(RenderingContext.PAT_CONTACT_HINT));
XhtmlNode td = tr.td(); XhtmlNode td = tr.td();
td.colspan("3"); td.colspan("3");
if (tels.size() + adds.size() == 1) {
if (adds.isEmpty()) { if (adds.isEmpty()) {
render(r, td, tels.get(0)); render(r, td, tels.get(0));
} else { } else {
render(r, td, adds.get(0)); render(r, td, adds.get(0));
} }
} else if (tels.size() + adds.size() > 1) { } else {
XhtmlNode tr = tbl.tr();
nameCell(tr, /*!#*/"Contact Details:", /*!#*/"Ways to contact the Patient");
XhtmlNode td = tr.td();
td.colspan("3");
XhtmlNode ul = td.ul(); XhtmlNode ul = td.ul();
for (ContactPoint n : tels) { for (ContactPoint n : tels) {
render(r, ul.li(), n); render(r, ul.li(), n);
@ -675,6 +668,7 @@ public class PatientRenderer extends ResourceRenderer {
} }
} }
} }
}
private void addStatus(XhtmlNode tbl, ResourceWrapper r) throws FHIRFormatError, DefinitionException, UnsupportedEncodingException, FHIRException, IOException { private void addStatus(XhtmlNode tbl, ResourceWrapper r) throws FHIRFormatError, DefinitionException, UnsupportedEncodingException, FHIRException, IOException {
// TODO Auto-generated method stub // TODO Auto-generated method stub
@ -698,7 +692,7 @@ public class PatientRenderer extends ResourceRenderer {
PropertyWrapper a = r.getChildByName("active"); PropertyWrapper a = r.getChildByName("active");
if (a.hasValues()) { if (a.hasValues()) {
pos++; pos++;
nameCell(tr, /*!#*/"Active:", /*!#*/"Record is active"); nameCell(tr, context.formatMessage(RenderingContext.PAT_ACTIVE), context.formatMessage(RenderingContext.PAT_ACTIVE_HINT));
XhtmlNode td = tr.td(); XhtmlNode td = tr.td();
if (pos == count) { if (pos == count) {
td.colspan("3"); td.colspan("3");
@ -710,7 +704,7 @@ public class PatientRenderer extends ResourceRenderer {
PropertyWrapper a = r.getChildByName("deceased[x]"); PropertyWrapper a = r.getChildByName("deceased[x]");
if (a.hasValues()) { if (a.hasValues()) {
pos++; pos++;
nameCell(tr, /*!#*/"Deceased:", /*!#*/"Known status of Patient"); nameCell(tr, context.formatMessage(RenderingContext.PAT_DECEASED), context.formatMessage(RenderingContext.PAT_DECEASED_HINT));
XhtmlNode td = tr.td(); XhtmlNode td = tr.td();
if (pos == count) { if (pos == count) {
td.colspan("3"); td.colspan("3");
@ -725,7 +719,7 @@ public class PatientRenderer extends ResourceRenderer {
if (pos == 3) { if (pos == 3) {
tr = tbl.tr(); tr = tbl.tr();
} }
nameCell(tr, /*!#*/"Marital Status:", /*!#*/"Known Marital status of Patient"); nameCell(tr, context.formatMessage(RenderingContext.PAT_MARITAL), context.formatMessage(RenderingContext.PAT_MARITAL_HINT));
XhtmlNode td = tr.td(); XhtmlNode td = tr.td();
if (pos == count) { if (pos == count) {
td.colspan("3"); td.colspan("3");
@ -740,7 +734,7 @@ public class PatientRenderer extends ResourceRenderer {
if (pos == 3) { if (pos == 3) {
tr = tbl.tr(); tr = tbl.tr();
} }
nameCell(tr, /*!#*/"Multiple Birth:", /*!#*/"Known multipleBirth status of Patient"); nameCell(tr, context.formatMessage(RenderingContext.PAT_MUL_BIRTH), context.formatMessage(RenderingContext.PAT_MUL_BIRTH_HINT));
XhtmlNode td = tr.td(); XhtmlNode td = tr.td();
if (pos == count) { if (pos == count) {
td.colspan("3"); td.colspan("3");
@ -783,7 +777,7 @@ public class PatientRenderer extends ResourceRenderer {
String n = UUID.randomUUID().toString().toLowerCase()+ext; String n = UUID.randomUUID().toString().toLowerCase()+ext;
TextFile.bytesToFile(att.getData(), new File(Utilities.path(context.getDestDir(), n))); TextFile.bytesToFile(att.getData(), new File(Utilities.path(context.getDestDir(), n)));
context.registerFile(n); context.registerFile(n);
td.img(n, /*!#*/"patient photo"); td.img(n, context.formatMessage(RenderingContext.PAT_PHOTO));
} }
return; return;
} }

View File

@ -525,7 +525,7 @@ public abstract class ResourceRenderer extends DataRenderer {
protected void generateCopyright(XhtmlNode x, CanonicalResource cs) { protected void generateCopyright(XhtmlNode x, CanonicalResource cs) {
XhtmlNode p = x.para(); XhtmlNode p = x.para();
p.b().tx(getContext().formatMessage(RenderingContext.RENDER_RESOURCE_COPYRIGHT)); p.b().tx(getContext().formatMessage(RenderingContext.RESOURCE_COPYRIGHT));
smartAddText(p, " " + cs.getCopyright()); smartAddText(p, " " + cs.getCopyright());
} }

View File

@ -59,7 +59,7 @@ public class StructureMapRenderer extends TerminologyRenderer {
private static final String COLOR_CONST = "blue"; private static final String COLOR_CONST = "blue";
private static final String COLOR_VARIABLE = "maroon"; private static final String COLOR_VARIABLE = "maroon";
private static final String COLOR_SYNTAX = "navy"; private static final String COLOR_SYNTAX = "navy";
private static final boolean RENDER_MULTIPLE_TARGETS_ONELINE = true; private static final boolean MULTIPLE_TARGETS_ONELINE = true;
private static final String COLOR_SPECIAL = "#b36b00"; private static final String COLOR_SPECIAL = "#b36b00";
private static final String DEFAULT_COMMENT = /*!#*/"This element was not defined prior to R5"; private static final String DEFAULT_COMMENT = /*!#*/"This element was not defined prior to R5";
@ -382,7 +382,7 @@ public class StructureMapRenderer extends TerminologyRenderer {
first = false; first = false;
else else
x.color(COLOR_SYNTAX).tx(", "); x.color(COLOR_SYNTAX).tx(", ");
if (RENDER_MULTIPLE_TARGETS_ONELINE) if (MULTIPLE_TARGETS_ONELINE)
x.tx(" "); x.tx(" ");
else { else {
x.tx("\r\n"); x.tx("\r\n");

View File

@ -211,21 +211,21 @@ public abstract class TerminologyRenderer extends ResourceRenderer {
if (hasHierarchy) { if (hasHierarchy) {
tr.td().b().tx(/*!#*/"Lvl"); tr.td().b().tx(/*!#*/"Lvl");
} }
tr.td().attribute("style", "white-space:nowrap").b().tx(formatMessage(RenderingContext.RENDER_TX_CODE)); tr.td().attribute("style", "white-space:nowrap").b().tx(formatMessage(RenderingContext.TX_CODE));
if (hasDisplay) { if (hasDisplay) {
tr.td().b().tx(formatMessage(RenderingContext.RENDER_TX_DISPLAY)); tr.td().b().tx(formatMessage(RenderingContext.TX_DISPLAY));
} }
if (definitions) { if (definitions) {
tr.td().b().tx(formatMessage(RenderingContext.RENDER_TX_DEFINITION)); tr.td().b().tx(formatMessage(RenderingContext.TX_DEFINITION));
} }
if (deprecated) { if (deprecated) {
tr.td().b().tx(formatMessage(RenderingContext.RENDER_TX_DEPRECATED)); tr.td().b().tx(formatMessage(RenderingContext.TX_DEPRECATED));
} }
if (comments) { if (comments) {
tr.td().b().tx(formatMessage(RenderingContext.RENDER_TX_COMMENTS)); tr.td().b().tx(formatMessage(RenderingContext.TX_COMMENTS));
} }
if (version) { if (version) {
tr.td().b().tx(formatMessage(RenderingContext.RENDER_TX_VERSION)); tr.td().b().tx(formatMessage(RenderingContext.TX_VERSION));
} }
if (properties != null) { if (properties != null) {
for (PropertyComponent pc : properties) { for (PropertyComponent pc : properties) {

View File

@ -1,6 +1,7 @@
package org.hl7.fhir.r5.renderers.utils; package org.hl7.fhir.r5.renderers.utils;
import java.io.IOException; import java.io.IOException;
import java.text.NumberFormat;
import java.time.ZoneId; import java.time.ZoneId;
import java.time.format.DateTimeFormatter; import java.time.format.DateTimeFormatter;
import java.util.ArrayList; import java.util.ArrayList;
@ -18,7 +19,10 @@ import org.hl7.fhir.r5.elementmodel.Element;
import org.hl7.fhir.r5.fhirpath.FHIRPathEngine.IEvaluationContext; import org.hl7.fhir.r5.fhirpath.FHIRPathEngine.IEvaluationContext;
import org.hl7.fhir.r5.model.Base; import org.hl7.fhir.r5.model.Base;
import org.hl7.fhir.r5.model.DomainResource; import org.hl7.fhir.r5.model.DomainResource;
import org.hl7.fhir.r5.model.Extension;
import org.hl7.fhir.r5.model.PrimitiveType;
import org.hl7.fhir.r5.renderers.utils.Resolver.IReferenceResolver; import org.hl7.fhir.r5.renderers.utils.Resolver.IReferenceResolver;
import org.hl7.fhir.r5.utils.ToolingExtensions;
import org.hl7.fhir.utilities.FhirPublication; import org.hl7.fhir.utilities.FhirPublication;
import org.hl7.fhir.utilities.MarkDownProcessor; import org.hl7.fhir.utilities.MarkDownProcessor;
import org.hl7.fhir.utilities.MarkDownProcessor.Dialect; import org.hl7.fhir.utilities.MarkDownProcessor.Dialect;
@ -745,5 +749,18 @@ public class RenderingContext extends RenderingI18nContext {
return typeMap; return typeMap;
} }
public String getTranslated(PrimitiveType<?> t) {
String v = ToolingExtensions.getLanguageTranslation(t, lang);
if (v != null) {
return v;
}
return t.asStringValue();
}
public String toStr(int v) {
NumberFormat nf = NumberFormat.getInstance(locale);
return nf.format(v);
}
} }

View File

@ -793,7 +793,7 @@ public class ToolingExtensions {
if (e.getUrl().equals(EXT_TRANSLATION)) { if (e.getUrl().equals(EXT_TRANSLATION)) {
Extension e1 = ExtensionHelper.getExtension(e, "lang"); Extension e1 = ExtensionHelper.getExtension(e, "lang");
if (e1 != null && e1.getValue() instanceof CodeType && ((CodeType) e.getValue()).getValue().equals(lang)) { if (e1 != null && e1.getValue() != null && e1.getValue() instanceof CodeType && ((CodeType) e1.getValue()).getValue().equals(lang)) {
e1 = ExtensionHelper.getExtension(e, "content"); e1 = ExtensionHelper.getExtension(e, "content");
return ((StringType) e.getValue()).getValue(); return ((StringType) e.getValue()).getValue();
} }

View File

@ -99,7 +99,7 @@ public class StructureMapUtilities {
public static final String MAP_WHERE_EXPRESSION = "map.where.expression"; public static final String MAP_WHERE_EXPRESSION = "map.where.expression";
public static final String MAP_SEARCH_EXPRESSION = "map.search.expression"; public static final String MAP_SEARCH_EXPRESSION = "map.search.expression";
public static final String MAP_EXPRESSION = "map.transform.expression"; public static final String MAP_EXPRESSION = "map.transform.expression";
private static final boolean RENDER_MULTIPLE_TARGETS_ONELINE = true; private static final boolean MULTIPLE_TARGETS_ONELINE = true;
public static final String AUTO_VAR_NAME = "vvv"; public static final String AUTO_VAR_NAME = "vvv";
public static final String DEF_GROUP_NAME = "DefaultMappingGroupAnonymousAlias"; public static final String DEF_GROUP_NAME = "DefaultMappingGroupAnonymousAlias";
@ -364,7 +364,7 @@ public class StructureMapUtilities {
first = false; first = false;
else else
b.append(", "); b.append(", ");
if (RENDER_MULTIPLE_TARGETS_ONELINE) if (MULTIPLE_TARGETS_ONELINE)
b.append(' '); b.append(' ');
else { else {
b.append("\r\n"); b.append("\r\n");

View File

@ -1,4 +1,6 @@
{ {
"http://example.org/fhir/example2" : null,
"http://example.org/fhir/example1" : null,
"http://somewhere/something-else" : null, "http://somewhere/something-else" : null,
"http://loinc.org/vs/LL715-4" : null, "http://loinc.org/vs/LL715-4" : null,
"http://hl7.org/fhir/us/vrdr/ValueSet/vrdr-PlaceOfDeath" : null, "http://hl7.org/fhir/us/vrdr/ValueSet/vrdr-PlaceOfDeath" : null,

View File

@ -906,11 +906,6 @@ public class I18nConstants {
public static final String SD_OBGLIGATION_INHERITS_PROFILE_NOT_RIGHT_TYPE = "SD_OBGLIGATION_INHERITS_PROFILE_NOT_RIGHT_TYPE"; public static final String SD_OBGLIGATION_INHERITS_PROFILE_NOT_RIGHT_TYPE = "SD_OBGLIGATION_INHERITS_PROFILE_NOT_RIGHT_TYPE";
public static final String SD_OBGLIGATION_INHERITS_PROFILE_NOT_RIGHT_BASE = "SD_OBGLIGATION_INHERITS_PROFILE_NOT_RIGHT_BASE"; public static final String SD_OBGLIGATION_INHERITS_PROFILE_NOT_RIGHT_BASE = "SD_OBGLIGATION_INHERITS_PROFILE_NOT_RIGHT_BASE";
public static final String RND_CS_CONTENT_COMPLETE = "RND_CS_CONTENT_COMPLETE";
public static final String RND_CS_CONTENT_EXAMPLE = "RND_CS_CONTENT_EXAMPLE";
public static final String RND_CS_CONTENT_FRAGMENT = "RND_CS_CONTENT_FRAGMENT";
public static final String RND_CS_CONTENT_NOTPRESENT = "RND_CS_CONTENT_NOTPRESENT";
public static final String RND_CS_CONTENT_SUPPLEMENT = "RND_CS_CONTENT_SUPPLEMENT";
public static final String QUESTIONNAIRE_Q_UNKNOWN_DERIVATION = "QUESTIONNAIRE_Q_UNKNOWN_DERIVATION"; public static final String QUESTIONNAIRE_Q_UNKNOWN_DERIVATION = "QUESTIONNAIRE_Q_UNKNOWN_DERIVATION";
public static final String QUESTIONNAIRE_Q_NO_DERIVATION_TYPE = "QUESTIONNAIRE_Q_NO_DERIVATION_TYPE"; public static final String QUESTIONNAIRE_Q_NO_DERIVATION_TYPE = "QUESTIONNAIRE_Q_NO_DERIVATION_TYPE";
public static final String QUESTIONNAIRE_Q_NO_DERIVATION_TYPE_VALUE = "QUESTIONNAIRE_Q_NO_DERIVATION_TYPE_VALUE"; public static final String QUESTIONNAIRE_Q_NO_DERIVATION_TYPE_VALUE = "QUESTIONNAIRE_Q_NO_DERIVATION_TYPE_VALUE";

View File

@ -1,98 +1,145 @@
package org.hl7.fhir.utilities.i18n; package org.hl7.fhir.utilities.i18n;
public class RenderingI18nContext extends I18nBase { public class RenderingI18nContext extends I18nBase {
public static final String BUNDLE_DOCUMENT_CONTENT = "BUNDLE_DOCUMENT_CONTENT";
public static final String RENDER_BUNDLE_HEADER_ROOT = "RENDER_BUNDLE_HEADER_ROOT"; public static final String BUNDLE_ETAG = "BUNDLE_ETAG";
public static final String RENDER_BUNDLE_HEADER_ENTRY = "RENDER_BUNDLE_HEADER_ENTRY"; public static final String BUNDLE_HEADER_DOC_ENTRY_RD = "BUNDLE_HEADER_DOC_ENTRY_RD";
public static final String RENDER_BUNDLE_HEADER_ENTRY_URL = "RENDER_BUNDLE_HEADER_ENTRY_URL"; public static final String BUNDLE_HEADER_DOC_ENTRY_U = "BUNDLE_HEADER_DOC_ENTRY_U";
public static final String RENDER_BUNDLE_RESOURCE = "RENDER_BUNDLE_RESOURCE"; public static final String BUNDLE_HEADER_DOC_ENTRY_URD = "BUNDLE_HEADER_DOC_ENTRY_URD";
public static final String RENDER_BUNDLE_SEARCH = "RENDER_BUNDLE_SEARCH"; public static final String BUNDLE_HEADER_ENTRY = "BUNDLE_HEADER_ENTRY";
public static final String RENDER_BUNDLE_SEARCH_MODE = "RENDER_BUNDLE_SEARCH_MODE"; public static final String BUNDLE_HEADER_ENTRY_URL = "BUNDLE_HEADER_ENTRY_URL";
public static final String RENDER_BUNDLE_SEARCH_SCORE = "RENDER_BUNDLE_SEARCH_SCORE"; public static final String BUNDLE_HEADER_ROOT = "BUNDLE_HEADER_ROOT";
public static final String RENDER_BUNDLE_RESPONSE = "RENDER_BUNDLE_RESPONSE"; public static final String BUNDLE_IF_MATCH = "BUNDLE_IF_MATCH";
public static final String RENDER_BUNDLE_LOCATION = "RENDER_BUNDLE_LOCATION"; public static final String BUNDLE_IF_MOD = "BUNDLE_IF_MOD";
public static final String RENDER_BUNDLE_ETAG = "RENDER_BUNDLE_ETAG"; public static final String BUNDLE_IF_NONE = "BUNDLE_IF_NONE";
public static final String RENDER_BUNDLE_LAST_MOD = "RENDER_BUNDLE_LAST_MOD"; public static final String BUNDLE_IF_NON_MATCH = "BUNDLE_IF_NON_MATCH";
public static final String RENDER_BUNDLE_REQUEST = "RENDER_BUNDLE_REQUEST"; public static final String BUNDLE_LAST_MOD = "BUNDLE_LAST_MOD";
public static final String RENDER_BUNDLE_IF_NON_MATCH = "RENDER_BUNDLE_IF_NON_MATCH"; public static final String BUNDLE_LOCATION = "BUNDLE_LOCATION";
public static final String RENDER_BUNDLE_IF_MOD = "RENDER_BUNDLE_IF_MOD"; public static final String BUNDLE_REQUEST = "BUNDLE_REQUEST";
public static final String RENDER_BUNDLE_IF_MATCH = "RENDER_BUNDLE_IF_MATCH"; public static final String BUNDLE_RESOURCE = "BUNDLE_RESOURCE";
public static final String RENDER_BUNDLE_IF_NONE = "RENDER_BUNDLE_IF_NONE"; public static final String BUNDLE_RESPONSE = "BUNDLE_RESPONSE";
public static final String RENDER_BUNDLE_DOCUMENT_CONTENT = "RENDER_BUNDLE_DOCUMENT_CONTENT"; public static final String BUNDLE_SEARCH = "BUNDLE_SEARCH";
public static final String RENDER_BUNDLE_HEADER_DOC_ENTRY_URD = "RENDER_BUNDLE_HEADER_DOC_ENTRY_URD"; public static final String BUNDLE_SEARCH_MODE = "BUNDLE_SEARCH_MODE";
public static final String RENDER_BUNDLE_HEADER_DOC_ENTRY_U = "RENDER_BUNDLE_HEADER_DOC_ENTRY_U"; public static final String BUNDLE_SEARCH_SCORE = "BUNDLE_SEARCH_SCORE";
public static final String RENDER_BUNDLE_HEADER_DOC_ENTRY_RD = "RENDER_BUNDLE_HEADER_DOC_ENTRY_RD"; public static final String CODESYSTEM_CONCEPTS = "CODESYSTEM_CONCEPTS";
public static final String CODESYSTEM_DEPRECATED = "CODESYSTEM_DEPRECATED";
public static final String SD_HEAD_NAME = "SD_HEAD_NAME"; public static final String CODESYSTEM_FILTERS = "CODESYSTEM_FILTERS";
public static final String SD_HEAD_NAME_DESC = "SD_HEAD_NAME_DESC"; public static final String CODESYSTEM_FILTER_CODE = "CODESYSTEM_FILTER_CODE";
public static final String SD_HEAD_FLAGS = "SD_HEAD_FLAGS"; public static final String CODESYSTEM_FILTER_DESC = "CODESYSTEM_FILTER_DESC";
public static final String SD_HEAD_FLAGS_DESC = "SD_HEAD_FLAGS_DESC"; public static final String CODESYSTEM_FILTER_OP = "CODESYSTEM_FILTER_OP";
public static final String SD_HEAD_CARD = "SD_HEAD_CARD"; public static final String CODESYSTEM_FILTER_VALUE = "CODESYSTEM_FILTER_VALUE";
public static final String SD_HEAD_CARD_DESC = "SD_HEAD_CARD_DESC"; public static final String CODESYSTEM_PROPS = "CODESYSTEM_PROPS";
public static final String SD_HEAD_TYPE = "SD_HEAD_TYPE"; public static final String CODESYSTEM_PROPS_DESC = "CODESYSTEM_PROPS_DESC";
public static final String SD_HEAD_TYPE_DESC = "SD_HEAD_TYPE_DESC"; public static final String CODESYSTEM_PROP_CODE = "CODESYSTEM_PROP_CODE";
public static final String SD_HEAD_DESC = "SD_HEAD_DESC"; public static final String CODESYSTEM_PROP_DESC = "CODESYSTEM_PROP_DESC";
public static final String SD_HEAD_DESC_DESC = "SD_HEAD_DESC_DESC"; public static final String CODESYSTEM_PROP_NAME = "CODESYSTEM_PROP_NAME";
public static final String CODESYSTEM_PROP_TYPE = "CODESYSTEM_PROP_TYPE";
public static final String SD_COMP_HEAD_NAME = "SD_COMP_HEAD_NAME"; public static final String CODESYSTEM_PROP_URI = "CODESYSTEM_PROP_URI";
public static final String SD_COMP_HEAD_NAME_DESC = "SD_COMP_HEAD_NAME_DESC"; public static final String CODESYSTEM_CONTENT_COMPLETE = "CODESYSTEM_CONTENT_COMPLETE";
public static final String SD_COMP_HEAD_FLAGS_L = "SD_COMP_HEAD_FLAGS_L"; public static final String CODESYSTEM_CONTENT_EXAMPLE = "CODESYSTEM_CONTENT_EXAMPLE";
public static final String SD_COMP_HEAD_FLAGS_L_DESC ="SD_COMP_HEAD_FLAGS_L_DESC"; public static final String CODESYSTEM_CONTENT_FRAGMENT = "CODESYSTEM_CONTENT_FRAGMENT";
public static final String CODESYSTEM_CONTENT_NOTPRESENT = "CODESYSTEM_CONTENT_NOTPRESENT";
public static final String CODESYSTEM_CONTENT_SUPPLEMENT = "CODESYSTEM_CONTENT_SUPPLEMENT";
public static final String RESOURCE_COPYRIGHT = "RESOURCE_COPYRIGHT";
public static final String SD_COMP_HEAD_CARD_L = "SD_COMP_HEAD_CARD_L"; public static final String SD_COMP_HEAD_CARD_L = "SD_COMP_HEAD_CARD_L";
public static final String SD_COMP_HEAD_CARD_L_DESC ="SD_COMP_HEAD_CARD_L_DESC"; public static final String SD_COMP_HEAD_CARD_L_DESC ="SD_COMP_HEAD_CARD_L_DESC";
public static final String SD_COMP_HEAD_TYPE_L = "SD_COMP_HEAD_TYPE_L";
public static final String SD_COMP_HEAD_TYPE_L_DESC ="SD_COMP_HEAD_TYPE_L_DESC";
public static final String SD_COMP_HEAD_DESC_L = "SD_COMP_HEAD_DESC_L";
public static final String SD_COMP_HEAD_DESC_L_DESC ="SD_COMP_HEAD_DESC_L_DESC";
public static final String SD_COMP_HEAD_FLAGS_R = "SD_COMP_HEAD_FLAGS_R";
public static final String SD_COMP_HEAD_FLAGS_R_DESC ="SD_COMP_HEAD_FLAGS_R_DESC";
public static final String SD_COMP_HEAD_CARD_R = "SD_COMP_HEAD_CARD_R"; public static final String SD_COMP_HEAD_CARD_R = "SD_COMP_HEAD_CARD_R";
public static final String SD_COMP_HEAD_CARD_R_DESC ="SD_COMP_HEAD_CARD_R_DESC"; public static final String SD_COMP_HEAD_CARD_R_DESC ="SD_COMP_HEAD_CARD_R_DESC";
public static final String SD_COMP_HEAD_TYPE_R = "SD_COMP_HEAD_TYPE_R";
public static final String SD_COMP_HEAD_TYPE_R_DESC ="SD_COMP_HEAD_TYPE_R_DESC";
public static final String SD_COMP_HEAD_DESC_R = "SD_COMP_HEAD_DESC_R";
public static final String SD_COMP_HEAD_DESC_R_DESC ="SD_COMP_HEAD_DESC_R_DESC";
public static final String SD_COMP_HEAD_COMP = "SD_COMP_HEAD_COMP"; public static final String SD_COMP_HEAD_COMP = "SD_COMP_HEAD_COMP";
public static final String SD_COMP_HEAD_COMP_DESC = "SD_COMP_HEAD_COMP_DESC"; public static final String SD_COMP_HEAD_COMP_DESC = "SD_COMP_HEAD_COMP_DESC";
public static final String SD_COMP_HEAD_DESC_L = "SD_COMP_HEAD_DESC_L";
public static final String SD_GRID_HEAD_NAME = "SD_GRID_HEAD_NAME"; public static final String SD_COMP_HEAD_DESC_L_DESC ="SD_COMP_HEAD_DESC_L_DESC";
public static final String SD_GRID_HEAD_NAME_DESC = "SD_GRID_HEAD_NAME_DESC"; public static final String SD_COMP_HEAD_DESC_R = "SD_COMP_HEAD_DESC_R";
public static final String SD_COMP_HEAD_DESC_R_DESC ="SD_COMP_HEAD_DESC_R_DESC";
public static final String SD_COMP_HEAD_FLAGS_L = "SD_COMP_HEAD_FLAGS_L";
public static final String SD_COMP_HEAD_FLAGS_L_DESC ="SD_COMP_HEAD_FLAGS_L_DESC";
public static final String SD_COMP_HEAD_FLAGS_R = "SD_COMP_HEAD_FLAGS_R";
public static final String SD_COMP_HEAD_FLAGS_R_DESC ="SD_COMP_HEAD_FLAGS_R_DESC";
public static final String SD_COMP_HEAD_NAME = "SD_COMP_HEAD_NAME";
public static final String SD_COMP_HEAD_NAME_DESC = "SD_COMP_HEAD_NAME_DESC";
public static final String SD_COMP_HEAD_TYPE_L = "SD_COMP_HEAD_TYPE_L";
public static final String SD_COMP_HEAD_TYPE_L_DESC ="SD_COMP_HEAD_TYPE_L_DESC";
public static final String SD_COMP_HEAD_TYPE_R = "SD_COMP_HEAD_TYPE_R";
public static final String SD_COMP_HEAD_TYPE_R_DESC ="SD_COMP_HEAD_TYPE_R_DESC";
public static final String SD_DOCO = "SD_DOCO";
public static final String SD_GRID_HEAD_CARD = "SD_GRID_HEAD_CARD"; public static final String SD_GRID_HEAD_CARD = "SD_GRID_HEAD_CARD";
public static final String SD_GRID_HEAD_CARD_DESC = "SD_GRID_HEAD_CARD_DESC"; public static final String SD_GRID_HEAD_CARD_DESC = "SD_GRID_HEAD_CARD_DESC";
public static final String SD_GRID_HEAD_TYPE = "SD_GRID_HEAD_TYPE";
public static final String SD_GRID_HEAD_TYPE_DESC = "SD_GRID_HEAD_TYPE_DESC";
public static final String SD_GRID_HEAD_DESC = "SD_GRID_HEAD_DESC"; public static final String SD_GRID_HEAD_DESC = "SD_GRID_HEAD_DESC";
public static final String SD_GRID_HEAD_DESC_DESC = "SD_GRID_HEAD_DESC_DESC"; public static final String SD_GRID_HEAD_DESC_DESC = "SD_GRID_HEAD_DESC_DESC";
public static final String SD_GRID_HEAD_NAME = "SD_GRID_HEAD_NAME";
public static final String SD_GRID_HEAD_NAME_DESC = "SD_GRID_HEAD_NAME_DESC";
public static final String SD_GRID_HEAD_TYPE = "SD_GRID_HEAD_TYPE";
public static final String SD_GRID_HEAD_TYPE_DESC = "SD_GRID_HEAD_TYPE_DESC";
public static final String SD_HEAD_CARD = "SD_HEAD_CARD";
public static final String SD_HEAD_CARD_DESC = "SD_HEAD_CARD_DESC";
public static final String SD_HEAD_DESC = "SD_HEAD_DESC";
public static final String SD_HEAD_DESC_DESC = "SD_HEAD_DESC_DESC";
public static final String SD_HEAD_FLAGS = "SD_HEAD_FLAGS";
public static final String SD_HEAD_FLAGS_DESC = "SD_HEAD_FLAGS_DESC";
public static final String SD_HEAD_NAME = "SD_HEAD_NAME";
public static final String SD_HEAD_NAME_DESC = "SD_HEAD_NAME_DESC";
public static final String SD_HEAD_TYPE = "SD_HEAD_TYPE";
public static final String SD_HEAD_TYPE_DESC = "SD_HEAD_TYPE_DESC";
public static final String SD_LEGEND = "SD_LEGEND"; public static final String SD_LEGEND = "SD_LEGEND";
public static final String SD_DOCO = "SD_DOCO";
public static final String SD_SLICING_INFO = "SD_SLICING_INFO"; public static final String SD_SLICING_INFO = "SD_SLICING_INFO";
public static final String SD_SUMMARY_MAPPINGS = "SD_SUMMARY_MAPPINGS";
public static final String SD_SUMMARY_MISSING_EXTENSION = "SD_SUMMARY_MISSING_EXTENSION";
public static final String SD_SUMMARY_MISSING_PROFILE = "SD_SUMMARY_MISSING_PROFILE";
public static final String SD_SUMMARY_PUBLICATION = "SD_SUMMARY_PUBLICATION";
public static final String SD_SUMMARY_SLICES = "SD_SUMMARY_SLICES";
public static final String SD_SUMMARY_SLICE = "SD_SUMMARY_SLICE";
public static final String SD_SUMMARY_SLICE_NONE = "SD_SUMMARY_SLICE_NONE";
public static final String SD_SUMMARY_MANDATORY = "SD_SUMMARY_MANDATORY";
public static final String SD_SUMMARY_MUST_SUPPORT = "SD_SUMMARY_MUST_SUPPORT";
public static final String SD_SUMMARY_FIXED = "SD_SUMMARY_FIXED";
public static final String SD_SUMMARY_INFO = "SD_SUMMARY_INFO";
public static final String SD_SUMMARY_PROHIBITED = "SD_SUMMARY_PROHIBITED";
public static final String SD_SUMMARY_NESTED_MANDATORY = "SD_SUMMARY_NESTED_MANDATORY";
public static final String TX_CODE = "TX_CODE";
public static final String TX_COMMENTS = "TX_COMMENTS";
public static final String TX_DEFINITION = "TX_DEFINITION";
public static final String TX_DEPRECATED = "TX_DEPRECATED";
public static final String TX_DISPLAY = "TX_DISPLAY";
public static final String TX_VERSION = "TX_VERSION";
public static final String PAT_GENDER = "PAT_GENDER";
public static final String PAT_NO_GENDER = "PAT_NO_GENDER";
public static final String PAT_NO_DOB = "PAT_NO_DOB";
public static final String PAT_DOB = "PAT_DOB";
public static final String PAT_NO_NAME = "PAT_NO_NAME";
public static final String PAT_CONTAINED = "PAT_CONTAINED";
public static final String PAT_OTHER_ID = "PAT_OTHER_ID";
public static final String PAT_OTHER_ID_HINT = "PAT_OTHER_ID_HINT";
public static final String PAT_LANG = "PAT_LANG";
public static final String PAT_LANG_HINT = "PAT_LANG_HINT";
public static final String PAT_LANG_PREFERRED = "PAT_LANG_PREFERRED";
public static final String PAT_GP = "PAT_GP";
public static final String PAT_MO = "PAT_MO";
public static final String PAT_LINKS = "PAT_LINKS";
public static final String PAT_LINKS_HINT = "PAT_LINKS_HINT";
public static final String PAT_LINK_REPLBY = "PAT_LINK_REPLBY";
public static final String PAT_LINK_REPL = "PAT_LINK_REPL";
public static final String PAT_LINK_REFER = "PAT_LINK_REFER";
public static final String PAT_LINK_SEE = "PAT_LINK_SEE";
public static final String PAT_NOM_CONTACT = "PAT_NOM_CONTACT";
public static final String PAT_NOK_CONTACT = "PAT_NOK_CONTACT";
public static final String PAT_NOK_CONTACT_HINT = "PAT_NOK_CONTACT_HINT";
public static final String PAT_RELN = "PAT_RELN";
public static final String PAT_ORG = "PAT_ORG";
public static final String PAT_PERIOD = "PAT_PERIOD";
public static final String PAT_ALT_NAME = "PAT_ALT_NAME";
public static final String PAT_ALT_NAME_HINT = "PAT_ALT_NAME_HINT";
public static final String PAT_CONTACT = "PAT_CONTACT";
public static final String PAT_CONTACT_HINT = "PAT_CONTACT_HINT";
public static final String PAT_ACTIVE = "PAT_ACTIVE";
public static final String PAT_ACTIVE_HINT = "PAT_ACTIVE_HINT";
public static final String PAT_DECEASED = "PAT_DECEASED";
public static final String PAT_DECEASED_HINT = "PAT_DECEASED_HINT";
public static final String PAT_MARITAL = "PAT_MARITAL";
public static final String PAT_MARITAL_HINT = "PAT_MARITAL_HINT";
public static final String PAT_MUL_BIRTH = "PAT_MUL_BIRTH";
public static final String PAT_MUL_BIRTH_HINT = "PAT_MUL_BIRTH_HINT";
public static final String PAT_PHOTO = "PAT_PHOTO";
public static final String RENDER_RESOURCE_COPYRIGHT = "RENDER_RESOURCE_COPYRIGHT";
public static final String RENDER_CODESYSTEM_FILTERS = "RENDER_CODESYSTEM_FILTERS";
public static final String RENDER_CODESYSTEM_FILTER_CODE = "RENDER_CODESYSTEM_FILTER_CODE";
public static final String RENDER_CODESYSTEM_FILTER_DESC = "RENDER_CODESYSTEM_FILTER_DESC";
public static final String RENDER_CODESYSTEM_FILTER_OP = "RENDER_CODESYSTEM_FILTER_OP";
public static final String RENDER_CODESYSTEM_FILTER_VALUE = "RENDER_CODESYSTEM_FILTER_VALUE";
public static final String RENDER_CODESYSTEM_PROPS = "RENDER_CODESYSTEM_PROPS";
public static final String RENDER_CODESYSTEM_PROPS_DESC = "RENDER_CODESYSTEM_PROPS_DESC";
public static final String RENDER_CODESYSTEM_PROP_NAME = "RENDER_CODESYSTEM_PROP_NAME";
public static final String RENDER_CODESYSTEM_PROP_CODE = "RENDER_CODESYSTEM_PROP_CODE";
public static final String RENDER_CODESYSTEM_PROP_URI = "RENDER_CODESYSTEM_PROP_URI";
public static final String RENDER_CODESYSTEM_PROP_TYPE = "RENDER_CODESYSTEM_PROP_TYPE";
public static final String RENDER_CODESYSTEM_PROP_DESC = "RENDER_CODESYSTEM_PROP_DESC";
public static final String RENDER_CODESYSTEM_CONCEPTS = "RENDER_CODESYSTEM_CONCEPTS";
public static final String RENDER_CODESYSTEM_DEPRECATED = "RENDER_CODESYSTEM_DEPRECATED";
public static final String RENDER_TX_CODE = "RENDER_TX_CODE";
public static final String RENDER_TX_DISPLAY = "RENDER_TX_DISPLAY";
public static final String RENDER_TX_DEFINITION = "RENDER_TX_DEFINITION";
public static final String RENDER_TX_DEPRECATED = "RENDER_TX_DEPRECATED";
public static final String RENDER_TX_COMMENTS = "RENDER_TX_COMMENTS";
public static final String RENDER_TX_VERSION = "RENDER_TX_VERSION";
protected String getMessagesSourceFileName() { protected String getMessagesSourceFileName() {
return "rendering-phrases"; return "rendering-phrases";

View File

@ -1,84 +1,145 @@
# Rendering # Rendering
RENDER_BUNDLE_HEADER_ROOT = Bundle {0} of type {1} BUNDLE_HEADER_ROOT = Bundle {0} of type {1}
RENDER_BUNDLE_HEADER_ENTRY = Entry {0} BUNDLE_HEADER_ENTRY = Entry {0}
RENDER_BUNDLE_HEADER_ENTRY_URL = Entry {0} - fullUrl = {1} BUNDLE_HEADER_ENTRY_URL = Entry {0} - fullUrl = {1}
RENDER_BUNDLE_RESOURCE = Resource {0}: BUNDLE_RESOURCE = Resource {0}:
RENDER_BUNDLE_SEARCH = Search: BUNDLE_SEARCH = Search:
RENDER_BUNDLE_SEARCH_MODE = Mode = {0} BUNDLE_SEARCH_MODE = Mode = {0}
RENDER_BUNDLE_SEARCH_SCORE = Score = {0} BUNDLE_SEARCH_SCORE = Score = {0}
RENDER_BUNDLE_RESPONSE = Response: BUNDLE_RESPONSE = Response:
RENDER_BUNDLE_LOCATION = Location = {0} BUNDLE_LOCATION = Location = {0}
RENDER_BUNDLE_ETAG = ETag = {0} BUNDLE_ETAG = ETag = {0}
RENDER_BUNDLE_LAST_MOD = LastModified = {0} BUNDLE_LAST_MOD = LastModified = {0}
RENDER_BUNDLE_REQUEST = Request: BUNDLE_REQUEST = Request:
RENDER_BUNDLE_IF_NON_MATCH = If-None-Match = {0} BUNDLE_IF_NON_MATCH = If-None-Match = {0}
RENDER_BUNDLE_IF_MOD = If-Modified-Since = {0} BUNDLE_IF_MOD = If-Modified-Since = {0}
RENDER_BUNDLE_IF_MATCH = If-Match = {0} BUNDLE_IF_MATCH = If-Match = {0}
RENDER_BUNDLE_IF_NONE = If-None-Exist = {0} BUNDLE_IF_NONE = If-None-Exist = {0}
SD_HEAD_NAME = Name CODEPROP_CODE = Code
SD_HEAD_NAME_DESC = The logical name of the element CODESYSTEM_PROPS = Properties
SD_HEAD_FLAGS = Flags CODESYSTEM_CONCEPTS = Concepts
SD_HEAD_FLAGS_DESC = Information about the use of the element CODESYSTEM_DEPRECATED = Deprecated
SD_HEAD_CARD = Card. CODESYSTEM_DESC = Description
SD_HEAD_CARD_DESC = Minimum and Maximum # of times the the element can appear in the instance CODESYSTEM_FILTERS = Filters
SD_HEAD_TYPE = Type CODESYSTEM_FILTER_CODE = Code
SD_HEAD_TYPE_DESC = Reference to the type of the element CODESYSTEM_FILTER_OP = Op
SD_HEAD_DESC = Description & Constraints CODESYSTEM_FILTER_VALUE = Value
SD_HEAD_DESC_DESC = Additional information about the element CODESYSTEM_PROP_CODE = Code
SD_COMP_HEAD_NAME = Name CODESYSTEM_PROP_NAME = Name
SD_COMP_HEAD_NAME_DESC = The logical name of the element CODESYSTEM_PROP_URI = URI
SD_COMP_HEAD_FLAGS_L = L Flags CODESYSTEM_PROP_DESC = Description
SD_COMP_HEAD_FLAGS_L_DESC = Information about the use of the element - Left Structure CODESYSTEM_PROP_TYPE = Type
CODESYSTEM_PROPS_DESC = This code system defines the following properties for its concepts
CODESYSTEM_CONTENT_COMPLETE This <param name="cased"/> code system <param name="cs"/> defines the following code<if test="code-count != 1">s</if><param name="h"/>:
CODESYSTEM_CONTENT_EXAMPLE = This <param name="cased"/> code system <param name="cs"/> provides some code<if test="code-count != 1">s</if><param name="h"/> <b>that are example only</b>:
CODESYSTEM_CONTENT_FRAGMENT = This <param name="cased"/> code system <param name="cs"/> provides <b>a fragment</b> that includes following code<if test="code-count != 1">s</if><param name="h"/>:
CODESYSTEM_CONTENT_NOTPRESENT = This <param name="cased"/> code system <param name="cs"/> defines codes<param name="h"/>, but no codes are represented here
CODESYSTEM_CONTENT_SUPPLEMENT = This code system <param name="cs"/> defines {0} on the following code<if test="code-count != 1">s</if>:
RESOURCE_COPYRIGHT = Copyright Statement:
SD_COMP_HEAD_CARD_L = L Card. SD_COMP_HEAD_CARD_L = L Card.
SD_COMP_HEAD_CARD_L_DESC = Minimum and Maximum # of times the the element can appear in the instance - Left Structure SD_COMP_HEAD_CARD_L_DESC = Minimum and Maximum # of times the the element can appear in the instance - Left Structure
SD_COMP_HEAD_TYPE_L = L Type
SD_COMP_HEAD_TYPE_L_DESC = Reference to the type of the element - Left Structure
SD_COMP_HEAD_DESC_L = L Description & Constraints
SD_COMP_HEAD_DESC_L_DESC = Additional information about the element - Left Structure
SD_COMP_HEAD_FLAGS_R = R Flags
SD_COMP_HEAD_FLAGS_R_DESC = Information about the use of the element - Right Structure
SD_COMP_HEAD_CARD_R = R Card. SD_COMP_HEAD_CARD_R = R Card.
SD_COMP_HEAD_CARD_R_DESC = Minimum and Maximum # of times the the element can appear in the instance - Right Structure SD_COMP_HEAD_CARD_R_DESC = Minimum and Maximum # of times the the element can appear in the instance - Right Structure
SD_COMP_HEAD_TYPE_R = R Type
SD_COMP_HEAD_TYPE_R_DESC = Reference to the type of the element - Right Structure
SD_COMP_HEAD_DESC_R = R Description & Constraints
SD_COMP_HEAD_DESC_R_DESC = Additional information about the element - Right Structure
SD_COMP_HEAD_COMP = Comments SD_COMP_HEAD_COMP = Comments
SD_COMP_HEAD_COMP_DESC = Comments about the comparison SD_COMP_HEAD_COMP_DESC = Comments about the comparison
SD_GRID_HEAD_NAME = Name SD_COMP_HEAD_DESC_L = L Description & Constraints
SD_GRID_HEAD_NAME_DESC = The name of the element (Slice name in brackets). Mouse-over provides definition SD_COMP_HEAD_DESC_L_DESC = Additional information about the element - Left Structure
SD_COMP_HEAD_DESC_R = R Description & Constraints
SD_COMP_HEAD_DESC_R_DESC = Additional information about the element - Right Structure
SD_COMP_HEAD_FLAGS_L = L Flags
SD_COMP_HEAD_FLAGS_L_DESC = Information about the use of the element - Left Structure
SD_COMP_HEAD_FLAGS_R = R Flags
SD_COMP_HEAD_FLAGS_R_DESC = Information about the use of the element - Right Structure
SD_COMP_HEAD_NAME = Name
SD_COMP_HEAD_NAME_DESC = The logical name of the element
SD_COMP_HEAD_TYPE_L = L Type
SD_COMP_HEAD_TYPE_L_DESC = Reference to the type of the element - Left Structure
SD_COMP_HEAD_TYPE_R = R Type
SD_COMP_HEAD_TYPE_R_DESC = Reference to the type of the element - Right Structure
SD_DOCO = Documentation for this format
SD_GRID_HEAD_CARD = Card. SD_GRID_HEAD_CARD = Card.
SD_GRID_HEAD_CARD_DESC = Minimum and Maximum # of times the the element can appear in the instance. Super-scripts indicate additional constraints on appearance SD_GRID_HEAD_CARD_DESC = Minimum and Maximum # of times the the element can appear in the instance. Super-scripts indicate additional constraints on appearance
SD_GRID_HEAD_TYPE = Type
SD_GRID_HEAD_TYPE_DESC = Reference to the type of the element
SD_GRID_HEAD_DESC = Constraints and Usage SD_GRID_HEAD_DESC = Constraints and Usage
SD_GRID_HEAD_DESC_DESC = Fixed values, length limits, vocabulary bindings and other usage notes SD_GRID_HEAD_DESC_DESC = Fixed values, length limits, vocabulary bindings and other usage notes
SD_GRID_HEAD_NAME = Name
SD_GRID_HEAD_NAME_DESC = The name of the element (Slice name in brackets). Mouse-over provides definition
SD_GRID_HEAD_TYPE = Type
SD_GRID_HEAD_TYPE_DESC = Reference to the type of the element
SD_HEAD_CARD = Card.
SD_HEAD_CARD_DESC = Minimum and Maximum # of times the the element can appear in the instance
SD_HEAD_DESC = Description & Constraints
SD_HEAD_DESC_DESC = Additional information about the element
SD_HEAD_FLAGS_DESC = Information about the use of the element
SD_HEAD_NAME = Name
SD_HEAD_SC = The logical name of the elemHEAD_FLAGS = Flags
SD_HEAD_TYPE = Type
SD_HEAD_TYPE_DESC = Reference to the type of the element
SD_LEGEND = Legend for this format SD_LEGEND = Legend for this format
SD_DOCO = Documentation for this format SD_SUMMARY = Fixed Value: {0} {1}
RENDER_RESOURCE_COPYRIGHT = Copyright Statement: SD_SUMMARY_MAPPINGS = Mappings for {0} ({2}{1}{3})
RENDER_CODESYSTEM_FILTERS = Filters SD_SUMMARY_MISSING_EXTENSION = Unable to summarise extension {0} (no extension found)
RENDER_CODESYSTEM_FILTER_CODE = Code SD_SUMMARY_MISSING_PROFILE = Unable to summarise profile {0} (no profile found)
RENDER_CODESYSTEM_FILTER_DESC = Description SD_SUMMARY_PUBLICATION = This profile was published on {0} as a {1} by {2}
RENDER_CODESYSTEM_FILTER_OP = Operator SD_SUMMARY_SLICES = This structure defines the following {0}Slices{1}
RENDER_CODESYSTEM_FILTER_VALUE = Value SD_SUMMARY_SLICE_NONE = There is a slice with no discriminator at {0}
RENDER_CODESYSTEM_PROPS = Properties SD_SUMMARY_SLICE_one = The element {0} is sliced based on the value of {1}
RENDER_CODESYSTEM_PROPS_DESC = This code system defines the following properties for its concepts SD_SUMMARY_SLICE_other = The element {0} is sliced based on the values of {1}
RENDER_CODESYSTEM_PROP_NAME = Name SD_SUMMARY_MANDATORY = Mandatory: {0} {1}
RENDER_CODESYSTEM_PROP_CODE = Code SD_SUMMARY_MUST_SUPPORT = Must-Support: {0} {1}
RENDER_CODESYSTEM_PROP_URI = URI SD_SUMMARY_FIXED = Fixed: {0} {1}
RENDER_CODESYSTEM_PROP_TYPE = Type SD_SUMMARY_INFO = {0}, {1} by {2}
RENDER_CODESYSTEM_PROP_DESC = Description SD_SUMMARY_PROHIBITED = Prohibited: {0} {1}
RND_CS_CONTENT_COMPLETE = This <param name="cased"/> code system <param name="cs"/> defines the following code<if test="code-count != 1">s</if><param name="h"/>: SD_SUMMARY_NESTED_MANDATORY = ({0} nested mandatory {1})
RND_CS_CONTENT_EXAMPLE = This <param name="cased"/> code system <param name="cs"/> provides some code<if test="code-count != 1">s</if><param name="h"/> <b>that are example only</b>: TX_CODE = Code
RND_CS_CONTENT_FRAGMENT = This <param name="cased"/> code system <param name="cs"/> provides <b>a fragment</b> that includes following code<if test="code-count != 1">s</if><param name="h"/>: TX_COMMENTS = Comments
RND_CS_CONTENT_NOTPRESENT = This <param name="cased"/> code system <param name="cs"/> defines codes<param name="h"/>, but no codes are represented here TX_DEFINITION = Definition
RND_CS_CONTENT_SUPPLEMENT = This code system <param name="cs"/> defines {0} on the following code<if test="code-count != 1">s</if>: TX_DEPRECATED = Deprecated
RENDER_CODESYSTEM_CONCEPTS = Concepts TX_DISPLAY = Display
RENDER_CODESYSTEM_DEPRECATED = Deprecated TX_VERSION = Version
RENDER_TX_CODE = Code PAT_NO_GENDER = (no stated gender)
RENDER_TX_DISPLAY = Display PAT_GENDER = Gender: {0}
RENDER_TX_DEFINITION = Definition PAT_NO_DOB = DoB Unknown
RENDER_TX_DEPRECATED = Deprecated PAT_DOB = DoB: {0}
RENDER_TX_COMMENTS = Comments PAT_NO_NAME = Anonymous Patient
RENDER_TX_VERSION = Version PAT_CONTAINED_one = Contained Resource
PAT_CONTAINED_other = Contained Resources
PAT_OTHER_ID_one = Other Id:
PAT_OTHER_ID_other = Other Ids:
PAT_OTHER_ID_HINT_one = Other Id (see the one above)
PAT_OTHER_ID_HINT_other = Other Ids (see the one above)
PAT_LANG_one = Language:
PAT_LANG_other = Languages:
PAT_LANG_HINT_one = Language spoken
PAT_LANG_HINT_other = Languages spoken
PAT_LANG_PREFERRED = (preferred)
PAT_GP = General Practitioner
PAT_MO = Managing Organization
PAT_LINKS = Links:
PAT_LINKS_HINT = Patient Links
PAT_LINK_REPLBY = This record replaced by
PAT_LINK_REPL = This record replaces
PAT_LINK_REFER = Please refer to
PAT_LINK_SEE = Also see
PAT_NOM_CONTACT = Nominated Contact:
PAT_NOK_CONTACT = Contact:
PAT_NOK_CONTACT_HINT = Patient contact
PAT_RELN = Relationships:
PAT_ORG = Organization:
PAT_PERIOD = Valid Period:
PAT_ALT_NAME = Alt. Name:
PAT_ALT_NAME_HINT = Alternate names (see the one above)
PAT_CONTACT = Contact Detail
PAT_CONTACT_HINT = Ways to contact the Patient
PAT_ACTIVE = Active:
PAT_ACTIVE_HINT = Record is active
PAT_DECEASED = Deceased:
PAT_DECEASED_HINT = Known status of Patient
PAT_MARITAL = Marital Status:
PAT_MARITAL_HINT = Known Marital status of Patient
PAT_MUL_BIRTH = Multiple Birth:
PAT_MUL_BIRTH_HINT = Known multipleBirth status of Patient
PAT_PHOTO = Patient Photo
SD_HEAD_NAME_DESC = The logical name of the element
SD_HEAD_FLAGS = Flags
SD_SLICING_INFO = {0}, {1} by {2} SD_SLICING_INFO = {0}, {1} by {2}

View File

@ -1,17 +1,17 @@
# Rendering # Rendering
RENDER_BUNDLE_HEADER_ROOT=Bundle {0} vom Typ {1} BUNDLECH=If-Match = {0}
RENDER_BUNDLE_HEADER_ENTRY=Entry {0} BUNDLE_ENTRY=Entry {0}
RENDER_BUNDLE_HEADER_ENTRY_URL=Entry {0} - fullUrl = {1} BUNDLE_ETAG=ETag = {0}
RENDER_BUNDLE_RESOURCE=Ressource {0}: BUNDLE_HEADER_RL=Entry {0} - fullUrl = {1}
RENDER_BUNDLE_SEARCH=Suche: BUNDLE_IF_MODified-Since = {0}
RENDER_BUNDLE_SEARCH_MODE=Mode = {0} BUNDLE_IF_NH=If-None-Match = {0}
RENDER_BUNDLE_SEARCH_SCORE=Score = {0} BUNDLE_IF_NONE=If-None= {0}
RENDER_BUNDLE_RESPONSE=Response: BUNDLE_LOCATION=Locatio
RENDER_BUNDLE_LOCATION=Location = {0} BUNDLE_MODE=Mode = {0}
RENDER_BUNDLE_ETAG=ETag = {0} BUNDLE_RESOURCE=Resso}:
RENDER_BUNDLE_LAST_MOD=LastModified = {0} BUNDLE_RESesponse:
RENDER_BUNDLE_REQUEST=Request: BUNDLE_SEARCH=Suche:
RENDER_BUNDLE_IF_NON_MATCH=If-None-Match = {0} BUNDLH_SCORE=Score = {0}
RENDER_BUNDLE_IF_MOD=If-Modified-Since = {0} BUNDLST=Request:
RENDER_BUNDLE_IF_MATCH=If-Match = {0} BUST_MOD=LastModified = {0}
RENDER_BUNDLE_IF_NONE=If-None-Exist = {0} HEADER_ROOT=Bundle {0} vom Typ {1}

View File

@ -1,17 +1,16 @@
# Rendering # Rendering
RENDER_BUNDLE_HEADER_ROOT = Bundle {0} De tipo {1} BEARCH_MODE = mode = {0}
RENDER_BUNDLE_HEADER_ENTRY = Entry {0} BEQUEST = Request:
RENDER_BUNDLE_HEADER_ENTRY_URL = Entry {0} - FullURL = {1} BUNDLE_ENTRY = Entry {0}
RENDER_BUNDLE_RESOURCE = Recurso {0}: BUNDLE_ETAG = ETag = {0E_LAST_MOD = LastModified = {0}
RENDER_BUNDLE_SEARCH = Búsqueda: BUNDLE_HEADER_RL = Entry {0} - FullURL = {1}
RENDER_BUNDLE_SEARCH_MODE = mode = {0} BUNDLE_IFIf-Modified-Since = {0}
RENDER_BUNDLE_SEARCH_SCORE = score = {0} BUNDLE_IF_NONE = IExist = {0}
RENDER_BUNDLE_RESPONSE = Respuesta: BUNDLE_LOCATION = Lo= {0}
RENDER_BUNDLE_LOCATION = Location = {0} BUNDLE_MATCH = If-None-Match = {0}
RENDER_BUNDLE_ETAG = ETag = {0} BUNDLE_R = Respuesta:
RENDER_BUNDLE_LAST_MOD = LastModified = {0} BUNDLE_RESOURCE = Rec}:
RENDER_BUNDLE_REQUEST = Request: BUNDLE_SEARCH = Búsqueda:
RENDER_BUNDLE_IF_NON_MATCH = If-None-Match = {0} BUNRCH_SCORE = score = {0}
RENDER_BUNDLE_IF_MOD = If-Modified-Since = {0} BU_MATCH = If-Match = {0}
RENDER_BUNDLE_IF_MATCH = If-Match = {0} HEADER_ROOT = Bundle {0} De tipo {1}
RENDER_BUNDLE_IF_NONE = If-None-Exist = {0}

View File

@ -1,22 +1,22 @@
# Rendering # Rendering
RENDER_BUNDLE_HEADER_ROOT = タイプ {1} のバンドル {0} BUNDLE_ETAG = ETag = {0}
RENDER_BUNDLE_HEADER_ENTRY = エントリ {0} BUNDLE_HEADER_ENTRY = エントリ {0}
RENDER_BUNDLE_HEADER_ENTRY_URL = エントリ {0} - fullUrl = {1} BUNDLE_HEADER_ENTRY_URL = エントリ {0} - fullUrl = {1}
RENDER_BUNDLE_RESOURCE = Resource {0}: BUNDLE_HEADER_ROOT = タイプ {1} のバンドル {0}
RENDER_BUNDLE_SEARCH = Search: BUNDLE_IF_MATCH = If-Match = {0}
RENDER_BUNDLE_SEARCH_MODE = Mode = {0} BUNDLE_IF_MOD = If-Modified-Since = {0}
RENDER_BUNDLE_SEARCH_SCORE = Score = {0} BUNDLE_IF_NONE = If-None-Exist = {0}
RENDER_BUNDLE_RESPONSE = Response: BUNDLE_IF_NON_MATCH = If-None-Match = {0}
RENDER_BUNDLE_LOCATION = Location = {0} BUNDLE_LAST_MOD = LastModified = {0}
RENDER_BUNDLE_ETAG = ETag = {0} BUNDLE_LOCATION = Location = {0}
RENDER_BUNDLE_LAST_MOD = LastModified = {0} BUNDLE_REQUEST = Request:
RENDER_BUNDLE_REQUEST = Request: BUNDLE_RESOURCE = Resource {0}:
RENDER_BUNDLE_IF_NON_MATCH = If-None-Match = {0} BUNDLE_RESPONSE = Response:
RENDER_BUNDLE_IF_MOD = If-Modified-Since = {0} BUNDLE_SEARCH = Search:
RENDER_BUNDLE_IF_MATCH = If-Match = {0} BUNDLE_SEARCH_MODE = Mode = {0}
RENDER_BUNDLE_IF_NONE = If-None-Exist = {0} BUNDLE_SEARCH_SCORE = Score = {0}
RND_CS_CONTENT_COMPLETE = この<param name="cased"/>コードシステム <param name="cs"/> は次のコード<if test="code-count != 1">たち</if><param name="h"/>を定義します: CODESYSTEM_CONTENT_COMPLETE = この<param name="cased"/>コードシステム <param name="cs"/> は次のコード<if test="code-count != 1">たち</if><param name="h"/>を定義します:
RND_CS_CONTENT_EXAMPLE = この<param name="cased"/>コードシステム <param name="cs"/> はいくつかの例コード<if test="code-count != 1">たち</if><param name="h"/>を提供します: CODESYSTEM_CONTENT_EXAMPLE = この<param name="cased"/>コードシステム <param name="cs"/> はいくつかの例コード<if test="code-count != 1">たち</if><param name="h"/>を提供します:
RND_CS_CONTENT_FRAGMENT = この<param name="cased"/>コードシステム <param name="cs"/> は以下のコード<param name="h"/>を含むフラグメントを提供します: CODESYSTEM_CONTENT_FRAGMENT = この<param name="cased"/>コードシステム <param name="cs"/> は以下のコード<param name="h"/>を含むフラグメントを提供します:
RND_CS_CONTENT_NOTPRESENT = このコードシステム <param name="cs"/> はコード<param name="h"/>を定義しますが、ここではコードは表現されていません CODESYSTEM_CONTENT_NOTPRESENT = このコードシステム <param name="cs"/> はコード<param name="h"/>を定義しますが、ここではコードは表現されていません
RND_CS_CONTENT_SUPPLEMENT = このコードシステム <param name="cs"/> は次のコードに {0} を定義します: CODESYSTEM_CONTENT_SUPPLEMENT = このコードシステム <param name="cs"/> は次のコードに {0} を定義します:

View File

@ -1,17 +1,17 @@
# Rendering # Rendering
RENDER_BUNDLE_HEADER_ROOT = Bundle {0} van type {1} BUNDLE_ETAG = ETag = {0}
RENDER_BUNDLE_HEADER_ENTRY = Entry {0} BUNDLE_HEADER_ENTRY = Entry {0}
RENDER_BUNDLE_HEADER_ENTRY_URL = Entry {0} - Full URL = {1} BUNDLE_HEADER_ENTRY_URL = Entry {0} - Full URL = {1}
RENDER_BUNDLE_RESOURCE = Resource {0}: BUNDLE_HEADER_ROOT = Bundle {0} van type {1}
RENDER_BUNDLE_SEARCH = Zoeken: BUNDLE_IF_MATCH = If-Match = {0}
RENDER_BUNDLE_SEARCH_MODE = mode = {0} BUNDLE_IF_MOD = If-Modified-Since = {0}
RENDER_BUNDLE_SEARCH_SCORE = score = {0} BUNDLE_IF_NONE = If-None-Exist = {0}
RENDER_BUNDLE_RESPONSE = Response: BUNDLE_IF_NON_MATCH = If-None-Match = {0}
RENDER_BUNDLE_LOCATION = Location = {0} BUNDLE_LAST_MOD = LastModified = {0}
RENDER_BUNDLE_ETAG = ETag = {0} BUNDLE_LOCATION = Location = {0}
RENDER_BUNDLE_LAST_MOD = LastModified = {0} BUNDLE_REQUEST = Request:
RENDER_BUNDLE_REQUEST = Request: BUNDLE_RESOURCE = Resource {0}:
RENDER_BUNDLE_IF_NON_MATCH = If-None-Match = {0} BUNDLE_RESPONSE = Response:
RENDER_BUNDLE_IF_MOD = If-Modified-Since = {0} BUNDLE_SEARCH = Zoeken:
RENDER_BUNDLE_IF_MATCH = If-Match = {0} BUNDLE_SEARCH_MODE = mode = {0}
RENDER_BUNDLE_IF_NONE = If-None-Exist = {0} BUNDLE_SEARCH_SCORE = score = {0}