about 4 years ago

Association Types 文件結合類型

sourceObject AssociationType targetObject
Ex: Folder HasMember DocumentEntry

Association Types

Association function Association Type
ebRIM HasMember urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember
HL7 文件關係 Replace urn:ihe:iti:2007:AssociationType:RPLC
HL7 文件關係 Transform urn:ihe:iti:2007:AssociationType:XFRM
HL7 文件關係 Append urn:ihe:iti:2007:AssociationType:APND
HL7 文件關係 Transform and Replace urn:ihe:iti:2007:AssociationType:XFRM_RPLC
IHE Signature urn:ihe:iti:2007:AssociationType:signs

1. HasMember (4)

SubmissionSet HasMemeber DocumentEntry

1.1. Submission of an original Document (inclusion by value)

1.1.1 圖例示範:

1.1.2. Code 示範:
1.1.2.1. SubmissionSet01 對 DocumentEntry01
HM01:HasMember(4)
<rim:Association 
  id="HM01" 
  sourceObject="SS01" 
  targetObject="DE01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association">
    <rim:Slot name="SubmissionSetStatus">
        <rim:ValueList>
            <rim:Value>Original</rim:Value>
        </rim:ValueList>
    </rim:Slot>
</rim:Association>

1.2. Submission of a reference to an existing Document(inclusion by reference)

SubmissionSet 可以 Reference 一個已存在的文件

1.2.1. 圖例示範:

1.2.2. Code 示範:
1.2.2.1. SubmissionSet02 對 DocumentEntry01
HM02:HasMember(4)
<rim:Association 
  id="HM02" 
  sourceObject="SS02" 
  targetObject="DE01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association">
    <rim:Slot name="SubmissionSetStatus">
        <rim:ValueList>
            <rim:Value>Reference</rim:Value>
        </rim:ValueList>
    </rim:Slot>
</rim:Association>

1.3. Submission of two original Documents (inclusion by value)

1.3.1. 圖例示範:

1.3.2. Code 示範:
1.3.2.1. SubmissionSet01 對 DocumentEntry01
HM01:HasMember(4)
<rim:Association 
  id="HM01" 
  sourceObject="SS01" 
  targetObject="DE01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association">
  <rim:Slot name="SubmissionSetStatus">                           
    <rim:ValueList>                              
        <rim:Value>Original</rim:Value>                           
    </rim:ValueList>                        
  </rim:Slot>                     
</rim:Association>
1.3.2.2. SubmissionSet01 對 DocumentEntry02
HM02:HasMember(4)
<rim:Association 
  id="HM02" 
  sourceObject="SS01" 
  targetObject="DE02" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association">
  <rim:Slot name="SubmissionSetStatus">                           
    <rim:ValueList>                              
        <rim:Value>Original</rim:Value>                           
    </rim:ValueList>                        
  </rim:Slot>                     
</rim:Association>

2. HasMember (1)

SubmissionSet HasMemeber Folder

2.1. 圖例示範:

2.2. Code 示範:

2.2.1. SubmissionSet01 對 Folder01
HM01:HasMember(1)
<rim:Association
  id="HM01" 
  sourceObject="SS01" 
  targetObject="F01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>

3. HasMember (2)

Folder HasMemeber DocumentEntry

3.1. 圖例示範:

3.2. Code 示範:

3.2.1. Folder01 對 DocumentEntry01
HM01:HasMember(2)
<rim:Association
  id="HM01" 
  sourceObject="F01" 
  targetObject="DE01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>

4. HasMember (3)

SubmissionSet HasMemeber HasMember (2)

4.1. 圖例示範:

4.2. Code 示範:

4.2.1. Folder01 對 DocumentEntry01
HM01:HasMember(2)
<rim:Association
  id="HM01" 
  sourceObject="F01" 
  targetObject="DE01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>
4.2.2. SubmissionSet01 對 HasMember01
HM02:HasMember(3)
<rim:Association
  id="HM02" 
  sourceObject="SS01" 
  targetObject="HM01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>

5. Adding DocumentEnties to Folders 加入文件至目錄

5.1. 情境一:一個新文件加入一個新目錄

DocumentEntry submitted as part of the Folder in a single submission

5.1.1. 圖例示範:

5.1.2. Code 示範:
5.1.2.1. SubmissionSet01 對 Folder01
HM01:HasMember(1)
<rim:Association
  id="HM01" 
  sourceObject="SS01" 
  targetObject="F01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>
5.1.2.2. Folder01 對 DocumentEntry01
HM02:HasMember(2)
<rim:Association
  id="HM02" 
  sourceObject="F01" 
  targetObject="DE01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>
5.1.2.3. SubmissionSet01 對 HasMember01
HM03:HasMember(3)
<rim:Association
  id="HM03" 
  sourceObject="SS01" 
  targetObject="HM02" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>
5.1.2.4. SubmissionSet01 對 DocumentEntry01
HM04:HasMember(4)
<rim:Association 
  id="HM04" 
  sourceObject="SS01" 
  targetObject="DE01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association">
    <rim:Slot name="SubmissionSetStatus">
        <rim:ValueList>
            <rim:Value>Original</rim:Value>
        </rim:ValueList>
    </rim:Slot>
