hlmod.hu

Magyar Half-Life Mód közösség!
Pontos idő: 2024.04.28. 12:16



Jelenlévő felhasználók

Jelenleg 546 felhasználó van jelen :: 1 regisztrált, 0 rejtett és 545 vendég

A legtöbb felhasználó (1565 fő) 2020.11.21. 11:26-kor tartózkodott itt.

Regisztrált felhasználók: siska15 az elmúlt 5 percben aktív felhasználók alapján

Utoljára aktív
Ahhoz hogy lásd ki volt utoljára aktív, be kell jelentkezned.



Az oldal teljeskörű
használatához regisztrálj.

Regisztráció

Kereső


Új téma nyitása  Hozzászólás a témához  [ 6 hozzászólás ] 
Szerző Üzenet
 Hozzászólás témája: PSG-1
HozzászólásElküldve: 2013.08.02. 07:40 
Offline
Veterán
Avatar

Csatlakozott: 2013.03.26. 20:20
Hozzászólások: 1846
Megköszönt másnak: 27 alkalommal
Megköszönték neki: 120 alkalommal
Valaki küldene linket ehhez az extra fegyverhez?

Előre is köszönöm :D

_________________
Projektem:

[CSO2] Ghost Mod
CSO2 GamePlay video: https://www.youtube.com/watch?feature=p ... iOS4Ik1Yrk


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: PSG-1
HozzászólásElküldve: 2013.08.02. 08:06 
Offline
Felfüggesztve
Avatar

Csatlakozott: 2013.06.09. 18:47
Hozzászólások: 2004
Megköszönt másnak: 1 alkalommal
Megköszönték neki: 220 alkalommal
RaZzoR írta:
Valaki küldene linket ehhez az extra fegyverhez?

Előre is köszönöm :D


Üdv.

Remélem jó lesz :P


Csatolmányok:
SPG-1.zip [55.88 KiB]
Letöltve 15 alkalommal.

_________________
Ha elnyerte valamelyik témában a hozzászólásom a tetszésedet melyet olvastál, akkor egy egyszerű gombnyomással kifejezheted, hogy tetszett.
Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: PSG-1
HozzászólásElküldve: 2013.08.02. 08:17 
Offline
Veterán
Avatar

Csatlakozott: 2013.03.26. 20:20
Hozzászólások: 1846
Megköszönt másnak: 27 alkalommal
Megköszönték neki: 120 alkalommal
Nem erre gondoltam

Elég lenne ehhez az extra fegyverhez egy forráskód is :D

_________________
Projektem:

[CSO2] Ghost Mod
CSO2 GamePlay video: https://www.youtube.com/watch?feature=p ... iOS4Ik1Yrk


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: PSG-1
HozzászólásElküldve: 2013.08.02. 09:08 
Offline
Felfüggesztve
Avatar

Csatlakozott: 2013.06.09. 18:47
Hozzászólások: 2004
Megköszönt másnak: 1 alkalommal
Megköszönték neki: 220 alkalommal
RaZzoR írta:
Nem erre gondoltam

Elég lenne ehhez az extra fegyverhez egy forráskód is :D



Tessék parancsolni:

