Draft Birth Sex Extension

From HL7 Argonaut Project Wiki
Jump to navigation Jump to search

Return to Patient Page

Patient Birth Sex Extension:

<nowiki>

<?xml version="1.0" encoding="UTF-8"?>

<StructureDefinition xmlns="http://hl7.org/fhir">

 <id value="us-core-birth-sex"/>
 <url value="http://hl7.org/fhir/StructureDefinition/us-core-birth-sex"/>
 <name value="Sex of patient assigned at birth"/>
 <status value="draft"/>
 <publisher value="Health Level Seven International (US Realm Steering Committee)"/>
 <contact>
   <telecom>
     <system value="other"/>
     <value value="http://www.hl7.org/Special/Committees/usrealm"/>
   </telecom>
 </contact>
 <date value="2013-12-03"/>
 <description value="A code classifying the person's sex immediately after birth."/>
 <fhirVersion value="1.3.0"/>
 <kind value="datatype"/>
 <constrainedType value="Extension"/>
 <abstract value="false"/>
 <contextType value="resource"/>
 <context value="Patient"/>
 <base value="http://hl7.org/fhir/StructureDefinition/Extension"/>
 <snapshot>
   <element>
     <path value="Extension"/>
     <short value="A category of human sharing heritage"/>
     <definition value="A code classifying the person's sex immediately after birth."/>
     <min value="0"/>
     <max value="1"/>
     <base>
       <path value="Extension"/>
       <min value="0"/>
       <max value="*"/>
     </base>
     <type>
       
     </type>
   </element>
   <element>
     <path value="Extension.id"/>
     <representation value="xmlAttr"/>
     <short value="xml:id (or equivalent in JSON)"/>
     <definition value="unique id for the element within a resource (for internal references)."/>
     <min value="0"/>
     <max value="1"/>
     <base>
       <path value="Element.id"/>
       <min value="0"/>
       <max value="*"/>
     </base>
     <type>
       
     </type>
     <mapping>
       <identity value="rim"/>
       <map value="n/a"/>
     </mapping>
   </element>
   <element>
     <path value="Extension.extension"/>
     <name value="extension"/>
     <short value="Extension"/>
     <definition value="An Extension"/>
     <min value="0"/>
     <max value="0"/>
     <base>
       <path value="Element.extension"/>
       <min value="0"/>
       <max value="*"/>
     </base>
     <type>
       
     </type>
   </element>
   <element>
     <path value="Extension.url"/>
     <representation value="xmlAttr"/>
     <short value="identifies the meaning of the extension"/>
     <definition value="Source of the definition for the extension code - a logical name or a URL."/>
     <comments value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition should be version specific.  This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #."/>
     <min value="1"/>
     <max value="1"/>
     <base>
       <path value="Extension.url"/>
       <min value="1"/>
       <max value="1"/>
     </base>
     <type>
       
     </type>
     <fixedUri value="http://hl7.org/fhir/StructureDefinition/us-core-birth-sex"/>
     <mapping>
       <identity value="rim"/>
       <map value="N/A"/>
     </mapping>
   </element>
   <element>
     <path value="Extension.valueCodeableConcept"/>
     <short value="Value of extension"/>
     <definition value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
     <min value="1"/>
     <max value="1"/>
     <base>
       <path value="Extension.value[x]"/>
       <min value="0"/>
       <max value="1"/>
     </base>
     <type>
       
     </type>
     <binding>
       <strength value="required"/>
       <description value="A code classifying the person's sex immediately after birth."/>
       <valueSetReference>
         <reference value="http://hl7.org/fhir/ValueSet/v3-birth-sex"/>
       </valueSetReference>
     </binding>
     <mapping>
       <identity value="rim"/>
       <map value="N/A"/>
     </mapping>
   </element>
 </snapshot>
 <differential>
   <element>
     <path value="Extension"/>
     <short value="Sex of patient assigned at birth"/>
     <definition value="A code classifying the person's sex immediately after birth."/>
     <min value="0"/>
     <max value="1"/>
     <type>
       
     </type>
   </element>
   <element>
     <path value="Extension.extension"/>
     <name value="extension"/>
     <max value="0"/>
   </element>
   <element>
     <path value="Extension.url"/>
     <type>
       
     </type>
     <fixedUri value="http://hl7.org/fhir/StructureDefinition/us-core-birth-sex"/>
   </element>
   <element>
     <path value="Extension.value[x]"/>
     <min value="1"/>
     <type>
       
     </type>
     <binding>
       <strength value="required"/>
       <description value="A code classifying the person's sex immediately after birth."/>
       <valueSetReference>
         <reference value="http://hl7.org/fhir/ValueSet/v3-birth-sex"/>
       </valueSetReference>
     </binding>
   </element>
 </differential>

</StructureDefinition>