Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Disse standarder refereres som følger:

  • (IHE Vol3 4.2.3.1.2 Creating Coded Attributes): IHE XDS specfikiationen specifikationen volume 3, afsnit 4.2.3.1.2
  • (DK_IHE_ClassCode_DE): Medcoms fælles liste over tilladet værdisæt faneblad ClassCode_DE
  • (Metadata-v096 2.2.3 classCode): Medsoms danske CDA profil afsnit 2.2.3
  • (DK-APD-v2.0: 2.1.10.1 Appointment Date and Time):  Medcoms Appointment Document (APD) til aftaler afsnit 2.1.10.1

...

KlasseValidering

AbstractElementCompare

  • sammenligning af 2 lister (hver med en eller flere objekter)
  • antal af objekter skal være ens
  • de enkelte objekter skal være ens på de samme pladser i listen

CodedModelCompare

  • validering for AbstractElementCompare med typen CodeModel, hvor følgende opfylder "objekterne er ens"
  • value skal være ens
  • codeSystem skal være ens
  • displayName skal være ens

DateTimeCompare

  • validering for AbstractElementCompare med typen DateTime, hvor følgende opfylder "objekter er ens"
  • dateTime skal være ens

StringCompare

  • validering for AbstractElementCompare med typen String, hvor følgende opfylder "objekter er ens"
  • de to strenge skal være ens





CodedValueValidation

  • udfyldt codeSystem (IHE Vol3 4.2.3.1.2 Creating Coded Attributes)
  • udfyldt codeSystem
  • gyldigt codeSystem (DK_IHE_ClassCode_DE)
  • udfyldt code

ClassCodeValidation

  • (IHE Vol3 4.2.3.1.2 Creating Coded Attributes)

ClassCodeValidation

  • længden på code må ikke være større end 3 (DK_IHE_ClassCode_DE)
  • displayName skal være udfyldt (IHE 4.2.3.1.2 Creating Coded Attributes)udfyld 
  • validering for CodedValueValidation. Default gyldigt codeSystem er OID "1.2.208.184.100.9" (DK_IHE_ClassCode_DE)
ConfidentialityCodeValidationEventCodeValidationFormatCodeValidationHealthcareFacilityTypeCodeValidationLanguageCodeValidation
  • (IHE 4.2.3.1.2 Creating Coded Attributes)
  • code skal indholde "N" (DK_IHE_ConfidentialityCode_DE)
  • validering for CodedValueValidation. Default gyldigt codeSystem er OID "2.16.840.1.113883.5.25" (DK_IHE_ConfidentialityCode_DE)
EventCodeValidation
FormatCodeValidation
HealthcareFacilityTypeCodeValidation
LanguageCodeValidation
OrganisationCodeValidation
  • hvis codeSystem er Yder så skal længden på code være 6
  • hvis codeSystem er Yder så skal code være
OrganisationCodeValidation
  • hvis codeSystem er Yder så skal længden på code være 6
  • hvis codeSystem er Yder så skal code være numerisk
  • validering for CodedValueValidation. Default gyldige codeSystemer er "1.2.208.176.1.1" (SOR) og "1.2.208.176.1.4" (YDERNUMMER)
PatientIdCodeValidation
  • validering for CodedValueValidation. Default gyldigt codeSystem er "1.2.208.176.1.2" (CPR)
PracticeSettingCodeValidation


StringValidation


TitleValidation


TypeCodeValidation


...

KlasseFeltValideringITI 41ITI 42ITI 61ITI 57Cda dokument

CdaHeaderAuthorInstitutionValidator

AuthorInstitution
  • der skal være een author ((Metadata-v096 2.2.1.1 authorInstitution)
  • der skal være een author 
  • der skal være en authorInstitution (Metadata-v096 2.2.1.1 authorInstitution)
  • validering for OrganisationCodeValidation
x


x

CdaHeaderAuthorPersonValidator

AuthorPerson

CdaHeaderConfidentialityCodeValidator

ConfidentialityCode

CdaHeaderEventCodeValidator

EventCode

CdaHeaderFormatCodeValidator

FormatCode

CdaHeaderLanguageCodeValidator

LanguageCode

CdaHeaderPatientIdValidator

PatientId
  • der skal være en Patient med et PatientId (Metadata-v096 2.2.1.20 patientId2 authorPerson)
  • validering for PatientIdCodeValidation

CdaHeaderSourcePatientIdValidator

SourcePatientId
  • der skal være en author
  • der skal være en authorPerson
  • der skal være et FamilyName og mindst et givenName
x


x

CdaHeaderConfidentialityCodeValidator

ConfidentialityCode
  • en sourcePatient med et PatientId (Metadata-v096 2.2.28 sourcePatientId5 confidentialityCode)
  • udfyldt confidentialityCode
  • validering for PatientIdCodeValidationConfidentialityCodeValidation
x


x

CdaHeaderSourcePatientInfoValidator

CdaHeaderEventCodeValidator

EventCode





CdaHeaderFormatCodeValidator

FormatCode





CdaHeaderLanguageCodeValidator

LanguageCode





CdaHeaderPatientIdValidator

PatientId

CdaHeaderTitleValidator

CdaHeaderTypeCodeValidator

DocumentEntryClassCodeValidator

ClassCode
  • udfyldt classCode (Metadata-v096 2.2.3 classCode)20 patientId)
  • der skal være en Patient med et PatientId
  • validering for ClassCodeValidationPatientIdCodeValidation
xxxx




CdaHeaderSourcePatientIdValidator

