Comments (2)
Hi @shanilsasikumar,
Sorry for the delayed response. Currently extensions are supported as long as it used in the extension or modifierExtension properties.
For example, I took the US Core patient from https://www.hl7.org/fhir/us/core/Patient-example.json.html which has nested custom extensions, you could return this in your resolver, and with a query that looks something like this:
{
Patient(identifier:"example"){
id
extension{
extension{
url
valueCoding{
system
code
display
}
}
}
}
}
You would get these results (truncated the results to keep them short):
{
"data": {
"Patient": {
"id": "example",
"extension": [
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "2106-3",
"display": "White"
}
},
{
"url": "ombCategory",
"valueCoding": {
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "1002-5",
"display": "American Indian or Alaska Native"
}
},
{
"url": "ombCategory",
"valueCoding": {
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "2028-9",
"display": "Asian"
}
},
{
"url": "detailed",
"valueCoding": {
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "1586-7",
"display": "Shoshone"
}
},
{
"url": "detailed",
"valueCoding": {
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "2036-2",
"display": "Filipino"
}
}
]
}
]
}
}
}
Are you looking to allow extensions to be used or to validate them?
from graphql-fhir.
Closing due to inactivity, feel free to re open if you still have questions.
from graphql-fhir.
Related Issues (17)
- Testing Slack integration HOT 2
- Question - Support for FHIR release 4 HOT 3
- Resources storage structure [Question] HOT 3
- ResourceList Query [Question] HOT 3
- Instance Query [Question] HOT 5
- Unable to insert answerOption in Questionnaire Resource HOT 5
- Is there a plan to support graphQL directives like @flatten and @first? HOT 1
- Is the database used for persisting the responses from FHIR calls? [Question] HOT 1
- Need Help with audit events HOT 1
- Internal tool to generate FHIR profiles
- Request for running against revised FHIR specifications, particularly UKCore R4 HOT 1
- Regarding R4 HOT 2
- Regarding Microservices HOT 1
- Support for newer releases HOT 1
- Need Help: add birthPlace Extension HOT 1
- Update GraphQL to major version 16 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-fhir.