cerner / fhir.cerner.com Goto Github PK
View Code? Open in Web Editor NEWAPI documentation for Cerner's implementation of the HL7® FHIR® standard
Home Page: https://fhir.cerner.com
API documentation for Cerner's implementation of the HL7® FHIR® standard
Home Page: https://fhir.cerner.com
We should take any response headers that aren't relevant or explicitly meaningful out of examples documented on the site
per https://groups.google.com/g/cerner-fhir-developers/c/u5SRLbBFAO4/m/T5ZDLefIAwAJ, we can enhance our documentation for DSTU 2 Slot a bit:
http://fhir.cerner.com/millennium/r4/financial/account/
Request - -guarantor and type
GET https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Account?-guarantor=6330015-6330015&type=financial-account
Response
Status: 200 OK
{
"resourceType": "Bundle",
"id": "0b8ec3aa-805f-486c-8fb6-61a252d0a8cb",
"entry": [
{
"fullUrl": "https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Account/F1127724",
"div": "<div xmlns=\\"http://www.w3.org/1999/xhtml
the following warnings are present
kramdown warning(s) for <Nanoc::Core::CompilationItemRepView item.identifier=/millennium/r4/medications/medication-request.md name=default>
Duplicate link ID '`token`' on line 2637 - overwriting
Duplicate link ID '`reference`' on line 2638 - overwriting
Duplicate link ID '`date`' on line 2639 - overwriting
Duplicate link ID '`number`' on line 2640 - overwriting
Duplicate link ID 'status' on line 2641 - overwriting
Duplicate link ID 'errors' on line 2642 - overwriting
Duplicate link ID 'operationoutcomes' on line 2643 - overwriting
kramdown warning(s) for <Nanoc::Core::CompilationItemRepView item.identifier=/millennium/r4/individuals/person.md name=default>
No link definition for link ID '`token`' found on line 1
No link definition for link ID '`token`' found on line 1
kramdown warning(s) for <Nanoc::Core::CompilationItemRepView item.identifier=/millennium/r4/proprietary-codes-and-systems.md name=default>
No link definition for link ID 'x' found on line 737
kramdown warning(s) for <Nanoc::Core::CompilationItemRepView item.identifier=/millennium/r4/documents/document-reference.md name=default>
No link definition for link ID 'fhir<sup>®</sup> update' found on line 1313
Slot?schedule.actor=Practitioner/2578010&start=2019&slot-type=http://snomed.info/sct|408443003&_count=5
Does not result in any slots for start dates in 2019 or 2020. Initial Issue at #377
In the DSTU2 documentation for DocumentReference, there are examples for search parameters. The description/example for the created
parameter is:
A date/time the referenced document was created. Must use the ge and le prefixes. Example: created=le2017-01-5&created=ge2017-02-7
If this example is provided as is, it will throw a 400 with an error message of created: invalid date format
. If the date is updated to a valid format (yyyy-mm-dd), it then throws a 400 with an error message of created: the beginning date must be before the end date
.
While the examples given won't necessarily return expected data due to it being a sandbox environment, they should be valid values to test with.
I've been having to do dual-maintenance of the authorization doc in the two release folders - is there a way that we can link to the authorization guides and put in somewhere else in the site hierarchy? I'm not familiar enough with nanoc - when I try and move one of the documents up a level, it gives unknownlayout errors. Additionally, is there a location I should choose such that the documentation is shared between both Millennium and Soarian?
The R4 DocumentReference update action requires the 'id' value to be passed in, but the documentation does not mention its requiredness.
https://fhir.cerner.com/millennium/r4/scheduling/slot/ links to https://fhir.cerner.com/millennium/r4/scheduling/slot/millennium/r4/proprietary-codes-and-systems/#scheduling in the Slot.serviceType Terminology Binding table
it should link to https://fhir.cerner.com/millennium/r4/proprietary-codes-and-systems/#scheduling instead
We should consider documenting the browsers (w/ versions) that Cerner supports/certifies/recommends for FHIR application developers (and users).
Of particular note: Launching into a native application from a web browser is not fully supported on Internet Explorer 10 and earlier, and we're already aware of FHIR applications that rely on that capability. If that weren't reason enough, Microsoft has announced the end of support for Internet Explorer 10 and earlier, and those browsers will become ever more insecure over time. Everyone in the FHIR ecosystem bears a responsibility to lead users to the most safe, secure, reliable computing environments possible.
[1] https://www.microsoft.com/en-us/WindowsForBusiness/End-of-IE-support
anywhere linking to the R4 .../proprietary-codes/...
URLs will hit a redirect after we renamed the proprietary codes page. we should update site-internal links to avoid the redirect process
Documentation for the Scheduling Appointment R4 resource needs clarification that additional licensing is necessary.
Builds for the repository are failing with the following errors:
Error: Unable to process command '::set-env name=PATH::/home/runner/.rubies/ruby-2.6.2/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' successfully.
Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
Possible solution: upgrade ruby/[email protected] to a new version
If we enforce a maximum length on string fields, it should be documented on the site. Use this issue to track:
across all resources
In R4 Observation, some of the terminology bindings are mentioned twice.
Looks just to be because of separate examples of labs and vitals.
fhir.cerner.com/lib/resources/r4/observation.yaml
Lines 68 to 73 in a4c496a
fhir.cerner.com/lib/resources/r4/observation.yaml
Lines 105 to 110 in a4c496a
This row in the Procedure > Parameters table is unclear about how date
is used:
Need to add a 'required' key
We missed scoping reasonCode in R4 Appointment to the terminology bindings table only. It should be present only there and not in the create body table.
Before merging #415, the R4 Encounter doc only used lowercase reference links in the search parameters table as such
[`reference`]: https://hl7.org/fhir/r4/search.html#reference
After merging, the link got updated to the following for use in the extensions table
[`reference`]: http://hl7.org/fhir/r4/references.html#Reference
We'll need to figure out a way to have both reference and Reference links that take readers to different locations
Currently, the Common Issues page only has references to the DSTU2 resources. Some of the information provided is also no longer applicable when apps consume the R4 resources (i.e. Condition search by encounter).
Since these capabilities exist now and with the eminent deprecation of DSTU2, these links/references should be updated.
In content/millennium/r4/financial/general/charge-item.md documentation content, the pattern
POST /ChargeItem/:id/$create
incorrectly includes :id
in the URL.
The Example Request
POST https://fhir-ehr.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/ChargeItem/$create
correctly omits :id
in the URL.
CVE-2017-16516
High severity
In the yajl-ruby gem 1.3.0 for Ruby, when a crafted JSON file is supplied to Yajl::Parser.new.parse, the whole ruby p...
Gemfile.lock update suggested:
yajl-ruby ~> 1.3.1
Always verify the validity and compatibility of suggestions with your codebase.
Currently, the site just mentions "Edge" as a supported browser. This should be more explicit that only Edge on chromium is supported and not the legacy Edge.
A note should be added that searching by person will not return encounter relationships (nor vice versa).
On the page SMART (https://fhir.cerner.com/smart/), in the section "Open Source FHIR Client Libraries", the link for Java: http://hapifhir.io/doc_rest_client.html produce a 404.
The documentation seems to have change format. Maybe something like this would be a better new url:
https://hapifhir.io/hapi-fhir/docs/server_plain/rest_operations.html
When user clicks on the category "Other" it leads to a redirect to the url used for the subcategory of Foundation, which is also other. Direct links on the page should not direct to a redirect page. I am planning on creating a separate URL for the Other that HealthCards is categorized under.
Screenshots show the Other on the sidebar and the redirect that pops up.
Update [1] to make the Logo URL a required field, and somewhere link to suitable guidelines for designing such logos. We could perhaps reuse [2], [3], or [4] from the Android, iOS, and web-based application platforms, respectively.
[1] http://www.cerner.com/FHIR_Application_Authorization_Request/
[2] https://developer.android.com/guide/practices/ui_guidelines/icon_design.html
[3] https://developer.apple.com/ios/human-interface-guidelines/graphics/app-icon/
[4] https://en.wikipedia.org/wiki/Favicon
the link is missing an 's' at the end to land at the appropriate anchor on the proprietary codes page.
we could also make sure all entries in the RelatedPerson terminology bindings page have appropriate Details text
https://fhir.cerner.com/millennium/dstu2/general-clinical/condition/#create
Currently, the documentation for encounter field shows that it's optional. No where in that section that it states that it's required when the category is a diagnosis
. It's got that information in the Notes section under Body. However, I think it makes more sense to list that information in the encounter section as well.
encounter
is required for Conditions with a category ofdiagnosis
.
The breakpoints that are supported by PowerChart are as follows.
Tablet: 768 x 1024
Laptop: 1366 x 768
High-res laptop or desktop: 1920 x 1080
Apps embedded within Powerchart should also support those breakpoints.
Has anyone considered publishing a swagger spec for this api? That would reduce the manual documentation work to conceptual topics only.
We generate the swagger spec on our api's from code comments. It's really pretty easy to set up and very helpful.
Are there examples in the existing FHIR environment to be able to search for appointments by practitioner (Schedule.actor) and specific slot-type?
I tried looking for slots with this example:
Slot?start=2020&slot-type=http://snomed.info/sct|394602003&_count=5
And after finding the slot Id and receiving the schedule information, I want to know the schedule.actor but it doesn't show any, except for a name.
Can we get better examples on leveraging: Schedule.actor, slot-type, and locations? Previously there were sample data and now it no longer exists. For example this slot-type:
https://fhir.cerner.com/{{tenant}}/codeSet/14249|4062744
used to work.
kramdown warning(s) for <Nanoc::CompilationItemRepView item.identifier=/millennium/r4/devices/device.md name=default>
Found invalidly used HTML closing tag for 'div' on line 381 - ignoring it
Documentation for the Scheduling Appointment R4 resource refers to "supported vendors", when there are no specific supported vendors.
http://fhir.cerner.com/millennium/r4/financial/financial-transaction/
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-tendered-amount",
"valueMoney": {
"value": "123000.00",
"currency": "USD"
}
}
Money.value is a decimal, not a string http://hl7.org/fhir/r4/datatypes.html#Money
Current examples of markdown pages generally start with the third header (###
). Once the markdown is generated into HTML via nanoc, there's no discernible difference between h3 and h4, and h5 and h6, respectively. This makes the nesting of documentation difficult to read. It could be possible to reduce this confusion through the additional of numbers in the headers, but that interferes with the table of contents.
Any recommendations on how to make this more clear?
According to nanoc/nanoc#1441 we need nanoc 4.11.6+ to get a fix for this error:
$ nanoc view
Captain! We’ve been hit!
KeyError: key not found: :host
0. /Users/mp028833/.rvm/gems/[email protected]/gems/nanoc-4.9.6/lib/nanoc/cli/commands/view.rb:34:in `fetch'
1. /Users/mp028833/.rvm/gems/[email protected]/gems/nanoc-4.9.6/lib/nanoc/cli/commands/view.rb:34:in `run'
2. /Users/mp028833/.rvm/gems/[email protected]/gems/nanoc-4.9.6/lib/nanoc/cli/command_runner.rb:14:in `block in call'
3. /Users/mp028833/.rvm/gems/[email protected]/gems/nanoc-4.9.6/lib/nanoc/cli/error_handler.rb:15:in `block in handle_while'
4. /Users/mp028833/.rvm/gems/[email protected]/gems/nanoc-4.9.6/lib/nanoc/cli/error_handler.rb:57:in `handle_while'
5. /Users/mp028833/.rvm/gems/[email protected]/gems/nanoc-4.9.6/lib/nanoc/cli/error_handler.rb:15:in `handle_while'
6. /Users/mp028833/.rvm/gems/[email protected]/gems/nanoc-4.9.6/lib/nanoc/cli/command_runner.rb:13:in `call'
7. /Users/mp028833/.rvm/gems/[email protected]/gems/cri-2.15.9/lib/cri/command_dsl.rb:303:in `block in runner'
8. /Users/mp028833/.rvm/gems/[email protected]/gems/cri-2.15.9/lib/cri/command.rb:360:in `run_this'
9. /Users/mp028833/.rvm/gems/[email protected]/gems/cri-2.15.9/lib/cri/command.rb:296:in `run'
... 11 lines omitted (see crash.log for details)
A detailed crash log has been written to ./crash.log.
That version or higher of nanoc will require a ruby upgrade from 2.3.1 to at least 2.4
The date
and -timing-boundsPeriod
parameters for the Encounter and MedicationRequest resources respectively, do not appear to be functioning as expected. The parameters appear to be valid (no errors are reported), however the request is not being filtered. I can confirm the date parameters are working as expected for other resources (e.g. Procedures). See below for example requests:
Encounter:
https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Encounter?patient=12724066&date=lt2020-12-24T12:00:00.000Z
MedicationRequest:
https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/MedicationRequest?patient=12724065&-timing-boundsPeriod=ge2023-05-19T20:54:02.000Z
Remove this line in .rubocop.yml
and resolve the new lint errors.
GET https://fhir-open.cerner.com/r4/.../CareTeam?patient=119078440&category=encounter is not returning the expected data based on the example on https://fhir.cerner.com/millennium/r4/clinical/care-provision/care-team/
GET https://fhir-open.cerner.com/r4/.../Immunization?patient=12724066 – the sandbox endpoint returns a 504 after 90 seconds.
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \[http://www.w3.org/TR/html4/loose.dtd\](http://www.w3.org/TR/html4/loose.dtd/)>
<HTML><HEAD><META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">
<TITLE>ERROR: The request could not be satisfied</TITLE>
</HEAD><BODY>
<H1>504 ERROR</H1>
<H2>The request could not be satisfied.</H2>
<HR noshade size=\"1px\">
CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
<BR clear=\"all\">
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
<BR clear=\"all\">
<HR noshade size=\"1px\">
<PRE>
Generated by cloudfront (CloudFront)
Request ID: uIeOqaJoRnV9Z_UoJtglrNj1B7BR2EXcYHDVD6g_4cCkMD5gu2wOCA==
</PRE>
<ADDRESS>
</ADDRESS>
</BODY></HTML>
A common question is how to see logs when the app is embedded and the browser console is not accessible. It would be beneficial to add this to an FAQ or Common Issues.
While SMART launch apps should be using the information in context to determine the FHIR server location, system apps typically are given the tenant ID to associate per domain in their system. This typically means the app has the host name "hard-coded" (actually or a "Cerner" default).
C1941/Ember (ec2458f2-1e24-41c8-b71b-0e701af7583d):
http://fhir-ehr-code.cerner.com/<FHIR_version>/ec2458f2-1e24-41c8-b71b-0e701af7583d/
All other production domains:
http://fhir-ehr-code.cerner.com/<FHIR_version>/<domain_tenant_id>/
can see this on the r4 binary page:
Patient Authorization Request
### Example
#### Request
http://fhir.cerner.com/bad_route/ currently links to fhir.cerner.com/dstu2 which doesn't exist but does redirect
instead it should link to http://fhir.cerner.com/millennium/overview/
Hi team,
Allergy Intolerance has the resource duplicated. Here is the corrected JSON:
{
"resourceType": "Bundle",
"id": "160ad230-6a5c-4813-96e2-2b36be102145",
"type": "searchset",
"total": 1,
"link": [
{
"relation": "self",
"url": "https://fhir-open.sandboxcerner.com/r4/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/AllergyIntolerance?_id=983733"
}
],
"entry": [
{
"fullUrl": "https://fhir-open.sandboxcerner.com/r4/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/AllergyIntolerance/983733",
"resource": {
"resourceType": "AllergyIntolerance",
"id": "983733",
"meta": {
"versionId": "983733",
"lastUpdated": "2012-07-11T08:57:32.000Z"
},
"text": {
"status": "generated",
"div": "<div><p><b>Allergy Intolerance</b></p><p><b>Patient</b>: Picka, Guru 1013</p><p><b>Allergy</b>: Environment</p><p><b>Verification Status</b>: Confirmed</p><p><b>Clinical Status</b>: Resolved</p><p><b>Criticality</b>: High Risk</p><p><b>Category</b>: Environment</p><p><b>Onset</b>: 1990</p></div>"
},
"contained": [
{
"resourceType": "RelatedPerson",
"id": "19775876",
"patient": {
"reference": "Patient/1420008",
"display": "Picka, Guru 1013"
},
"relationship": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "40683002",
"display": "Parent (person)",
"userSelected": false
},
{
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"code": "PRN",
"display": "parent",
"userSelected": false
}
],
"text": "parent"
}
}
],
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "resolved",
"display": "Resolved",
"userSelected": false
}
],
"text": "Resolved"
},
"verificationStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
"code": "confirmed",
"display": "Confirmed",
"userSelected": false
}
],
"text": "Resolved"
},
"type": "allergy",
"category": [
"environment"
],
"criticality": "high",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "33008008",
"display": "Dust (substance)",
"userSelected": false
}
],
"text": "Dust"
},
"patient": {
"reference": "Patient/1420008",
"display": "Picka, Guru 1013"
},
"encounter": {
"reference": "Encounter/657884"
},
"onsetDateTime": "1990",
"recordedDate": "2012-07-11T03:57:32.000-05:00",
"recorder": {
"reference": "Practitioner/1",
"display": "SYSTEM, SYSTEM"
},
"asserter": {
"reference": "#19775876"
},
"reaction": [
{
"id": "58297369",
"manifestation": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "247472004",
"display": "Weal (disorder)"
}
],
"text": "Blastobacter"
}
],
"severity": "severe"
}
]
}
}
]
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.