1

enter image description here

https://www.hl7.org/fhir/parameters.html

is it right to add the additional parameters in extended operation or can we add the add the parameters in patient resource type . because if we have multiple values we are not able to map the patient data with the extended operation parameter.

how to add additional parameters in patient resource type???

Shuail_CR007
  • 292
  • 1
  • 15

2 Answers2

2

Short Answer:

Every element in a resource can have extension child elements to represent additional information that is not part of the basic definition of the resource.

Here is the post on HL7 FHIR with detailed info and samples on Extensibility

Yusubov
  • 5,815
  • 9
  • 32
  • 69
  • 1
    Parameters should not ever appear inside of a Bundle. Its intended to be the root payload when invoking an operation. It is never used to supplement existing data structures. – Lloyd McKenzie Jun 27 '19 at 19:56
0

Every element in a resource or data type includes an optional "extension" child element that may be present , So we can add the additional parameter with an extension

Eg: { "resourceType" : "Patient", "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/patient-citizenship", "extension" : [{ "url" : "code", "valueCodeableConcept" : { "coding" : [{ "system" : "urn:iso:std:iso:3166", "code" : "DE" }] } }, { "url" : "period", "valuePeriod" : { "start" : "2009-03-14" } }] }] }

Shuail_CR007
  • 292
  • 1
  • 15