코드 정리
parent
9cc256d38a
commit
af8a1f67a7
@ -1,262 +0,0 @@
|
||||
// package cokr.xit.adds.biz.nims.model;
|
||||
//
|
||||
// import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.*;
|
||||
//
|
||||
// import java.util.ArrayList;
|
||||
// import java.util.List;
|
||||
//
|
||||
// import javax.validation.Valid;
|
||||
// import javax.validation.constraints.NotEmpty;
|
||||
// import javax.validation.constraints.Pattern;
|
||||
//
|
||||
// import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
// import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
//
|
||||
// import cokr.xit.adds.core.Constants;
|
||||
// import cokr.xit.adds.core.model.AuditDto;
|
||||
// import cokr.xit.adds.inf.nims.model.NimsApiDto;
|
||||
// import io.swagger.v3.oas.annotations.media.Schema;
|
||||
// import lombok.AllArgsConstructor;
|
||||
// import lombok.Builder;
|
||||
// import lombok.Getter;
|
||||
// import lombok.NoArgsConstructor;
|
||||
// import lombok.Setter;
|
||||
// import lombok.experimental.SuperBuilder;
|
||||
//
|
||||
// /**
|
||||
// * <pre>
|
||||
// * description :
|
||||
// *
|
||||
// * author : limju
|
||||
// * date : 2024-04-08
|
||||
// * ======================================================================
|
||||
// * 변경일 변경자 변경 내용
|
||||
// * ----------------------------------------------------------------------
|
||||
// * 2024-04-08 limju 최초 생성
|
||||
// *
|
||||
// * </pre>
|
||||
// */
|
||||
// public class BizNimsAarDto {
|
||||
//
|
||||
// /**
|
||||
// * 마약류 연계보고 Header request
|
||||
// */
|
||||
// @Schema(name = "AarHeader", description = "마약류 연계보고 Header DTO")
|
||||
// @Getter
|
||||
// @NoArgsConstructor
|
||||
// @AllArgsConstructor
|
||||
// @SuperBuilder
|
||||
// public static class AarHeader extends AuditDto {
|
||||
// @Setter
|
||||
// @Schema(title = "폐기관리ID", description = "폐기관리ID", example = " ")
|
||||
// private String dscdmngId;
|
||||
//
|
||||
// @Setter
|
||||
// @Schema(requiredMode = REQUIRED, title = "보고자식별ID", description = "보고자식별ID", example = " ")
|
||||
// @NotEmpty(message = "보고자식별ID 필수 입니다")
|
||||
// private String uid;
|
||||
//
|
||||
// @Setter
|
||||
// @Schema(requiredMode = REQUIRED, title = "소프트웨어ID", example = " ")
|
||||
// @NotEmpty(message = "소프트웨어ID 필수 입니다")
|
||||
// private String swId;
|
||||
//
|
||||
// @Schema(requiredMode = AUTO, title = "수불비고", example = " ")
|
||||
// private String rndRmk;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "취급일자", example = " ")
|
||||
// @Pattern(regexp = Constants.DATE_REGX, message = "취급일자 필수 입니다(8자리-yyyyMMdd)")
|
||||
// private String hdrDe;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "마약류취급자식별번호", example = " ")
|
||||
// @NotEmpty(message = "마약류 취급자 식별번호는 필수 입니다")
|
||||
// private String bsshCd;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "보고구분코드", example = "AAR")
|
||||
// @NotEmpty(message = "보고 구분 코드는 필수 입니다(폐기-AAR)")
|
||||
// @Builder.Default
|
||||
// private String rptSeCd = "AAR";
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "사용자보고식별번호", example = " ")
|
||||
// @NotEmpty(message = "사용자 보고 식별번호는 필수 입니다")
|
||||
// private String usrRptIdNo;
|
||||
//
|
||||
// @Schema(requiredMode = AUTO, title = "참조사용자보고식별번호(변경|취소시 필수)", example = " ")
|
||||
// //@NotEmpty(message = "사용자 보고 식별번호는 필수 입니다")
|
||||
// private String refUsrRptIdNo;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "보고유형코드", example = " ", allowableValues = {"0", "1", "2"})
|
||||
// @Pattern(regexp = "[012]", message = "보고 유형 코드는 필수 입니다(0-신규, 1-취소, 2-변경)")
|
||||
// private String rptTyCd;
|
||||
//
|
||||
// @Schema(requiredMode = AUTO, title = "비고(변경 및 취소시 필수-사유 기재)", example = " ")
|
||||
// private String rmk;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "보고자명", example = " ")
|
||||
// @NotEmpty(message = "보고자 이름은 필수 입니다")
|
||||
// private String rptrNm;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "보고자업체명", example = " ")
|
||||
// @NotEmpty(message = "보고자 업체명은 필수 입니다")
|
||||
// private String rptrEntrpsNm;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "담당자명", example = " ")
|
||||
// @NotEmpty(message = "담당자 이름은 필수 입니다")
|
||||
// private String chrgNm;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "담당자 전화번호", example = " ")
|
||||
// @Pattern(regexp = Constants.TEL_REGX, message = "담당자 전화번호는 필수 입니다")
|
||||
// private String chrgTelNo;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "담당자 휴대폰 번호", example = " ")
|
||||
// @Pattern(regexp = Constants.PHONE_REGX, message = "담당자 휴대폰 번호는 필수 입니다")
|
||||
// private String chrgMpNo;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "수불 상세 보고수", example = " ")
|
||||
// @NotEmpty(message = "수불 상세 보고수는 필수 입니다")
|
||||
// private String rndDtlRptCnt;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "폐기 구분 코드", example = " ", allowableValues = {"1", "2", "4"})
|
||||
// @Pattern(regexp = "[124]", message = "폐기 구분 코드는 필수 입니다(1-보건소폐기, 2-공무원임회, 4-도난/분실/재해 발생 사고마약류)")
|
||||
// private String dsuseSeCd;
|
||||
//
|
||||
// /**
|
||||
// * <pre>
|
||||
// * 폐기 사유 코드
|
||||
// *
|
||||
// * 01-파손, 02-변질,부패, 03-유효기간 또는 사용기한 경과
|
||||
// * 04-유효 기간 임박, 05-사용 중단, 07-폐업, 08-환자 반납
|
||||
// * 09-기타, 12-제조 공정중 폐기물
|
||||
// * </pre>
|
||||
// */
|
||||
// @Schema(requiredMode = REQUIRED, title = "폐기 사유 코드", example = " ", allowableValues = {"01", "02", "03", "04", "05", "07", "08", "09", "12"})
|
||||
// @Pattern(regexp = "0[1-57-9]|12", message = "폐기 사유 코드는 필수 입니다(01~05, 07~09, 12)")
|
||||
// private String dsusePrvCd;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "폐기 방법 코드", example = " ", allowableValues = {"1", "2", "3", "4", "5", "6", "7", "8", "9"})
|
||||
// @Pattern(regexp = "[1-9]", message = "폐기 방법 코드는 필수 입니다(1~9)")
|
||||
// private String dsuseMthCd;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "폐기 장소", example = " ")
|
||||
// @NotEmpty(message = "폐기 장소는 필수 입니다")
|
||||
// private String dsuseLoc;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "폐기 일자", example = " ")
|
||||
// @Pattern(regexp = Constants.CUR_DATE_REGX, message = "폐기 일자는 필수 입니다(8자리-yyyyMMdd)")
|
||||
// private String dsuseDe;
|
||||
//
|
||||
// @Setter
|
||||
// @Schema(requiredMode = REQUIRED, title = "폐기 관할 행정 기관 코드", example = " ")
|
||||
// @NotEmpty(message = "폐기 관할 행정 기관 코드는 필수 입니다")
|
||||
// private String dsuseInsttCd;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "첨부 파일 건수", example = " ")
|
||||
// @Pattern(regexp = "\\d+", message = "첨부 파일 건수 필수 입니다")
|
||||
// private String atchFileCo;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "등록자ID", example = " ")
|
||||
// @NotEmpty(message = "등록자 ID는 필수 입니다")
|
||||
// private String registerId;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "파일 생성 일시", example = " ")
|
||||
// @Pattern(regexp = Constants.CUR_DTM_REGX, message = "파일 생성 일시는 필수 입니다(14자리-yyyyMMddHHmmss)")
|
||||
// private String fileCreatDt;
|
||||
//
|
||||
// @Schema(requiredMode = AUTO, title = "첨부파일", example = " ")
|
||||
// @Builder.Default
|
||||
// List<String> atchFiles = new ArrayList<>();
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED)
|
||||
// @Builder.Default
|
||||
// @Valid
|
||||
// List<AarDetail> aarDetails = new ArrayList<>();
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * 마약류 연계보고 Detail request
|
||||
// */
|
||||
// @Schema(name = "AarDetail", description = "마약류 연계보고 상세 DTO")
|
||||
// @Getter
|
||||
// @NoArgsConstructor
|
||||
// @AllArgsConstructor
|
||||
// @Builder
|
||||
// //@JsonIgnoreProperties(value = { "mnfSeqInfos" }, allowGetters = true)
|
||||
// @JsonIgnoreProperties(value = { "prductCd" }, allowGetters = true)
|
||||
// public static class AarDetail {
|
||||
// @Schema(requiredMode = REQUIRED, title = "사용자 보고 식별 번호", example = " ")
|
||||
// @NotEmpty(message = "사용자 보고 식별 번호는 필수 입니다")
|
||||
// private String usrRptIdNo;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "사용자 보고 라인 식별 번호", example = " ")
|
||||
// @NotEmpty(message = "사용자 보고 라인 식별 번호는 필수 입니다")
|
||||
// private String usrRptLnIdNo;
|
||||
//
|
||||
// @Setter
|
||||
// @Schema(requiredMode = REQUIRED, title = "저장소 번호", example = " ")
|
||||
// @NotEmpty(message = "저장소 번호는 필수 입니다")
|
||||
// private String storgeNo;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "이동 유형 코드", example = " ", allowableValues = {"1102", "1170"})
|
||||
// @Pattern(regexp = "1102|1170", message = "이동 유형 코드는 필수 입니다(1102-폐기출고,1170-폐기재고미차감)")
|
||||
// private String mvmnTyCd;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "제품 코드", example = " ")
|
||||
// @NotEmpty(message = "제품 코드는 필수 입니다")
|
||||
// private String prductCd;
|
||||
//
|
||||
// @Setter
|
||||
// @Schema(requiredMode = REQUIRED, title = "제조 번호", example = " ")
|
||||
// @NotEmpty(message = "제조 번호는 필수 입니다")
|
||||
// private String mnfNo;
|
||||
//
|
||||
// @Setter
|
||||
// @Schema(requiredMode = AUTO, title = "제품 일련 번호", example = " ")
|
||||
// private String mnfSeq;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "최소 유통 단위 수량", example = " ")
|
||||
// @NotEmpty(message = "최소 유통 단위 수량은 필수 입니다")
|
||||
// private String minDistbQy;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "제품 최소 유통 단위", example = " ")
|
||||
// @NotEmpty(message = "제품 최소 유통 단위는 필수 입니다")
|
||||
// private String prdMinDistbUnit;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "낱개 단위 수량", example = " ")
|
||||
// @NotEmpty(message = "낱개 단위 수량은 필수 입니다")
|
||||
// private String pceQy;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "제품 낱개 단위", example = " ")
|
||||
// @NotEmpty(message = "제품 낱개 단위는 필수 입니다")
|
||||
// private String prdPceUnit;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "제품명", example = " ")
|
||||
// @NotEmpty(message = "제품명은 필수 입니다")
|
||||
// private String prductNm;
|
||||
//
|
||||
// @Schema(requiredMode = AUTO, title = "제품 바코드(RFID)", example = " ")
|
||||
// private String prdSgtin;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "제품 최소 유통 단위 수량", example = " ")
|
||||
// @NotEmpty(message = "제품 최소 유통 단위 수량은 필수 입니다")
|
||||
// private String prdMinDistbQy;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "제품 총 낱개 단위 수량", example = " ")
|
||||
// @NotEmpty(message = "제품 총 낱개 단위 수량 필수 입니다")
|
||||
// private String prdTotPceQy;
|
||||
//
|
||||
// @Setter
|
||||
// @Schema(requiredMode = REQUIRED, title = "제품 유효 기간 일자(yyyyMMdd)", example = " ")
|
||||
// @Pattern(regexp = Constants.DATE_REGX, message = "제품 유효 기간 일자는 필수 입니다(yyyyMMdd)")
|
||||
// private String prdValidDe;
|
||||
//
|
||||
// @Schema(requiredMode = REQUIRED, title = "파일 생성 일시", example = " ")
|
||||
// @Pattern(regexp = Constants.CUR_DTM_REGX, message = "파일 생성 일시는 필수 입니다(yyyyMMddHHmmss)")
|
||||
// private String fileCreatDt;
|
||||
//
|
||||
// @Schema(title = "제조 일련 번호 정보 목록", example = " ")
|
||||
// @Builder.Default
|
||||
// @JsonSerialize(using = NimsApiDto.MnfSeqInfoSerializer.class)
|
||||
// @Setter
|
||||
// private List<NimsApiDto.MnfSeqInfo> mnfSeqInfos = new ArrayList<>();
|
||||
// }
|
||||
// }
|
@ -1,74 +0,0 @@
|
||||
package cokr.xit.adds.core.spring.config;// package cokr.xit.adds.core.config;
|
||||
//
|
||||
// import org.apache.logging.log4j.core.util.JsonUtils;
|
||||
// import org.springframework.context.annotation.Bean;
|
||||
// import org.springframework.context.annotation.Configuration;
|
||||
// import org.springframework.context.annotation.Primary;
|
||||
//
|
||||
// import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
||||
// import com.fasterxml.jackson.annotation.PropertyAccessor;
|
||||
// import com.fasterxml.jackson.databind.DeserializationFeature;
|
||||
// import com.fasterxml.jackson.databind.MapperFeature;
|
||||
// import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
// import com.fasterxml.jackson.databind.SerializationFeature;
|
||||
// import com.fasterxml.jackson.databind.cfg.CoercionAction;
|
||||
// import com.fasterxml.jackson.databind.cfg.CoercionInputShape;
|
||||
// import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
|
||||
//
|
||||
// import cokr.xit.adds.core.util.CoreSpringUtils;
|
||||
//
|
||||
// /**
|
||||
// * <pre>
|
||||
// * description : Jackson(ObjectMapper) 설정 재정의
|
||||
// * 모든 ObjectMapper 사용시 이 설정이 적용되도록 해야 한다.
|
||||
// * - Cannot coerce empty String("") to ...
|
||||
// * value(but could if coercion was enabled using `CoercionConfig`) 에러 방어
|
||||
// * packageName : kr.xit.core.spring.config.support
|
||||
// * fileName : CustomJacksonConfig
|
||||
// * author : julim
|
||||
// * date : 2023-09-13
|
||||
// * ======================================================================
|
||||
// * 변경일 변경자 변경 내용
|
||||
// * ----------------------------------------------------------------------
|
||||
// * 2023-09-13 julim 최초 생성
|
||||
// *
|
||||
// * </pre>
|
||||
// * @see CoreSpringUtils#getObjectMapper()
|
||||
// * @see JsonUtils
|
||||
// */
|
||||
// @Configuration
|
||||
// public class CustomJacksonConfig {
|
||||
//
|
||||
// /**
|
||||
// * <pre>
|
||||
// * 기본 설정에 override
|
||||
// * Cannot coerce empty String("") to ...
|
||||
// * value(but could if coercion was enabled using `CoercionConfig`) 에러 방어
|
||||
// * </pre>
|
||||
// *
|
||||
// * @return
|
||||
// */
|
||||
// @Bean
|
||||
// @Primary
|
||||
// public ObjectMapper objectMapper() {
|
||||
// ObjectMapper om = new ObjectMapper()
|
||||
// .enable(MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES)
|
||||
// .disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS)
|
||||
// //.setSerializationInclusion(Include.NON_NULL)
|
||||
// //.setSerializationInclusion(Include.NON_EMPTY)
|
||||
// .setVisibility(PropertyAccessor.FIELD, JsonAutoDetect.Visibility.ANY)
|
||||
// .configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false)
|
||||
// .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)
|
||||
// .configure(DeserializationFeature.ACCEPT_EMPTY_ARRAY_AS_NULL_OBJECT, false)
|
||||
// .registerModule(new JavaTimeModule());
|
||||
//
|
||||
// om.coercionConfigDefaults()
|
||||
// .setCoercion(CoercionInputShape.EmptyString, CoercionAction.AsNull);
|
||||
// // om.coercionConfigFor(LogicalType.Enum)
|
||||
// // .setCoercion(CoercionInputShape.EmptyString, CoercionAction.AsNull);
|
||||
// // om.coercionConfigFor(LogicalType.POJO)
|
||||
// // .setCoercion(CoercionInputShape.EmptyString, CoercionAction.AsNull);
|
||||
//
|
||||
// return om;
|
||||
// }
|
||||
// }
|
@ -1,28 +0,0 @@
|
||||
package cokr.xit.adds.core.spring.config;// package cokr.xit.adds.core.config;
|
||||
//
|
||||
// import java.sql.SQLException;
|
||||
//
|
||||
// import javax.sql.DataSource;
|
||||
//
|
||||
// import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
// import org.springframework.context.annotation.Bean;
|
||||
// import org.springframework.context.annotation.Configuration;
|
||||
// import org.springframework.context.annotation.Profile;
|
||||
//
|
||||
// @Configuration
|
||||
// @Profile("local")
|
||||
// public class H2ServerConfiguration {
|
||||
//
|
||||
// @Bean
|
||||
// public Server h2TcpServer() throws SQLException {
|
||||
// return Server.createTcpServer()
|
||||
// .start();
|
||||
// }
|
||||
//
|
||||
// @Bean
|
||||
// @ConfigurationProperties("spring.datasource") // yml의 설정값을 Set한다.
|
||||
// public DataSource dataSource() throws SQLException {
|
||||
// Server.createTcpServer("-tcp", "-tcpAllowOthers", "-tcpPort", "9092").start();
|
||||
// return new org.apache.tomcat.jdbc.pool.DataSource();
|
||||
// }
|
||||
// }
|
@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="EUC-KR"?>
|
||||
<!ELEMENT EXCHANGE (HEADER, BODY?, ATTACHMENTS?)>
|
||||
<!ELEMENT HEADER (COMMON, DIRECTION, ADDENDA?)>
|
||||
<!ELEMENT COMMON (SENDER, RECEIVER, TITLE, CREATED_DATE, ATTACHNUM, ADMINISTRATIVE_NUM)>
|
||||
<!ELEMENT SENDER (SERVERID, USERID, EMAIL?)>
|
||||
<!ELEMENT RECEIVER (SERVERID, USERID, EMAIL?)>
|
||||
<!ELEMENT SERVERID (#PCDATA)>
|
||||
<!ELEMENT USERID (#PCDATA)>
|
||||
<!ELEMENT EMAIL (#PCDATA)>
|
||||
<!ELEMENT TITLE (#PCDATA)>
|
||||
<!ELEMENT CREATED_DATE (#PCDATA)>
|
||||
<!ELEMENT ATTACHNUM (#PCDATA)>
|
||||
<!ELEMENT ADMINISTRATIVE_NUM (#PCDATA)>
|
||||
<!ELEMENT DIRECTION (TO_ADMINISTRATIVE_SYSTEM | TO_DOCUMENT_SYSTEM)>
|
||||
<!ELEMENT TO_DOCUMENT_SYSTEM (LINES?, MODIFICATION_FLAG)>
|
||||
<!ATTLIST TO_DOCUMENT_SYSTEM
|
||||
notification (all | final) "all"
|
||||
>
|
||||
<!ELEMENT TO_ADMINISTRATIVE_SYSTEM (DOCNUM, SANCTION_INFO, MODIFICATION_FLAG)>
|
||||
<!ELEMENT DOCNUM (#PCDATA)>
|
||||
<!ATTLIST DOCNUM
|
||||
docnumcode CDATA #REQUIRED
|
||||
>
|
||||
<!ELEMENT SANCTION_INFO (LINES)>
|
||||
<!ATTLIST SANCTION_INFO status (진행 | 완료) #REQUIRED
|
||||
>
|
||||
<!ELEMENT LINES (LINE+)>
|
||||
<!ELEMENT LINE (LEVEL, SANCTION)>
|
||||
<!ELEMENT LEVEL (#PCDATA)>
|
||||
<!ELEMENT SANCTION (PERSON, COMMENT?, DATE)>
|
||||
|
||||
<!ATTLIST
|
||||
type (기안 | 검토 | 협조 | 전결 | 대결 | 결재) #REQUIRED
|
||||
result (상신 | 기안취소 | 승인 | 반려 | 미결) #REQUIRED
|
||||
>
|
||||
<!ELEMENT PERSON (USERID, NAME, POSITION, DEPT, ORG)>
|
||||
<!ELEMENT NAME (#PCDATA)>
|
||||
<!ELEMENT POSITION (#PCDATA)>
|
||||
<!ELEMENT DEPT (#PCDATA)>
|
||||
<!ELEMENT ORG (#PCDATA)>
|
||||
<!ELEMENT COMMENT (#PCDATA)>
|
||||
<!ELEMENT DATE (#PCDATA)>
|
||||
<!ELEMENT MODIFICATION_FLAG (MODIFIABLE, MODIFIED?)>
|
||||
<!ELEMENT MODIFIABLE EMPTY>
|
||||
<!ATTLIST MODIFIABLE
|
||||
modifyflag (yes | no) "no"
|
||||
>
|
||||
<!ELEMENT MODIFIED (#PCDATA)>
|
||||
<!ELEMENT ADDENDA (ADDENDUM+)>
|
||||
<!ELEMENT ADDENDUM (#PCDATA)>
|
||||
<!ATTLIST ADDENDUM
|
||||
name CDATA #REQUIRED
|
||||
comment CDATA #REQUIRED
|
||||
>
|
||||
<!ELEMENT BODY (#PCDATA)>
|
||||
<!ELEMENT ATTACHMENTS (ADMINISTRATIVE_DB?, (ATTACHMENT*))>
|
||||
<!ELEMENT ADMINISTRATIVE_DB (XMLFILE?, XSLFILE?)>
|
||||
<!ELEMENT XMLFILE (#PCDATA)>
|
||||
<!ATTLIST XMLFILE
|
||||
filename CDATA #REQUIRED
|
||||
desc CDATA #IMPLIED
|
||||
>
|
||||
<!ELEMENT XSLFILE (#PCDATA)>
|
||||
<!ATTLIST XSLFILE
|
||||
filename CDATA #REQUIRED
|
||||
desc CDATA #IMPLIED
|
||||
>
|
||||
<!ELEMENT ATTACHMENT (#PCDATA)>
|
||||
<!ATTLIST ATTACHMENT
|
||||
filename CDATA #REQUIRED
|
||||
desc CDATA #IMPLIED
|
||||
>
|
@ -1,770 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
|
||||
targetNamespace="https://www.nims.or.kr/schema/nims" xmlns="https://www.nims.or.kr/schema/nims"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<!-- 폐기 -->
|
||||
<xs:complexType name="aar">
|
||||
<xs:sequence>
|
||||
<xs:element name="REPORT_SET" type="reportSetAAR" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="reportSetAAR">
|
||||
<xs:sequence>
|
||||
<xs:element name="UID" type="UID" />
|
||||
<xs:element name="SW_ID" type="SW_ID" />
|
||||
<xs:element name="RND_RMK" type="RND_RMK" minOccurs="0" />
|
||||
<xs:element name="HEADER" type="headerAAR" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="headerAAR">
|
||||
<xs:sequence>
|
||||
<xs:element name="HDR_DE" type="HDR_DE" /><!-- 취급일자 -->
|
||||
<xs:element name="BSSH_CD" type="BSSH_CD" /><!-- 마약류취급자식별번호 -->
|
||||
<xs:element name="RPT_SE_CD" type="RPT_SE_CD" /><!-- 보고구분코드 -->
|
||||
<xs:element name="USR_RPT_ID_NO" type="USR_RPT_ID_NO" /><!-- 사용자보고식별번호 -->
|
||||
<xs:element name="REF_USR_RPT_ID_NO" type="REF_USR_RPT_ID_NO" /><!-- 참조사용자보고식별번호 -->
|
||||
<xs:element name="RPT_TY_CD" type="RPT_TY_CD" /><!-- 보고유형코드 -->
|
||||
<xs:element name="RMK" type="RMK" /><!-- 비고 -->
|
||||
<xs:element name="RPTR_NM" type="RPTR_NM" /><!-- 보고자명 -->
|
||||
<xs:element name="RPTR_ENTRPS_NM" type="RPTR_ENTRPS_NM" /><!-- 보고자업체명 -->
|
||||
<xs:element name="CHRG_NM" type="CHRG_NM" /><!-- 담당자명 -->
|
||||
<xs:element name="CHRG_TEL_NO" type="CHRG_TEL_NO" /><!-- 담당자전화번호 -->
|
||||
<xs:element name="CHRG_MP_NO" type="CHRG_MP_NO" /><!-- 담당자휴대폰번호 -->
|
||||
<xs:element name="RND_DTL_RPT_CNT" type="RND_DTL_RPT_CNT" /><!-- 수불상세보고수 -->
|
||||
<xs:element name="DSUSE_SE_CD" type="DSUSE_SE_CD" /><!-- 폐기구분코드_ND_07 -->
|
||||
<xs:element name="DSUSE_PRV_CD" type="DSUSE_PRV_CD" /><!-- 폐기사유코드_ND_19 -->
|
||||
<xs:element name="DSUSE_MTH_CD" type="DSUSE_MTH_CD" /><!-- 폐기방법코드_ND_24 -->
|
||||
<xs:element name="DSUSE_LOC" type="DSUSE_LOC" /><!-- 폐기장소 -->
|
||||
<xs:element name="DSUSE_DE" type="DSUSE_DE" /><!-- 폐기일자 -->
|
||||
<xs:element name="DSUSE_INSTT_CD" type="DSUSE_INSTT_CD" /><!-- 폐기관할행정기관코드 -->
|
||||
<xs:element name="ATCH_FILE_CO" type="ATCH_FILE_CO" /><!-- 첨부파일건수 -->
|
||||
<xs:element name="REGISTER_ID" type="REGISTER_ID" /><!-- 등록자ID -->
|
||||
<xs:element name="FILE_CREAT_DT" type="FILE_CREAT_DT" /><!-- 파일생성일시 -->
|
||||
<xs:element name="LINES" type="linesAAR" minOccurs="0" />
|
||||
<xs:element name="ATCH_FILES" type="atchFiles" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="linesAAR">
|
||||
<xs:sequence>
|
||||
<xs:element name="LINE" type="lineAAR" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="lineAAR">
|
||||
<xs:sequence>
|
||||
<xs:element name="USR_RPT_ID_NO" type="USR_RPT_ID_NO" /><!-- 사용자보고식별번호 -->
|
||||
<xs:element name="USR_RPT_LN_ID_NO" type="USR_RPT_LN_ID_NO" /><!-- 사용자보고라인식별번호 -->
|
||||
<xs:element name="STORGE_NO" type="STORGE_NO" /><!-- 저장소번호 -->
|
||||
<xs:element name="MVMN_TY_CD" type="MVMN_TY_CD" /><!-- 이동유형코드 -->
|
||||
<xs:element name="PRDUCT_CD" type="PRDUCT_CD" /><!-- 제품코드 -->
|
||||
<xs:element name="MNF_NO" type="MNF_NO" /><!-- 제조번호 -->
|
||||
<xs:element name="MNF_SEQ" type="MNF_SEQ" /><!-- 제조일련번호 -->
|
||||
<xs:element name="MIN_DISTB_QY" type="MIN_DISTB_QY" /><!-- 최소유통단위수량 -->
|
||||
<xs:element name="PRD_MIN_DISTB_UNIT" type="PRD_MIN_DISTB_UNIT" /><!-- 제품최소유통단위 -->
|
||||
<xs:element name="PCE_QY" type="PCE_QY" /><!-- 낱개단위수량 -->
|
||||
<xs:element name="PRD_PCE_UNIT" type="PRD_PCE_UNIT" /><!-- 제품낱개단위 -->
|
||||
<xs:element name="PRDUCT_NM" type="PRDUCT_NM" /><!-- 제품명 -->
|
||||
<xs:element name="PRD_SGTIN" type="PRD_SGTIN" /><!-- 제품BarCode_RFID -->
|
||||
<xs:element name="PRD_MIN_DISTB_QY" type="PRD_MIN_DISTB_QY" /><!-- 제품최소유통단위수량 -->
|
||||
<xs:element name="PRD_TOT_PCE_QY" type="PRD_TOT_PCE_QY" /><!-- 제품총낱개단위수량 -->
|
||||
<xs:element name="PRD_VALID_DE" type="PRD_VALID_DE" /><!-- 제품유효기한일자 -->
|
||||
<xs:element name="FILE_CREAT_DT" type="FILE_CREAT_DT" /><!-- 파일생성일시 -->
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="atchFiles">
|
||||
<xs:sequence>
|
||||
<xs:element name="ATCH_FILE_NM" type="xs:string" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- 데이터 항목 -->
|
||||
<!-- UID -->
|
||||
<xs:simpleType name="UID">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 취급일자 -->
|
||||
<xs:simpleType name="HDR_DE">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="8" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 마약류취급자식별번호 -->
|
||||
<xs:simpleType name="BSSH_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 보고구분코드 -->
|
||||
<xs:simpleType name="RPT_SE_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="3" />
|
||||
<xs:pattern value="[A-Z]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 사용자보고식별번호 -->
|
||||
<xs:simpleType name="USR_RPT_ID_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="30" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 참조사용자보고식별번호 -->
|
||||
<xs:simpleType name="REF_USR_RPT_ID_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="30" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 보고유형코드 -->
|
||||
<xs:simpleType name="RPT_TY_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="1" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 보고구분세부코드 -->
|
||||
<xs:simpleType name="RPT_SE_DTL_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 비고 -->
|
||||
<xs:simpleType name="RMK">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2000" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 보고자명 -->
|
||||
<xs:simpleType name="RPTR_NM">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="60" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 보고자업체명 -->
|
||||
<xs:simpleType name="RPTR_ENTRPS_NM">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="60" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 담당자명 -->
|
||||
<xs:simpleType name="CHRG_NM">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="60" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 담당자전화번호 -->
|
||||
<xs:simpleType name="CHRG_TEL_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="60" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 담당자휴대폰번호 -->
|
||||
<xs:simpleType name="CHRG_MP_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="512" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 수불상세보고수 -->
|
||||
<xs:simpleType name="RND_DTL_RPT_CNT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="12" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 비마약원료여부 -->
|
||||
<xs:simpleType name="NON_NRCD_MTRAL_AT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="1" />
|
||||
<xs:pattern value="[Y|N]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 비마약제조여부 -->
|
||||
<xs:simpleType name="NON_NRCD_MNF_AT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="1" />
|
||||
<xs:pattern value="[Y|N]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제조제품단가금액 -->
|
||||
<xs:simpleType name="MNF_PRD_UC_AMT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="18" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제조제품금액 -->
|
||||
<xs:simpleType name="MNF_PRD_AMT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="18" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제조수율 -->
|
||||
<xs:simpleType name="MNF_YIELD_RATE">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="18" />
|
||||
<xs:pattern value="[0-9.]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 수출입단가금액 -->
|
||||
<xs:simpleType name="EXIM_UC_AMT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="18" />
|
||||
<xs:pattern value="[0-9.]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 수출입금액 -->
|
||||
<xs:simpleType name="EXIM_AMT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="18" />
|
||||
<xs:pattern value="[0-9.]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 첨부파일건수 -->
|
||||
<xs:simpleType name="ATCH_FILE_CO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="3" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 등록자ID -->
|
||||
<xs:simpleType name="REGISTER_ID">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 파일생성일시 -->
|
||||
<xs:simpleType name="FILE_CREAT_DT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="14" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 사용자보고라인식별번호 -->
|
||||
<xs:simpleType name="USR_RPT_LN_ID_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="35" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 저장소번호 -->
|
||||
<xs:simpleType name="STORGE_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="16" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 이동유형코드 -->
|
||||
<xs:simpleType name="MVMN_TY_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="4" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제품코드 -->
|
||||
<xs:simpleType name="PRDUCT_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="14" />
|
||||
<xs:pattern value="[0-9a-zA-Z]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제조번호 -->
|
||||
<xs:simpleType name="MNF_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제조일련번호 -->
|
||||
<xs:simpleType name="MNF_SEQ">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="42" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 최소유통단위수량 -->
|
||||
<xs:simpleType name="MIN_DISTB_QY">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="18" />
|
||||
<xs:pattern value="[0-9.]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제품최소유통단위 -->
|
||||
<xs:simpleType name="PRD_MIN_DISTB_UNIT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 낱개단위수량 -->
|
||||
<xs:simpleType name="PCE_QY">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="18" />
|
||||
<xs:pattern value="[0-9.]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제품낱개단위 -->
|
||||
<xs:simpleType name="PRD_PCE_UNIT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제품명 -->
|
||||
<xs:simpleType name="PRDUCT_NM">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="300" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제품BarCode_RFID -->
|
||||
<xs:simpleType name="PRD_SGTIN">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="68" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제품최소유통단위수량 -->
|
||||
<xs:simpleType name="PRD_MIN_DISTB_QY">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="1" />
|
||||
<xs:pattern value="[0-9.]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제품총낱개단위수량 -->
|
||||
<xs:simpleType name="PRD_TOT_PCE_QY">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="18" />
|
||||
<xs:pattern value="[0-9.]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제품유효기한일자 -->
|
||||
<xs:simpleType name="PRD_VALID_DE">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="8" />
|
||||
<xs:pattern value="[0-9]*" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 상대마약류취급자업체명 -->
|
||||
<xs:simpleType name="OPP_BSSH_NM">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="1000" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 상대마약류취급자식별번호 -->
|
||||
<xs:simpleType name="OPP_BSSH_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="40" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 상대저장소번호 -->
|
||||
<xs:simpleType name="OPP_STORGE_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="16" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 수출입상대국가코드_A02 -->
|
||||
<xs:simpleType name="EXIM_COUNTRY_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 수출입해외거래업체명 -->
|
||||
<xs:simpleType name="EXIM_OSEA_DELNG_NM">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="300" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 수출입승인번호 -->
|
||||
<xs:simpleType name="EXIM_CONFM_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="40" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 수출입신고필증발행번호 -->
|
||||
<xs:simpleType name="EXIM_NOTIFY_CERT_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="25" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 수출입해외거래업체부호 -->
|
||||
<xs:simpleType name="EXIM_OSEA_DELNG_SIGN">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="120" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 수출입통관일자 -->
|
||||
<xs:simpleType name="EXIM_ENTR_DE">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="8" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 수출입입출항일자 -->
|
||||
<xs:simpleType name="EXIM_IPP_SPOT_DE">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="8" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 수출입입출고일자 -->
|
||||
<xs:simpleType name="EXIM_IO_DE">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="8" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제조시작일자 -->
|
||||
<xs:simpleType name="MNF_STRT_DE">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="8" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제조종료일자 -->
|
||||
<xs:simpleType name="MNF_END_DE">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="8" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제조위수탁구분코드_ND_109 -->
|
||||
<xs:simpleType name="MNF_CNSGN_SE_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="1" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 제조합계수량 -->
|
||||
<xs:simpleType name="MNF_TOT_QY">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="13" />
|
||||
<xs:pattern value="[0-9.]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약환자구분코드 -->
|
||||
<xs:simpleType name="MDC_PAT_SE_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약환자식별번호유형코드_ND_97 -->
|
||||
<xs:simpleType name="MDC_PAT_ID_NO_TY_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약환자식별번호 -->
|
||||
<xs:simpleType name="MDC_PAT_ID_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="512" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약환자명 -->
|
||||
<xs:simpleType name="MDC_PAT_NM">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="60" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약처방요양기관기호 -->
|
||||
<xs:simpleType name="MDC_HPTL_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약처방기관명 -->
|
||||
<xs:simpleType name="MDC_INSTT_NM">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="60" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약처방의면허종별코드_M14 -->
|
||||
<xs:simpleType name="MDC_LCNS_ASORT_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약처방의면허번호 -->
|
||||
<xs:simpleType name="MDC_LCNS_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약처방의명 -->
|
||||
<xs:simpleType name="MDC_PRSC_DOC_NM">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="40" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약처방전발급번호 -->
|
||||
<xs:simpleType name="MDC_PRSC_ORD_NO">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="40" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약질병분류기호 -->
|
||||
<xs:simpleType name="MDC_DISS_CODE">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="300" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약량합계 -->
|
||||
<xs:simpleType name="MDC_SUM_QY">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="18" />
|
||||
<xs:pattern value="[0-9.]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약일회량 -->
|
||||
<xs:simpleType name="MDC_ONCE_QY">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="18" />
|
||||
<xs:pattern value="[0-9.]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약일일회수 -->
|
||||
<xs:simpleType name="MDC_ADE_CNT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="12" />
|
||||
<xs:pattern value="[0-9.]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약총일수 -->
|
||||
<xs:simpleType name="MDC_TOT_DCNT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="5" />
|
||||
<xs:pattern value="[0-9.]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약후폐기량 -->
|
||||
<xs:simpleType name="MDC_AFT_DSUSE_QY">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="18" />
|
||||
<xs:pattern value="[0-9.]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약후폐기량단위 -->
|
||||
<xs:simpleType name="MDC_AFT_DSUSE_UNIT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약동물종류구분코드_ND_107 -->
|
||||
<xs:simpleType name="MDC_ANI_KIND_SE_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약동물수 -->
|
||||
<xs:simpleType name="MDC_ANI_CNT">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="5" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약동물종류명 -->
|
||||
<xs:simpleType name="MDC_ANI_KIND_NM">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="120" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 조제투약동물질병명 -->
|
||||
<xs:simpleType name="MDC_ANI_DISS_NM">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="300" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 사용구분코드_ND_47 -->
|
||||
<xs:simpleType name="USE_SE_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 사용자사용일자 -->
|
||||
<xs:simpleType name="USE_DE">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="8" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 양도구분코드_ND_94 -->
|
||||
<xs:simpleType name="TRNSFR_SE_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 폐기구분코드_ND_07 -->
|
||||
<xs:simpleType name="DSUSE_SE_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 폐기사유코드_ND_19 -->
|
||||
<xs:simpleType name="DSUSE_PRV_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 폐기방법코드_ND_24 -->
|
||||
<xs:simpleType name="DSUSE_MTH_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 폐기장소 -->
|
||||
<xs:simpleType name="DSUSE_LOC">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="120" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 폐기일자 -->
|
||||
<xs:simpleType name="DSUSE_DE">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="8" />
|
||||
<xs:pattern value="[0-9]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 폐기관할행정기관코드 -->
|
||||
<xs:simpleType name="DSUSE_INSTT_CD">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:minLength value="1" />
|
||||
<xs:maxLength value="7" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- SW_ID -->
|
||||
<xs:simpleType name="SW_ID">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="7" />
|
||||
<xs:pattern value="[0-9a-zA-Z]+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2019추가 비고 -->
|
||||
<xs:simpleType name="RND_RMK">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="4000" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:element name="aar_regist" type="aar" />
|
||||
</xs:schema>
|
Loading…
Reference in New Issue