</rim:Association>

5.2. 情境二:一個已存在的文件加入到一個已存在的目錄

Add existing DocumentEntry to existing Folder

5.2.1. 圖例示範:


5.2.2. Code 示範:
5.2.2.1. SubmissionSet01 對 Folder01
HM01:HasMember(1)
<rim:Association
  id="HM01" 
  sourceObject="SS01" 
  targetObject="F01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>
5.2.2.2. SubmissionSet02 對 DocumentEntry01
HM02:HasMember(4)
<rim:Association 
  id="HM02" 
  sourceObject="SS02" 
  targetObject="DE01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association">
    <rim:Slot name="SubmissionSetStatus">
        <rim:ValueList>
            <rim:Value>Original</rim:Value>
        </rim:ValueList>
    </rim:Slot>
</rim:Association>
5.2.2.3. SubmissionSet03 對 DocumentEntry01 Reference
HM03:HasMember(4)
<rim:Association 
  id="HM03" 
  sourceObject="SS03" 
  targetObject="DE01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association">
    <rim:Slot name="SubmissionSetStatus">
        <rim:ValueList>
            <rim:Value>Reference</rim:Value>
        </rim:ValueList>
    </rim:Slot>
</rim:Association>
5.2.2.4. Folder01 對 DocumentEntry01
HM04:HasMember(2)
<rim:Association 
    id="HM04" 
    sourceObject="F01" 
    targetObject="DE01" 
    associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
    objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>
5.2.2.5. SubmissionSet03 對 HasMember04
HM05:HasMember(3)
<rim:Association 
    id="HM05" 
    sourceObject="SS03" 
    targetObject="HM04" 
    associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
    objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>

5.3. 情境三:一個已存在的文件加入到一個新目錄

Folder submitted and existing DocumentEntry added to it
問題:可以同一個文件加入至不同資料夾嗎?
答案:

5.3.1. 圖例示範:


5.3.2. Code 示範:
5.3.2.1. SubmissionSet01 對 已存在的 DocumentEntry01
HM01:HasMember(4)
<rim:Association 
  id="HM01" 
  sourceObject="SS01" 
  targetObject="DE01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association">
    <rim:Slot name="SubmissionSetStatus">
        <rim:ValueList>
            <rim:Value>Original</rim:Value>
        </rim:ValueList>
    </rim:Slot>
</rim:Association>
5.3.2.2. SubmissionSet01 對 Folder01
HM02:HasMember(1)
<rim:Association
  id="HM02" 
  sourceObject="SS01" 
  targetObject="F01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>
5.3.2.3. Folder01 對 已存在的 DocumentEntry01
HM03:HasMember(2)
<rim:Association
  id="HM03" 
  sourceObject="F01" 
  targetObject="DE01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>
5.3.2.4. SubmissionSet01 對 HasMember03
HM04:HasMember(3)
<rim:Association
  id="HM04" 
  sourceObject="SS01" 
  targetObject="HM03" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>

5.4. 情境四:一個新文件加入到一個已存在的目錄

DocumentEntry submitted and added to existing Folder.

5.4.1. 圖例示範:


5.4.2. Code 示範:
5.4.2.1. SubmissionSet01 對 Folder01
HM01:HasMember(1)
<rim:Association
  id="HM01" 
  sourceObject="SS01" 
  targetObject="F01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>
5.4.2.1. SubmissionSet01 對 DocumentEntry01
HM02:HasMember(4)
<rim:Association 
  id="HM02" 
  sourceObject="SS01" 
  targetObject="DE01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association">
    <rim:Slot name="SubmissionSetStatus">
        <rim:ValueList>
            <rim:Value>Original</rim:Value>
        </rim:ValueList>
    </rim:Slot>
</rim:Association>
5.4.2.1. Folder01 對 DocumentEntry01
HM03:HasMember(2)
<rim:Association
  id="HM03" 
  sourceObject="F01" 
  targetObject="DE01" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>
5.4.2.4. SubmissionSet01 對 HasMember03
HM04:HasMember(3)
<rim:Association
  id="HM04" 
  sourceObject="SS01" 
  targetObject="HM03" 
  associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association"/>

6. Deprecated 文件註銷

6.1. 圖例示範:
6.2. Code 示範:
6.2.1. SubmissionSet01 對 DocumentEntry01
HM01:HasMember(4)
<rim:Association 
  id="HM01" 
  sourceObject="SS01" 
  targetObject="DE01" 
  associationType="urn:ihe:iti:2010:AssociationType:Deprecate" 
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Association">
  <rim:Slot name="OriginalStatus">
    <rim:ValueList>
      <rim:Value>urn:oasis:names:tc:ebxml-regrep:StatusType:Approved</rim:Value>
    </rim:ValueList>
  </rim:Slot>                     
</rim:Association>

7. IHE - 資訊技術基礎建設技術架構 XDS,Metadata,Association Types (2)

← Otsu’s Method - 二值化 IHE - 資訊技術基礎建設技術架構 XDS,Metadata,Association Types (2) →
 
comments powered by Disqus