<StructureDefinition xmlns="http://hl7.org/fhir">
	<id value="au-allergyintolerance-detailed-type"/>
	<url value="http://ns.electronichealth.net.au/fhir/v1.2.0/StructureDefinition/au-allergyintolerance-detailed-type"/>
	<name value="AU AllergyIntolerance Detailed Type"/>
	<display value="AU AllergyIntolerance Detailed Type"/>
	<status value="active"/>
	<publisher value="My Health Record System"/>
	<contact>
		<name value="My Health Record System project team"/>
		<telecom>
			<system value="email"/>
			<value value="mobile.enablement@health.gov.au"/>
		</telecom>
	</contact>
	<date value="2016-08-29"/>
	<description value="A set of codes which specifies the allergyintolerance type for the patient."/>
	<fhirVersion value="1.4.0"/>
	<kind value="datatype"/>
	<abstract value="false"/>
	<contextType value="resource"/>
	<context value="AllergyIntolernace"/>
	<baseType value="Extension"/>
	<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension"/>
	<snapshot>
		<element>
			<path value="Extension"/>
			<short value="AU AllergyIntolerance Detailed Type"/>
			<definition
				value="A set of codes which specifies the allergyintolerance type for the patient."/>
			<comments
				value="My Health Record System extension to include the allergyintolerance type for the patient."/>
			<min value="1"/>
			<max value="1"/>
			<base>
				<path value="Extension"/>
				<min value="0"/>
				<max value="*"/>
			</base>
			<type>
				<code value="Extension"/>
			</type>
		</element>
		<element>
			<path value="Extension.id"/>
			<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="Extension.id"/>
				<min value="0"/>
				<max value="1"/>
			</base>
			<type>
				<code value="id"/>
			</type>
		</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="Extension.extension"/>
				<min value="0"/>
				<max value="*"/>
			</base>
			<type>
				<code value="Extension"/>
			</type>
		</element>
		<element>
			<path value="Extension.url"/>
			<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>
				<code value="uri"/>
			</type>
			<fixedUri value="http://ns.electronichealth.net.au/fhir/v1.2.0/StructureDefinition/au-allergyintolerance-detailed-type"/>
		</element>
		<element>
			<path value="Extension.valueCoding"/>
			<short value="Value of extension"/>
			<definition
				value="AllergyIntolerance Type is value code type extension in AllergyIntolernace resource."/>
			<min value="1"/>
			<max value="1"/>
			<base>
				<path value="Extension.value[x]"/>
				<min value="0"/>
				<max value="1"/>
			</base>
			<type>
				<code value="Coding"/>
			</type>
		</element>
	</snapshot>
	<differential>
		<element>
			<path value="Extension"/>
			<short value="AllergyIntolernace Type"/>
			<definition
				value="A set of codes which specifies the allergyintolerance type for the patient."/>
			<comments
				value="My Health Record System extension to include the allergyintolerance type for the patient."/>
			<min value="1"/>
			<max value="1"/>
			<type>
				<code value="Extension"/>
			</type>
		</element>
		<element>
			<path value="Extension.extension"/>
			<name value="extension"/>
			<max value="0"/>
		</element>
		<element>
			<path value="Extension.url"/>
			<type>
				<code value="uri"/>
			</type>
			<fixedUri value="http://ns.electronichealth.net.au/fhir/v1.2.0/StructureDefinition/au-allergyintolerance-detailed-type"/>
		</element>
		<element>
			<path value="Extension.value[x]"/>
			<min value="1"/>
			<type>
				<code value="Coding"/>
			</type>
		</element>
	</differential>
</StructureDefinition>
