<Patient xmlns="http://hl7.org/fhir">
  <id value="JohnWayne" />
  <meta>
    <profile value="https://fake-acme.org/fhir/MinneapolisCowboy/StructureDefinition/Cowboy" />
  </meta>
  <extension url="https://fake-acme.org/fhir/MinneapolisCowboy/StructureDefinition/FavoriteCowboyHat">
    <valueCoding>
      <system value="https://fake-acme.org/fhir/MinneapolisCowboy/CodeSystem/CowboyHatTypesCS" />
      <code value="gambler" />
      <display value="Gambler" />
    </valueCoding>
  </extension>
  <identifier>
    <system value="https://fake-acme.org/fhir/MinneapolisCowboy/IdentifierSystem/CowboyID" />
    <value value="123456" />
  </identifier>
  <name>
    <family value="Wayne" />
    <given value="John" />
  </name>
  <gender value="male" />
</Patient>