SMA Forráskód: [ Mindet kijelol ]
  1.  
  2. /*
  3.  * This class is an auto-generated source file for a HAPI
  4.  * HL7 v2.x standard structure class.
  5.  *
  6.  * For more information, visit: http://hl7api.sourceforge.net/
  7.  *
  8.  * The contents of this file are subject to the Mozilla Public License Version 1.1
  9.  * (the "License"); you may not use this file except in compliance with the License.
  10.  * You may obtain a copy of the License at http://www.mozilla.org/MPL/
  11.  * Software distributed under the License is distributed on an "AS IS" basis,
  12.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
  13.  * specific language governing rights and limitations under the License.
  14.  *
  15.  * The Original Code is "[file_name]". Description:
  16.  * "[one_line_description]"
  17.  *
  18.  * The Initial Developer of the Original Code is University Health Network. Copyright (C)
  19.  * 2012. All Rights Reserved.
  20.  *
  21.  * Contributor(s): ______________________________________.
  22.  *
  23.  * Alternatively, the contents of this file may be used under the terms of the
  24.  * GNU General Public License (the "GPL"), in which case the provisions of the GPL are
  25.  * applicable instead of those above. If you wish to allow use of your version of this
  26.  * file only under the terms of the GPL and not to allow others to use your version
  27.  * of this file under the MPL, indicate your decision by deleting the provisions above
  28.  * and replace them with the notice and other provisions required by the GPL License.
  29.  * If you do not delete the provisions above, a recipient may use your version of
  30.  * this file under either the MPL or the GPL.
  31.  *
  32.  */
  33.  
  34.  
  35. package ca.uhn.hl7v2.model.v26.segment;
  36.  
  37. // import ca.uhn.hl7v2.model.v26.group.*;
  38. import ca.uhn.hl7v2.model.v26.datatype.*;
  39. import ca.uhn.hl7v2.HL7Exception;
  40. import ca.uhn.hl7v2.parser.ModelClassFactory;
  41. import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
  42. import ca.uhn.hl7v2.model.AbstractMessage;
  43. import ca.uhn.hl7v2.model.Group;
  44. import ca.uhn.hl7v2.model.Type;
  45. import ca.uhn.hl7v2.model.AbstractSegment;
  46. import ca.uhn.hl7v2.model.Varies;
  47.  
  48.  
  49. /**
  50.  *<p>Represents an HL7 PSG message segment (Product/Service Group).
  51.  * This segment has the following fields:</p>
  52.  * <ul>
  53.   * <li>PSG-1: Provider Product/Service Group Number (EI) <b> </b>
  54.   * <li>PSG-2: Payer Product/Service Group Number (EI) <b>optional </b>
  55.   * <li>PSG-3: Product/Service Group Sequence Number (SI) <b> </b>
  56.   * <li>PSG-4: Adjudicate as Group (ID) <b> </b>
  57.   * <li>PSG-5: Product/Service Group Billed Amount (CP) <b> </b>
  58.   * <li>PSG-6: Product/Service Group Description (ST) <b> </b>
  59.  * </ul>
  60.  */
  61. @SuppressWarnings("unused")
  62. public class PSG extends AbstractSegment {
  63.  
  64. /**
  65.   * Creates a new PSG segment
  66.   */
  67. public PSG(Group parent, ModelClassFactory factory) {
  68. super(parent, factory);
  69. init(factory);
  70. }
  71.  
  72. private void init(ModelClassFactory factory) {
  73. try {
  74. this.add(EI.class, true, 1, 73, new Object[]{ getMessage() }, "Provider Product/Service Group Number");
  75. this.add(EI.class, false, 1, 73, new Object[]{ getMessage() }, "Payer Product/Service Group Number");
  76. this.add(SI.class, true, 1, 4, new Object[]{ getMessage() }, "Product/Service Group Sequence Number");
  77. this.add(ID.class, true, 1, 1, new Object[]{ getMessage(), new Integer(136) }, "Adjudicate as Group");
  78. this.add(CP.class, true, 1, 254, new Object[]{ getMessage() }, "Product/Service Group Billed Amount");
  79. this.add(ST.class, true, 1, 254, new Object[]{ getMessage() }, "Product/Service Group Description");
  80. } catch(HL7Exception e) {
  81. log.error("Unexpected error creating PSG - this is probably a bug in the source code generator.", e);
  82. }
  83. }
  84.  
  85.  
  86.  
  87. /**
  88.   * Returns
  89.   * PSG-1: "Provider Product/Service Group Number" - creates it if necessary
  90.   */
  91. public EI getProviderProductServiceGroupNumber() {
  92. EI retVal = this.getTypedField(1, 0);
  93. return retVal;
  94. }
  95.  
  96. /**
  97.   * Returns
  98.   * PSG-1: "Provider Product/Service Group Number" - creates it if necessary
  99.   */
  100. public EI getPsg1_ProviderProductServiceGroupNumber() {
  101. EI retVal = this.getTypedField(1, 0);
  102. return retVal;
  103. }
  104.  
  105.  
  106. /**
  107.   * Returns
  108.   * PSG-2: "Payer Product/Service Group Number" - creates it if necessary
  109.   */
  110. public EI getPayerProductServiceGroupNumber() {
  111. EI retVal = this.getTypedField(2, 0);
  112. return retVal;
  113. }
  114.  
  115. /**
  116.   * Returns
  117.   * PSG-2: "Payer Product/Service Group Number" - creates it if necessary
  118.   */
  119. public EI getPsg2_PayerProductServiceGroupNumber() {
  120. EI retVal = this.getTypedField(2, 0);
  121. return retVal;
  122. }
  123.  
  124.  
  125.  
  126. /**
  127.   * Returns
  128.   * PSG-3: "Product/Service Group Sequence Number" - creates it if necessary
  129.   */
  130. public SI getProductServiceGroupSequenceNumber() {
  131. SI retVal = this.getTypedField(3, 0);
  132. return retVal;
  133. }
  134.  
  135. /**
  136.   * Returns
  137.   * PSG-3: "Product/Service Group Sequence Number" - creates it if necessary
  138.   */
  139. public SI getPsg3_ProductServiceGroupSequenceNumber() {
  140. SI retVal = this.getTypedField(3, 0);
  141. return retVal;
  142. }
  143.  
  144.  
  145.  
  146. /**
  147.   * Returns
  148.   * PSG-4: "Adjudicate as Group" - creates it if necessary
  149.   */
  150. public ID getAdjudicateAsGroup() {
  151. ID retVal = this.getTypedField(4, 0);
  152. return retVal;
  153. }
  154.  
  155. /**
  156.   * Returns
  157.   * PSG-4: "Adjudicate as Group" - creates it if necessary
  158.   */
  159. public ID getPsg4_AdjudicateAsGroup() {
  160. ID retVal = this.getTypedField(4, 0);
  161. return retVal;
  162. }
  163.  
  164.  
  165.  
  166. /** * Returns
  167.   * PSG-5: "Product/Service Group Billed Amount" - creates it if necessary
  168.   */
  169. public CP getProductServiceGroupBilledAmount() {
  170. CP retVal = this.getTypedField(5, 0);
  171. return retVal;
  172. }
  173.  
  174. /**
  175.   * Returns
  176.   * PSG-5: "Product/Service Group Billed Amount" - creates it if necessary
  177.   */
  178. public CP getPsg5_ProductServiceGroupBilledAmount() {
  179. CP retVal = this.getTypedField(5, 0);
  180. return retVal;
  181. }
  182.  
  183.  
  184.  
  185. /**
  186.   * Returns
  187.   * PSG-6: "Product/Service Group Description" - creates it if necessary
  188.   */
  189. public ST getProductServiceGroupDescription() {
  190. ST retVal = this.getTypedField(6, 0);
  191. return retVal;
  192. }
  193.  
  194. /**
  195.   * Returns
  196.   * PSG-6: "Product/Service Group Description" - creates it if necessary
  197.   */
  198. public ST getPsg6_ProductServiceGroupDescription() {
  199. ST retVal = this.getTypedField(6, 0);
  200. return retVal;
  201. }
  202.  
  203.  
  204.  
  205.  
  206.  
  207. /** {@inheritDoc} */
  208. protected Type createNewTypeWithoutReflection(int field) {
  209. switch (field) {
  210. case 0: return new EI(getMessage());
  211. case 1: return new EI(getMessage());
  212. case 2: return new SI(getMessage());
  213. case 3: return new ID(getMessage(), new Integer( 136 ));
  214. case 4: return new CP(getMessage());
  215. case 5: return new ST(getMessage());
  216. default: return null;
  217. }
  218. }
  219.  
  220.  
  221. }


