Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code

Display

KEN

Kenya

VNM

Viet Nam

SWZ

Eswatini

An use example of us of this extension:

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<Patient xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R4/fhir-single.xsd">
  <id value="example-country"/>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>The Patient "Carlos" is linked to the country Kenya (<code>KEN</code>)</p>
	  <p>This is an example of using the <strong>PSI Global Extension for PSI Client Country</strong> for collecting that information.</p>	  
	  <pre>
"extension" : [
  {
    "url" : "https://standards.psi-mis.org/fhir/global/core/StructureDefinition/psi-client-country",
    "valueCode" : "KEN"
  }
]
	  </pre>
    </div>
  </text>
  <extension url="https://standards.psi-mis.org/fhir/global/core/StructureDefinition/psi-client-country">
	<valueCode value="KEN"/>
  </extension>
  <active value="true"/>
  <name>
    <use value="usual"/>
    <given value="Carlos"/>
  </name>
  <gender value="male"/>
  <birthDate value="1981"/>
</Patient>