FHIR Chat · Parameters resource · implementers

Stream: implementers

Topic: Parameters resource


view this post on Zulip Danielle Friend (Dec 13 2016 at 14:23):

Question for the group - in the Parameters resource how are the contained resources supposed to be represented?

The two examples are at odds with each other - should the object be parameter.resource.<resource elements> or parameter.resource.<resource name>.<resource elements>

JSON example (http://hl7.org/fhir/2016Sep/parameters-example.json.html)
"resource": {
"resourceType": "Binary",
"contentType": "text/plain",
"content": "VGhpcyBpcyBhIHRlc3QgZXhhbXBsZQ=="
}

XML example (http://hl7.org/fhir/2016Sep/parameters-example.xml.html)
<resource>
<Binary>
<contentType value="text/plain"/>
<content value="VGhpcyBpcyBhIHRlc3QgZXhhbXBsZQ=="/>
</Binary>
</resource>

view this post on Zulip Christiaan Knaap (Dec 13 2016 at 14:29):

This is due to the differences in expression strength of XML and JSON. The exact difference you see is formalized in the spec: "The type of the resource is represented differently in JSON - instead of being the name of the base object (there is none in JSON), it is carried as the property resourceType".

view this post on Zulip Danielle Friend (Dec 13 2016 at 14:44):

Thanks Christiaan, that clears things up!

view this post on Zulip Кирилл Казаченко (Dec 22 2016 at 03:28):

Hello. May anybody help me? I have a question with Patient resource. My system has information about patinent's citizenship, but resource doesn't have any fields for this. Where i can save it?

view this post on Zulip Grahame Grieve (Dec 22 2016 at 03:29):

which version?

view this post on Zulip Кирилл Казаченко (Dec 22 2016 at 03:29):

last

view this post on Zulip Grahame Grieve (Dec 22 2016 at 03:30):

http://build.fhir.org/extension-patient-citizenship.html

view this post on Zulip Кирилл Казаченко (Dec 22 2016 at 03:30):

Thank you :)

view this post on Zulip Кирилл Казаченко (Dec 23 2016 at 05:43):

Hello everybody. Is there a resource for addresses? I have a service, which containt directories. f.e. organizations, sex, diseases e.t.c. For the directories which containt small information i use CodeSystem, for organization i have an organization resource, but i don't know what i can do with addresses. I must save everything addresses of Kazakhstan. Cities, districts, streets and their relation.

view this post on Zulip Grahame Grieve (Dec 23 2016 at 06:39):

this is outside our stated scope. But if you really wanted FHIR, this would be a collection of location resources

view this post on Zulip Кирилл Казаченко (Dec 23 2016 at 09:39):

thank you

view this post on Zulip Кирилл Казаченко (Dec 23 2016 at 10:03):

How can i implement support of multilanguage on CodeSystem resource?

view this post on Zulip Pascal Pfiffner (Dec 23 2016 at 12:55):

CodeSystem.concept.designation has a language property

view this post on Zulip Lloyd McKenzie (Dec 23 2016 at 15:14):

If you want to translate more than just the display names (e.g. the definitions), you can use the translate extension (http://build.fhir.org/extension-translation.html)

view this post on Zulip Stuart Thompson (Dec 23 2016 at 19:28):

For patient address information, address extensions can be used. See example:
"resourceType": "Patient",
"id": "Patient/1",
"address": [{
"extension": [{
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
"valueString": "150"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
"valueString": "Eglinton"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType",
"valueString": "Avenue"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction",
"valueString": "East"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID",
"valueString": "5000"
}],
"line": ["Eglinton Medical clinic"],
"city": "Toronto",
"state": "ON",
"postalCode": "M4P1E8"

view this post on Zulip Sufyan Patel (Aug 02 2018 at 09:48):

Hi, I understand that the Parameters resource has been designed to be used with operations only but can we have a contained Parameters resource within a List resource. I can see that the entry element in the List resource can reference 'Any' but I just need double clarification.

view this post on Zulip Grahame Grieve (Aug 02 2018 at 12:14):

yes you can do that

view this post on Zulip Lloyd McKenzie (Aug 02 2018 at 14:06):

The question is "why" you want to do that. What's your objective?


Last updated: Apr 12 2022 at 19:14 UTC