Firely server - how to add US CORE 3.1.0 support - hl7-fhir

I have a set of FHIR transaction bundle files generated by the synthea tool, which are accepted by, for example, Intersystems IRIS Health server which has built-in hl7.fhir.us.core/3.1.0 support.
If I post such a bundle to a freshly installed Firely, it produces errors of type "Unable to resolve reference to profile 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex'". How could I enable hl7.fhir.us.core/3.1.0 on Firely server?

The public endpoint of Firely Server loads us-core by default. To enable us-core on your local version, you should adjust your settings. See https://docs.fire.ly/projects/Firely-Server/en/latest/features/conformanceresources.html

Related

What causes version of NiFi component to update?

While creating a NiFi flow I'm realizing the versions of the components changing.
I understand that the version changes each time the component updates - but what is considered an update of a component?
For example, what causes an update in a connection's version?
I'm trying to find some pattern but with not much luck.
Thanks in advance!
The official documentation states that you can have multiple versions of your flow at the same time:
You have access to information about the version of your Processors, Controller Services, and Reporting Tasks. This is especially useful when you are working within a clustered environment with multiple NiFi instances running different versions of a component or if you have upgraded to a newer version of a processor.
You can opt-out of versioning all together:
Methods of disable the versioning:
NiFi UI: To change the version of a flow, right-click on the versioned process group and select Version→Change version (link).
Rest API: Send an http DELETE request to /versions/process-groups/{id} with the appropriate ID.
You can also use Toolkit CLI to view available versions, by executing ./bin/cli.sh registry diff-flow-versions (link).

Cannot create Virtual Data Model classes using Cloud SDK

I am trying to create VDMs using EDMX from SFSF, using this blog
I create a SCP Business Application template and then from in the srv module I try to add new data model from external source - in this case API Business Hub.
I try to use SuccessFactors Employee Central - Personal Information.
https://api.sap.com/api/ECPersonalInformation/overview
The process starts and fails with the message: "OData models with multiple schemas are not supported" and then "Could not generate Virtual Data Model classes."
The external folder is generated as expected with the XML in the EDMX folder but the csn folder is empty.
As I understand it this should work with any api from the business hub? Am I doing something wrong or am I missing something?
Thanks.
Update:
There seems to be an issue with the conversion from EDMX into CSN used by the Web IDE (which is not part of the SAP Cloud SDK).
The Java VDM generated by the OData Generator from the SAP Cloud SDK (used as a component by the Web IDE) should work without any problem.
This looks like an unexpected behavior. We will investigate this further.
In the meantime, as a workaround, you can use our maven plugin or CLI to create the data model for you. This is described in detail in this blog post.
The tl;dr version (for the CLI) is:
Determine which version of the SAP Cloud SDK you are using (search for sdk-bom in your parent pom.xml). I assume this to be version 2.16.0 for this example.
Download the CLI library from maven central: https://search.maven.org/artifact/com.sap.cloud.s4hana.datamodel/odata-generator-cli/2.16.0/jar
Download the metadata file (edmx) from the API Business Hub (as linked in your question)
Run the CLI with e.g. the following command:
java -jar odata-generator-cli-2.16.0.jar -i <input-directory> -o <output-directory> -b <base-path>
The <base-path> in there is the prefix (service independent) to be used in between your host configuration and the actual service name.
Add the generated code manually to your project.
I will updates this answer with the results of the investigation.

Cannot open terracotta 4.3.6 management console which is running on localhost:9540

