hl7-fhir

How to run FHIR Validator (java jar)

徘徊边缘 提交于 2021-02-10 14:53:37
问题 I had downloaded "Validation Pack" from http://www.hl7.org/implement/standards/fhir/downloads.html. After unzip 'validator.zip' and read 'readme.txt', I tried to run 'org.hl7.fhir.validator.jar' file on Windows Command Prompt. java -jar org.hl7.fhir.validator.jar mysourcefile.xml I encountered the following error: java.lang.Exception: Unknown command 'mysourcefile.xml' at org.hl7.fhir.instance.test.ToolsHelper.main(ToolsHelper.java:77) java.lang.ArrayIndexOutOfBoundsException: 1 at org.hl7

Inserting multiple observation values in single resource - FHIR

懵懂的女人 提交于 2021-01-29 09:27:08
问题 I have hourly information for the patients heart rate like this PID Hour HR 1 1 97 1 2 89 1 3 90 1 4 100 ..... ..... 1 100 93 for each hour data i created json like this # For Hour 1 { "resourceType": "Observation", "id": "heart-rate", "meta": { "profile": [ "http://hl7.org/fhir/StructureDefinition/vitalsigns" ] }, "status": "final", "category": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/observation-category", "code": "vital-signs", "display": "Vital Signs" } ], "text"

hapi fhir elastic search how to configure

ⅰ亾dé卋堺 提交于 2021-01-28 07:39:08
问题 I am using hapi fhir v5.1.0 with jpa server( hapi-fhir-jpa-server-starter ). As per the description, this version contains elastic search library for text search. How can I configure elastic server here? I see some entries in the properties file and configured the elastic rest url, but nothing works and always get the following error - HSEARCH000222 - the search factory was not initialized . Could someone please let me know the configuration steps required to activate elastic search inside

How can I override json tags in a Go struct?

霸气de小男生 提交于 2021-01-28 06:16:24
问题 I'd like to marshal part of this struct: type ValueSet struct { Id string `json:"id" bson:"_id"` Url string `bson:"url,omitempty" json:"url,omitempty"` Identifier *Identifier `bson:"identifier,omitempty" json:"identifier,omitempty"` Version string `bson:"version,omitempty" json:"version,omitempty"` Name string `bson:"name,omitempty" json:"name,omitempty"` Status string `bson:"status,omitempty" json:"status,omitempty"` Experimental *bool `bson:"experimental,omitempty" json:"experimental

Sending bulk data to Azure FHIR Server

自闭症网瘾萝莉.ら 提交于 2020-07-09 16:08:42
问题 I am trying to process a csv files which contains more than 20000 patient information. There are totally 50 columns and each patient will have multiple rows as its the hourly data . Most of the columns belong to Observation resource type. Like Heart Rate, Temperature, Blood Pressure. I have successfully transformed the data into FHIR format. however, when i try to push the data inside FHIR server, the server throws an error saying maximum of 500 entries are only allowed for the data. Even if

403 - Authorization Error - OAuth2.0 - Access Token - Azure Api For Fhir

此生再无相见时 提交于 2020-04-30 06:37:47
问题 I have deployed and configured Azure API for FHIR using this link - https://docs.microsoft.com/en-gb/azure/healthcare-apis/tutorial-web-app-fhir-server Using postman i am able to successfully insert a patient information into fhir-server. To automate it I am using python and client service flow. def get_access_token(self): token_url = 'https://login.microsoftonline.com/{}/oauth2/v2.0/token'.format(azure_app_tenant_id) token_data = { 'grant_type': 'client_credentials', 'client_id': azure_app

How to search birthData in fhir using _content?

旧时模样 提交于 2020-03-25 13:47:40
问题 When I search with only birthData in fhir I am getting results. For example: http://localhost:8080/hapi-fhir-jpaserver/fhir/Patient?_pretty=true&birthdate=2020-03-16 will return patient who has birthdate as 2020-03-16 . When I am searching with _content I am not getting any results. Something like this: http://localhost:8080/hapi-fhir-jpaserver/fhir/Patient?_content=2019-09-05 回答1: _content is for searching text content. If you want to search for dates you need to use a date search parameter.