Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Extension URL: https://standards.psi-mis.org/fhir/global/core/StructureDefinition/psi-client-country

This extension uses the ValueSet: https://standards.psi-mis.org/fhir/global/core/ValueSet/psi-client-country (currently, this URL doesn’t return any content. It is expected that this url returns content in the future)

This ValueSet uses the CodeSystem ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code

The ValueSet contains these codes:

Code

Display

KEN

Kenya

VNM

Viet Nam

SWZ

Eswatini

An example of us of this extension:

<?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>
  • No labels