<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Subscription" />
  <meta>
    <lastUpdated value="2019-11-01T09:29:23.356+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="3" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="business" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/Subscription" />
  <version value="4.0.1" />
  <name value="KR_Subscription" />
  <status value="draft" />
  <date value="2019-11-01T09:29:23+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="Subscription[] 리소스는 서버가 다른시스템으로 푸쉬(push)할 때 사용하는 구독(subscription)을 정의하는 데 사용됨. 일단 구독(subscription)이 서버에 등록되면, 서버는 생성 또는 업데이트 되는 모든 리소스를 체크하고, 만약 리소스가 주어진 기준(criteria)와 일치할 경우 다른시스템이 적절한 조치를 취하도록 정의된 &quot;channel&quot;에 메세지를 보냄" />
  <fhirVersion value="4.0.1" />
  <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="Subscription" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
  <derivation value="specialization" />
  <snapshot>
    <element id="Subscription">
      <path value="Subscription" />
      <short value="서버가 push하는 구독(subscription) 기준" />
      <definition value="Subscription[] 리소스는 서버가 다른시스템으로 푸쉬(push)할 때 사용하는 구독(subscription)을 정의하는 데 사용됨. 일단 구독(subscription)이 서버에 등록되면, 서버는 생성 또는 업데이트 되는 모든 리소스를 체크하고, 만약 리소스가 주어진 기준(criteria)와 일치할 경우 다른시스템이 적절한 조치를 취하도록 정의된 &quot;channel&quot;에 메세지를 보냄" />
      <alias value="WebHook" />
      <alias value="Hook" />
      <alias value="Routing Rule" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Subscription" />
        <min value="0" />
        <max value="*" />
      </base>
      <constraint>
        <key value="dom-2" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources" />
        <expression value="contained.contained.empty()" />
        <xpath value="not(parent::f:contained and f:contained)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-4" />
        <severity value="error" />
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" />
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" />
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-3" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" />
        <expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" />
        <xpath value="not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
          <valueBoolean value="true" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation">
          <valueMarkdown value="When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." />
        </extension>
        <key value="dom-6" />
        <severity value="warning" />
        <human value="A resource should have narrative for robust management" />
        <expression value="text.`div`.exists()" />
        <xpath value="exists(f:text/h:div)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-5" />
        <severity value="error" />
        <human value="If a resource is contained in another resource, it SHALL NOT have a security label" />
        <expression value="contained.meta.security.empty()" />
        <xpath value="not(exists(f:contained/*/f:meta/f:security))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="Entity. Role, or Act" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Subscription.id">
      <path value="Subscription.id" />
      <short value="Logical id of this artifact" />
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." />
      <comment value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="Subscription.meta">
      <path value="Subscription.meta" />
      <short value="Metadata about the resource" />
      <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.meta" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Meta" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Subscription.implicitRules">
      <path value="Subscription.implicitRules" />
      <short value="A set of rules under which this content was created" />
      <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." />
      <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.implicitRules" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Subscription.language">
      <path value="Subscription.language" />
      <short value="Language of the resource content" />
      <definition value="The base language in which the resource is written." />
      <comment value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.language" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueCanonical value="http://hl7.org/fhir/ValueSet/all-languages" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language" />
        </extension>
        <strength value="preferred" />
        <description value="A human language." />
        <valueSet value="http://hl7.org/fhir/ValueSet/languages" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Subscription.text">
      <path value="Subscription.text" />
      <short value="Text summary of the resource, for human interpretation" />
      <definition value="A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." />
      <comment value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded information is added later." />
      <alias value="narrative" />
      <alias value="html" />
      <alias value="xhtml" />
      <alias value="display" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="DomainResource.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Narrative" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Act.text?" />
      </mapping>
    </element>
    <element id="Subscription.contained">
      <path value="Subscription.contained" />
      <short value="Contained, inline Resources" />
      <definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." />
      <comment value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." />
      <alias value="inline resources" />
      <alias value="anonymous resources" />
      <alias value="contained resources" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="DomainResource.contained" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Resource" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="Entity. Role, or Act" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Subscription.extension">
      <path value="Subscription.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="DomainResource.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Subscription.modifierExtension">
      <path value="Subscription.modifierExtension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="DomainResource.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Subscription.status">
      <path value="Subscription.status" />
      <short value="requested | active | error | off" />
      <definition value="구독(subscription)상태. 구독(subscription) 관리를 위한 서버상태(status)를 표시 함" />
      <comment value="클라이언트는 요청 또는 해제 상태에서만 구독(subscripton)리소스를 제출할 수 있음. 오직 서버만 요청한 구독(subscription)을 활성(active)로 이동한 다름 오류(error)로 이동할 수 있음. 서버 또는 클라이언트 중 하나가 구독(subscripton)을 없앨 수 있음. 상태(status)가 리소스를 유효하지 않는 것으로 표시하는 코드(code)를 가지고 있기 때문에 수정자(modifier)로 레이블을 지정함" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Subscription.status" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SubscriptionStatus" />
        </extension>
        <strength value="required" />
        <description value="The status of a subscription." />
        <valueSet value="http://hl7.org/fhir/ValueSet/subscription-status|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.status" />
      </mapping>
    </element>
    <element id="Subscription.contact">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="Subscription.contact" />
      <short value="소스에 대한 연락처 세부정보 (예: 문제 해결)" />
      <definition value="사람이 구독(subscription)에 대해 연락할 수 있는 연락처 정보임. 시스템 관리자 문제 해결을 위해 이것을 주로 사용함." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Subscription.contact" />
      </base>
      <type>
        <code value="ContactPoint" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="cpt-2" />
        <severity value="error" />
        <human value="A system is required if a value is provided." />
        <expression value="value.empty() or system.exists()" />
        <xpath value="not(exists(f:value)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/ContactPoint" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="XTN" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="TEL" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="ContactPoint" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.subject[x]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.subject" />
      </mapping>
    </element>
    <element id="Subscription.contact.id">
      <path value="Subscription.contact.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Subscription.contact.extension">
      <path value="Subscription.contact.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Subscription.contact.system">
      <path value="Subscription.contact.system" />
      <short value="phone | fax | email | pager | url | sms | other" />
      <definition value="연락처에 대한 통신 방법 - 연락처를 활용하기 위해 필요한 연락 시스템." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ContactPoint.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <condition value="cpt-2" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ContactPointSystem" />
        </extension>
        <strength value="required" />
        <description value="Telecommunications form for contact point." />
        <valueSet value="http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="XTN.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./scheme" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./ContactPointType" />
      </mapping>
    </element>
    <element id="Subscription.contact.value">
      <path value="Subscription.contact.value" />
      <short value="실제 연락처(actual contact point)의 값" />
      <definition value="지정된 통신 방법을 통하여 연락을 할 수 있는 실제 연락처(actual contact point)의 값 (예: 전화번호, 이메일주소)" />
      <comment value="Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value." />
      <requirements value="Need to support legacy numbers that are not in a tightly controlled format." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ContactPoint.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="XTN.1 (or XTN.12)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./url" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Value" />
      </mapping>
    </element>
    <element id="Subscription.contact.use">
      <path value="Subscription.contact.use" />
      <short value="home | work | temp | old | mobile - 연락처 경로" />
      <definition value="연락처의 경로를 식별함." />
      <comment value="Applications can assume that a contact is current unless it explicitly says that it is temporary or old." />
      <requirements value="Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ContactPoint.use" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="This is labeled as &quot;Is Modifier&quot; because applications should not mistake a temporary or old contact etc.for a current/permanent one" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ContactPointUse" />
        </extension>
        <strength value="required" />
        <description value="Use of contact point." />
        <valueSet value="http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="XTN.2 - but often indicated by field" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="unique(./use)" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./ContactPointPurpose" />
      </mapping>
    </element>
    <element id="Subscription.contact.rank">
      <path value="Subscription.contact.rank" />
      <short value="선호되는 사용 순서를 명시함 (1 = 가장 높은 순서)" />
      <definition value="연락처 세트를 사용할 선호 순서를 지정. 순위(rank) 값이 낮은 ContactPoint가 순위(rank) 값이 높은 ContactPoint보다 선호됨." />
      <comment value="Note that rank does not necessarily follow the order in which the contacts are represented in the instance." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ContactPoint.rank" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="positiveInt" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Subscription.contact.period">
      <path value="Subscription.contact.period" />
      <short value="연락처가 사용/사용 된 기간" />
      <definition value="연락처가 사용/사용 된 기간" />
      <comment value="A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. &quot;the patient was an inpatient of the hospital for this time range&quot;) or one value from the range applies (e.g. &quot;give to the patient between these two times&quot;).&#xA;&#xA;Period is not used for a duration (a measure of elapsed time). See [Duration](datatypes.html#Duration)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ContactPoint.period" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Period" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="per-1" />
        <severity value="error" />
        <human value="If present, start SHALL have a lower value than end" />
        <expression value="start.hasValue().not() or end.hasValue().not() or (start &lt;= end)" />
        <xpath value="not(exists(f:start/@value)) or not(exists(f:end/@value)) or (xs:dateTime(f:start/@value) &lt;= xs:dateTime(f:end/@value))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Period" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="DR" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="IVL&lt;TS&gt;[lowClosed=&quot;true&quot; and highClosed=&quot;true&quot;] or URG&lt;TS&gt;[lowClosed=&quot;true&quot; and highClosed=&quot;true&quot;]" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./usablePeriod[type=&quot;IVL&lt;TS&gt;&quot;]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./StartDate and ./EndDate" />
      </mapping>
    </element>
    <element id="Subscription.contact.period.id">
      <path value="Subscription.contact.period.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Subscription.contact.period.extension">
      <path value="Subscription.contact.period.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Subscription.contact.period.start">
      <path value="Subscription.contact.period.start" />
      <short value="해당 유효 기간의 시작 시점 (설정된 날짜 포함)" />
      <definition value="해당 유효 기간이 시작되는 시점을 나타냄. 유효 기간은 시작 시점으로 설정된 날짜를 포함함." />
      <comment value="If the low element is missing, the meaning is that the low boundary is not known." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Period.start" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <condition value="ele-1" />
      <condition value="per-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="DR.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./low" />
      </mapping>
    </element>
    <element id="Subscription.contact.period.end">
      <path value="Subscription.contact.period.end" />
      <short value="해당 유효 기간의 종료 시점 (설정된 날짜 포함)" />
      <definition value="기간의 종료. 기간의 종료가 누락된 경우, 인스턴스가 생성될 때 끝이 알려지거나 계획되지 않았음을 의미함. 시작일은 과거일 수 있고 종료일은 미래일 수 있음. 이는 해당 기간이 해당 시간에 종료될 예정임을 의미함" />
      <comment value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Period.end" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <meaningWhenMissing value="If the end of the period is missing, it means that the period is ongoing" />
      <condition value="ele-1" />
      <condition value="per-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="DR.2" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./high" />
      </mapping>
    </element>
    <element id="Subscription.end">
      <path value="Subscription.end" />
      <short value="구독(subscription)을 자동으로 삭제할 때" />
      <definition value="서버가 구독(subscription)을 끄는 시간" />
      <comment value="서버는 이 시간에서 벗어나는 것이 허용되지만 이를 준수(observe)해야 함" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Subscription.end" />
        <max value="1" />
      </base>
      <type>
        <code value="instant" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.done[x]" />
      </mapping>
    </element>
    <element id="Subscription.reason">
      <path value="Subscription.reason" />
      <short value="이 구독(description)이 생성된 이유 설명" />
      <definition value="이 구독(description)이 정의된 이유 설명" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Subscription.reason" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.why[x]" />
      </mapping>
    </element>
    <element id="Subscription.criteria">
      <path value="Subscription.criteria" />
      <short value="서버 push 규칙(rule)" />
      <definition value="서버가 이 구독에 대한 알림을 언제 생성해야하는 지 결정할 때 사용해야 하는 규칙" />
      <comment value="규칙은 검색의 기준임(without the [base] part). Bundle.entry.request.url 처럼, 이것은 &quot;/&quot;.를 이끌지 않음" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Subscription.criteria" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Subscription.error">
      <path value="Subscription.error" />
      <short value="최신 오류 노트(note)" />
      <definition value="서버에서 알림을 처리할 때 발생한 마지막 오류의 기록(record)" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Subscription.error" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Subscription.channel">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="Subscription.channel" />
      <short value="보고할 채널이 기준과 일치" />
      <definition value="기준을 충족하는 리소스를 수신할 때 알림을 보낼 대상을 자세히 설명함" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Subscription.channel" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Subscription.channel.id">
      <path value="Subscription.channel.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Subscription.channel.extension">
      <path value="Subscription.channel.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Subscription.channel.modifierExtension">
      <path value="Subscription.channel.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Subscription.channel.type">
      <path value="Subscription.channel.type" />
      <short value="rest-hook | websocket | email | sms | message" />
      <definition value="알림을 전송할 채널의 유형(type)" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Subscription.channel.type" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SubscriptionChannelType" />
        </extension>
        <strength value="required" />
        <description value="The type of method used to execute a subscription." />
        <valueSet value="http://hl7.org/fhir/ValueSet/subscription-channel-type|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Subscription.channel.endpoint">
      <path value="Subscription.channel.endpoint" />
      <short value="채널이 향하는 곳" />
      <definition value="메세지를 보낼 실제 엔드포인트(end-point)를 설명하는 url" />
      <comment value="rest-hook과 websocket의 경우, 엔드포인트(endpoint)는 http: 또는 https: URL임; 이메일의 경우 mailto: url, sms의 경우 tel: url 및 메시지의 경우 엔드포인트(endpoint)는 서버가 이해하는 모든 URL 형식 (일반적으로 http: 또는 mllp:) 일 수 있음. URI는 관계가 있어야함. 이 경우 서버 엔드포인트(endpoint)에 관계적임 (둘 이상이 있을 수 있으므로 클라이언트는 관계적 URI를 사용하지 않아야 함)" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Subscription.channel.endpoint" />
        <max value="1" />
      </base>
      <type>
        <code value="url" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Subscription.channel.payload">
      <path value="Subscription.channel.payload" />
      <short value="전송할 MIME 타입(type), 페이로드(payload)가 없는 경우는 생략" />
      <definition value="페이로드(payload)를 application/fhir+xml 또는 application/fhir+json으로 전송하는 MIME 유형(type). 페이로드가 없는 경우 페이로드가 없는 통지(notification)만 있음. mime 타입 &quot;text/plain&quot; 은 이메일 및 SMS 구독(subscriptions)에도 사용될 수 있음" />
      <comment value="페이로드(payload)를 전송한느 것은 명백하게 보안적으로 함축된 의미를 가지고 있음. 서버는 컨텐츠를 적절하게 확보(secured)해야 하는 책임이 있음" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Subscription.channel.payload" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MimeType" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true" />
        </extension>
        <strength value="required" />
        <description value="The mime type of an attachment. Any valid mime type is allowed." />
        <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Subscription.channel.header">
      <path value="Subscription.channel.header" />
      <short value="용도는 채널 유형(type)에 따라 다름" />
      <definition value="알림(notification)의 일부로 보낼 추가 헤더/정보임." />
      <comment value="정확히 이 의미는 채널 유형에 따라 달라짐. 그들은 수신자에게 추가 정보를 전달하거나/또는 보안 요구 사항을 충족시킬 수 있음. 예를 들어, rest-hook 타입(type) 구독(subscription)을 위한 발신(outgoint) 통지(notification)의 다중 헤더(header)를 지원함" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Subscription.channel.header" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="Subscription">
      <path value="Subscription" />
      <short value="서버가 push하는 구독(subscription) 기준" />
      <definition value="Subscription[] 리소스는 서버가 다른시스템으로 푸쉬(push)할 때 사용하는 구독(subscription)을 정의하는 데 사용됨. 일단 구독(subscription)이 서버에 등록되면, 서버는 생성 또는 업데이트 되는 모든 리소스를 체크하고, 만약 리소스가 주어진 기준(criteria)와 일치할 경우 다른시스템이 적절한 조치를 취하도록 정의된 &quot;channel&quot;에 메세지를 보냄" />
      <alias value="WebHook" />
      <alias value="Hook" />
      <alias value="Routing Rule" />
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Subscription.status">
      <path value="Subscription.status" />
      <short value="requested | active | error | off" />
      <definition value="구독(subscription)상태. 구독(subscription) 관리를 위한 서버상태(status)를 표시 함" />
      <comment value="클라이언트는 요청 또는 해제 상태에서만 구독(subscripton)리소스를 제출할 수 있음. 오직 서버만 요청한 구독(subscription)을 활성(active)로 이동한 다름 오류(error)로 이동할 수 있음. 서버 또는 클라이언트 중 하나가 구독(subscripton)을 없앨 수 있음. 상태(status)가 리소스를 유효하지 않는 것으로 표시하는 코드(code)를 가지고 있기 때문에 수정자(modifier)로 레이블을 지정함" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isModifier value="true" />
      <isModifierReason value="This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SubscriptionStatus" />
        </extension>
        <strength value="required" />
        <description value="The status of a subscription." />
        <valueSet value="http://hl7.org/fhir/ValueSet/subscription-status|4.0.1" />
      </binding>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.status" />
      </mapping>
    </element>
    <element id="Subscription.contact">
      <path value="Subscription.contact" />
      <short value="소스에 대한 연락처 세부정보 (예: 문제 해결)" />
      <definition value="사람이 구독(subscription)에 대해 연락할 수 있는 연락처 정보임. 시스템 관리자 문제 해결을 위해 이것을 주로 사용함." />
      <type>
        <code value="ContactPoint" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.subject[x]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.subject" />
      </mapping>
    </element>
    <element id="Subscription.contact.system">
      <path value="Subscription.contact.system" />
      <short value="phone | fax | email | pager | url | sms | other" />
      <definition value="연락처에 대한 통신 방법 - 연락처를 활용하기 위해 필요한 연락 시스템." />
    </element>
    <element id="Subscription.contact.value">
      <path value="Subscription.contact.value" />
      <short value="실제 연락처(actual contact point)의 값" />
      <definition value="지정된 통신 방법을 통하여 연락을 할 수 있는 실제 연락처(actual contact point)의 값 (예: 전화번호, 이메일주소)" />
    </element>
    <element id="Subscription.contact.use">
      <path value="Subscription.contact.use" />
      <short value="home | work | temp | old | mobile - 연락처 경로" />
      <definition value="연락처의 경로를 식별함." />
    </element>
    <element id="Subscription.contact.rank">
      <path value="Subscription.contact.rank" />
      <short value="선호되는 사용 순서를 명시함 (1 = 가장 높은 순서)" />
      <definition value="연락처 세트를 사용할 선호 순서를 지정. 순위(rank) 값이 낮은 ContactPoint가 순위(rank) 값이 높은 ContactPoint보다 선호됨." />
    </element>
    <element id="Subscription.contact.period">
      <path value="Subscription.contact.period" />
      <short value="연락처가 사용/사용 된 기간" />
      <definition value="연락처가 사용/사용 된 기간" />
    </element>
    <element id="Subscription.contact.period.start">
      <path value="Subscription.contact.period.start" />
      <short value="해당 유효 기간의 시작 시점 (설정된 날짜 포함)" />
      <definition value="해당 유효 기간이 시작되는 시점을 나타냄. 유효 기간은 시작 시점으로 설정된 날짜를 포함함." />
    </element>
    <element id="Subscription.contact.period.end">
      <path value="Subscription.contact.period.end" />
      <short value="해당 유효 기간의 종료 시점 (설정된 날짜 포함)" />
      <definition value="기간의 종료. 기간의 종료가 누락된 경우, 인스턴스가 생성될 때 끝이 알려지거나 계획되지 않았음을 의미함. 시작일은 과거일 수 있고 종료일은 미래일 수 있음. 이는 해당 기간이 해당 시간에 종료될 예정임을 의미함" />
    </element>
    <element id="Subscription.end">
      <path value="Subscription.end" />
      <short value="구독(subscription)을 자동으로 삭제할 때" />
      <definition value="서버가 구독(subscription)을 끄는 시간" />
      <comment value="서버는 이 시간에서 벗어나는 것이 허용되지만 이를 준수(observe)해야 함" />
      <max value="1" />
      <type>
        <code value="instant" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.done[x]" />
      </mapping>
    </element>
    <element id="Subscription.reason">
      <path value="Subscription.reason" />
      <short value="이 구독(description)이 생성된 이유 설명" />
      <definition value="이 구독(description)이 정의된 이유 설명" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.why[x]" />
      </mapping>
    </element>
    <element id="Subscription.criteria">
      <path value="Subscription.criteria" />
      <short value="서버 push 규칙(rule)" />
      <definition value="서버가 이 구독에 대한 알림을 언제 생성해야하는 지 결정할 때 사용해야 하는 규칙" />
      <comment value="규칙은 검색의 기준임(without the [base] part). Bundle.entry.request.url 처럼, 이것은 &quot;/&quot;.를 이끌지 않음" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="Subscription.error">
      <path value="Subscription.error" />
      <short value="최신 오류 노트(note)" />
      <definition value="서버에서 알림을 처리할 때 발생한 마지막 오류의 기록(record)" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="Subscription.channel">
      <path value="Subscription.channel" />
      <short value="보고할 채널이 기준과 일치" />
      <definition value="기준을 충족하는 리소스를 수신할 때 알림을 보낼 대상을 자세히 설명함" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="Subscription.channel.type">
      <path value="Subscription.channel.type" />
      <short value="rest-hook | websocket | email | sms | message" />
      <definition value="알림을 전송할 채널의 유형(type)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SubscriptionChannelType" />
        </extension>
        <strength value="required" />
        <description value="The type of method used to execute a subscription." />
        <valueSet value="http://hl7.org/fhir/ValueSet/subscription-channel-type|4.0.1" />
      </binding>
    </element>
    <element id="Subscription.channel.endpoint">
      <path value="Subscription.channel.endpoint" />
      <short value="채널이 향하는 곳" />
      <definition value="메세지를 보낼 실제 엔드포인트(end-point)를 설명하는 url" />
      <comment value="rest-hook과 websocket의 경우, 엔드포인트(endpoint)는 http: 또는 https: URL임; 이메일의 경우 mailto: url, sms의 경우 tel: url 및 메시지의 경우 엔드포인트(endpoint)는 서버가 이해하는 모든 URL 형식 (일반적으로 http: 또는 mllp:) 일 수 있음. URI는 관계가 있어야함. 이 경우 서버 엔드포인트(endpoint)에 관계적임 (둘 이상이 있을 수 있으므로 클라이언트는 관계적 URI를 사용하지 않아야 함)" />
      <max value="1" />
      <type>
        <code value="url" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="Subscription.channel.payload">
      <path value="Subscription.channel.payload" />
      <short value="전송할 MIME 타입(type), 페이로드(payload)가 없는 경우는 생략" />
      <definition value="페이로드(payload)를 application/fhir+xml 또는 application/fhir+json으로 전송하는 MIME 유형(type). 페이로드가 없는 경우 페이로드가 없는 통지(notification)만 있음. mime 타입 &quot;text/plain&quot; 은 이메일 및 SMS 구독(subscriptions)에도 사용될 수 있음" />
      <comment value="페이로드(payload)를 전송한느 것은 명백하게 보안적으로 함축된 의미를 가지고 있음. 서버는 컨텐츠를 적절하게 확보(secured)해야 하는 책임이 있음" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MimeType" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true" />
        </extension>
        <strength value="required" />
        <description value="The mime type of an attachment. Any valid mime type is allowed." />
        <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|4.0.1" />
      </binding>
    </element>
    <element id="Subscription.channel.header">
      <path value="Subscription.channel.header" />
      <short value="용도는 채널 유형(type)에 따라 다름" />
      <definition value="알림(notification)의 일부로 보낼 추가 헤더/정보임." />
      <comment value="정확히 이 의미는 채널 유형에 따라 달라짐. 그들은 수신자에게 추가 정보를 전달하거나/또는 보안 요구 사항을 충족시킬 수 있음. 예를 들어, rest-hook 타입(type) 구독(subscription)을 위한 발신(outgoint) 통지(notification)의 다중 헤더(header)를 지원함" />
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
    </element>
  </differential>
</StructureDefinition>