Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Local extensions were created to have base code that will be used for real extensions when they will be registered by OpenMRS community and ready to use.

In ExtensionsUtil In ExtensionsURL class we keep URLs of extensions that we are using. Because some extensions are not registered yet we decided to use simple name of extensions as replacement for URL.

Code Block
languagejava
public final class ExtensionsUtil ExtensionURL {

    private ExtensionURL() { }

    /** https://simplifier.net/SRxProject/resource-date-created/~json */
    privatepublic static final String DATE_CREATED_URL = "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/resource-date-created";

    /** https://simplifier.net/eLabTest/Creator-crew-version1/~json */
    privatepublic static final String CREATOR_URL = "https://purl.org/elab/fhir/StructureDefinition/Creator-crew-version1";

    // Local extensions
    privatepublic static final String CHANGED_BY_URL = "changedBy";
    privatepublic static final String DATE_CHANGED_URL = "dateChanged";
    privatepublic static final String VOIDED_URL = "voided";
...

...