<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Basic" />
  <meta>
    <lastUpdated value="2021-01-02T08:58:31.578+11:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
    <valueString value="Foundation.Other" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="not-classified" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir" />
  </extension>
  <extension url="http://hl7.org/fhir/build/StructureDefinition/entered-in-error-status">
    <valueCode value="There are no fixed arrangements for Basic - profiles should describe how this works as arrangements will depend on the 'type' of Basic resource" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/Basic" />
  <version value="4.6.0" />
  <name value="Basic" />
  <status value="draft" />
  <date value="2021-01-02T08:58:31+11:00" />
  <publisher value="Health Level Seven International (FHIR Infrastructure)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
  </contact>
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.hl7.org/Special/committees/fiwg/index.cfm" />
    </telecom>
  </contact>
  <description value="Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification." />
  <purpose value="Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources." />
  <fhirVersion value="4.6.0" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Basic" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
  <derivation value="specialization" />
  <differential>
    <element id="Basic">
      <path value="Basic" />
      <short value="Resource for non-supported content" />
      <definition value="Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification." />
      <alias value="Z-resource" />
      <alias value="Extension-resource" />
      <alias value="Custom-resource" />
      <min value="0" />
      <max value="*" />
      <mapping>
        <identity value="rim" />
        <map value="Act, Entity or Role" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="infrastructure.structure" />
      </mapping>
    </element>
    <element id="Basic.identifier">
      <path value="Basic.identifier" />
      <short value="Business identifier" />
      <definition value="Identifier assigned to the resource for business purposes, outside the context of FHIR." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Identifier" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.identifier" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./identifier" />
      </mapping>
    </element>
    <element id="Basic.code">
      <path value="Basic.code" />
      <short value="Kind of Resource" />
      <definition value="Identifies the 'type' of resource - equivalent to the resource name for other resources." />
      <comment value="Because resource references will only be able to indicate 'Basic', the type of reference will need to be specified in a Profile identified as part of the resource.  Refer to the resource notes section for information on appropriate terminologies for this code.&#xA;&#xA;This element is labeled as a modifier because it defines the meaning of the resource and cannot be ignored." />
      <requirements value="Must be able to distinguish different types of Basic resources." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isModifier value="true" />
      <isModifierReason value="This element determines what kind of resource is being represented which drives the meaning of all of the other elements." />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BasicResourceType" />
        </extension>
        <extension url="http://hl7.org/fhir/build/StructureDefinition/definition">
          <valueString value="Codes for identifying types of resources not yet defined by FHIR." />
        </extension>
        <strength value="example" />
        <description value="HL7-maintained set of codes for &quot;Basic&quot; resources" />
        <valueSet value="http://hl7.org/fhir/ValueSet/basic-resource-type" />
      </binding>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
    </element>
    <element id="Basic.subject">
      <path value="Basic.subject" />
      <short value="Identifies the focus of this resource" />
      <definition value="Identifies the patient, practitioner, device or any other resource that is the &quot;focus&quot; of this resource." />
      <comment value="Optional as not all potential resources will have subjects.  Resources associated with multiple subjects can handle this via extension." />
      <requirements value="Needed for partitioning the resource by Patient." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.subject[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./participation[typeCode='SBJ'] (possibly through a ControlAct and Role)" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.subject" />
      </mapping>
    </element>
    <element id="Basic.created">
      <path value="Basic.created" />
      <short value="When created" />
      <definition value="Identifies when the resource was first created." />
      <requirements value="Allows ordering resource instances by time." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.recorded" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./participation[typeCode='AUT']/time (possibly through a ControlAct and Role)" />
      </mapping>
    </element>
    <element id="Basic.author">
      <path value="Basic.author" />
      <short value="Who created" />
      <definition value="Indicates who was responsible for creating the resource instance." />
      <requirements value="Needed for partitioning the resource." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.author" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./participation[typeCode='SUB'] (possibly through a ControlAct and Role)" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>