<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ocp-programmodality" />
  <language value="US-en" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml"> 
The FHIR STU3 (Release 3) Omnibus Care Plan (OCP) Program Modality extension profile uses FHIR resources and describes minimum expectations for the Program resource to record, search and fetch basic program information about an individual patient. </div>
  </text>
  <url value="http://hl7.org/fhir/StructureDefinition/ocp-programmodality" />
  <version value="1.0" />
  <name value="OCP Program Modality Extension" />
  <title value="OCP Program Modality" />
  <status value="draft" />
  <date value="2018-08-24" />
  <publisher value="SAMHSA" />
  <contact>
    <name value="Neelima Chennamaraja, Ioana Singureanu" />
    <telecom>
      <system value="url" />
      <value value="www.eversolve.com" />
      <period>
        <start value="1999-06-15" />
      </period>
    </telecom>
    <telecom>
      <system value="email" />
      <value value="neelima@eversolve.com" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Modality or settings that the program is focused on (e.g. Home Care, Intensive Care, Emergency Care, Ambulatory Care, Community Care, Hospital Inpatient, Outpatient, etc.)" />
  <purpose value="The purpose of this program type extension field is to indicate the modality or settings that the program is focused on (e.g. Home Care, Intensive Care, Emergency Care, Ambulatory Care, Community Care, Hospital Inpatient, Outpatient, etc.)" />
  <copyright value="+Copyright (c) 2017 SAMHSA. All Rights Reserved." />
  <fhirVersion value="3.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="ocp-program" />
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <snapshot />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <max value="1" />
    </element>
    <element id="Extension.extension">
      <path value="Extension.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Extension.extension:modality">
      <path value="Extension.extension" />
      <sliceName value="modality" />
    </element>
    <element id="Extension.extension:modality.url">
      <path value="Extension.extension.url" />
      <fixedUri value="modality" />
    </element>
    <element id="Extension.extension:modality.value[x]:valueString">
      <path value="Extension.extension.valueString" />
      <sliceName value="valueString" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="http://hl7.org/fhir/StructureDefinition/ocp-programmodality" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <max value="0" />
      <type>
        <code value="base64Binary" />
      </type>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="code" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="id" />
      </type>
      <type>
        <code value="instant" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="markdown" />
      </type>
      <type>
        <code value="oid" />
      </type>
      <type>
        <code value="positiveInt" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="unsignedInt" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Address" />
      </type>
      <type>
        <code value="Age" />
      </type>
      <type>
        <code value="Annotation" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="ContactPoint" />
      </type>
      <type>
        <code value="Count" />
      </type>
      <type>
        <code value="Distance" />
      </type>
      <type>
        <code value="Duration" />
      </type>
      <type>
        <code value="HumanName" />
      </type>
      <type>
        <code value="Identifier" />
      </type>
      <type>
        <code value="Money" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="Reference" />
      </type>
      <type>
        <code value="SampledData" />
      </type>
      <type>
        <code value="Signature" />
      </type>
      <type>
        <code value="Timing" />
      </type>
    </element>
  </differential>
</StructureDefinition>