Terracotta server array is successfully running but the management console that comes with the Terracotta Server Open Source Software (OSS) kit is not working. when the terracotta server array is started ,it says "2019-01-05 11:58:16,739 INFO - Management server started on 0.0.0.0:9540" but I get a not found error when I try to hit the url. Can anybody suggest how to view the caches stored inside terracotta or how can I access the management console?
According to "http://ww1.terracotta.org/documentation/4.1/tms/tms#enable-agent", management-console/bin/start-tmc.sh can be used to start the terracotta management console. But in the kit "TERRACOTTA SERVER 4.X AND OLDER" downloaded from "http://www.terracotta.org/open-source/" doesnt contain an file as start-tmc.sh
the way it works is that the Terracotta Server exposes REST endpoints via the built-in management server that's running on 0.0.0.0:9540 (hence why you see 2019-01-05 11:58:16,739 INFO - Management server started on 0.0.0.0:9540).
And then, you have the TMC (Terracotta Management Console) component that delivers the UI portion, and reaches back to the Terracotta management server to fetch the stats / data etc...
Now, the open-source version does not offer the Management Console...so that's why you don't see the "start-tmc.sh" in the kit.
But you should be able to access the REST endpoints from the built-in Terracotta Management Server anyway...
It should be accessible at: http://host:port/tc-management-api
And from there, you should be able to fetch all sort of data items using various REST calls (eg. /agents/topologies/ for the server topology, etc...)
Here is the latest doc for the Terracotta REST if you want to explore further:
https://documentation.softwareag.com/onlinehelp/Rohan/terracotta_436/bigmemory-max/webhelp/index.html#page/bigmemory-max-webhelp%2Fto-title_terracotta_rest_developer_guide.html%23
Finally, as explained in the doc (at https://documentation.softwareag.com/onlinehelp/Rohan/terracotta_436/bigmemory-max/webhelp/index.html#page/bigmemory-max-webhelp%2Fco-use_rest_api_versions.html%23), there are 2 API versions available...with the "v2" version being available and recommended for Terracotta 4.2 and higher (hence you should use the v2 with 4.3.6)
Lost of example REST calls at https://documentation.softwareag.com/onlinehelp/Rohan/terracotta_436/bigmemory-max/webhelp/index.html#page/bigmemory-max-webhelp%2Fco-oper_examples_of_uris.html%23... but couple here as well:
curl http://localhost:9540/tc-management-api/v2/agents/info
curl http://localhost:9540/tc-management-api/v2/agents/topologies/
curl http://localhost:9540/tc-management-api/v2/agents/cacheManagers/
Hope that helps.

How to set up OpenI plugin for Mondrian

I want to replace jPivot with OpenI in Mondrian OLAP Server. I have deployed Mondrian which comes with jPivot as default sample distribution in Glassfish server and it was successful. Now I need to replace this with OpenI Which is having nice UI and features (I think this framework is built upon jPivot).
To avoid too many comments in the question, I create an answer at here:
You can try a pure javascript webpivottable . This is a client side solution and no dependence to any back end technology. Here is demo and documents
The latest version (version 1.6) can enable/disable proxy at UI now, so no problem to integrate it into local Mondrian server(just disable proxy at UI).
For cross domain access(web server and Mondrian server not at the same host:port), you can set options.server.xmlaProxy in the customOptions to your http proxy at your web server.

Exception while using Windows Azure Caching : No such host is known

I am trying to get started with Azure and am trying to use the Caching feature. I created a cloud service project and added a Cache worker role and a web role. I installed "Windows Azure Caching" nuget into projects for both the roles and added the name of cache worker role as identifier in DataCacheClients element in web.config of the web role.
I added the following code into the web role:
DataCacheFactory cf = new DataCacheFactory();
DataCache c = cf.GetDefaultCache();
When I try to run this locally on the emulator, I get the following exception:
ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporary failure.
Please retry later. (One or more specified cache servers are unavailable,
which could be caused by busy network or servers. For on-premises cache clusters,
also verify the following conditions. Ensure that security permission has been granted
for this client account, and check that the AppFabric Caching Service is allowed through
the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater
than or equal to the serialized object size sent from the client.).
Additional Information : The client was trying to communicate with the server: net.tcp://MvcWebRole1:24233.
Inner Exception : No such host is known
Can you please tell me what I am missing here?
Azure SDK used : v2.0
Timing of your question couldn't be better. We also faced exactly the same issue and were scrathing our head as to what the problem could be. We had one project where everything worked perfectly fine and in one we were getting the same error. Based on our research, we have identified the problem with the Nuget package for caching. It seems a new version (2.1.0.0) was released yesterday and we found that if we install that package, we get this error. Can you check the package version in your case? The documentation states that this new version can only be used with the latest SDK (2.1) released today.
One solution would be to uninstall version 2.1.0.0 and install version 2.0.0.0. To install version 2.0.0.0, open Package Manager Console (View --> Other Windows --> Package Manager Console) and type following command there:
Install-Package Microsoft.WindowsAzure.Caching -Version 2.0.0.0
This fixed our problem. Hopefully it should fix yours too.
Here is a link to the Windows Azure Cloud Integration Engineering blog on how to deal with this same issue. They recommend upgrading to Azure SDK v 2.1 or rolling back as the accepted answer states.
http://blogs.msdn.com/b/cie/archive/2013/08/08/windows-azure-caching-2-1-0-0-no-such-host-is-known.aspx
This exception could also occur under compute emulator if for the role in the client library configuration there is no cache configured. In my case this happened on purpose, since the cache emulator has some problems that can slow down the test and debugging on the service.
In previous version of Windows Azure Caching, in this scenario the construction of DataCacheFactory would fail with an exception (handled by my code); with Windows Azure Caching 2.1 (and Azure SDK 2.1) in this same scenario the code would consider the role name as a server address and thus on DataCache construction would try to communicate with the non existing cache -- this leads to a 3 minute wait and the exception reported in the question.
I have changed my code to detect the new situation for this scenario -- you can find more detail in this SO question.

Resources