Remélem tudtam segíteni. :)


Üdv.
Anonymous1337

_________________
Ha elnyerte valamelyik témában a hozzászólásom a tetszésedet melyet olvastál, akkor egy egyszerű gombnyomással kifejezheted, hogy tetszett.


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: PSG-1
HozzászólásElküldve: 2013.08.02. 09:49 
Offline
Veterán
Avatar

Csatlakozott: 2013.03.26. 20:20
Hozzászólások: 1846
Megköszönt másnak: 27 alkalommal
Megköszönték neki: 120 alkalommal
Ez nem 1.6-ra van

_________________
Projektem:

[CSO2] Ghost Mod
CSO2 GamePlay video: https://www.youtube.com/watch?feature=p ... iOS4Ik1Yrk


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: PSG-1
HozzászólásElküldve: 2013.08.02. 09:52 
Offline
Veterán
Avatar

Csatlakozott: 2013.03.26. 20:20
Hozzászólások: 1846
Megköszönt másnak: 27 alkalommal
Megköszönték neki: 120 alkalommal
UI: ez kellene

http://www.youtube.com/watch?v=b6G8Bmq_x4E

_________________
Projektem:

[CSO2] Ghost Mod
CSO2 GamePlay video: https://www.youtube.com/watch?feature=p ... iOS4Ik1Yrk


Hozzászólás jelentése
Vissza a tetejére
   
Hozzászólások megjelenítése:  Rendezés  
Új téma nyitása  Hozzászólás a témához  [ 6 hozzászólás ] 


Ki van itt

Jelenlévő fórumozók: nincs regisztrált felhasználó valamint 67 vendég


Nyithatsz új témákat ebben a fórumban.
Válaszolhatsz egy témára ebben a fórumban.
Nem szerkesztheted a hozzászólásaidat ebben a fórumban.
Nem törölheted a hozzászólásaidat ebben a fórumban.
Nem küldhetsz csatolmányokat ebben a fórumban.

Keresés:
Ugrás:  
Powered by phpBB® Forum Software © phpBB Limited
Magyar fordítás © Magyar phpBB Közösség
Portal: Kiss Portal Extension © Michael O'Toole