SourcePatientIdDocumentEntryAuthorInstitutionValidatorAuthorInstitution
  • der skal være mindst een author (Metadata-v096 2.2.1.1 authorInstitution28 sourcePatientId)
  • der skal være en sourcePatient med et PatientId
  • validering for PatientIdCodeValidation
x


x

CdaHeaderSourcePatientInfoValidator

SourcePatientInfo
  • authorInstitution (Metadata-v096 2.2.1.1 authorInstitution)29 sourcePatientInfo)
  • der skal være en patient
  • der skal være et familyName og mindst et givenName
  • der skal være en fødselsdag
  • der skal være et køn
x


x

CdaHeaderTitleValidator

Title





CdaHeaderTypeCodeValidator

TypeCode





DocumentEntryClassCodeValidator

ClassCode
  • (Metadata-v096 2.2.3 classCode)
  • udfyldt classCode
  • validering for ClassCodeValidation
xxxx
DocumentEntryAuthorInstitutionValidatorAuthorInstitution
  • (Metadata-v096 2.2.1.1 authorInstitution)
  • der skal være mindst een author
  • der skal være en authorInstitution 
  • validering for OrganisationCodeValidation
xxxx
DocumentEntryAuthorPersonValidatorAuthorPerson
  • (Metadata-v096 2.2.1.2 authorPerson)
  • der skal være mindst en author 
  • der skal være en authorPerson på hver author
  • der skal være et familyName og et givenName
xxxx
DocumentEntryAvailabilityStatusValidatorAvailabilityStatus





DocumentEntryClassCodeValidatorClassCode





DocumentEntryConfidentialityCodeValidatorConfidentialityCode
  • (Metadata-v096 2.2.5 confidentialityCode)
  • mindst en confidentialityCode
  • validering for ConfidentialityCodeValidation
xxxx
DocumentEntryCreationTimeValidatorCreationTime





DocumentEntryEntryUUIDValidatorEntryUUID





DocumentEntryEventCodeValidatorEventCode





DocumentEntryFormatCodeValidatorFormatCode





DocumentEntryHashValidatorFormatCode





DocumentEntryHealthcareFacilityTypeCodeValidatorHealthcareFacilityTypeCode





DocumentEntryLanguageCodeValidatorLanguageCode





DocumentEntryLegalAuthenticatorValidatorLegalAuthenticator
  • (Metadata-v096 2.2.16 legalAuthenticator)
  • der valideres kun hvis LegalAuthenticator er udfyldt 
  • der skal være et familyName og et givenName validering for OrganisationCodeValidation
xxxx
DocumentEntryAuthorPersonValidatorDocumentEntryMimeTypeValidatorAuthorPersonMimeType





DocumentEntryAvailabilityStatusValidatorDocumentEntryPatientIdValidatorDocumentEntryClassCodeValidatorDocumentEntryConfidentialityCodeValidatorConfidentialityCodeDocumentEntryCreationTimeValidatorDocumentEntryEntryUUIDValidatorDocumentEntryEventCodeValidatorEventCodeDocumentEntryFormatCodeValidatorFormatCodeDocumentEntryHashValidatorDocumentEntryHealthcareFacilityTypeCodeValidatorPatientId
  • (Metadata-v096 2.2.20 PatientId)
  • der skal være en PatientId
  • validering for PatientIdCodeValidation





DocumentEntryPracticeSettingCodeValidatorPracticeSettingCode





DocumentEntryReferenceidListValidatorReferenceidList





DocumentEntryRepositoryUniqueIdValidatorRepositoryUniqueId





DocumentEntrySizeValidatorSize





DocumentEntrySourcePatientIdValidatorSourcePatientIdDocumentEntryLanguageCodeValidatorLanguageCodeDocumentEntryLegalAuthenticatorValidatorDocumentEntryMimeTypeValidatorDocumentEntryPatientIdValidatorPatientId
  • der skal være en PatientId (Metadata-v096 2.2.20 PatientId28 sourcePatientId)
  • der skal være en SourcePatientId 
  • validering for PatientIdCodeValidation
DocumentEntryPracticeSettingCodeValidatorxDocumentEntryReferenceidListValidatorxDocumentEntryRepositoryUniqueIdValidatorxDocumentEntrySizeValidatorx
DocumentEntrySourcePatientIdValidatorDocumentEntrySourcePatientInfoValidatorSourcePatientIdSourcePatientInfo
  • der skal være en SourcePatientId (Metadata-v096 2.2.28 sourcePatientId)29 sourcePatientInfo)
  • der skal være en patient
  • der skal være et navn
  • der skal være en fødselsdag
  • der skal være et kønvalidering for PatientIdCodeValidation
xxxx
DocumentEntrySourcePatientInfoValidatorDocumentEntryTitleValidatorDocumentEntryTitleValidatorTitle





DocumentEntryTypeCodeValidatorTypeCode





DocumentEntryTypeValidatorType





DocumentEntryUniqueIdValidatorUniqueId





DocumentEntryURIValidatorURI





SubmissionSetAuthorInstitutionValidatorAuthorInstitution
  • validering for OrganisationCodeValidation
xxxx
SubmissionSetPatientIdValidatorPatientId
  • der skal være en sourcePatient/Patient (Metadata-v096 2.2.28 sourcePatientId)
  • der skal være en sourcePatient/Patient
  • validering for PatientIdCodeValidation
xxxx








Apd2AppointmentIdValidator






Apd2CustodianIdValidator






Apd2StartStopTimeValidator
  • ServiceStartTime skal være udfyldt (DK-APD-v2.0: 2.1.10.1 Appointment Date and Time)
  • ServiceStartTime skal være udfyldt 
x


x

PhmrCustodianIdValidator








QrdCustodianIdValidator






...