diff --git a/README.md b/README.md index 0d4c5bb..abb5d47 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,12 @@ Abweichend vom allgemeinen Prüfumfang verhält sich das ISIK1-Modul wie folgt: - Codes aus den CodeSystemen `http://snomed.info/sct`, `http://fhir.de/CodeSystem/bfarm/icd-10-gm` und `http://fhir.de/CodeSystem/bfarm/ops` werden nicht validiert - Folgende ValueSets werden nicht validiert: `https://gematik.de/fhir/isik/v2/Basismodul/ValueSet/ProzedurenCodesSCT`, `https://gematik.de/fhir/isik/v2/Basismodul/ValueSet/DiagnosesSCT`, `https://gematik.de/fhir/isik/v2/Basismodul/ValueSet/ProzedurenKategorieSCT` und `http://fhir.de/ValueSet/bfarm/ops` +### DIGA-Modul + +Abweichend vom allgemeinen Prüfumfang verhält sich das DIGA-Modul wie folgt: +- Codes aus den CodeSystemen `http://fhir.de/CodeSystem/ifa/pzn` und `http://fhir.de/CodeSystem/dimdi/atc` werden nicht validiert + + Die eingebundenen Packages, unterstützte Profile und Versionen findet man [hier](supported-profiles.md). ## Erste Schritte @@ -131,6 +137,12 @@ Unterstützte Modulnamen: - `isip1` (Informationstechnische Systeme in der Pflege Stufe 1) - `isik2` (Informationstechnische Systeme in Krankenhäusern Stufe 2) - `isik1` (Informationstechnische Systeme in Krankenhäusern Stufe 1) +- `diga` (Digitale Gesundheitsanwendungen) + +Weitere Parameter: +- `-e` - Nur Validierungsmeldungen der Stufen ERROR und FATAL ausgeben (keine INFO und WARN-Meldungen) +- `-v` - Verbode-Modus mit Debug-Ausgaben + ### Java-Bibliothek diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 8ec8238..57845d8 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -2,6 +2,16 @@ # Release Notes Gematik Referenzvalidator +## Release 0.6.0 + +### added +- New validation module: diga (Digitale Gesundheitsanwendungen) +- New command line arguments for filtering the output of the validation process + +### changed +- removed packages de.gematik.erezept-patientenrechnung.r4-1.0.0.tgz, kbv.ita.erp-1.1.0.tgz and de.gematik.erezept-workflow.r4-1.2.0.tgz +- added packages de.gematik.erezept-patientenrechnung.r4-1.0.1.tgz, kbv.ita.erp-1.1.1.tgz and de.gematik.erezept-workflow.r4-1.2.1.tgz + ## Release 0.5.0 ### added diff --git a/cli/pom.xml b/cli/pom.xml index 61c4f66..38302d1 100644 --- a/cli/pom.xml +++ b/cli/pom.xml @@ -5,7 +5,7 @@ referencevalidator de.gematik.refv - 0.5.0 + 0.6.0 4.0.0 diff --git a/cli/src/main/java/de/gematik/refv/cli/ReferenceValidator.java b/cli/src/main/java/de/gematik/refv/cli/ReferenceValidator.java index adfcde3..db8aac2 100644 --- a/cli/src/main/java/de/gematik/refv/cli/ReferenceValidator.java +++ b/cli/src/main/java/de/gematik/refv/cli/ReferenceValidator.java @@ -16,17 +16,22 @@ package de.gematik.refv.cli; +import ca.uhn.fhir.validation.ResultSeverityEnum; +import ca.uhn.fhir.validation.SingleValidationMessage; import de.gematik.refv.SupportedValidationModule; import de.gematik.refv.ValidationModuleFactory; import de.gematik.refv.commons.validation.ValidationModule; import de.gematik.refv.commons.validation.ValidationResult; import lombok.AllArgsConstructor; import lombok.NoArgsConstructor; +import org.apache.log4j.Category; +import org.apache.log4j.LogManager; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import picocli.CommandLine; import java.nio.file.Path; +import java.util.Enumeration; import java.util.Optional; @CommandLine.Command( @@ -43,17 +48,27 @@ public class ReferenceValidator implements Runnable { @CommandLine.Option(names = {"-i", "--input"}, required = true) private Path filePath; + @CommandLine.Option(names = {"-e", "--errors-only"}, required = false) + private boolean isOnlyErrorsInOutput; + + @CommandLine.Option(names = {"-v", "--verbose"}, required = false) + private boolean isVerbose; + static Logger logger = LoggerFactory.getLogger(ReferenceValidator.class); private ValidationModuleFactory factory; public static void main(String[] args) { - var cli = new CommandLine(new ReferenceValidator(null, null, new ValidationModuleFactory())).setCaseInsensitiveEnumValuesAllowed(true); + var cli = new CommandLine(new ReferenceValidator(null, null, false, false, new ValidationModuleFactory())).setCaseInsensitiveEnumValuesAllowed(true); cli.execute(args); } public void run() { try { + if(isVerbose) { + configureAllLoggersToDebug(); + } + Optional supportedValidationModule = SupportedValidationModule.fromString(module); if(supportedValidationModule.isEmpty()) { logger.error("Module [{}] unsupported. Supported modules: {}", module, SupportedValidationModule.values()); @@ -62,9 +77,112 @@ public void run() { ValidationModule validator = factory.createValidationModule(supportedValidationModule.get()); ValidationResult result = validator.validateFile(filePath); - logger.info("Validation result: {}", result); + + String outputMessage = buildOutputMessage(result); + logger.info("\r\n{}", outputMessage); } catch (Exception e){ logger.error("Exception", e); } } + + private static void configureAllLoggersToDebug() { + org.apache.log4j.Logger logger4j = org.apache.log4j.Logger.getRootLogger(); + logger4j.setLevel(org.apache.log4j.Level.toLevel("DEBUG")); + Enumeration loggers = LogManager.getCurrentLoggers(); + while (loggers.hasMoreElements()) { + Category logger = loggers.nextElement(); + logger4j = org.apache.log4j.Logger.getLogger(logger.getName()); + logger4j.setLevel(org.apache.log4j.Level.toLevel("DEBUG")); + } + } + + protected String buildOutputMessage(ValidationResult results) + { + StringBuilder sb = new StringBuilder("\n"); + + sb.append( "===== Valid: " ); + if( results.isValid() ) + sb.append( "true =====\n\n" ); + else + sb.append( "false =====\n\n" ); + + if(isDetailsShouldBePrinted(results) + ) { + if(isOnlyErrorsInOutput){ + sb.append("See ") + .append((getCountFor(ResultSeverityEnum.ERROR, results) + getCountFor(ResultSeverityEnum.FATAL, results))) + .append(" errors below.\n\n"); + } else { + sb.append("See ") + .append(getCountFor(ResultSeverityEnum.ERROR, results) + getCountFor(ResultSeverityEnum.FATAL, results)) + .append(" errors, ") + .append(getCountFor(ResultSeverityEnum.WARNING, results)) + .append(" warnings and ") + .append(getCountFor(ResultSeverityEnum.INFORMATION, results)) + .append(" other notes below.\n\n"); + } + + sb.append(" ") + .append(padRight(" ", 4)) + .append(padRight("Severity", 13)) + .append(padRight("Code", 45)) + .append("Location (FHIRPath) ") + .append("Profile, Element and Problem description\n") + .append(" ") + .append(padRight(" ", 4)) + .append(padRight("-------- ", 13)) + .append(padRight("----------------------------------------", 45)) + .append("------------------- ") + .append("----------------------------------------\n"); + + int count = 1; + + for (SingleValidationMessage message : results.getValidationMessages()) { + if (isOnlyErrorsInOutput && !isErrorMessage(message)) { + continue; + } + sb.append(" ") + .append(padRight("" + count++, 4)) + .append(padRight(message.getSeverity().toString(), 13)) + .append(padRight(message.getMessageId(), 45)) + .append(message.getLocationString()).append(" ") + .append(message.getMessage()).append('\n'); + } + } + + + return sb.toString(); + } + + private int getCountFor(ResultSeverityEnum severity, ValidationResult results) { + int count = 0; + for(SingleValidationMessage message : results.getValidationMessages()){ + if(message.getSeverity() == severity) + count++; + } + return count; + } + + private boolean isDetailsShouldBePrinted(ValidationResult results) { + if(results.getValidationMessages().isEmpty()) + return false; + + if(isAtLeastOneErrorInMessages(results)) + return true; + + return !isOnlyErrorsInOutput; + } + + private static boolean isAtLeastOneErrorInMessages(ValidationResult results) { + return results.getValidationMessages().stream().anyMatch(ReferenceValidator::isErrorMessage); + } + + private static boolean isErrorMessage(SingleValidationMessage m) { + return m.getSeverity() == ResultSeverityEnum.ERROR || m.getSeverity() == ResultSeverityEnum.FATAL; + } + + public static String padRight(String s, int n) { + String format = "%-" + n + "s"; + return String.format(format, s); + } } diff --git a/cli/src/main/resources/log4j.properties b/cli/src/main/resources/log4j.properties index 7d1d08c..d6efdbb 100644 --- a/cli/src/main/resources/log4j.properties +++ b/cli/src/main/resources/log4j.properties @@ -1,5 +1,6 @@ # Set root logger level to DEBUG and its only appender to A1. -log4j.rootLogger=INFO, A1 +log4j.rootLogger=WARN, A1 +log4j.logger.de.gematik.refv = INFO # A1 is set to be a ConsoleAppender. log4j.appender.A1=org.apache.log4j.ConsoleAppender diff --git a/cli/src/test/java/de/gematik/refv/cli/ReferenceValidatorTest.java b/cli/src/test/java/de/gematik/refv/cli/ReferenceValidatorTest.java index 37b5f13..0f2c1d2 100644 --- a/cli/src/test/java/de/gematik/refv/cli/ReferenceValidatorTest.java +++ b/cli/src/test/java/de/gematik/refv/cli/ReferenceValidatorTest.java @@ -16,16 +16,23 @@ package de.gematik.refv.cli; + import de.gematik.refv.SupportedValidationModule; import de.gematik.refv.ValidationModuleFactory; +import de.gematik.refv.cli.support.TestAppender; import de.gematik.refv.valmodule.base.ConfigurationBasedValidationModule; import lombok.SneakyThrows; +import org.apache.log4j.Level; +import org.apache.log4j.spi.LoggingEvent; +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; - +import org.apache.log4j.Logger; import java.nio.file.Path; import java.nio.file.Paths; @@ -39,7 +46,6 @@ class ReferenceValidatorTest { @Mock ConfigurationBasedValidationModule module; - @SneakyThrows @Test void testValidationModuleIsCalled() { @@ -48,7 +54,7 @@ void testValidationModuleIsCalled() { Path inputFile = Paths.get("src/non-existingfile.xml"); String moduleCode = SupportedValidationModule.ERP.toString(); - new ReferenceValidator(moduleCode, inputFile, factory).run(); + new ReferenceValidator(moduleCode, inputFile, false, false, factory).run(); Mockito.verify(module).validateFile(inputFile); } @@ -58,8 +64,65 @@ void testValidationModuleIsCalled() { void testUnknownModuleInterruptsExecution() { Path inputFile = Paths.get("src/non-existingfile.xml"); - new ReferenceValidator("unknown-module", inputFile, factory).run(); + new ReferenceValidator("unknown-module", inputFile, false, false, factory).run(); Mockito.verifyNoInteractions(factory); } + + @SneakyThrows + @ParameterizedTest + @ValueSource( strings = { + "-m erp -i src/test/resources/erp-test.xml", + "-m eau -i src/test/resources/eau-test.xml", + "-m isik1 -i src/test/resources/isik1-test.json", + "-m isik2 -i src/test/resources/isik2-test.json", + "-m isip1 -i src/test/resources/isip1-test.json", + "-m diga -i src/test/resources/diga-test.xml" + }) + void testValidCliInput(String input){ + TestAppender appender = getTestAppender(); + + String [] args = input.split(" "); + ReferenceValidator.main(args); + + boolean isValid = false; + for (LoggingEvent event : appender.getLogs()) { + if(event.getMessage().toString().contains("Valid: true")) + isValid = true; + } + Assertions.assertTrue(isValid); + } + + private static TestAppender getTestAppender() { + Logger logger = Logger.getRootLogger(); + TestAppender appender = new TestAppender(); + logger.addAppender(appender); + return appender; + } + + @Test + void testVerboseMode() { + TestAppender appender = getTestAppender(); + + String input = "-m isik1 -i src/test/resources/isik1-test.json -v"; + String [] args = input.split(" "); + ReferenceValidator.main(args); + + + boolean isValid = appender.getLogs().stream().anyMatch(e -> e.getLevel().equals(Level.DEBUG)); + Assertions.assertTrue(isValid,"No debug messages in verbose mode found"); + } + + @Test + void testOnlyErrorsInOutput() { + TestAppender appender = getTestAppender(); + + String input = "-m isik1 -i src/test/resources/isik1-test-errors.json -e"; + String [] args = input.split(" "); + ReferenceValidator.main(args); + + + boolean isValid = appender.getLogs().stream().noneMatch(l -> l.getMessage().toString().contains("INFORMATION")); + Assertions.assertTrue(isValid,"Information message found in output - only errors are allowed"); + } } diff --git a/cli/src/test/java/de/gematik/refv/cli/support/TestAppender.java b/cli/src/test/java/de/gematik/refv/cli/support/TestAppender.java new file mode 100644 index 0000000..d67e326 --- /dev/null +++ b/cli/src/test/java/de/gematik/refv/cli/support/TestAppender.java @@ -0,0 +1,29 @@ +package de.gematik.refv.cli.support; + +import org.apache.log4j.AppenderSkeleton; +import org.apache.log4j.spi.LoggingEvent; + +import java.util.ArrayList; +import java.util.List; + +public class TestAppender extends AppenderSkeleton { + private final List log = new ArrayList<>(); + + @Override + public boolean requiresLayout() { + return false; + } + + @Override + protected void append(final LoggingEvent loggingEvent) { + log.add(loggingEvent); + } + + @Override + public void close() { + } + + public List getLogs() { + return new ArrayList<>(log); + } +} diff --git a/cli/src/test/resources/diga-test.xml b/cli/src/test/resources/diga-test.xml new file mode 100644 index 0000000..4073f33 --- /dev/null +++ b/cli/src/test/resources/diga-test.xml @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/cli/src/test/resources/eau-test.xml b/cli/src/test/resources/eau-test.xml new file mode 100644 index 0000000..fa9bc8e --- /dev/null +++ b/cli/src/test/resources/eau-test.xml @@ -0,0 +1,680 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <custodian> + <reference value="Organization/cf042e44-086a-4d51-9c77-172f9a972e3b" /> + </custodian> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Section_Type" /> + <code value="ICD" /> + </coding> + </code> + <entry> + <reference value="Condition/a246b026-c47c-4257-abed-9887ed7996eb" /> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Section_Type" /> + <code value="ICD" /> + </coding> + </code> + <entry> + <reference value="Condition/854ff3b2-f0ca-41f9-9bd1-0204f51a847e" /> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Section_Type" /> + <code value="ICD" /> + </coding> + </code> + <entry> + <reference value="Condition/065b2388-e4da-40ac-a459-2f392a0a41d9" /> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Section_Type" /> + <code value="ICD" /> + </coding> + </code> + <entry> + <reference value="Condition/bc96a462-2ecf-4c63-9b22-bc02bb8f1155" /> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Section_Type" /> + <code value="ICD" /> + </coding> + </code> + <entry> + <reference value="Condition/0d27fa35-55d9-48d0-b42e-d3bb3f85edfb" /> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Section_Type" /> + <code value="ICD" /> + </coding> + </code> + <entry> + <reference value="Condition/35a2833d-0cbd-49d4-86f8-c97a64154890" /> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Section_Type" /> + <code value="ICD_Text" /> + </coding> + </code> + <entry> + <reference value="Condition/2902efb7-5227-4c43-aee9-34d4a25add21" /> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Section_Type" /> + <code value="AU_Condition" /> + </coding> + </code> + <entry> + <reference value="Condition/2f8638b4-cf33-4afe-bdbc-8477b3cc1bac" /> + </entry> + </section> + <section> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Section_Type" /> + <code value="Coverage" /> + </coding> + </code> + <entry> + <reference value="Coverage/1b1ffb6e-eb05-43d7-87eb-e7818fe9661a" /> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Patient/9774f67f-a238-4daf-b4e6-679deeef3811" /> + <resource> + <Patient> + <id value="9774f67f-a238-4daf-b4e6-679deeef3811" /> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis" /> + <code value="GKV" /> + </coding> + </type> + <system value="http://fhir.de/sid/gkv/kvid-10" /> + <value value="X234567890" /> + </identifier> + <name> + <use value="official" /> + <family value="Königsstein"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Königsstein" /> + </extension> + </family> + <given value="Ludger" /> + </name> + <birthDate value="1935-06-22" /> + <address> + <type value="both" /> + <line value="Musterstr. 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1" /> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr." /> + </extension> + </line> + <city value="Berlin" /> + <postalCode value="10623" /> + </address> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3" /> + <resource> + <Practitioner> + <id value="20597e0e-cb2a-45b3-95f0-dc3dbdb617c3" /> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis" /> + <code value="ZANR" /> + </coding> + </type> + <system value="http://fhir.de/sid/kzbv/zahnarztnummer" /> + <value value="838382202" /> + </identifier> + <name> + <use value="official" /> + <family value="Topp-Glücklich"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Topp-Glücklich" /> + </extension> + </family> + <given value="Hans" /> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC" /> + </extension> + </prefix> + </name> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type" /> + <code value="01" /> + </coding> + </code> + </qualification> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung" /> + <code value="Berufsbezeichnung" /> + </coding> + <text value="Zahnarzt" /> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Organization/cf042e44-086a-4d51-9c77-172f9a972e3b" /> + <resource> + <Organization> + <id value="cf042e44-086a-4d51-9c77-172f9a972e3b" /> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/identifier-type-de-basis" /> + <code value="KZVA" /> + </coding> + </type> + <system value="http://fhir.de/sid/kzbv/kzvabrechnungsnummer" /> + <value value="031234567" /> + </identifier> + <name value="Hausarztpraxis Dr. Topp-Glücklich" /> + <telecom> + <system value="phone" /> + <value value="0301234567" /> + </telecom> + <address> + <type value="both" /> + <line value="Musterstr. 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2" /> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstr." /> + </extension> + </line> + <city value="Berlin" /> + <postalCode value="10623" /> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Condition/2f8638b4-cf33-4afe-bdbc-8477b3cc1bac" /> + <resource> + <Condition> + <id value="2f8638b4-cf33-4afe-bdbc-8477b3cc1bac" /> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_EAU_Condition_AU|1.1.0" /> + </meta> + <extension url="http://hl7.org/fhir/StructureDefinition/condition-assertedDate"> + <valueDateTime value="2022-09-29" /> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_EAU_7_weeks"> + <valueBoolean value="true" /> + </extension> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" /> + <code value="active" /> + </coding> + </clinicalStatus> + <verificationStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status" /> + <code value="confirmed" /> + </coding> + </verificationStatus> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FHIR_DOKUMENTTYPE" /> + <code value="eAU" /> + </coding> + </code> + <subject> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811" /> + </subject> + <onsetPeriod> + <end value="2022-10-15" /> + </onsetPeriod> + <asserter> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3" /> + </asserter> + </Condition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Coverage/1b1ffb6e-eb05-43d7-87eb-e7818fe9661a" /> + <resource> + <Coverage> + <id value="1b1ffb6e-eb05-43d7-87eb-e7818fe9661a" /> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0" /> + </meta> + <extension url="http://fhir.de/StructureDefinition/gkv/besondere-personengruppe"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE" /> + <code value="00" /> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP" /> + <code value="00" /> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/wop"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP" /> + <code value="03" /> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/gkv/versichertenart"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS" /> + <code value="1" /> + </valueCoding> + </extension> + <status value="active" /> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/versicherungsart-de-basis" /> + <code value="GKV" /> + </coding> + </type> + <beneficiary> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811" /> + </beneficiary> + <payor> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr" /> + <value value="104212059" /> + </identifier> + <display value="AOK Rheinland/Hamburg" /> + </payor> + </Coverage> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Condition/a246b026-c47c-4257-abed-9887ed7996eb" /> + <resource> + <Condition> + <id value="a246b026-c47c-4257-abed-9887ed7996eb" /> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_EAU_Condition_ICD|1.1.0" /> + </meta> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" /> + <code value="active" /> + </coding> + </clinicalStatus> + <verificationStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status" /> + <code value="confirmed" /> + </coding> + </verificationStatus> + <code> + <coding> + <extension url="http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_DIAGNOSESICHERHEIT" /> + <code value="G" /> + </valueCoding> + </extension> + <system value="http://fhir.de/CodeSystem/bfarm/icd-10-gm" /> + <version value="2022" /> + <code value="E10.20" /> + </coding> + </code> + <subject> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811" /> + </subject> + <asserter> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3" /> + </asserter> + </Condition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Condition/854ff3b2-f0ca-41f9-9bd1-0204f51a847e" /> + <resource> + <Condition> + <id value="854ff3b2-f0ca-41f9-9bd1-0204f51a847e" /> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_EAU_Condition_ICD|1.1.0" /> + </meta> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" /> + <code value="active" /> + </coding> + </clinicalStatus> + <verificationStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status" /> + <code value="confirmed" /> + </coding> + </verificationStatus> + <code> + <coding> + <extension url="http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_DIAGNOSESICHERHEIT" /> + <code value="G" /> + </valueCoding> + </extension> + <system value="http://fhir.de/CodeSystem/bfarm/icd-10-gm" /> + <version value="2022" /> + <code value="N08.3" /> + </coding> + </code> + <subject> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811" /> + </subject> + <asserter> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3" /> + </asserter> + </Condition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Condition/065b2388-e4da-40ac-a459-2f392a0a41d9" /> + <resource> + <Condition> + <id value="065b2388-e4da-40ac-a459-2f392a0a41d9" /> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_EAU_Condition_ICD|1.1.0" /> + </meta> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" /> + <code value="active" /> + </coding> + </clinicalStatus> + <verificationStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status" /> + <code value="confirmed" /> + </coding> + </verificationStatus> + <code> + <coding> + <extension url="http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_DIAGNOSESICHERHEIT" /> + <code value="G" /> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/seitenlokalisation"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_SEITENLOKALISATION" /> + <code value="L" /> + </valueCoding> + </extension> + <system value="http://fhir.de/CodeSystem/bfarm/icd-10-gm" /> + <version value="2022" /> + <code value="S42.3" /> + </coding> + </code> + <subject> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811" /> + </subject> + <asserter> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3" /> + </asserter> + </Condition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Condition/bc96a462-2ecf-4c63-9b22-bc02bb8f1155" /> + <resource> + <Condition> + <id value="bc96a462-2ecf-4c63-9b22-bc02bb8f1155" /> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_EAU_Condition_ICD|1.1.0" /> + </meta> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" /> + <code value="active" /> + </coding> + </clinicalStatus> + <verificationStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status" /> + <code value="confirmed" /> + </coding> + </verificationStatus> + <code> + <coding> + <extension url="http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_DIAGNOSESICHERHEIT" /> + <code value="G" /> + </valueCoding> + </extension> + <extension url="http://fhir.de/StructureDefinition/seitenlokalisation"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_SEITENLOKALISATION" /> + <code value="R" /> + </valueCoding> + </extension> + <system value="http://fhir.de/CodeSystem/bfarm/icd-10-gm" /> + <version value="2022" /> + <code value="S82.28" /> + </coding> + </code> + <subject> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811" /> + </subject> + <asserter> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3" /> + </asserter> + </Condition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Condition/0d27fa35-55d9-48d0-b42e-d3bb3f85edfb" /> + <resource> + <Condition> + <id value="0d27fa35-55d9-48d0-b42e-d3bb3f85edfb" /> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_EAU_Condition_ICD|1.1.0" /> + </meta> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" /> + <code value="active" /> + </coding> + </clinicalStatus> + <verificationStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status" /> + <code value="provisional" /> + </coding> + </verificationStatus> + <code> + <coding> + <extension url="http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_DIAGNOSESICHERHEIT" /> + <code value="V" /> + </valueCoding> + </extension> + <system value="http://fhir.de/CodeSystem/bfarm/icd-10-gm" /> + <version value="2022" /> + <code value="Q01.9" /> + </coding> + </code> + <subject> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811" /> + </subject> + <asserter> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3" /> + </asserter> + </Condition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Condition/35a2833d-0cbd-49d4-86f8-c97a64154890" /> + <resource> + <Condition> + <id value="35a2833d-0cbd-49d4-86f8-c97a64154890" /> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_EAU_Condition_ICD|1.1.0" /> + </meta> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" /> + <code value="resolved" /> + </coding> + </clinicalStatus> + <verificationStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status" /> + <code value="confirmed" /> + </coding> + </verificationStatus> + <code> + <coding> + <extension url="http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit"> + <valueCoding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_DIAGNOSESICHERHEIT" /> + <code value="Z" /> + </valueCoding> + </extension> + <system value="http://fhir.de/CodeSystem/bfarm/icd-10-gm" /> + <version value="2022" /> + <code value="S22.32" /> + </coding> + </code> + <subject> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811" /> + </subject> + <asserter> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3" /> + </asserter> + </Condition> + </resource> + </entry> + <entry> + <fullUrl value="http://pvs.praxis-topp-gluecklich.local/fhir/Condition/2902efb7-5227-4c43-aee9-34d4a25add21" /> + <resource> + <Condition> + <id value="2902efb7-5227-4c43-aee9-34d4a25add21" /> + <meta> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_EAU_Condition_Text|1.1.0" /> + </meta> + <verificationStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status" /> + <code value="confirmed" /> + </coding> + </verificationStatus> + <code> + <text value="Ein sehr kranker Patient" /> + </code> + <subject> + <reference value="Patient/9774f67f-a238-4daf-b4e6-679deeef3811" /> + </subject> + <asserter> + <reference value="Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3" /> + </asserter> + </Condition> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/cli/src/test/resources/erp-test.xml b/cli/src/test/resources/erp-test.xml new file mode 100644 index 0000000..dd6d6d2 --- /dev/null +++ b/cli/src/test/resources/erp-test.xml @@ -0,0 +1,197 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ad80703d-8c62-44a3-b12b-2ea66eda0aa2" /> + <meta> + <profile value="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle|1.2" /> + <tag> + <display value="Beispiel RezeptAbgabedatenPKV Bundle (FAM)" /> + </tag> + <tag> + <display value="ACHTUNG! Der fachlich korrekte Inhalt der Beispielinstanz kann nicht gewährleistet werden. Wir sind jederzeit dankbar für Hinweise auf Fehler oder für Verbesserungsvorschläge." /> + </tag> + </meta> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" /> + <value value="200.100.000.000.081.90" /> + </identifier> + <type value="document" /> + <timestamp value="2022-03-24T11:30:00Z" /> + <entry> + <fullUrl value="urn:uuid:72183b44-61cf-4fe7-8f74-1e37d58fcea8" /> + <resource> + <Composition> + <id value="72183b44-61cf-4fe7-8f74-1e37d58fcea8" /> + <meta> + <profile value="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenComposition|1.2" /> + </meta> + <status value="final" /> + <type> + <coding> + <system value="http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-CompositionTypes" /> + <code value="ERezeptAbgabedaten" /> + </coding> + </type> + <date value="2022-03-24T11:30:00Z" /> + <author> + <reference value="urn:uuid:5dc67a4f-c936-4c26-a7c0-967673a70740" /> + </author> + <title value="ERezeptAbgabedaten" /> + <section> + <title value="Abgabeinformationen" /> + <entry> + <reference value="urn:uuid:335784b4-3f89-47cc-b32f-bc386a212e11" /> + </entry> + </section> + <section> + <title value="Apotheke" /> + <entry> + <reference value="urn:uuid:5dc67a4f-c936-4c26-a7c0-967673a70740" /> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:5dc67a4f-c936-4c26-a7c0-967673a70740" /> + <resource> + <Organization> + <id value="5dc67a4f-c936-4c26-a7c0-967673a70740" /> + <meta> + <profile value="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Apotheke|1.2" /> + </meta> + <identifier> + <system value="http://fhir.de/sid/arge-ik/iknr" /> + <value value="123456789" /> + </identifier> + <name value="Adler-Apotheke" /> + <address> + <type value="physical" /> + <line value="Taunusstraße 89"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Taunusstraße" /> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="89" /> + </extension> + </line> + <city value="Langen" /> + <postalCode value="63225" /> + <country value="D" /> + </address> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:335784b4-3f89-47cc-b32f-bc386a212e11" /> + <resource> + <MedicationDispense> + <id value="335784b4-3f89-47cc-b32f-bc386a212e11" /> + <meta> + <profile value="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Abgabeinformationen|1.2" /> + </meta> + <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Abrechnungszeilen"> + <valueReference> + <reference value="urn:uuid:cfd49ec7-fd9c-4ab3-865f-f0aaf010ca19" /> + </valueReference> + </extension> + <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-EX-ERP-AbrechnungsTyp"> + <valueCodeableConcept> + <coding> + <system value="http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-AbrechnungsTyp" /> + <code value="1" /> + </coding> + </valueCodeableConcept> + </extension> + <status value="completed" /> + <medicationCodeableConcept> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/data-absent-reason" /> + <code value="not-applicable" /> + </coding> + </medicationCodeableConcept> + <performer> + <actor> + <reference value="urn:uuid:5dc67a4f-c936-4c26-a7c0-967673a70740" /> + </actor> + </performer> + <authorizingPrescription> + <identifier> + <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" /> + <value value="200.100.000.000.081.90" /> + </identifier> + </authorizingPrescription> + <type> + <coding> + <system value="http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-MedicationDispenseTyp" /> + <code value="Abgabeinformationen" /> + </coding> + </type> + <whenHandedOver value="2022-03-24" /> + </MedicationDispense> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:cfd49ec7-fd9c-4ab3-865f-f0aaf010ca19" /> + <resource> + <Invoice> + <id value="cfd49ec7-fd9c-4ab3-865f-f0aaf010ca19" /> + <meta> + <profile value="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Abrechnungszeilen|1.2" /> + </meta> + <status value="issued" /> + <type> + <coding> + <system value="http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-InvoiceTyp" /> + <code value="Abrechnungszeilen" /> + </coding> + </type> + <lineItem> + <sequence value="1" /> + <chargeItemCodeableConcept> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn" /> + <code value="06313728" /> + </coding> + <text value="Januvia® 50 mg 28 Filmtabletten N1"/> + </chargeItemCodeableConcept> + <priceComponent> + <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz"> + <valueDecimal value="19.00" /> + </extension> + <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter"> + <extension url="Kategorie"> + <valueCodeableConcept> + <coding> + <system value="http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-KostenVersicherterKategorie" /> + <code value="0" /> + </coding> + </valueCodeableConcept> + </extension> + <extension url="Kostenbetrag"> + <valueMoney> + <value value="0.00" /> + <currency value="EUR" /> + </valueMoney> + </extension> + </extension> + <type value="informational" /> + <factor value="1" /> + <amount> + <value value="30.33" /> + <currency value="EUR" /> + </amount> + </priceComponent> + </lineItem> + <totalGross> + <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Gesamtzuzahlung"> + <valueMoney> + <value value="0.00" /> + <currency value="EUR" /> + </valueMoney> + </extension> + <value value="30.33" /> + <currency value="EUR" /> + </totalGross> + </Invoice> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/cli/src/test/resources/isik1-test-errors.json b/cli/src/test/resources/isik1-test-errors.json new file mode 100644 index 0000000..94b384c --- /dev/null +++ b/cli/src/test/resources/isik1-test-errors.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Composition", + "id": "composition-blutdruck", + "meta": { + "profile": [ + "https://gematik.de/fhir/ISiK/StructureDefinition/ISiKBerichtSubSysteme" + ] + }, + "status": "final", + "text": { + "status": "extensions", + "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Familienname:Fürstin von Musterfrau</p><p>Geburtsdatum:1964-08-12</p><p>PID:TestPID</p><p>Bericht-Status:final</p><p>Bericht-Typ:Berichtzusammenfassung / Document Summary</p><p>Datum:03.05.2022</p><p>Titel:Blutdruckmessung vom 3.5.2022</p><p>Autor:Gerät XY, Fa. Z, Modell T</p></div>" + }, + "identifier": { + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "https://fhir.krankenhaus.example/sid/system-a/berichtnummer", + "value": "0123456789" + }, + "type": { + "coding": [ + { + "code": "55112-7", + "system": "http://loinc.orgXXX" + } + ] + }, + "subject": { + "reference": "urn:uuid:3bada18a-6fd2-11ed-a1eb-0242ac112345" + }, + "encounter": { + "reference": "urn:uuid:74b46c1a-6fc9-11ed-a1eb-0242ac198765" + }, + "date": "2022-05-03", + "author": [ + { + "type": "Device", + "display": "Gerät XY, Fa. Z, Modell T" + } + ], + "title": "Blutdruckmessung vom 3.5.2022", + "section": [ + { + "title": "Messung", + "text": { + "status": "generated", + "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table><tr><td><b>Systolisch</b></td><td><b>Diastolisch</b></td><td><b>Einheit</b></td><td><b>Uhrzeit</b></td></tr><tr><td>140</td><td>110</td><td>mmHG</td><td>17:15h</td></tr></table></div>" + } + } + ] +} diff --git a/cli/src/test/resources/isik1-test.json b/cli/src/test/resources/isik1-test.json new file mode 100644 index 0000000..0af17c3 --- /dev/null +++ b/cli/src/test/resources/isik1-test.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Composition", + "id": "composition-blutdruck", + "meta": { + "profile": [ + "https://gematik.de/fhir/ISiK/StructureDefinition/ISiKBerichtSubSysteme" + ] + }, + "status": "final", + "text": { + "status": "extensions", + "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Familienname:Fürstin von Musterfrau</p><p>Geburtsdatum:1964-08-12</p><p>PID:TestPID</p><p>Bericht-Status:final</p><p>Bericht-Typ:Berichtzusammenfassung / Document Summary</p><p>Datum:03.05.2022</p><p>Titel:Blutdruckmessung vom 3.5.2022</p><p>Autor:Gerät XY, Fa. Z, Modell T</p></div>" + }, + "identifier": { + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "https://fhir.krankenhaus.example/sid/system-a/berichtnummer", + "value": "0123456789" + }, + "type": { + "coding": [ + { + "code": "55112-7", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "urn:uuid:3bada18a-6fd2-11ed-a1eb-0242ac112345" + }, + "encounter": { + "reference": "urn:uuid:74b46c1a-6fc9-11ed-a1eb-0242ac198765" + }, + "date": "2022-05-03", + "author": [ + { + "type": "Device", + "display": "Gerät XY, Fa. Z, Modell T" + } + ], + "title": "Blutdruckmessung vom 3.5.2022", + "section": [ + { + "title": "Messung", + "text": { + "status": "generated", + "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table><tr><td><b>Systolisch</b></td><td><b>Diastolisch</b></td><td><b>Einheit</b></td><td><b>Uhrzeit</b></td></tr><tr><td>140</td><td>110</td><td>mmHG</td><td>17:15h</td></tr></table></div>" + } + } + ] +} diff --git a/cli/src/test/resources/isik2-test.json b/cli/src/test/resources/isik2-test.json new file mode 100644 index 0000000..1bdae1f --- /dev/null +++ b/cli/src/test/resources/isik2-test.json @@ -0,0 +1,180 @@ +{ + "resourceType": "Bundle", + "id": "ISiKBundle-Example", + "meta": { + "profile": [ + "https://gematik.de/fhir/isik/v2/Basismodul/StructureDefinition/ISiKBerichtBundle" + ] + }, + "type": "document", + "identifier": { + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "https://fhir.krankenhaus.example/sid/subsystem-a/berichtbundlenummer", + "value": "0123456789" + }, + "timestamp": "2022-05-03T17:57:34+01:00", + "entry": [ + { + "resource": { + "resourceType": "Composition", + "id": "composition-blutdruck", + "meta": { + "profile": [ + "https://gematik.de/fhir/isik/v2/Basismodul/StructureDefinition/ISiKBerichtSubSysteme" + ] + }, + "status": "final", + "text": { + "status": "extensions", + "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Familienname:Fürstin von Musterfrau</p><p>Geburtsdatum:1964-08-12</p><p>PID:TestPID</p><p>Bericht-Status:final</p><p>Bericht-Typ:Berichtzusammenfassung / Document Summary</p><p>Datum:03.05.2022</p><p>Titel:Blutdruckmessung vom 3.5.2022</p><p>Autor:Gerät XY, Fa. Z, Modell T</p></div>" + }, + "identifier": { + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "https://fhir.krankenhaus.example/sid/system-a/berichtnummer", + "value": "0123456789" + }, + "type": { + "coding": [ + { + "code": "55112-7", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "urn:uuid:3bada18a-6fd2-11ed-a1eb-0242ac112345" + }, + "encounter": { + "reference": "urn:uuid:74b46c1a-6fc9-11ed-a1eb-0242ac198765" + }, + "date": "2022-05-03", + "author": [ + { + "type": "Device", + "display": "Gerät XY, Fa. Z, Modell T" + } + ], + "title": "Blutdruckmessung vom 3.5.2022", + "section": [ + { + "title": "Messung", + "text": { + "status": "generated", + "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table><tr><td><b>Systolisch</b></td><td><b>Diastolisch</b></td><td><b>Einheit</b></td><td><b>Uhrzeit</b></td></tr><tr><td>140</td><td>110</td><td>mmHG</td><td>17:15h</td></tr></table></div>" + } + } + ] + }, + "fullUrl": "urn:uuid:74b471ba-6fc9-11ed-a1eb-0242ac120002" + }, + { + "resource": { + "resourceType": "Patient", + "id": "PatientinMusterfrauMinimal", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "https://fhir.krankenhaus.example/sid/PID", + "value": "TestPID" + } + ], + "name": [ + { + "use": "official", + "family": "Fürstin von Musterfrau", + "given": [ + "Erika" + ], + "prefix": [ + "Dr." + ] + } + ], + "gender": "female", + "birthDate": "1964-08-12" + }, + "fullUrl": "urn:uuid:3bada18a-6fd2-11ed-a1eb-0242ac112345" + }, + { + "resource": { + "resourceType": "Encounter", + "id": "FachabteilungskontaktMinimal", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "https://test.krankenhaus.de/fhir/sid/besuchsnummer", + "value": "0123456789" + } + ], + "status": "unknown", + "class": { + "code": "IMP", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "type": [ + { + "coding": [ + { + "code": "operation", + "system": "http://fhir.de/CodeSystem/kontaktart-de" + } + ] + }, + { + "coding": [ + { + "code": "abteilungskontakt", + "system": "http://fhir.de/CodeSystem/Kontaktebene" + } + ] + } + ], + "serviceType": { + "coding": [ + { + "code": "0100", + "system": "http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel" + } + ] + }, + "subject": { + "reference": "urn:uuid:3bada18a-6fd2-11ed-a1eb-0242ac112345" + }, + "period": { + "start": "2022-05-03", + "end": "2022-05-05" + } + }, + "fullUrl": "urn:uuid:74b46c1a-6fc9-11ed-a1eb-0242ac198765" + } + ] + } + \ No newline at end of file diff --git a/cli/src/test/resources/isip1-test.json b/cli/src/test/resources/isip1-test.json new file mode 100644 index 0000000..6a1f64b --- /dev/null +++ b/cli/src/test/resources/isip1-test.json @@ -0,0 +1,81 @@ +{ + "resourceType": "Organization", + "id": "ExampleIsipOrganization", + "meta": { + "profile": [ + "https://gematik.de/fhir/isip/v1/Basismodul/StructureDefinition/IsipOrganization|1.0.1" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "1234567890" + } + ], + "active": true, + "name": "Haus am See", + "type": [ + { + "coding": [ + { + "code": "42665001", + "system": "http://snomed.info/sct", + "display": "Nursing home (environment)" + } + ] + } + ], + "address": [ + { + "type": "both", + "line": [ + "Musterweg 2", + "3. Etage" + ], + "_line": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName", + "valueString": "Musterweg" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber", + "valueString": "2" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator", + "valueString": "3. Etage" + } + ] + } + ], + "city": "Musterhausen", + "postalCode": "98764", + "country": "DE" + }, + { + "type": "postal", + "line": [ + "Postfach 8 15" + ], + "_line": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox", + "valueString": "Postfach 8 15" + } + ] + } + ], + "city": "Musterhausen", + "postalCode": "98764", + "country": "DE" + } + ] +} diff --git a/commons/pom.xml b/commons/pom.xml index 19e9eb6..3266ea1 100644 --- a/commons/pom.xml +++ b/commons/pom.xml @@ -5,7 +5,7 @@ <parent> <artifactId>referencevalidator</artifactId> <groupId>de.gematik.refv</groupId> - <version>0.5.0</version> + <version>0.6.0</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/commons/src/main/java/de/gematik/refv/commons/validation/GenericValidator.java b/commons/src/main/java/de/gematik/refv/commons/validation/GenericValidator.java index 77dc793..f8ab945 100644 --- a/commons/src/main/java/de/gematik/refv/commons/validation/GenericValidator.java +++ b/commons/src/main/java/de/gematik/refv/commons/validation/GenericValidator.java @@ -71,7 +71,7 @@ public ValidationResult validate( var filteredMessages = severityLevelTransformator.applyTransformations(intermediateResult.getMessages(), packageDefinition.getValidationMessageTransformations()); var result = new ValidationResult(filteredMessages); - logger.info("Final ValidationResult: {}", result); + logger.debug("Final ValidationResult: {}", result); return result; } diff --git a/commons/src/main/java/de/gematik/refv/commons/validation/GenericValidatorFactory.java b/commons/src/main/java/de/gematik/refv/commons/validation/GenericValidatorFactory.java index 43b8798..213f804 100644 --- a/commons/src/main/java/de/gematik/refv/commons/validation/GenericValidatorFactory.java +++ b/commons/src/main/java/de/gematik/refv/commons/validation/GenericValidatorFactory.java @@ -56,10 +56,10 @@ public FhirValidator createInstance( for (String patch : patches) { - logger.info("Applying patch {}...",patch); + logger.debug("Applying patch {}...",patch); InputStream is = ClasspathUtil.loadResourceAsStream("package/patches/" + patch); var reader = new InputStreamReader(is); - var newResource = ctx.newJsonParser().parseResource(StructureDefinition.class, reader); + var newResource = ctx.newJsonParser().parseResource(reader); reader.close(); npmPackageSupport.addResource(newResource); } diff --git a/commons/src/main/java/de/gematik/refv/commons/validation/support/IgnoreCodeSystemValidationSupport.java b/commons/src/main/java/de/gematik/refv/commons/validation/support/IgnoreCodeSystemValidationSupport.java index 857c288..3174e4f 100644 --- a/commons/src/main/java/de/gematik/refv/commons/validation/support/IgnoreCodeSystemValidationSupport.java +++ b/commons/src/main/java/de/gematik/refv/commons/validation/support/IgnoreCodeSystemValidationSupport.java @@ -22,7 +22,6 @@ import org.apache.commons.lang3.StringUtils; import org.hl7.fhir.common.hapi.validation.support.BaseValidationSupport; import org.hl7.fhir.common.hapi.validation.support.ValidationSupportChain; -import org.hl7.fhir.utilities.validation.ValidationMessage; import javax.annotation.Nonnull; import javax.annotation.Nullable; @@ -41,7 +40,7 @@ public class IgnoreCodeSystemValidationSupport extends BaseValidationSupport { private final Collection<String> codeSystemsToIgnore = new HashSet<>(); - public static final String CODE_SYSTEM_IS_IGNORED_MESSAGE = "Code system has been ignored due to module configuration"; + public static final String CODE_SYSTEM_IS_IGNORED_MESSAGE = "Code system definition is missing"; /** * Constructor @@ -67,12 +66,24 @@ public boolean isCodeSystemSupported(ValidationSupportContext theValidationSuppo public CodeValidationResult validateCode(@Nonnull ValidationSupportContext theValidationSupportContext,@Nonnull ConceptValidationOptions theOptions, String theCodeSystem, String theCode, String theDisplay, String theValueSetUrl) { if (theCodeSystem != null && codeSystemsToIgnore.contains(theCodeSystem)) { CodeValidationResult result = new CodeValidationResult(); + // for INFO severity, we don't set the code + // cause if we do, the severity is stripped out + // (see VersionSpecificWorkerContextWrapper.convertValidationResult) result.setSeverity(IssueSeverity.INFORMATION); - result.setSeverityCode(ValidationMessage.IssueSeverity.INFORMATION.toCode()); - result.setCodeSystemName(theCodeSystem); result.setMessage(CODE_SYSTEM_IS_IGNORED_MESSAGE); return result; } else return null; } + @Nullable + @Override + public LookupCodeResult lookupCode(ValidationSupportContext theValidationSupportContext, String theSystem, String theCode, String theDisplayLanguage) { + // filters out error/fatal + if (codeSystemsToIgnore.contains(theSystem)) { + return new LookupCodeResult() + .setFound(true); + } + + return null; + } } diff --git a/commons/src/main/java/de/gematik/refv/commons/validation/support/IgnoreValueSetValidationSupport.java b/commons/src/main/java/de/gematik/refv/commons/validation/support/IgnoreValueSetValidationSupport.java index e2a32c2..6b5f7d8 100644 --- a/commons/src/main/java/de/gematik/refv/commons/validation/support/IgnoreValueSetValidationSupport.java +++ b/commons/src/main/java/de/gematik/refv/commons/validation/support/IgnoreValueSetValidationSupport.java @@ -29,6 +29,7 @@ import javax.annotation.Nonnull; import javax.annotation.Nullable; +import java.text.MessageFormat; import java.util.Collection; import java.util.HashSet; @@ -38,7 +39,7 @@ public class IgnoreValueSetValidationSupport extends BaseValidationSupport { private final Collection<String> valueSetsToIgnore = new HashSet<>(); - public static final String VALUE_SET_IS_IGNORED_MESSAGE = "Value set has been ignored due to module configuration"; + public static final String VALUE_SET_IS_IGNORED_MESSAGE = "Value set {0} has been ignored due to module configuration"; /** * Constructor @@ -76,8 +77,9 @@ public CodeValidationResult validateCodeInValueSet(ValidationSupportContext theV CodeValidationResult result = new CodeValidationResult(); result.setSeverity(IssueSeverity.INFORMATION); result.setSeverityCode(ValidationMessage.IssueSeverity.INFORMATION.toCode()); - result.setMessage(VALUE_SET_IS_IGNORED_MESSAGE); - logger.info("Value set {} has been ignored due to configuration.", valueSet.getUrl()); + String message = MessageFormat.format(VALUE_SET_IS_IGNORED_MESSAGE, valueSet.getUrl()); + result.setMessage(message); + logger.info(message); return result; } diff --git a/commons/src/test/java/de/gematik/refv/commons/validation/IgnoreCodeSystemValidationSupportTests.java b/commons/src/test/java/de/gematik/refv/commons/validation/IgnoreCodeSystemValidationSupportTests.java index 53e6357..23d1c74 100644 --- a/commons/src/test/java/de/gematik/refv/commons/validation/IgnoreCodeSystemValidationSupportTests.java +++ b/commons/src/test/java/de/gematik/refv/commons/validation/IgnoreCodeSystemValidationSupportTests.java @@ -31,39 +31,55 @@ class IgnoreCodeSystemValidationSupportTests { + private FhirContext fhirContext = FhirContext.forR4(); + @Test - void testMissingValueSetsAreIgnored() { - FhirContext fhirContext = FhirContext.forR4(); - var codeSystemsToIgnore = List.of(new String[] {"http://a","http://b"}); + void testConfiguredCodeSystemsToIgnoreDoNotProduceErrors() { + final String systemA = "http://a"; + final String systemB = "http://b"; + var codeSystemsToIgnore = List.of(new String[] {systemA, systemB}); var support = new IgnoreCodeSystemValidationSupport(fhirContext, codeSystemsToIgnore); ValidationSupportChain validationSupportChain = new ValidationSupportChain( new DefaultProfileValidationSupport(fhirContext) ); - Assertions.assertTrue(support.isCodeSystemSupported(new ValidationSupportContext(validationSupportChain),"http://a")); - var result = support.validateCode(new ValidationSupportContext(validationSupportChain), new ConceptValidationOptions(),"http://a","someCode","display","http://valueset.url"); + ValidationSupportContext context = new ValidationSupportContext(validationSupportChain); + + Assertions.assertTrue(support.isCodeSystemSupported(context, systemA)); + + var result = support.validateCode(context, new ConceptValidationOptions(), systemA,"someCode","display","http://valueset.url"); Assertions.assertNotNull(result); Assertions.assertNull(result.getCode(),"result.getCode() should be empty, otherwise HAPI doesn't produce any ValidationMessages"); Assertions.assertEquals(IValidationSupport.IssueSeverity.INFORMATION, result.getSeverity(), "Wrong severity of the code validation result"); + + IValidationSupport.LookupCodeResult lookupCodeResult = support.lookupCode(context, systemA, "a-code", "en-US"); + Assertions.assertNotNull(lookupCodeResult, "Code lookup for an ignored code system is null while it should not be"); + Assertions.assertTrue(lookupCodeResult.isFound(), "Code lookup for an ignored code system is unsuccessful while it should be"); } @Test void testUnregisteredCodesystemsAreUnsupported() { - FhirContext fhirContext = FhirContext.forR4(); - var codeSystemsToIgnore = List.of(new String[] {"http://a","http://b"}); + final String systemA = "http://a"; + final String systemB = "http://b"; + final String systemC = "http://c"; + var codeSystemsToIgnore = List.of(new String[] {systemA, systemB}); var support = new IgnoreCodeSystemValidationSupport(fhirContext, codeSystemsToIgnore); ValidationSupportChain validationSupportChain = new ValidationSupportChain( new DefaultProfileValidationSupport(fhirContext) ); - Assertions.assertFalse(support.isCodeSystemSupported(new ValidationSupportContext(validationSupportChain),"http://c")); - var result = support.validateCode(new ValidationSupportContext(validationSupportChain), new ConceptValidationOptions(),"http://c","someCode","display","http://valueset.url"); + ValidationSupportContext context = new ValidationSupportContext(validationSupportChain); + + Assertions.assertFalse(support.isCodeSystemSupported(context, systemC)); + + var result = support.validateCode(context, new ConceptValidationOptions(), systemC,"someCode","display","http://valueset.url"); Assertions.assertNull(result); + + Assertions.assertNull(support.lookupCode(context, systemC, "c-code", "en-US"), "Code lookup for a code of a not registered system is successful while it shouldn't be"); } @Test void testEmptyCodeSystemsAreNotAllowed() { - FhirContext fhirContext = FhirContext.forR4(); var codeSystemsToIgnore = new LinkedList<String>(); codeSystemsToIgnore.add("http://a"); codeSystemsToIgnore.add(null); diff --git a/commons/src/test/java/de/gematik/refv/commons/validation/SeverityLevelTransformatorTests.java b/commons/src/test/java/de/gematik/refv/commons/validation/SeverityLevelTransformatorTests.java index 92d4d92..6b4c83e 100644 --- a/commons/src/test/java/de/gematik/refv/commons/validation/SeverityLevelTransformatorTests.java +++ b/commons/src/test/java/de/gematik/refv/commons/validation/SeverityLevelTransformatorTests.java @@ -151,7 +151,7 @@ void testNotFoundValueSetsRuleWorks() { void testCodeSystemIsIgnoredRuleWorks() { var m1 = new SingleValidationMessage(); m1.setSeverity(ResultSeverityEnum.ERROR); - m1.setMessage("Code system has been ignored due to module configuration"); + m1.setMessage("Code system definition is missing"); m1.setMessageId(I18nConstants.TERMINOLOGY_PASSTHROUGH_TX_MESSAGE); var inputMessages = List.of(m1); diff --git a/core/pom.xml b/core/pom.xml index 682bea5..f25fdc8 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -5,7 +5,7 @@ <parent> <artifactId>referencevalidator</artifactId> <groupId>de.gematik.refv</groupId> - <version>0.5.0</version> + <version>0.6.0</version> </parent> <modelVersion>4.0.0</modelVersion> @@ -47,6 +47,11 @@ <artifactId>valmodule-isik1</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <groupId>de.gematik.refv.valmodule</groupId> + <artifactId>valmodule-diga</artifactId> + <version>${project.version}</version> + </dependency> </dependencies> </project> \ No newline at end of file diff --git a/core/src/main/java/de/gematik/refv/SupportedValidationModule.java b/core/src/main/java/de/gematik/refv/SupportedValidationModule.java index 1249f85..b44804c 100644 --- a/core/src/main/java/de/gematik/refv/SupportedValidationModule.java +++ b/core/src/main/java/de/gematik/refv/SupportedValidationModule.java @@ -26,7 +26,8 @@ public enum SupportedValidationModule { EAU("eau"), ISIP1("isip1"), ISIK2("isik2"), - ISIK1("isik1"); + ISIK1("isik1"), + DIGA("diga"); private final String name; diff --git a/pom.xml b/pom.xml index 897c3a9..668b764 100644 --- a/pom.xml +++ b/pom.xml @@ -10,12 +10,13 @@ <module>valmodule-isip1</module> <module>valmodule-isik2</module> <module>valmodule-isik1</module> + <module>valmodule-diga</module> </modules> <groupId>de.gematik.refv</groupId> <artifactId>referencevalidator</artifactId> <packaging>pom</packaging> - <version>0.5.0</version> + <version>0.6.0</version> <name>gematik Referenzvalidator</name> <description>Der Referenzvalidator ermöglicht eine erweiterte Validierung von FHIR-Ressourcen, die in den Anwendungen der Telematikinfrastruktur (TI) verwendet werden. Der Referenzvalidator liefert autoritative Antworten zur Validität von übertragenen Datensätzen und ist somit eine Referenz für eventuell sonst im Rahmen einer TI-Anwendung eingesetzte FHIR-Validatoren.</description> <url>https://github.com/gematik/app-referencevalidator</url> diff --git a/supported-profiles.md b/supported-profiles.md index 88dd6d5..f21ceae 100644 --- a/supported-profiles.md +++ b/supported-profiles.md @@ -50,20 +50,21 @@ * kbv.ita.for-1.1.0.tgz * kbv.ita.erp-1.0.1.tgz * kbv.ita.erp-1.0.2.tgz -* kbv.ita.erp-1.1.0.tgz -* de.gematik.erezept-workflow.r4-1.0.3-1.tgz -* de.gematik.erezept-workflow.r4-1.1.1.tgz -* de.gematik.erezept-workflow.r4-1.2.0.tgz -* de.gematik.erezept-patientenrechnung.r4-1.0.0.tgz +* kbv.ita.erp-1.1.1.tgz +* de.abda.erezeptabgabedaten-1.0.3.tgz +* de.abda.erezeptabgabedaten-1.1.2.tgz +* de.abda.erezeptabgabedaten-1.2.0.tgz +* de.abda.erezeptabgabedaten-1.3.1.tgz * de.abda.erezeptabgabedatenbasis-1.1.0.tgz * de.abda.erezeptabgabedatenbasis-1.1.3.tgz * de.abda.erezeptabgabedatenbasis-1.2.0.tgz * de.abda.erezeptabgabedatenbasis-1.3.0.tgz -* de.abda.erezeptabgabedaten-1.0.3.tgz -* de.abda.erezeptabgabedaten-1.1.2.tgz -* de.abda.erezeptabgabedaten-1.2.0.tgz -* de.abda.erezeptabgabedaten-1.3.0.tgz -* de.abda.erezeptabgabedatenpkv-1.1.0.tgz +* de.abda.erezeptabgabedatenbasis-1.3.1.tgz +* de.abda.erezeptabgabedatenpkv-1.2.0.tgz +* de.gematik.erezept-patientenrechnung.r4-1.0.1.tgz +* de.gematik.erezept-workflow.r4-1.0.3-1.tgz +* de.gematik.erezept-workflow.r4-1.1.1.tgz +* de.gematik.erezept-workflow.r4-1.2.1.tgz * de.gkvsv.erezeptabrechnungsdaten-1.0.4.tgz * de.gkvsv.erezeptabrechnungsdaten-1.0.5.tgz * de.gkvsv.erezeptabrechnungsdaten-1.0.6.tgz @@ -103,26 +104,68 @@ * 1.2 * http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-AbgabedatenBundle + * 1.1.0 + + * 1.2 + * 1.3 + * 1.3.1 + * http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-AbgabedatenComposition + * 1.1.0 + + * 1.2 + * 1.3 + * 1.3.1 + * http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abgabeinformationen + * 1.1.0 + + * 1.2 + * 1.3 + * 1.3.1 + * http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abrechnungszeilen + * 1.1.0 + + * 1.2 + * 1.3 + * 1.3.1 + * http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Apotheke + * 1.1.0 + + * 1.2 + * 1.3 + * 1.3.1 + * http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenEinheit + * 1.1.0 + + * 1.2 + * 1.3 + * 1.3.1 + * http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenHerstellung + * 1.1.0 + + * 1.2 + * 1.3 + * 1.3.1 + * http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-AbgabedatenBundle * 1.0.3 @@ -711,4 +754,145 @@ * 1.0.9 * https://gematik.de/fhir/ISiK/StructureDefinition/ISiKVersicherungsverhaeltnisSelbstzahler - * 1.0.9 \ No newline at end of file + * 1.0.9 + +## DIGA-Toolkit + +### Anpassungen der Packages: +- Alle Packages enthalten Snapshots + +### Packages + +* kbv.mio.diga-1.0.0-festlegung.tgz + + +### Profile + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_AllergyIntolerance_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Appointment_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Bundle + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_CarePlan_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Composition + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Condition_Problem_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_DIGA + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Encounter_Past_Appointment + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Goal_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Medication_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Assessment_Scale + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Blood_Pressure + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Height + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Temperature + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Weight + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Diary_Entry + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Head_Circumference + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Heart_Rate + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Organization + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Organization_Manufacturer + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Practitioner + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_PractitionerRole + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Procedure_Activity_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Provenance + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Questionnaire_Free + * 1.0.0 + +* https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_RelatedPerson + * 1.0.0 \ No newline at end of file diff --git a/valmodule-base/pom.xml b/valmodule-base/pom.xml index 97f5d6e..ecd8466 100644 --- a/valmodule-base/pom.xml +++ b/valmodule-base/pom.xml @@ -5,7 +5,7 @@ <parent> <artifactId>referencevalidator</artifactId> <groupId>de.gematik.refv</groupId> - <version>0.5.0</version> + <version>0.6.0</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/valmodule-diga/pom.xml b/valmodule-diga/pom.xml new file mode 100644 index 0000000..00f291f --- /dev/null +++ b/valmodule-diga/pom.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <parent> + <artifactId>referencevalidator</artifactId> + <groupId>de.gematik.refv</groupId> + <version>0.6.0</version> + </parent> + <modelVersion>4.0.0</modelVersion> + + <groupId>de.gematik.refv.valmodule</groupId> + <artifactId>valmodule-diga</artifactId> + + <properties> + <maven.compiler.source>11</maven.compiler.source> + <maven.compiler.target>11</maven.compiler.target> + </properties> + + <dependencies> + <dependency> + <groupId>de.gematik.refv.commons</groupId> + <artifactId>commons</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>de.gematik.refv</groupId> + <artifactId>valmodule-base</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>de.gematik.refv</groupId> + <artifactId>valmodule-base</artifactId> + <version>${project.version}</version> + <type>test-jar</type> + <scope>test</scope> + </dependency> + </dependencies> + +</project> \ No newline at end of file diff --git a/valmodule-diga/src/main/resources/diga-packages.yaml b/valmodule-diga/src/main/resources/diga-packages.yaml new file mode 100644 index 0000000..1f05240 --- /dev/null +++ b/valmodule-diga/src/main/resources/diga-packages.yaml @@ -0,0 +1,345 @@ +errorOnUnknownProfile: "true" +anyExtensionsAllowed: "false" + +fhirPackages: + kbv.mio.diga: + packageVersions: + 1.0.0-festlegung: + filename: "kbv.mio.diga-1.0.0-festlegung.tgz" + dependencies: + - packageName: "kbv.basis" + packageVersion: "1.2.1" + - packageName: "de.basisprofil.r4" + packageVersion: "0.9.13" + - packageName: "dav.kbv.sfhir.cs.vs" + packageVersion: "1.0.3" + + # https://simplifier.net/Basisprofil-DE-R4/~packages + de.basisprofil.r4: + packageVersions: + 0.9.13: + filename: "de.basisprofil.r4-0.9.13.tgz" + patches: + - "Extension-seitenlokalisation.json" + + # https://simplifier.net/Base1x0/~packages + kbv.basis: + packageVersions: + 1.2.1: + filename: "kbv.basis-1.2.1.tgz" + dependencies: + - packageName: "de.basisprofil.r4" + packageVersion: "0.9.13" + + dav.kbv.sfhir.cs.vs: + packageVersions: + 1.0.3: + filename: "dav.kbv.sfhir.cs.vs-1.0.3-json.tgz" + +ignoredCodeSystems: + - "http://fhir.de/CodeSystem/ifa/pzn" + - "http://fhir.de/CodeSystem/dimdi/atc" + - "http://hl7.org/fhir/sid/icf-nl" + +supportedProfiles: + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_AllergyIntolerance_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Appointment_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Bundle": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_CarePlan_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Composition": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Condition_Problem_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_DIGA": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Encounter_Past_Appointment": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Goal_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Medication_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Assessment_Scale": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Blood_Pressure": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Height": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Temperature": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Weight": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Diary_Entry": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Head_Circumference": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Heart_Rate": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Organization": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Organization_Manufacturer": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Practitioner": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_PractitionerRole": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Procedure_Activity_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Provenance": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Questionnaire_Free": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + + "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_RelatedPerson": + profileVersions: + 1.0.0: + requiredPackage: + packageName: "kbv.mio.diga" + packageVersion: "1.0.0-festlegung" + diff --git a/valmodule-diga/src/main/resources/package/dav.kbv.sfhir.cs.vs-1.0.3-json.tgz b/valmodule-diga/src/main/resources/package/dav.kbv.sfhir.cs.vs-1.0.3-json.tgz new file mode 100644 index 0000000..87aba00 Binary files /dev/null and b/valmodule-diga/src/main/resources/package/dav.kbv.sfhir.cs.vs-1.0.3-json.tgz differ diff --git a/valmodule-diga/src/main/resources/package/de.basisprofil.r4-0.9.13.tgz b/valmodule-diga/src/main/resources/package/de.basisprofil.r4-0.9.13.tgz new file mode 100644 index 0000000..73ad054 Binary files /dev/null and b/valmodule-diga/src/main/resources/package/de.basisprofil.r4-0.9.13.tgz differ diff --git a/valmodule-diga/src/main/resources/package/kbv.basis-1.2.1.tgz b/valmodule-diga/src/main/resources/package/kbv.basis-1.2.1.tgz new file mode 100644 index 0000000..ffbc8f3 Binary files /dev/null and b/valmodule-diga/src/main/resources/package/kbv.basis-1.2.1.tgz differ diff --git a/valmodule-diga/src/main/resources/package/kbv.mio.diga-1.0.0-festlegung.tgz b/valmodule-diga/src/main/resources/package/kbv.mio.diga-1.0.0-festlegung.tgz new file mode 100644 index 0000000..3aeb3c5 Binary files /dev/null and b/valmodule-diga/src/main/resources/package/kbv.mio.diga-1.0.0-festlegung.tgz differ diff --git a/valmodule-diga/src/main/resources/package/patches/de.basisprofil.r4-0.9.13/Extension-seitenlokalisation.json b/valmodule-diga/src/main/resources/package/patches/de.basisprofil.r4-0.9.13/Extension-seitenlokalisation.json new file mode 100644 index 0000000..9a70c9f --- /dev/null +++ b/valmodule-diga/src/main/resources/package/patches/de.basisprofil.r4-0.9.13/Extension-seitenlokalisation.json @@ -0,0 +1,498 @@ +{ + "resourceType": "StructureDefinition", + "id": "seitenlokalisation", + "url": "http://fhir.de/StructureDefinition/seitenlokalisation", + "version": "0.9.13", + "name": "ExtensionSeitenlokalisation", + "status": "draft", + "date": "2020-04-22", + "publisher": "HL7 Deutschland e.V. (Technisches Komitee FHIR)", + "contact": [ { + "telecom": [ { + "system": "url", + "value": "http://hl7.de/technische-komitees/fhir/" + } ] + } ], + "description": "Dokumentation der Lateralität bei OPS und ICD-10 Codes", + "fhirVersion": "4.0.1", + "mapping": [ { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } ], + "kind": "complex-type", + "abstract": false, + "context": [ { + "type": "element", + "expression": "CodeableConcept.coding" + }, { + "type": "element", + "expression": "Coding" + } ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ { + "id": "Extension", + "extension": [ { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } ], + "path": "Extension", + "short": "Optional Extensions Element", + "definition": "Optional Extension Element - found in all resources.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ "ele-1" ], + "constraint": [ { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } ], + "isModifier": false, + "mapping": [ { + "identity": "rim", + "map": "n/a" + }, { + "identity": "rim", + "map": "N/A" + } ] + }, { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ "xmlAttr" ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ { + "extension": [ { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } ], + "code": "http://hl7.org/fhirpath/System.String" + } ], + "isModifier": false, + "isSummary": false, + "mapping": [ { + "identity": "rim", + "map": "n/a" + } ] + }, { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ { + "type": "value", + "path": "url" + } ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "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": "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": [ "extensions", "user content" ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ { + "code": "Extension" + } ], + "constraint": [ { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } ], + "isModifier": false, + "isSummary": false, + "mapping": [ { + "identity": "rim", + "map": "n/a" + } ] + }, { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ "xmlAttr" ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ { + "extension": [ { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } ], + "code": "http://hl7.org/fhirpath/System.String" + } ], + "fixedUri": "http://fhir.de/StructureDefinition/seitenlokalisation", + "isModifier": false, + "isSummary": false, + "mapping": [ { + "identity": "rim", + "map": "N/A" + } ] + }, { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ { + "code": "Coding" + } ], + "constraint": [ { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } ], + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION" + }, + "mapping": [ { + "identity": "rim", + "map": "N/A" + } ] + }, { + "id": "Extension.value[x].id", + "path": "Extension.value[x].id", + "representation": [ "xmlAttr" ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ { + "extension": [ { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } ], + "code": "http://hl7.org/fhirpath/System.String" + } ], + "isModifier": false, + "isSummary": false, + "mapping": [ { + "identity": "rim", + "map": "n/a" + } ] + }, { + "id": "Extension.value[x].extension", + "path": "Extension.value[x].extension", + "slicing": { + "discriminator": [ { + "type": "value", + "path": "url" + } ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "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": "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": [ "extensions", "user content" ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ { + "code": "Extension" + } ], + "constraint": [ { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } ], + "isModifier": false, + "isSummary": false, + "mapping": [ { + "identity": "rim", + "map": "n/a" + } ] + }, { + "id": "Extension.value[x].system", + "path": "Extension.value[x].system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ { + "code": "uri" + } ], + "constraint": [ { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } ], + "isModifier": false, + "isSummary": true, + "mapping": [ { + "identity": "v2", + "map": "C*E.3" + }, { + "identity": "rim", + "map": "./codeSystem" + }, { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } ] + }, { + "id": "Extension.value[x].version", + "path": "Extension.value[x].version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ { + "code": "string" + } ], + "constraint": [ { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } ], + "isModifier": false, + "isSummary": true, + "mapping": [ { + "identity": "v2", + "map": "C*E.7" + }, { + "identity": "rim", + "map": "./codeSystemVersion" + }, { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } ] + }, { + "id": "Extension.value[x].code", + "path": "Extension.value[x].code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ { + "code": "code" + } ], + "constraint": [ { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } ], + "isModifier": false, + "isSummary": true, + "mapping": [ { + "identity": "v2", + "map": "C*E.1" + }, { + "identity": "rim", + "map": "./code" + }, { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } ] + }, { + "id": "Extension.value[x].display", + "extension": [ { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } ], + "path": "Extension.value[x].display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ { + "code": "string" + } ], + "constraint": [ { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } ], + "isModifier": false, + "isSummary": true, + "mapping": [ { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, { + "identity": "rim", + "map": "CV.displayName" + }, { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } ] + }, { + "id": "Extension.value[x].userSelected", + "path": "Extension.value[x].userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ { + "code": "boolean" + } ], + "constraint": [ { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } ], + "isModifier": false, + "isSummary": true, + "mapping": [ { + "identity": "v2", + "map": "Sometimes implied by being first" + }, { + "identity": "rim", + "map": "CD.codingRationale" + }, { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } ] + } ] + }, + "differential": { + "element": [ { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://fhir.de/StructureDefinition/seitenlokalisation" + }, { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "min": 1, + "type": [ { + "code": "Coding" + } ], + "binding": { + "strength": "required", + "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION" + } + }, { + "id": "Extension.value[x].system", + "path": "Extension.value[x].system", + "min": 1 + }, { + "id": "Extension.value[x].code", + "path": "Extension.value[x].code", + "min": 1 + } ] + } +} diff --git a/valmodule-diga/src/main/resources/package/patches/de.basisprofil.r4-0.9.13/changes.txt b/valmodule-diga/src/main/resources/package/patches/de.basisprofil.r4-0.9.13/changes.txt new file mode 100644 index 0000000..9eeee7f --- /dev/null +++ b/valmodule-diga/src/main/resources/package/patches/de.basisprofil.r4-0.9.13/changes.txt @@ -0,0 +1 @@ +- Extension.seitenlokalisation version changed to 0.9.13 (wrong version 0.9.12 in original package, see https://update.kbv.de/ita-update/DigitaleMuster/Korrektur_HL7_Basis_V0_9_13/) diff --git a/valmodule-diga/src/test/java/de/gematik/refv/valmodule/diga/KBV_MIO_DIGA_IT.java b/valmodule-diga/src/test/java/de/gematik/refv/valmodule/diga/KBV_MIO_DIGA_IT.java new file mode 100644 index 0000000..ac50210 --- /dev/null +++ b/valmodule-diga/src/test/java/de/gematik/refv/valmodule/diga/KBV_MIO_DIGA_IT.java @@ -0,0 +1,25 @@ +package de.gematik.refv.valmodule.diga; + +import de.gematik.refv.valmodule.base.helper.BaseProfileIntegrationTest; +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.DynamicTest; +import org.junit.jupiter.api.TestFactory; +import org.junit.jupiter.api.TestInstance; + +import java.util.stream.Stream; + +@TestInstance(TestInstance.Lifecycle.PER_CLASS) +class KBV_MIO_DIGA_IT extends BaseProfileIntegrationTest { + + private static final String DIR = "KBV_MIO_DIGA"; + + @BeforeAll + void beforeAll() { + super.createValidationModuleNonCachingInstance("diga"); + } + + @TestFactory + Stream<DynamicTest> testValidation() { + return super.testValidationBase(DIR); + } +} diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_AllergyIntolerance_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_AllergyIntolerance_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_AllergyIntolerance_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_AllergyIntolerance_Free-test.xml new file mode 100644 index 0000000..b773008 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_AllergyIntolerance_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_AllergyIntolerance_Free-test.xml @@ -0,0 +1,132 @@ +<AllergyIntolerance xmlns="http://hl7.org/fhir"> + <id value="2c2d3dd8-55f9-4dd2-97d4-79d47f02857b" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_AllergyIntolerance_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:2c2d3dd8-55f9-4dd2-97d4-79d47f02857b" /> + </identifier> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" /> + <version value="4.0.1" /> + <code value="active" /> + <display value="Active"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Aktiv" /> + </extension> + </extension> + </display> + </coding> + </clinicalStatus> + <verificationStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" /> + <version value="4.0.1" /> + <code value="confirmed" /> + <display value="Confirmed"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Bestätigt" /> + </extension> + </extension> + </display> + </coding> + </verificationStatus> + <type value="intolerance"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Unverträglichkeit (nicht immun-vermittelt)" /> + </extension> + </extension> + </type> + <category value="food"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Lebensmittel" /> + </extension> + </extension> + </category> + <criticality value="low"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="NiedrigesRisiko" /> + </extension> + </extension> + </criticality> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="102263004" /> + <display value="Eggs (edible) (substance)" /> + </coding> + </code> + <patient> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </patient> + <onsetAge> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="263659003" /> + <display value="Adolescence (qualifier value)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Jugendlicher (Ab Beginn des 13. bis zum vollendeten 18. Lebensjahres)" /> + </extension> + </extension> + </display> + </coding> + </valueCodeableConcept> + </extension> + </onsetAge> + <recorder> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </recorder> + <reaction> + <manifestation> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="422587007" /> + <display value="Nausea (finding)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Übelkeit" /> + </extension> + </extension> + </display> + </coding> + </manifestation> + <severity value="moderate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="mittel" /> + </extension> + </extension> + </severity> + <exposureRoute> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="26643006" /> + <display value="Oral route (qualifier value)" /> + </coding> + </exposureRoute> + </reaction> +</AllergyIntolerance> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_AllergyIntolerance_Free/valid/1.0.0/KBV_PR_MIO_DIGA_AllergyIntolerance_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_AllergyIntolerance_Free/valid/1.0.0/KBV_PR_MIO_DIGA_AllergyIntolerance_Free-test.xml new file mode 100644 index 0000000..4073f33 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_AllergyIntolerance_Free/valid/1.0.0/KBV_PR_MIO_DIGA_AllergyIntolerance_Free-test.xml @@ -0,0 +1,132 @@ +<AllergyIntolerance xmlns="http://hl7.org/fhir"> + <id value="2c2d3dd8-55f9-4dd2-97d4-79d47f02857b" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_AllergyIntolerance_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:2c2d3dd8-55f9-4dd2-97d4-79d47f02857b" /> + </identifier> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" /> + <version value="4.0.1" /> + <code value="active" /> + <display value="Active"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Aktiv" /> + </extension> + </extension> + </display> + </coding> + </clinicalStatus> + <verificationStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" /> + <version value="4.0.1" /> + <code value="confirmed" /> + <display value="Confirmed"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Bestätigt" /> + </extension> + </extension> + </display> + </coding> + </verificationStatus> + <type value="intolerance"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Unverträglichkeit (nicht immun-vermittelt)" /> + </extension> + </extension> + </type> + <category value="food"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Lebensmittel" /> + </extension> + </extension> + </category> + <criticality value="low"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="NiedrigesRisiko" /> + </extension> + </extension> + </criticality> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="102263004" /> + <display value="Eggs (edible) (substance)" /> + </coding> + </code> + <patient> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </patient> + <onsetAge> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="263659003" /> + <display value="Adolescence (qualifier value)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Jugendlicher (Ab Beginn des 13. bis zum vollendeten 18. Lebensjahres)" /> + </extension> + </extension> + </display> + </coding> + </valueCodeableConcept> + </extension> + </onsetAge> + <recorder> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </recorder> + <reaction> + <manifestation> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="422587007" /> + <display value="Nausea (finding)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Übelkeit" /> + </extension> + </extension> + </display> + </coding> + </manifestation> + <severity value="moderate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="mittel" /> + </extension> + </extension> + </severity> + <exposureRoute> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="26643006" /> + <display value="Oral route (qualifier value)" /> + </coding> + </exposureRoute> + </reaction> +</AllergyIntolerance> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Appointment_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Appointment_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Appointment_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Appointment_Free-test.xml new file mode 100644 index 0000000..2ecc371 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Appointment_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Appointment_Free-test.xml @@ -0,0 +1,43 @@ +<Appointment xmlns="http://hl7.org/fhir"> + <id value="10be6664-6e3c-4b07-bc5b-7d5e716bc12c" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Appointment_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:10be6664-6e3c-4b07-bc5b-7d5e716bc12c" /> + </identifier> + <status value="booked" /> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="284352003" /> + <display value="Obesity diet education (procedure)" /> + </coding> + </reasonCode> + <start value="2021-07-14T09:00:00+01:00" /> + <end value="2021-07-14T10:00:00+01:00" /> + <participant> + <actor> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </actor> + <status value="accepted" /> + </participant> + <participant> + <actor> + <reference value="urn:uuid:82be1643-46fd-416a-9f77-53deb362074b" /> + </actor> + <status value="accepted" /> + </participant> +</Appointment> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Appointment_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Appointment_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Appointment_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Appointment_Free-test.xml new file mode 100644 index 0000000..f4b608f --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Appointment_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Appointment_Free-test.xml @@ -0,0 +1,43 @@ +<Appointment xmlns="http://hl7.org/fhir"> + <id value="10be6664-6e3c-4b07-bc5b-7d5e716bc12c" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Appointment_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:10be6664-6e3c-4b07-bc5b-7d5e716bc12c" /> + </identifier> + <status value="booked" /> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="284352003" /> + <display value="Obesity diet education (procedure)" /> + </coding> + </reasonCode> + <start value="2021-07-14T09:00:00+01:00" /> + <end value="2021-07-14T10:00:00+01:00" /> + <participant> + <actor> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </actor> + <status value="accepted" /> + </participant> + <participant> + <actor> + <reference value="urn:uuid:82be1643-46fd-416a-9f77-53deb362074b" /> + </actor> + <status value="accepted" /> + </participant> +</Appointment> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Bundle/invalid/1.0.0/KBV_PR_MIO_DIGA_Bundle-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Bundle/invalid/1.0.0/KBV_PR_MIO_DIGA_Bundle-test.xml new file mode 100644 index 0000000..34ca65a --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Bundle/invalid/1.0.0/KBV_PR_MIO_DIGA_Bundle-test.xml @@ -0,0 +1,1769 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="264de85e-ebfc-45df-b214-203fdac71ccd" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-11-08T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Bundle|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:264de85e-ebfc-45df-b214-203fdac71ccd" /> + </identifier> + <type value="document" /> + <timestamp value="2021-11-08T13:28:17Z" /> + <entry> + <fullUrl value="urn:uuid:a17df8be-d470-4614-9f89-dcb66f682614" /> + <resource> + <Observation> + <id value="a17df8be-d470-4614-9f89-dcb66f682614" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:a17df8be-d470-4614-9f89-dcb66f682614" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="262285001" /> + <display value="Weight decreased (finding)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + <resource> + <Observation> + <id value="f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="282475008" /> + <display value="Unable to run (finding)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T08:00:00+01:00" /> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:82be1643-46fd-416a-9f77-53deb362074b" /> + <resource> + <Practitioner> + <id value="82be1643-46fd-416a-9f77-53deb362074b" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Practitioner|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:82be1643-46fd-416a-9f77-53deb362074b" /> + </identifier> + <name> + <use value="official" /> + <text value="Emil Diätassistent" /> + <family value="Diätassistent"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Diätassistent" /> + </extension> + </family> + <given value="Emil" /> + </name> + <telecom> + <system value="phone"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Telefonnummer" /> + </extension> + </extension> + </system> + <value value="012378123" /> + </telecom> + <qualification> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="159033005" /> + <display value="Dietitian (occupation)" /> + </coding> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:3be97a7c-d300-4a6f-bea9-23cd00374edf" /> + <resource> + <Procedure> + <id value="3be97a7c-d300-4a6f-bea9-23cd00374edf" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Procedure_Activity_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:3be97a7c-d300-4a6f-bea9-23cd00374edf" /> + </identifier> + <status value="completed" /> + <category> + <coding> + <system value="http://hl7.org/fhir/sid/icf-nl" /> + <code value="d920" /> + <display value="Erholung und Freizeit" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="129006008" /> + <display value="Walking (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <performedPeriod> + <start value="2021-06-20T11:00:00+01:00" /> + <end value="2021-07-20T13:00:00+01:00" /> + </performedPeriod> + <note> + <text value="Bei der Hitze sehr anstrengend" /> + </note> + </Procedure> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + <resource> + <Practitioner> + <id value="05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Practitioner|1.0.0" /> + </meta> + <identifier> + <use value="official" /> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="LANR" /> + <display value="Lifelong physician number" /> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR" /> + <value value="123412312" /> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + </identifier> + <name> + <use value="official" /> + <text value="Dr. med. Michaela Müller" /> + <family value="Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller" /> + </extension> + </family> + <given value="Michaela" /> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC" /> + </extension> + </prefix> + </name> + <telecom> + <system value="email"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Email" /> + </extension> + </extension> + </system> + <value value="michaela@müller.de" /> + </telecom> + <telecom> + <system value="phone"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Telefonnummer" /> + </extension> + </extension> + </system> + <value value="030934913" /> + </telecom> + <address> + <type value="both" /> + <text value="Müllerstraße 2, 10203 Berlin" /> + <line value="Müllerstraße 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Müllerstraße" /> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2" /> + </extension> + </line> + <city value="Berlin" /> + <postalCode value="10203" /> + <country value="D" /> + </address> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BAR2_WBO" /> + <version value="1.16" /> + <code value="010" /> + <display value="FA Allgemeinmedizin" /> + </coding> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + <resource> + <Patient> + <id value="3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient|1.0.0" /> + </meta> + <identifier> + <use value="official" /> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type" /> + <code value="kvk" /> + <display value="Krankenversichertenkarte" /> + </coding> + </type> + <system value="http://fhir.de/NamingSystem/gkv/kvk-versichertennummer" /> + <value value="B987654321" /> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </identifier> + <name> + <use value="official" /> + <text value="Erika Mustermann" /> + <family value="Mustermann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Mustermann" /> + </extension> + </family> + <given value="Erika" /> + </name> + <telecom> + <system value="phone"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Telefonnummer" /> + </extension> + </extension> + </system> + <value value="017909090" /> + </telecom> + <gender value="female" /> + <birthDate value="1980-12-30" /> + <address> + <type value="both" /> + <line value="Musterstraße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstraße" /> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1" /> + </extension> + </line> + <city value="Berlin" /> + <postalCode value="10101" /> + <country value="D" /> + </address> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="de" /> + <display value="German" /> + </coding> + </language> + </communication> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="fi" /> + <display value="Finnish" /> + </coding> + </language> + </communication> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="fr" /> + <display value="French" /> + </coding> + </language> + </communication> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + <resource> + <Organization> + <id value="0ca8a37b-3f17-472a-a680-217006098422" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Organization_Manufacturer|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + </identifier> + <name value="Device Hersteller" /> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:d1e991c6-46ee-4b91-a56d-e40f1c5343cb" /> + <resource> + <Observation> + <id value="d1e991c6-46ee-4b91-a56d-e40f1c5343cb" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:d1e991c6-46ee-4b91-a56d-e40f1c5343cb" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="255620007" /> + <display value="Food (substance)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <hasMember> + <reference value="urn:uuid:fd0c2548-512a-4492-92a8-efc0e086e72b" /> + </hasMember> + <hasMember> + <reference value="urn:uuid:067c0ec9-4fc6-4f5a-87e5-0893c9325b5e" /> + </hasMember> + <hasMember> + <reference value="urn:uuid:213a5629-1dd3-44cb-b829-fbf57a16465f" /> + </hasMember> + <component> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Nutrition_Intake_Taken"> + <extension url="einnahmeErfolgt"> + <extension url="einnahmeErfolgtCode"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229918000" /> + <display value="Food and drink intake (observable entity)" /> + </coding> + </valueCodeableConcept> + </extension> + <extension url="einnahmeErfolgtValue"> + <valueBoolean value="true" /> + </extension> + </extension> + </extension> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="226575004" /> + <display value="Naan bread (substance)" /> + </coding> + </code> + <valueQuantity> + <value value="200" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </component> + <component> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Nutrition_Intake_Taken"> + <extension url="einnahmeErfolgt"> + <extension url="einnahmeErfolgtCode"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229918000" /> + <display value="Food and drink intake (observable entity)" /> + </coding> + </valueCodeableConcept> + </extension> + <extension url="einnahmeErfolgtValue"> + <valueBoolean value="true" /> + </extension> + </extension> + </extension> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="227856006" /> + <display value="Okra curry (substance)" /> + </coding> + </code> + <valueQuantity> + <value value="300" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </component> + <component> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Nutrition_Intake_Taken"> + <extension url="einnahmeErfolgt"> + <extension url="einnahmeErfolgtCode"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229918000" /> + <display value="Food and drink intake (observable entity)" /> + </coding> + </valueCodeableConcept> + </extension> + <extension url="einnahmeErfolgtValue"> + <valueBoolean value="false" /> + </extension> + </extension> + <extension url="begruendungNichtEinnahme"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="422587007" /> + <display value="Nausea (finding)" /> + </coding> + </valueCodeableConcept> + </extension> + </extension> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="67324005" /> + <display value="Rice (substance)" /> + </coding> + </code> + <valueQuantity> + <value value="200" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </component> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:213a5629-1dd3-44cb-b829-fbf57a16465f" /> + <resource> + <Observation> + <id value="213a5629-1dd3-44cb-b829-fbf57a16465f" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:213a5629-1dd3-44cb-b829-fbf57a16465f" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229957008" /> + <display value="Food composition types (substance)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Detail über die Gesamtzusammensetzung" /> + </extension> + </extension> + </display> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="787787004" /> + <display value="Energy intake (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <valueQuantity> + <value value="800" /> + <unit value="kcal" /> + <system value="http://unitsofmeasure.org" /> + <code value="kcal" /> + </valueQuantity> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:067c0ec9-4fc6-4f5a-87e5-0893c9325b5e" /> + <resource> + <Observation> + <id value="067c0ec9-4fc6-4f5a-87e5-0893c9325b5e" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:067c0ec9-4fc6-4f5a-87e5-0893c9325b5e" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229957008" /> + <display value="Food composition types (substance)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Detail über die Gesamtzusammensetzung" /> + </extension> + </extension> + </display> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="788472008" /> + <display value="Carbohydrate intake (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <valueQuantity> + <value value="300" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:fd0c2548-512a-4492-92a8-efc0e086e72b" /> + <resource> + <Observation> + <id value="fd0c2548-512a-4492-92a8-efc0e086e72b" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:fd0c2548-512a-4492-92a8-efc0e086e72b" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229957008" /> + <display value="Food composition types (substance)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Detail über die Gesamtzusammensetzung" /> + </extension> + </extension> + </display> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="874875003" /> + <display value="Protein and protein derivative intake (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <valueQuantity> + <value value="100" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:59c41b9f-ef59-4372-81df-2a79a66934c7" /> + <resource> + <Observation> + <id value="59c41b9f-ef59-4372-81df-2a79a66934c7" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Heart_Rate|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:59c41b9f-ef59-4372-81df-2a79a66934c7" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category" /> + <code value="vital-signs" /> + </coding> + </category> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="8867-4" /> + <display value="Heart rate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Herzfrequenz" /> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="364075005" /> + <display value="Heart rate (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Herzfrequenz (Herzfrequenz)" /> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T12:00:00+01:00" /> + <valueQuantity> + <value value="120" /> + <unit value="per minute" /> + <system value="http://unitsofmeasure.org" /> + <code value="/min" /> + </valueQuantity> + <device> + <reference value="urn:uuid:310abf1c-8f61-4a9e-ab27-2697c0947a2e" /> + </device> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:8084a8ca-d11e-42eb-a97a-7164d0df9224" /> + <resource> + <Observation> + <id value="8084a8ca-d11e-42eb-a97a-7164d0df9224" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:8084a8ca-d11e-42eb-a97a-7164d0df9224" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://hl7.org/fhir/sid/icf-nl" /> + <code value="b730-b749" /> + <display value="Funktionen der Muskeln" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="282462008" /> + <display value="Ability to run (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T12:00:00+01:00" /> + <hasMember> + <reference value="urn:uuid:f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + </hasMember> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:7c119101-1b7e-4a09-ba82-ad88d801ea38" /> + <resource> + <Observation> + <id value="7c119101-1b7e-4a09-ba82-ad88d801ea38" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Weight|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:7c119101-1b7e-4a09-ba82-ad88d801ea38" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category" /> + <code value="vital-signs" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="363808001" /> + <display value="Measured body weight (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Koerpergewicht (Körpergewicht)" /> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="29463-7" /> + <display value="Body weight"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Körpergewicht" /> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T12:00:00+01:00" /> + <valueQuantity> + <value value="105" /> + <unit value="kg" /> + <system value="http://unitsofmeasure.org" /> + <code value="kg" /> + </valueQuantity> + <bodySite> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20210731" /> + <code value="38266002" /> + <display value="Entire body as a whole (body structure)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Gesamtkörper" /> + </extension> + </extension> + </display> + </coding> + </bodySite> + <device> + <reference value="urn:uuid:8307c06b-63f4-48b5-8e62-cf2669324782" /> + </device> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:95ae8353-6805-4a81-a921-30a41ef68fc9" /> + <resource> + <Observation> + <id value="95ae8353-6805-4a81-a921-30a41ef68fc9" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Weight|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:95ae8353-6805-4a81-a921-30a41ef68fc9" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category" /> + <code value="vital-signs" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="784399000" /> + <display value="Self reported body weight (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Koerpergewicht (Körpergewicht)" /> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="29463-7" /> + <display value="Body weight"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Körpergewicht" /> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-13T00:00:00+01:00" /> + <valueQuantity> + <value value="110" /> + <unit value="kg" /> + <system value="http://unitsofmeasure.org" /> + <code value="kg" /> + </valueQuantity> + <bodySite> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20210731" /> + <code value="38266002" /> + <display value="Entire body as a whole (body structure)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Gesamtkörper" /> + </extension> + </extension> + </display> + </coding> + </bodySite> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + <resource> + <Goal> + <id value="88ca7045-0959-46f1-9a08-5d043ebead38" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Goal_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </identifier> + <lifecycleStatus value="planned"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Geplant" /> + </extension> + </extension> + </lifecycleStatus> + <description> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="1055210001" /> + <display value="Target parameter (observable entity)" /> + </coding> + </description> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <startDate value="2021-06-01" /> + <target> + <measure> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="27113001" /> + <display value="Body weight (observable entity)" /> + </coding> + </measure> + <detailQuantity> + <value value="-10.0" /> + <unit value="kg" /> + <system value="http://unitsofmeasure.org" /> + <code value="kg" /> + </detailQuantity> + <dueDate value="2021-08-15" /> + </target> + <outcomeReference> + <reference value="urn:uuid:a17df8be-d470-4614-9f89-dcb66f682614" /> + </outcomeReference> + </Goal> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:310abf1c-8f61-4a9e-ab27-2697c0947a2e" /> + <resource> + <Device> + <id value="310abf1c-8f61-4a9e-ab27-2697c0947a2e" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:310abf1c-8f61-4a9e-ab27-2697c0947a2e" /> + </identifier> + <definition> + <reference value="urn:uuid:82269e10-8a13-4c08-9cf9-fff7698cf1d3" /> + </definition> + <udiCarrier> + <deviceIdentifier value="54321543214L" /> + </udiCarrier> + <serialNumber value="54321" /> + <deviceName> + <name value="Fitnessuhr" /> + <type value="user-friendly-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Benutzerfreundlicher Name" /> + </extension> + </extension> + </type> + </deviceName> + <modelNumber value="54321" /> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="702527008" /> + <display value="Cardiovascular monitor (physical object)" /> + </coding> + </type> + <version> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="701834004" /> + <display value="Single-patient physiologic monitoring system application software (physical object)" /> + </coding> + </type> + <value value="5.3" /> + </version> + <patient> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </patient> + </Device> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:8307c06b-63f4-48b5-8e62-cf2669324782" /> + <resource> + <Device> + <id value="8307c06b-63f4-48b5-8e62-cf2669324782" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:8307c06b-63f4-48b5-8e62-cf2669324782" /> + </identifier> + <definition> + <reference value="urn:uuid:9515f3bb-8e84-45e5-b28a-220021ceba91" /> + </definition> + <udiCarrier> + <deviceIdentifier value="1234512345YR" /> + </udiCarrier> + <serialNumber value="12345" /> + <deviceName> + <name value="Körperwaage" /> + <type value="user-friendly-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Benutzerfreundlicher Name" /> + </extension> + </extension> + </type> + </deviceName> + <modelNumber value="12345" /> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="19892000" /> + <display value="Scale, device (physical object)" /> + </coding> + </type> + <version> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="464644004" /> + <display value="Scale application software (physical object)" /> + </coding> + </type> + <value value="4.01" /> + </version> + <patient> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </patient> + </Device> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:ec4e110f-8cbf-42c9-aaad-562f5e8d0f87" /> + <resource> + <Device> + <id value="ec4e110f-8cbf-42c9-aaad-562f5e8d0f87" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_DIGA|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:ec4e110f-8cbf-42c9-aaad-562f5e8d0f87" /> + </identifier> + <definition> + <reference value="urn:uuid:cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + </definition> + <deviceName> + <name value="DiGA 2" /> + <type value="model-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Modellname" /> + </extension> + </extension> + </type> + </deviceName> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn" /> + <code value="12345678" /> + </coding> + </type> + </Device> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:82269e10-8a13-4c08-9cf9-fff7698cf1d3" /> + <resource> + <DeviceDefinition> + <id value="82269e10-8a13-4c08-9cf9-fff7698cf1d3" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:82269e10-8a13-4c08-9cf9-fff7698cf1d3" /> + </identifier> + <manufacturerReference> + <reference value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + </manufacturerReference> + <deviceName> + <name value="Fitnessuhr" /> + <type value="user-friendly-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Benutzerfreundlicher Name" /> + </extension> + </extension> + </type> + </deviceName> + <modelNumber value="54321" /> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="49062001" /> + <display value="Device (physical object)" /> + </coding> + </type> + </DeviceDefinition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:9515f3bb-8e84-45e5-b28a-220021ceba91" /> + <resource> + <DeviceDefinition> + <id value="9515f3bb-8e84-45e5-b28a-220021ceba91" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:9515f3bb-8e84-45e5-b28a-220021ceba91" /> + </identifier> + <manufacturerReference> + <reference value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + </manufacturerReference> + <deviceName> + <name value="Körperwaage" /> + <type value="user-friendly-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Benutzerfreundlicher Name" /> + </extension> + </extension> + </type> + </deviceName> + <modelNumber value="12345" /> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="49062001" /> + <display value="Device (physical object)" /> + </coding> + </type> + </DeviceDefinition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + <resource> + <DeviceDefinition> + <id value="cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + </identifier> + <deviceName> + <name value="DiGA 2" /> + <type value="model-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Modellname" /> + </extension> + </extension> + </type> + </deviceName> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="706689003" /> + <display value="Application program software (physical object)" /> + </coding> + </type> + </DeviceDefinition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:a515d43d-8324-44e9-ab26-b9dd8b5ef213" /> + <resource> + <Condition> + <id value="a515d43d-8324-44e9-ab26-b9dd8b5ef213" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Condition_Problem_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:a515d43d-8324-44e9-ab26-b9dd8b5ef213" /> + </identifier> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" /> + <version value="4.0.1" /> + <code value="resolved" /> + <display value="Resolved"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Behoben" /> + </extension> + </extension> + </display> + </coding> + </clinicalStatus> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="409586006" /> + <display value="Complaint (finding)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Beschwerde" /> + </extension> + </extension> + </display> + </coding> + </category> + <severity> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="6736007" /> + <display value="Moderate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="mittel" /> + </extension> + </extension> + </display> + </coding> + </severity> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="422587007" /> + <display value="Nausea (finding)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <onsetDateTime value="2021-06-20T14:05:00+01:00" /> + <abatementDateTime value="2021-06-20T14:05:00+01:00" /> + <recorder> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </recorder> + </Condition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:b269f88d-3013-45f1-a9da-62126cd42d04" /> + <resource> + <CarePlan> + <id value="b269f88d-3013-45f1-a9da-62126cd42d04" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_CarePlan_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:b269f88d-3013-45f1-a9da-62126cd42d04" /> + </identifier> + <status value="active"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Aktiv" /> + </extension> + </extension> + </status> + <intent value="plan"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Plan" /> + </extension> + </extension> + </intent> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <goal> + <reference value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </goal> + <activity> + <detail> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="308931006" /> + <display value="Walking practice (regime/therapy)" /> + </coding> + </code> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="414915002" /> + <display value="Obese (finding)" /> + </coding> + </reasonCode> + <goal> + <reference value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </goal> + <status value="in-progress" /> + <doNotPerform value="true" /> + <scheduledPeriod> + <start value="2021-06-01T00:00:00+01:00" /> + <end value="2021-08-15T00:00:00+01:00" /> + </scheduledPeriod> + <quantity> + <value value="6" /> + <unit value="km/d" /> + <system value="http://unitsofmeasure.org" /> + <code value="km/d" /> + </quantity> + </detail> + </activity> + <note> + <text value="Der Patient sollte 6km pro Tag laufen um gesund abzunehmen." /> + </note> + </CarePlan> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:10be6664-6e3c-4b07-bc5b-7d5e716bc12c" /> + <resource> + <Appointment> + <id value="10be6664-6e3c-4b07-bc5b-7d5e716bc12c" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Appointment_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:10be6664-6e3c-4b07-bc5b-7d5e716bc12c" /> + </identifier> + <status value="booked" /> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="284352003" /> + <display value="Obesity diet education (procedure)" /> + </coding> + </reasonCode> + <start value="2021-07-14T09:00:00+01:00" /> + <end value="2021-07-14T10:00:00+01:00" /> + <participant> + <actor> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </actor> + <status value="accepted" /> + </participant> + <participant> + <actor> + <reference value="urn:uuid:82be1643-46fd-416a-9f77-53deb362074b" /> + </actor> + <status value="accepted" /> + </participant> + </Appointment> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:2c2d3dd8-55f9-4dd2-97d4-79d47f02857b" /> + <resource> + <AllergyIntolerance> + <id value="2c2d3dd8-55f9-4dd2-97d4-79d47f02857b" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_AllergyIntolerance_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:2c2d3dd8-55f9-4dd2-97d4-79d47f02857b" /> + </identifier> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" /> + <version value="4.0.1" /> + <code value="active" /> + <display value="Active"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Aktiv" /> + </extension> + </extension> + </display> + </coding> + </clinicalStatus> + <verificationStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" /> + <version value="4.0.1" /> + <code value="confirmed" /> + <display value="Confirmed"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Bestätigt" /> + </extension> + </extension> + </display> + </coding> + </verificationStatus> + <type value="intolerance"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Unverträglichkeit (nicht immun-vermittelt)" /> + </extension> + </extension> + </type> + <category value="food"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Lebensmittel" /> + </extension> + </extension> + </category> + <criticality value="low"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="NiedrigesRisiko" /> + </extension> + </extension> + </criticality> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="102263004" /> + <display value="Eggs (edible) (substance)" /> + </coding> + </code> + <patient> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </patient> + <onsetAge> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="263659003" /> + <display value="Adolescence (qualifier value)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Jugendlicher (Ab Beginn des 13. bis zum vollendeten 18. Lebensjahres)" /> + </extension> + </extension> + </display> + </coding> + </valueCodeableConcept> + </extension> + </onsetAge> + <recorder> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </recorder> + <reaction> + <manifestation> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="422587007" /> + <display value="Nausea (finding)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Übelkeit" /> + </extension> + </extension> + </display> + </coding> + </manifestation> + <severity value="moderate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="mittel" /> + </extension> + </extension> + </severity> + <exposureRoute> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="26643006" /> + <display value="Oral route (qualifier value)" /> + </coding> + </exposureRoute> + </reaction> + </AllergyIntolerance> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Bundle/valid/1.0.0/01.03.2023 - User 623 Oviva SAR Test Takeout.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Bundle/valid/1.0.0/01.03.2023 - User 623 Oviva SAR Test Takeout.xml new file mode 100644 index 0000000..11cf730 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Bundle/valid/1.0.0/01.03.2023 - User 623 Oviva SAR Test Takeout.xml @@ -0,0 +1,823 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="7b176945-c341-4117-b8b5-e7a387dbc88c"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:44:24.313+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Bundle|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:7b176945-c341-4117-b8b5-e7a387dbc88c"/> + </identifier> + <type value="document"/> + <timestamp value="2023-03-01T15:44:24.313+00:00"/> + <entry> + <fullUrl value="urn:uuid:539dbf21-27dc-4913-9b07-f260922a0e1d"/> + <resource> + <Composition xmlns="http://hl7.org/fhir"> + <id value="539dbf21-27dc-4913-9b07-f260922a0e1d"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:44:24.313+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Composition|1.0.0"/> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Betrachtungszeitraum"> + <valuePeriod> + <start value="2023-03-01T15:32:58+00:00"/> + <end value="2023-03-01T15:44:24+00:00"/> + </valuePeriod> + </extension> + <status value="final"/> + <type> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="53576-5"/> + <display value="Personal health monitoring report Document"/> + </coding> + </type> + <subject> + <reference value="Patient/3071accc-8240-4b87-8118-9128c9c783cb"/> + </subject> + <date value="2023-03-01T15:44:24+00:00"/> + <author> + <reference value="Device/c61470b0-e65b-410b-a858-52ee1f6fd69b"/> + </author> + <title value="DiGA-Export"/> + <section> + <title value="Befunde und Ergebnisse"/> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="423100009"/> + <display value="Results section (record artifact)"/> + </coding> + </code> + <entry> + <reference value="Observation/6627a226-3fa2-44d0-9f01-2c89810ff33d"/> + </entry> + <entry> + <reference value="Observation/c19bc648-26c3-41ef-8e96-d3a92feaf0b1"/> + </entry> + <section> + <title value="Vitalzeichen und Körpermaße"/> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="8716-3"/> + <display value="Vital signs"/> + </coding> + </code> + <entry> + <reference value="Observation/75f306e9-2529-4a5f-aa35-452917b35fac"/> + </entry> + <entry> + <reference value="Observation/d7d5da28-ccd3-423d-b961-f032c17309ba"/> + </entry> + <entry> + <reference value="Observation/9fbb10e8-941f-40a2-8678-0f6377aa610c"/> + </entry> + </section> + </section> + <section> + <title value="Aktivitäten"/> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="257733005"/> + <display value="Activity (observable entity)"/> + </coding> + </code> + <entry> + <reference value="Procedure/90183677-068f-4d71-a6ca-f53ff01224b0"/> + </entry> + </section> + <section> + <title value="Nahrung"/> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="895547009"/> + <display value="Enteral nutrition intake (observable entity)"/> + </coding> + </code> + <entry> + <reference value="Observation/82f88103-45a0-45ec-b02d-0fe6eed262cc"/> + </entry> + </section> + <section> + <title value="Beurteilungen"/> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="424836000"/> + <display value="Assessment section (record artifact)"/> + </coding> + </code> + <entry> + <reference value="Observation/0bb75740-165e-4501-8264-81fae14244e0"/> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:3b1ebbe9-6f62-443a-8f77-a6cb931f2068"/> + <resource> + <DeviceDefinition xmlns="http://hl7.org/fhir"> + <id value="3b1ebbe9-6f62-443a-8f77-a6cb931f2068"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:44:24.313+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:3b1ebbe9-6f62-443a-8f77-a6cb931f2068"/> + </identifier> + <deviceName> + <name value="Oviva Direkt IT"/> + <type value="manufacturer-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Oviva Direkt IT"/> + </extension> + </extension> + </type> + </deviceName> + <type> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="706689003"/> + <display value="Application program software (physical object)"/> + </coding> + </type> + </DeviceDefinition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:c61470b0-e65b-410b-a858-52ee1f6fd69b"/> + <resource> + <Device xmlns="http://hl7.org/fhir"> + <id value="c61470b0-e65b-410b-a858-52ee1f6fd69b"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:44:24.313+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_DIGA|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:c61470b0-e65b-410b-a858-52ee1f6fd69b"/> + </identifier> + <definition> + <reference value="DeviceDefinition/3b1ebbe9-6f62-443a-8f77-a6cb931f2068"/> + </definition> + <deviceName> + <name value="Oviva Direkt IT"/> + <type value="manufacturer-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Oviva Direkt IT"/> + </extension> + </extension> + </type> + </deviceName> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn"/> + <code value="123456789"/> + </coding> + </type> + </Device> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:3071accc-8240-4b87-8118-9128c9c783cb"/> + <resource> + <Patient xmlns="http://hl7.org/fhir"> + <id value="3071accc-8240-4b87-8118-9128c9c783cb"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:44:24.314+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:3071accc-8240-4b87-8118-9128c9c783cb"/> + </identifier> + <name> + <use value="official"/> + <family value="Testen"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Testen"/> + </extension> + </family> + <given value="Andreasen"/> + </name> + <telecom> + <system value="email"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="andreas.huegli+p1@oviva.com"/> + </extension> + </extension> + </system> + <value value="andreas.huegli+p1@oviva.com"/> + </telecom> + <gender value="male"/> + <birthDate value="1999-11-11"/> + <address> + <use value="home"/> + <type value="both"/> + <line value="in non et dolore"/> + <city value="adipisicing Ut"/> + <postalCode value="sit dolor"/> + <country value="GB"/> + </address> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47"/> + <code value="de"/> + <display value="German"/> + </coding> + </language> + </communication> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:90183677-068f-4d71-a6ca-f53ff01224b0"/> + <resource> + <Procedure xmlns="http://hl7.org/fhir"> + <id value="90183677-068f-4d71-a6ca-f53ff01224b0"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:42:49.975+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Procedure_Activity_Free|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:90183677-068f-4d71-a6ca-f53ff01224b0"/> + </identifier> + <status value="completed"/> + <code> + <text value="Running"/> + </code> + <subject> + <reference value="Patient/3071accc-8240-4b87-8118-9128c9c783cb"/> + </subject> + <performedPeriod> + <start value="2023-03-01T15:42:46+00:00"/> + <end value="2023-03-01T16:52:46+00:00"/> + </performedPeriod> + </Procedure> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:75f306e9-2529-4a5f-aa35-452917b35fac"/> + <resource> + <Observation xmlns="http://hl7.org/fhir"> + <id value="75f306e9-2529-4a5f-aa35-452917b35fac"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:43:20.863+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:75f306e9-2529-4a5f-aa35-452917b35fac"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="15074-8"/> + <display value="Glucose [Moles/volume] in Blood"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Blutzuckerkonzentration"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="434912009"/> + <display value="Blood glucose concentration (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Blutzuckerkonzentration"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="Patient/3071accc-8240-4b87-8118-9128c9c783cb"/> + </subject> + <effectiveDateTime value="2023-03-01T15:43:14+00:00"/> + <valueQuantity> + <value value="5.000000000"/> + <unit value="mmol/L"/> + <system value="http://unitsofmeasure.org"/> + <code value="mmol/L"/> + </valueQuantity> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:82f88103-45a0-45ec-b02d-0fe6eed262cc"/> + <resource> + <Observation xmlns="http://hl7.org/fhir"> + <id value="82f88103-45a0-45ec-b02d-0fe6eed262cc"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:42:31.662+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:82f88103-45a0-45ec-b02d-0fe6eed262cc"/> + </identifier> + <status value="final"/> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="8999-5"/> + <display value="Fluid intake oral Estimated"/> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="251992000"/> + <display value="Fluid intake (observable entity)"/> + </coding> + </code> + <subject> + <reference value="Patient/3071accc-8240-4b87-8118-9128c9c783cb"/> + </subject> + <effectiveDateTime value="2023-03-01T15:42:23+00:00"/> + <component> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Nutrition_Intake_Taken"> + <extension url="einnahmeErfolgt"> + <extension url="einnahmeErfolgtCode"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="229918000"/> + <display value="Food and drink intake (observable entity)"/> + </coding> + </valueCodeableConcept> + </extension> + <extension url="einnahmeErfolgtValue"> + <valueBoolean value="true"/> + </extension> + </extension> + </extension> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="8999-5"/> + <display value="Fluid intake oral Estimated"/> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="251992000"/> + <display value="Fluid intake (observable entity)"/> + </coding> + </code> + <valueQuantity> + <value value="200.0000000"/> + <unit value="mL"/> + <system value="http://unitsofmeasure.org"/> + <code value="mL"/> + </valueQuantity> + </component> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:6627a226-3fa2-44d0-9f01-2c89810ff33d"/> + <resource> + <Observation xmlns="http://hl7.org/fhir"> + <id value="6627a226-3fa2-44d0-9f01-2c89810ff33d"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:42:41.509+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:6627a226-3fa2-44d0-9f01-2c89810ff33d"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="social-history"/> + </coding> + </category> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="80296-7"/> + <display value="Patient Mood"/> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="1155968006"/> + <display value="Mood (observable entity)"/> + </coding> + </code> + <subject> + <reference value="Patient/3071accc-8240-4b87-8118-9128c9c783cb"/> + </subject> + <effectiveDateTime value="2023-03-01T15:42:36+00:00"/> + <valueString value="Bad"/> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:d7d5da28-ccd3-423d-b961-f032c17309ba"/> + <resource> + <Observation xmlns="http://hl7.org/fhir"> + <id value="d7d5da28-ccd3-423d-b961-f032c17309ba"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:42:14.049+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Weight|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:d7d5da28-ccd3-423d-b961-f032c17309ba"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="29463-7"/> + <display value="Body weight"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Körpergewicht"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="27113001"/> + <display value="Body weight (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Körpergewicht"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="Patient/3071accc-8240-4b87-8118-9128c9c783cb"/> + </subject> + <effectiveDateTime value="2023-03-01T15:42:13+00:00"/> + <valueQuantity> + <value value="80.00000000"/> + <unit value="kg"/> + <system value="http://unitsofmeasure.org"/> + <code value="kg"/> + </valueQuantity> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:c19bc648-26c3-41ef-8e96-d3a92feaf0b1"/> + <resource> + <Observation xmlns="http://hl7.org/fhir"> + <id value="c19bc648-26c3-41ef-8e96-d3a92feaf0b1"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:44:12.114+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:c19bc648-26c3-41ef-8e96-d3a92feaf0b1"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="56117-5"/> + <display value="Waist Circumference by WHI"/> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="276361009"/> + <display value="Waist circumference (observable entity)"/> + </coding> + </code> + <subject> + <reference value="Patient/3071accc-8240-4b87-8118-9128c9c783cb"/> + </subject> + <effectiveDateTime value="2023-03-01T15:44:12+00:00"/> + <valueQuantity> + <value value="99.00000000"/> + <unit value="cm"/> + <system value="http://unitsofmeasure.org"/> + <code value="cm"/> + </valueQuantity> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:0bb75740-165e-4501-8264-81fae14244e0"/> + <resource> + <Observation xmlns="http://hl7.org/fhir"> + <id value="0bb75740-165e-4501-8264-81fae14244e0"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:44:17.966+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:0bb75740-165e-4501-8264-81fae14244e0"/> + </identifier> + <status value="final"/> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="443172007"/> + <display value="Bristol stool form score (observable entity)"/> + </coding> + </code> + <subject> + <reference value="Patient/3071accc-8240-4b87-8118-9128c9c783cb"/> + </subject> + <effectiveDateTime value="2023-03-01T15:44:17+00:00"/> + <valueQuantity> + <value value="2.000000000"/> + <unit value="{score}"/> + <system value="http://unitsofmeasure.org"/> + <code value="{score}"/> + </valueQuantity> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:9fbb10e8-941f-40a2-8678-0f6377aa610c"/> + <resource> + <Observation xmlns="http://hl7.org/fhir"> + <id value="9fbb10e8-941f-40a2-8678-0f6377aa610c"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:43:28.515+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Blood_Pressure|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:9fbb10e8-941f-40a2-8678-0f6377aa610c"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="85354-9"/> + <display value="Blood pressure panel with all children optional"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Blutdruck"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="75367002"/> + <display value="Blood pressure (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Blutdruck"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="Patient/3071accc-8240-4b87-8118-9128c9c783cb"/> + </subject> + <effectiveDateTime value="2023-03-01T15:43:26+00:00"/> + <component> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="8480-6"/> + <display value="Systolic blood pressure"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="systolischer Blutdruck"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="271649006"/> + <display value="Systolic blood pressure (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="systolischer Blutdruck"/> + </extension> + </extension> + </display> + </coding> + </code> + <valueQuantity> + <value value="120.0000000"/> + <unit value="mm Hg"/> + <system value="http://unitsofmeasure.org"/> + <code value="mm[Hg]"/> + </valueQuantity> + </component> + <component> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="8462-4"/> + <display value="Diastolic blood pressure"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="diastolischer Blutdruck"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="271650006"/> + <display value="Diastolic blood pressure (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="diastolischer Blutdruck"/> + </extension> + </extension> + </display> + </coding> + </code> + <valueQuantity> + <value value="80.00000000"/> + <unit value="mm Hg"/> + <system value="http://unitsofmeasure.org"/> + <code value="mm[Hg]"/> + </valueQuantity> + </component> + </Observation> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Bundle/valid/1.0.0/REAL_EXAMPLE_1_KBV_PR_MIO_DIGA_Bundle.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Bundle/valid/1.0.0/REAL_EXAMPLE_1_KBV_PR_MIO_DIGA_Bundle.xml new file mode 100644 index 0000000..aad05e5 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Bundle/valid/1.0.0/REAL_EXAMPLE_1_KBV_PR_MIO_DIGA_Bundle.xml @@ -0,0 +1,1267 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="ec5bf24f-e823-45d6-97c6-14e35ded0ec0" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Bundle|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:ec5bf24f-e823-45d6-97c6-14e35ded0ec0" /> + </identifier> + <type value="document" /> + <timestamp value="2021-08-09T12:30:02Z" /> + <entry> + <fullUrl value="urn:uuid:8e17ccc0-9d1a-11eb-a8b3-0242ac130003" /> + <resource> + <Composition> + <id value="8e17ccc0-9d1a-11eb-a8b3-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Composition|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Betrachtungszeitraum"> + <valuePeriod> + <start value="2021-10-01T13:28:17.239+02:00" /> + <end value="2021-10-27T13:28:17.239+02:00" /> + </valuePeriod> + </extension> + <status value="final" /> + <type> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="53576-5" /> + <display value="Personal health monitoring report Document" /> + </coding> + </type> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <date value="2021-07-20" /> + <author> + <reference value="urn:uuid:7d261218-8678-11eb-8dcd-0242ac130003" /> + </author> + <title value="DiGA-Export" /> + <section> + <title value="Aktivitäten" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="257733005" /> + <display value="Activity (observable entity)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:dca59d88-3179-11ec-8d3d-0242ac130003" /> + </entry> + </section> + <section> + <title value="Lebensstilfaktoren" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="228272008" /> + <display value="Health-related behavior (observable entity)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:dca5939c-3179-11ec-8d3d-0242ac130003" /> + </entry> + </section> + <section> + <title value="Probleme" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="11450-4" /> + <display value="Problem list - Reported" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:d00ab21d-5d9f-4055-9c54-7055aad5bee0" /> + </entry> + </section> + <section> + <title value="Umweltfaktoren" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="102487004" /> + <display value="Environmental risk factor (observable entity)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:a519c7a8-ed18-4bdf-9977-54c15e58ffc1" /> + </entry> + </section> + <section> + <title value="Medikation" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="1003606003" /> + <display value="Medication history section (record artifact)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:326fec3e-37fe-11ec-8d3d-0242ac130003" /> + </entry> + <entry> + <reference value="urn:uuid:519d7a9e-37ff-11ec-8d3d-0242ac130003" /> + </entry> + <entry> + <reference value="urn:uuid:5d0d871a-3800-11ec-8d3d-0242ac130003" /> + </entry> + </section> + <section> + <title value="Patientenberichte" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="408403008" /> + <display value="Patient held record (record artifact)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:dca59162-3179-11ec-8d3d-0242ac130003" /> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:d00ab21d-5d9f-4055-9c54-7055aad5bee0" /> + <resource> + <Condition> + <id value="d00ab21d-5d9f-4055-9c54-7055aad5bee0" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Condition_Problem_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca57bc8-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" /> + <version value="4.0.1" /> + <code value="resolved" /> + <display value="Resolved"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Behoben" /> + </extension> + </extension> + </display> + </coding> + </clinicalStatus> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="409586006" /> + <display value="Complaint (finding)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Beschwerde" /> + </extension> + </extension> + </display> + </coding> + </category> + <severity> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="6736007" /> + <display value="Moderate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="mittel" /> + </extension> + </extension> + </display> + </coding> + </severity> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="267096005" /> + <display value="Frontal headache (finding)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <onsetDateTime value="2021-07-20T08:00:00+01:00" /> + <abatementDateTime value="2021-07-20T09:00:00+01:00" /> + <recorder> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </recorder> + <evidence> + <detail> + <reference value="urn:uuid:c438e5ce-3800-11ec-8d3d-0242ac130003" /> + </detail> + </evidence> + </Condition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:d6f7eb30-36f0-11ec-8d3d-0242ac130003" /> + <resource> + <DeviceDefinition> + <id value="d6f7eb30-36f0-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca57c90-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <deviceName> + <name value="DiGA 1" /> + <type value="model-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Modellname" /> + </extension> + </extension> + </type> + </deviceName> + <type> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown" /> + </extension> + </type> + </DeviceDefinition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:7d261218-8678-11eb-8dcd-0242ac130003" /> + <resource> + <Device> + <id value="7d261218-8678-11eb-8dcd-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_DIGA|1.0.0" /> + </meta> + <identifier> + <value value="1234" /> + </identifier> + <definition> + <reference value="urn:uuid:d6f7eb30-36f0-11ec-8d3d-0242ac130003" /> + </definition> + <deviceName> + <name value="DiGA 1" /> + <type value="model-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Modellname" /> + </extension> + </extension> + </type> + </deviceName> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn" /> + <code value="12345678" /> + </coding> + </type> + </Device> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:519d7a9e-37ff-11ec-8d3d-0242ac130003" /> + <resource> + <MedicationAdministration> + <id value="519d7a9e-37ff-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Reference"> + <valueReference> + <reference value="urn:uuid:326fec3e-37fe-11ec-8d3d-0242ac130003" /> + </valueReference> + </extension> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:519d7a9e-37ff-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="completed" /> + <medicationReference> + <reference value="urn:uuid:7a8e8102-37b7-11ec-8d3d-0242ac130003" /> + </medicationReference> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2020-07-20T20:00:00+01:00" /> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="408381007" /> + <display value="Migraine prophylaxis (procedure)" /> + </coding> + </reasonCode> + <dosage> + <route> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="26643006" /> + <display value="Oral route (qualifier value)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Oral" /> + </extension> + </extension> + </display> + </coding> + </route> + <dose> + <value value="1" /> + <unit value="Tabletten" /> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" /> + <code value="TAB" /> + </dose> + </dosage> + </MedicationAdministration> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:5d0d871a-3800-11ec-8d3d-0242ac130003" /> + <resource> + <MedicationAdministration> + <id value="5d0d871a-3800-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:5d0d871a-3800-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="completed" /> + <medicationReference> + <reference value="urn:uuid:f9bfea10-37fd-11ec-8d3d-0242ac130003" /> + </medicationReference> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2020-07-20T08:30:00+01:00" /> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="735938006" /> + <display value="Acute headache (finding)" /> + </coding> + </reasonCode> + <dosage> + <route> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="26643006" /> + <display value="Oral route (qualifier value)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Oral" /> + </extension> + </extension> + </display> + </coding> + </route> + <dose> + <value value="1" /> + <unit value="Tabletten" /> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" /> + <code value="TAB" /> + </dose> + </dosage> + </MedicationAdministration> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:7a8e8102-37b7-11ec-8d3d-0242ac130003" /> + <resource> + <Medication> + <id value="7a8e8102-37b7-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Medication_Free|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="763158003" /> + <display value="Medicinal product (product)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Fertigarzneimittel" /> + </extension> + </extension> + </display> + </coding> + </valueCodeableConcept> + </extension> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:7a8e8102-37b7-11ec-8d3d-0242ac130003" /> + </identifier> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn" /> + <version value="0.2" /> + <code value="00105928" /> + <display value="AMITRIPTYLIN-neuraxpharm 75 mg Filmtabletten" /> + </coding> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="778301005" /> + <display value="Product containing only amitriptyline in oral dose form (medicinal product form)" /> + </coding> + <coding> + <system value="http://fhir.de/CodeSystem/dimdi/atc" /> + <version value="18.0" /> + <code value="N06AA09" /> + <display value="amitriptyline" /> + </coding> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" /> + <version value="1.08" /> + <code value="TAB" /> + <display value="Tabletten" /> + </coding> + </form> + <amount> + <numerator> + <value value="50" /> + <unit value="Tablet (basic dose form)" /> + <system value="http://snomed.info/sct" /> + <code value="385055001" /> + </numerator> + <denominator> + <value value="1" /> + <unit value="1" /> + <system value="http://unitsofmeasure.org" /> + <code value="1" /> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="372726002" /> + <display value="Amitriptyline (substance)" /> + </coding> + </itemCodeableConcept> + <strength> + <numerator> + <value value="50" /> + <unit value="/mg" /> + <system value="http://unitsofmeasure.org" /> + <code value="/mg" /> + </numerator> + <denominator> + <value value="1" /> + <unit value="Tablet (basic dose form)" /> + <system value="http://snomed.info/sct" /> + <code value="385055001" /> + </denominator> + </strength> + </ingredient> + <batch> + <expirationDate value="2021-12-01" /> + </batch> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:f9bfea10-37fd-11ec-8d3d-0242ac130003" /> + <resource> + <Medication> + <id value="f9bfea10-37fd-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Medication_Free|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="763158003" /> + <display value="Medicinal product (product)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Fertigarzneimittel" /> + </extension> + </extension> + </display> + </coding> + </valueCodeableConcept> + </extension> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:f9bfea10-37fd-11ec-8d3d-0242ac130003" /> + </identifier> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn" /> + <version value="0.2" /> + <code value="10019621" /> + <display value="IBU-Ratiopharm 400mg akut" /> + </coding> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="776287003" /> + <display value="Product containing only ibuprofen (medicinal product)" /> + </coding> + <coding> + <system value="http://fhir.de/CodeSystem/dimdi/atc" /> + <version value="18.0" /> + <code value="M01AE01" /> + <display value="Ibuprofen" /> + </coding> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" /> + <version value="1.08" /> + <code value="TAB" /> + <display value="Tabletten" /> + </coding> + </form> + <amount> + <numerator> + <value value="50" /> + <unit value="Tablet (basic dose form)" /> + <system value="http://snomed.info/sct" /> + <code value="385055001" /> + </numerator> + <denominator> + <value value="1" /> + <unit value="1" /> + <system value="http://unitsofmeasure.org" /> + <code value="1" /> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="372726002" /> + <display value="Amitriptyline (substance)" /> + </coding> + </itemCodeableConcept> + <strength> + <numerator> + <value value="400" /> + <unit value="/mg" /> + <system value="http://unitsofmeasure.org" /> + <code value="/mg" /> + </numerator> + <denominator> + <value value="1" /> + <unit value="Tablet (basic dose form)" /> + <system value="http://snomed.info/sct" /> + <code value="385055001" /> + </denominator> + </strength> + </ingredient> + <batch> + <expirationDate value="2021-12-01" /> + </batch> + </Medication> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:dca59162-3179-11ec-8d3d-0242ac130003" /> + <resource> + <Observation> + <id value="dca59162-3179-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Diary_Entry|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Reference"> + <valueReference> + <reference value="urn:uuid:dca5939c-3179-11ec-8d3d-0242ac130003" /> + </valueReference> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Reference"> + <valueReference> + <reference value="urn:uuid:d00ab21d-5d9f-4055-9c54-7055aad5bee0" /> + </valueReference> + </extension> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca59162-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="51855-5" /> + <display value="Patient Note"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Tagebucheintrag" /> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2021-07-20" /> + <performer> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </performer> + <valueString value="Gestern geraucht und heute mit Kopfschmerzen aufgewacht, sind nach Einnhame von Ibuprofen besser geworden!" /> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:dca5939c-3179-11ec-8d3d-0242ac130003" /> + <resource> + <Observation> + <id value="dca5939c-3179-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca5939c-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229819007" /> + <display value="Tobacco use and exposure (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <hasMember> + <reference value="urn:uuid:e720c2ce-371e-11ec-8d3d-0242ac130003" /> + </hasMember> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:e720c2ce-371e-11ec-8d3d-0242ac130003" /> + <resource> + <Observation> + <id value="e720c2ce-371e-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:e720c2ce-371e-11ec-8d3d-0242ac130003" /> + </identifier> + <partOf> + <reference value="urn:uuid:326fec3e-37fe-11ec-8d3d-0242ac130003" /> + </partOf> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="230056004" /> + <display value="Cigarette consumption (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2021-07-19" /> + <valueQuantity> + <value value="30" /> + <unit value="{cigarettes}" /> + <system value="http://unitsofmeasure.org" /> + <code value="{cigarettes}" /> + </valueQuantity> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:03131548-3802-11ec-8d3d-0242ac130003" /> + <resource> + <Observation> + <id value="03131548-3802-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:03131548-3802-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="40513000" /> + <display value="Atmospheric pressure (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2021-07-19T08:30:00+01:00" /> + <valueQuantity> + <value value="1" /> + <unit value="bar" /> + <system value="http://unitsofmeasure.org" /> + <code value="bar" /> + </valueQuantity> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + <resource> + <Patient> + <id value="dca59b4e-3179-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient|1.0.0" /> + </meta> + <identifier> + <!--GKV --> + <use value="official" /> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type" /> + <code value="kvk" /> + <display value="Krankenversichertenkarte" /> + </coding> + </type> + <system value="http://fhir.de/NamingSystem/gkv/kvk-versichertennummer" /> + <value value="A123456789" /> + </identifier> + <identifier> + <!--uuid --> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <name> + <use value="official" /> + <text value="Max Mustermann" /> + <family value="Mustermann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Mustermann" /> + </extension> + </family> + <given value="Max" /> + </name> + <telecom> + <system value="phone"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Telefonnummer" /> + </extension> + </extension> + </system> + <value value="0171010101" /> + </telecom> + <gender value="other"> + <extension url="http://fhir.de/StructureDefinition/gender-amtlich-de"> + <valueCoding> + <system value="http://fhir.de/CodeSystem/gender-amtlich-de" /> + <code value="D" /> + <display value="Divers" /> + </valueCoding> + </extension> + </gender> + <birthDate value="1990-01-01" /> + <address> + <type value="both" /> + <line value="Musterstraße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstraße" /> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1" /> + </extension> + </line> + <city value="Berlin" /> + <postalCode value="10101" /> + <country value="D" /> + </address> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="de-DE" /> + <display value="German (Germany)" /> + </coding> + </language> + </communication> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="en" /> + <display value="English" /> + </coding> + </language> + </communication> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:dca59d88-3179-11ec-8d3d-0242ac130003" /> + <resource> + <Procedure> + <id value="dca59d88-3179-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Procedure_Activity_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca59d88-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="completed" /> + <category> + <coding> + <system value="http://hl7.org/fhir/sid/icf-nl" /> + <code value="d920" /> + <display value="Erholung und Freizeit" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="10847001" /> + <display value="Running (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <performedPeriod> + <start value="2021-07-20T10:00:00+01:00" /> + <end value="2021-07-20T12:00:00+01:00" /> + </performedPeriod> + <note> + <text value="Laufen macht Spaß!" /> + </note> + </Procedure> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:326fec3e-37fe-11ec-8d3d-0242ac130003" /> + <resource> + <MedicationStatement> + <id value="326fec3e-37fe-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:326fec3e-37fe-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="active"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Aktiv" /> + </extension> + </extension> + </status> + <medicationReference> + <reference value="urn:uuid:7a8e8102-37b7-11ec-8d3d-0242ac130003" /> + </medicationReference> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectivePeriod> + <start value="2020-12-01" /> + <end value="2020-12-01" /> + </effectivePeriod> + <informationSource> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </informationSource> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="37796009" /> + <display value="Migraine (disorder)" /> + </coding> + </reasonCode> + <dosage> + <timing> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="3157002" /> + <display value="Evening (qualifier value)"></display> + </coding> + </code> + </timing> + <doseAndRate> + <doseQuantity> + <value value="1" /> + <unit value="Tabletten" /> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" /> + <code value="TAB" /> + </doseQuantity> + </doseAndRate> + </dosage> + </MedicationStatement> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:c438e5ce-3800-11ec-8d3d-0242ac130003" /> + <resource> + <Observation> + <id value="c438e5ce-3800-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Assessment_Scale|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:c438e5ce-3800-11ec-8d3d-0242ac130003" /> + </identifier> + <partOf> + <reference value="urn:uuid:dca59d88-3179-11ec-8d3d-0242ac130003" /> + </partOf> + <status value="final" /> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="782487009:370132008=30766002" /> + <display value="Assessment score (observable entity):Scale type (attribute)=Quantitative (qualifier value)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Kardinalskala" /> + </extension> + </extension> + </display> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="225908003" /> + <display value="Pain score (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2020-07-20T08:30:00+01:00" /> + <valueQuantity> + <value value="6" /> + <unit value="1" /> + <system value="http://unitsofmeasure.org" /> + <code value="1" /> + </valueQuantity> + <method> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="446661009" /> + <display value="Visual analog scale score (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Visuelle Analogskala" /> + </extension> + </extension> + </display> + </coding> + </method> + <referenceRange> + <low> + <value value="1" /> + </low> + <high> + <value value="10" /> + </high> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="278492000" /> + <display value="Numerical range (qualifier value)" /> + </coding> + </type> + </referenceRange> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:a519c7a8-ed18-4bdf-9977-54c15e58ffc1" /> + <resource> + <Observation> + <id value="a519c7a8-ed18-4bdf-9977-54c15e58ffc1" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:a519c7a8-ed18-4bdf-9977-54c15e58ffc1" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://hl7.org/fhir/sid/icf-nl" /> + <code value="e225" /> + <display value="Klima"></display> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="285400005" /> + <display value="Air pressure (physical force)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <performer> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </performer> + <hasMember> + <reference value="urn:uuid:03131548-3802-11ec-8d3d-0242ac130003" /> + </hasMember> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:b30a1d4b-ea44-4827-be94-a36b533b700d" /> + <resource> + <Observation xmlns="http://hl7.org/fhir"> + <id value="b30a1d4b-ea44-4827-be94-a36b533b700d" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:b30a1d4b-ea44-4827-be94-a36b533b700d" /> + </identifier> + <partOf> + <reference value="urn:uuid:dca59d88-3179-11ec-8d3d-0242ac130003" /> + </partOf> + <status value="final" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="93817-5" /> + <display value="Running distance unspecified time" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectivePeriod> + <start value="2021-07-20T10:00:00+01:00" /> + <end value="2021-07-20T12:00:00+01:00" /> + </effectivePeriod> + <valueQuantity> + <value value="6" /> + <unit value="km" /> + <system value="http://unitsofmeasure.org" /> + <code value="km" /> + </valueQuantity> + </Observation> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Bundle/valid/1.0.0/REAL_EXAMPLE_2_KBV_PR_MIO_DIGA_Bundle.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Bundle/valid/1.0.0/REAL_EXAMPLE_2_KBV_PR_MIO_DIGA_Bundle.xml new file mode 100644 index 0000000..54c05ee --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Bundle/valid/1.0.0/REAL_EXAMPLE_2_KBV_PR_MIO_DIGA_Bundle.xml @@ -0,0 +1,1943 @@ +<Bundle xmlns="http://hl7.org/fhir"> + <id value="264de85e-ebfc-45df-b214-203fdac71ccd" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-11-08T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Bundle|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:264de85e-ebfc-45df-b214-203fdac71ccd" /> + </identifier> + <type value="document" /> + <timestamp value="2021-11-08T13:28:17Z" /> + <entry> + <fullUrl value="urn:uuid:264de85e-ebfc-45df-b214-203fdac71ccd" /> + <resource> + <Composition> + <id value="264de85e-ebfc-45df-b214-203fdac71ccd" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-11-08T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Composition|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Betrachtungszeitraum"> + <valuePeriod> + <start value="2021-10-01T13:28:17.239+02:00" /> + <end value="2021-11-08T13:28:17.239+02:00" /> + </valuePeriod> + </extension> + <status value="final" /> + <type> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="53576-5" /> + <display value="Personal health monitoring report Document" /> + </coding> + </type> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <date value="2021-11-08" /> + <author> + <reference value="urn:uuid:ec4e110f-8cbf-42c9-aaad-562f5e8d0f87" /> + </author> + <title value="DiGA-Export" /> + <section> + <title value="Befunde und Ergebnisse" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="423100009" /> + <display value="Results section (record artifact)" /> + </coding> + </code> + <section> + <title value="Vitalzeichen und Körpermaße" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="8716-3" /> + <display value="Vital signs" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:95ae8353-6805-4a81-a921-30a41ef68fc9" /> + </entry> + <entry> + <reference value="urn:uuid:7c119101-1b7e-4a09-ba82-ad88d801ea38" /> + </entry> + <entry> + <reference value="urn:uuid:59c41b9f-ef59-4372-81df-2a79a66934c7" /> + </entry> + </section> + </section> + <section> + <title value="Aktivitäten" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="257733005" /> + <display value="Activity (observable entity)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:3be97a7c-d300-4a6f-bea9-23cd00374edf" /> + </entry> + </section> + <section> + <title value="Nahrung" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="895547009" /> + <display value="Enteral nutrition intake (observable entity)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:d1e991c6-46ee-4b91-a56d-e40f1c5343cb" /> + </entry> + </section> + <section> + <title value="Probleme" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="11450-4" /> + <display value="Problem list - Reported" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:a515d43d-8324-44e9-ab26-b9dd8b5ef213" /> + </entry> + <entry> + <reference value="urn:uuid:2c2d3dd8-55f9-4dd2-97d4-79d47f02857b" /> + </entry> + </section> + <section> + <title value="Beurteilungen" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="424836000" /> + <display value="Assessment section (record artifact)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:8084a8ca-d11e-42eb-a97a-7164d0df9224" /> + </entry> + </section> + <section> + <title value="Ziele" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="1055210001" /> + <display value="Target parameter (observable entity)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </entry> + <entry> + <reference value="urn:uuid:b269f88d-3013-45f1-a9da-62126cd42d04" /> + </entry> + </section> + <section> + <title value="Termine" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="56446-8" /> + <display value="Appointment summary Document" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:10be6664-6e3c-4b07-bc5b-7d5e716bc12c" /> + </entry> + </section> + <section> + <title value="Kontakte" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="70862002" /> + <display value="Contact person (person)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + </entry> + <entry> + <reference value="urn:uuid:82be1643-46fd-416a-9f77-53deb362074b" /> + </entry> + </section> + </Composition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:a17df8be-d470-4614-9f89-dcb66f682614" /> + <resource> + <Observation> + <id value="a17df8be-d470-4614-9f89-dcb66f682614" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:a17df8be-d470-4614-9f89-dcb66f682614" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="262285001" /> + <display value="Weight decreased (finding)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + <resource> + <Observation> + <id value="f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="282475008" /> + <display value="Unable to run (finding)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T08:00:00+01:00" /> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:82be1643-46fd-416a-9f77-53deb362074b" /> + <resource> + <Practitioner> + <id value="82be1643-46fd-416a-9f77-53deb362074b" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Practitioner|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:82be1643-46fd-416a-9f77-53deb362074b" /> + </identifier> + <name> + <use value="official" /> + <text value="Emil Diätassistent" /> + <family value="Diätassistent"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Diätassistent" /> + </extension> + </family> + <given value="Emil" /> + </name> + <telecom> + <system value="phone"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Telefonnummer" /> + </extension> + </extension> + </system> + <value value="012378123" /> + </telecom> + <qualification> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="159033005" /> + <display value="Dietitian (occupation)" /> + </coding> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:3be97a7c-d300-4a6f-bea9-23cd00374edf" /> + <resource> + <Procedure> + <id value="3be97a7c-d300-4a6f-bea9-23cd00374edf" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Procedure_Activity_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:3be97a7c-d300-4a6f-bea9-23cd00374edf" /> + </identifier> + <status value="completed" /> + <category> + <coding> + <system value="http://hl7.org/fhir/sid/icf-nl" /> + <code value="d920" /> + <display value="Erholung und Freizeit" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="129006008" /> + <display value="Walking (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <performedPeriod> + <start value="2021-06-20T11:00:00+01:00" /> + <end value="2021-07-20T13:00:00+01:00" /> + </performedPeriod> + <note> + <text value="Bei der Hitze sehr anstrengend" /> + </note> + </Procedure> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + <resource> + <Practitioner> + <id value="05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Practitioner|1.0.0" /> + </meta> + <identifier> + <use value="official" /> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="LANR" /> + <display value="Lifelong physician number" /> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR" /> + <value value="123412312" /> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + </identifier> + <name> + <use value="official" /> + <text value="Dr. med. Michaela Müller" /> + <family value="Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller" /> + </extension> + </family> + <given value="Michaela" /> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC" /> + </extension> + </prefix> + </name> + <telecom> + <system value="email"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Email" /> + </extension> + </extension> + </system> + <value value="michaela@müller.de" /> + </telecom> + <telecom> + <system value="phone"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Telefonnummer" /> + </extension> + </extension> + </system> + <value value="030934913" /> + </telecom> + <address> + <type value="both" /> + <text value="Müllerstraße 2, 10203 Berlin" /> + <line value="Müllerstraße 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Müllerstraße" /> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2" /> + </extension> + </line> + <city value="Berlin" /> + <postalCode value="10203" /> + <country value="D" /> + </address> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BAR2_WBO" /> + <version value="1.16" /> + <code value="010" /> + <display value="FA Allgemeinmedizin" /> + </coding> + </code> + </qualification> + </Practitioner> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + <resource> + <Patient> + <id value="3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient|1.0.0" /> + </meta> + <identifier> + <use value="official" /> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type" /> + <code value="kvk" /> + <display value="Krankenversichertenkarte" /> + </coding> + </type> + <system value="http://fhir.de/NamingSystem/gkv/kvk-versichertennummer" /> + <value value="B987654321" /> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </identifier> + <name> + <use value="official" /> + <text value="Erika Mustermann" /> + <family value="Mustermann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Mustermann" /> + </extension> + </family> + <given value="Erika" /> + </name> + <telecom> + <system value="phone"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Telefonnummer" /> + </extension> + </extension> + </system> + <value value="017909090" /> + </telecom> + <gender value="female" /> + <birthDate value="1980-12-30" /> + <address> + <type value="both" /> + <line value="Musterstraße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstraße" /> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1" /> + </extension> + </line> + <city value="Berlin" /> + <postalCode value="10101" /> + <country value="D" /> + </address> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="de" /> + <display value="German" /> + </coding> + </language> + </communication> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="fi" /> + <display value="Finnish" /> + </coding> + </language> + </communication> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="fr" /> + <display value="French" /> + </coding> + </language> + </communication> + </Patient> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + <resource> + <Organization> + <id value="0ca8a37b-3f17-472a-a680-217006098422" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Organization_Manufacturer|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + </identifier> + <name value="Device Hersteller" /> + </Organization> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:d1e991c6-46ee-4b91-a56d-e40f1c5343cb" /> + <resource> + <Observation> + <id value="d1e991c6-46ee-4b91-a56d-e40f1c5343cb" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:d1e991c6-46ee-4b91-a56d-e40f1c5343cb" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="255620007" /> + <display value="Food (substance)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <hasMember> + <reference value="urn:uuid:fd0c2548-512a-4492-92a8-efc0e086e72b" /> + </hasMember> + <hasMember> + <reference value="urn:uuid:067c0ec9-4fc6-4f5a-87e5-0893c9325b5e" /> + </hasMember> + <hasMember> + <reference value="urn:uuid:213a5629-1dd3-44cb-b829-fbf57a16465f" /> + </hasMember> + <component> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Nutrition_Intake_Taken"> + <extension url="einnahmeErfolgt"> + <extension url="einnahmeErfolgtCode"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229918000" /> + <display value="Food and drink intake (observable entity)" /> + </coding> + </valueCodeableConcept> + </extension> + <extension url="einnahmeErfolgtValue"> + <valueBoolean value="true" /> + </extension> + </extension> + </extension> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="226575004" /> + <display value="Naan bread (substance)" /> + </coding> + </code> + <valueQuantity> + <value value="200" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </component> + <component> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Nutrition_Intake_Taken"> + <extension url="einnahmeErfolgt"> + <extension url="einnahmeErfolgtCode"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229918000" /> + <display value="Food and drink intake (observable entity)" /> + </coding> + </valueCodeableConcept> + </extension> + <extension url="einnahmeErfolgtValue"> + <valueBoolean value="true" /> + </extension> + </extension> + </extension> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="227856006" /> + <display value="Okra curry (substance)" /> + </coding> + </code> + <valueQuantity> + <value value="300" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </component> + <component> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Nutrition_Intake_Taken"> + <extension url="einnahmeErfolgt"> + <extension url="einnahmeErfolgtCode"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229918000" /> + <display value="Food and drink intake (observable entity)" /> + </coding> + </valueCodeableConcept> + </extension> + <extension url="einnahmeErfolgtValue"> + <valueBoolean value="false" /> + </extension> + </extension> + <extension url="begruendungNichtEinnahme"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="422587007" /> + <display value="Nausea (finding)" /> + </coding> + </valueCodeableConcept> + </extension> + </extension> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="67324005" /> + <display value="Rice (substance)" /> + </coding> + </code> + <valueQuantity> + <value value="200" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </component> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:213a5629-1dd3-44cb-b829-fbf57a16465f" /> + <resource> + <Observation> + <id value="213a5629-1dd3-44cb-b829-fbf57a16465f" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:213a5629-1dd3-44cb-b829-fbf57a16465f" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229957008" /> + <display value="Food composition types (substance)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Detail über die Gesamtzusammensetzung" /> + </extension> + </extension> + </display> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="787787004" /> + <display value="Energy intake (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <valueQuantity> + <value value="800" /> + <unit value="kcal" /> + <system value="http://unitsofmeasure.org" /> + <code value="kcal" /> + </valueQuantity> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:067c0ec9-4fc6-4f5a-87e5-0893c9325b5e" /> + <resource> + <Observation> + <id value="067c0ec9-4fc6-4f5a-87e5-0893c9325b5e" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:067c0ec9-4fc6-4f5a-87e5-0893c9325b5e" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229957008" /> + <display value="Food composition types (substance)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Detail über die Gesamtzusammensetzung" /> + </extension> + </extension> + </display> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="788472008" /> + <display value="Carbohydrate intake (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <valueQuantity> + <value value="300" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:fd0c2548-512a-4492-92a8-efc0e086e72b" /> + <resource> + <Observation> + <id value="fd0c2548-512a-4492-92a8-efc0e086e72b" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:fd0c2548-512a-4492-92a8-efc0e086e72b" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229957008" /> + <display value="Food composition types (substance)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Detail über die Gesamtzusammensetzung" /> + </extension> + </extension> + </display> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="874875003" /> + <display value="Protein and protein derivative intake (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <valueQuantity> + <value value="100" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:59c41b9f-ef59-4372-81df-2a79a66934c7" /> + <resource> + <Observation> + <id value="59c41b9f-ef59-4372-81df-2a79a66934c7" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Heart_Rate|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:59c41b9f-ef59-4372-81df-2a79a66934c7" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category" /> + <code value="vital-signs" /> + </coding> + </category> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="8867-4" /> + <display value="Heart rate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Herzfrequenz" /> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="364075005" /> + <display value="Heart rate (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Herzfrequenz (Herzfrequenz)" /> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T12:00:00+01:00" /> + <valueQuantity> + <value value="120" /> + <unit value="per minute" /> + <system value="http://unitsofmeasure.org" /> + <code value="/min" /> + </valueQuantity> + <device> + <reference value="urn:uuid:310abf1c-8f61-4a9e-ab27-2697c0947a2e" /> + </device> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:8084a8ca-d11e-42eb-a97a-7164d0df9224" /> + <resource> + <Observation> + <id value="8084a8ca-d11e-42eb-a97a-7164d0df9224" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:8084a8ca-d11e-42eb-a97a-7164d0df9224" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://hl7.org/fhir/sid/icf-nl" /> + <code value="b730-b749" /> + <display value="Funktionen der Muskeln" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="282462008" /> + <display value="Ability to run (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T12:00:00+01:00" /> + <hasMember> + <reference value="urn:uuid:f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + </hasMember> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:7c119101-1b7e-4a09-ba82-ad88d801ea38" /> + <resource> + <Observation> + <id value="7c119101-1b7e-4a09-ba82-ad88d801ea38" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Weight|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:7c119101-1b7e-4a09-ba82-ad88d801ea38" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category" /> + <code value="vital-signs" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="363808001" /> + <display value="Measured body weight (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Koerpergewicht (Körpergewicht)" /> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="29463-7" /> + <display value="Body weight"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Körpergewicht" /> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T12:00:00+01:00" /> + <valueQuantity> + <value value="105" /> + <unit value="kg" /> + <system value="http://unitsofmeasure.org" /> + <code value="kg" /> + </valueQuantity> + <bodySite> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20210731" /> + <code value="38266002" /> + <display value="Entire body as a whole (body structure)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Gesamtkörper" /> + </extension> + </extension> + </display> + </coding> + </bodySite> + <device> + <reference value="urn:uuid:8307c06b-63f4-48b5-8e62-cf2669324782" /> + </device> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:95ae8353-6805-4a81-a921-30a41ef68fc9" /> + <resource> + <Observation> + <id value="95ae8353-6805-4a81-a921-30a41ef68fc9" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Weight|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:95ae8353-6805-4a81-a921-30a41ef68fc9" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category" /> + <code value="vital-signs" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="784399000" /> + <display value="Self reported body weight (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Koerpergewicht (Körpergewicht)" /> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="29463-7" /> + <display value="Body weight"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Körpergewicht" /> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-13T00:00:00+01:00" /> + <valueQuantity> + <value value="110" /> + <unit value="kg" /> + <system value="http://unitsofmeasure.org" /> + <code value="kg" /> + </valueQuantity> + <bodySite> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20210731" /> + <code value="38266002" /> + <display value="Entire body as a whole (body structure)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Gesamtkörper" /> + </extension> + </extension> + </display> + </coding> + </bodySite> + </Observation> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + <resource> + <Goal> + <id value="88ca7045-0959-46f1-9a08-5d043ebead38" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Goal_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </identifier> + <lifecycleStatus value="planned"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Geplant" /> + </extension> + </extension> + </lifecycleStatus> + <description> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="1055210001" /> + <display value="Target parameter (observable entity)" /> + </coding> + </description> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <startDate value="2021-06-01" /> + <target> + <measure> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="27113001" /> + <display value="Body weight (observable entity)" /> + </coding> + </measure> + <detailQuantity> + <value value="-10.0" /> + <unit value="kg" /> + <system value="http://unitsofmeasure.org" /> + <code value="kg" /> + </detailQuantity> + <dueDate value="2021-08-15" /> + </target> + <outcomeReference> + <reference value="urn:uuid:a17df8be-d470-4614-9f89-dcb66f682614" /> + </outcomeReference> + </Goal> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:310abf1c-8f61-4a9e-ab27-2697c0947a2e" /> + <resource> + <Device> + <id value="310abf1c-8f61-4a9e-ab27-2697c0947a2e" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:310abf1c-8f61-4a9e-ab27-2697c0947a2e" /> + </identifier> + <definition> + <reference value="urn:uuid:82269e10-8a13-4c08-9cf9-fff7698cf1d3" /> + </definition> + <udiCarrier> + <deviceIdentifier value="54321543214L" /> + </udiCarrier> + <serialNumber value="54321" /> + <deviceName> + <name value="Fitnessuhr" /> + <type value="user-friendly-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Benutzerfreundlicher Name" /> + </extension> + </extension> + </type> + </deviceName> + <modelNumber value="54321" /> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="702527008" /> + <display value="Cardiovascular monitor (physical object)" /> + </coding> + </type> + <version> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="701834004" /> + <display value="Single-patient physiologic monitoring system application software (physical object)" /> + </coding> + </type> + <value value="5.3" /> + </version> + <patient> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </patient> + </Device> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:8307c06b-63f4-48b5-8e62-cf2669324782" /> + <resource> + <Device> + <id value="8307c06b-63f4-48b5-8e62-cf2669324782" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:8307c06b-63f4-48b5-8e62-cf2669324782" /> + </identifier> + <definition> + <reference value="urn:uuid:9515f3bb-8e84-45e5-b28a-220021ceba91" /> + </definition> + <udiCarrier> + <deviceIdentifier value="1234512345YR" /> + </udiCarrier> + <serialNumber value="12345" /> + <deviceName> + <name value="Körperwaage" /> + <type value="user-friendly-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Benutzerfreundlicher Name" /> + </extension> + </extension> + </type> + </deviceName> + <modelNumber value="12345" /> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="19892000" /> + <display value="Scale, device (physical object)" /> + </coding> + </type> + <version> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="464644004" /> + <display value="Scale application software (physical object)" /> + </coding> + </type> + <value value="4.01" /> + </version> + <patient> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </patient> + </Device> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:ec4e110f-8cbf-42c9-aaad-562f5e8d0f87" /> + <resource> + <Device> + <id value="ec4e110f-8cbf-42c9-aaad-562f5e8d0f87" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_DIGA|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:ec4e110f-8cbf-42c9-aaad-562f5e8d0f87" /> + </identifier> + <definition> + <reference value="urn:uuid:cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + </definition> + <deviceName> + <name value="DiGA 2" /> + <type value="model-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Modellname" /> + </extension> + </extension> + </type> + </deviceName> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn" /> + <code value="12345678" /> + </coding> + </type> + </Device> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:82269e10-8a13-4c08-9cf9-fff7698cf1d3" /> + <resource> + <DeviceDefinition> + <id value="82269e10-8a13-4c08-9cf9-fff7698cf1d3" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:82269e10-8a13-4c08-9cf9-fff7698cf1d3" /> + </identifier> + <manufacturerReference> + <reference value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + </manufacturerReference> + <deviceName> + <name value="Fitnessuhr" /> + <type value="user-friendly-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Benutzerfreundlicher Name" /> + </extension> + </extension> + </type> + </deviceName> + <modelNumber value="54321" /> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="49062001" /> + <display value="Device (physical object)" /> + </coding> + </type> + </DeviceDefinition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:9515f3bb-8e84-45e5-b28a-220021ceba91" /> + <resource> + <DeviceDefinition> + <id value="9515f3bb-8e84-45e5-b28a-220021ceba91" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:9515f3bb-8e84-45e5-b28a-220021ceba91" /> + </identifier> + <manufacturerReference> + <reference value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + </manufacturerReference> + <deviceName> + <name value="Körperwaage" /> + <type value="user-friendly-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Benutzerfreundlicher Name" /> + </extension> + </extension> + </type> + </deviceName> + <modelNumber value="12345" /> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="49062001" /> + <display value="Device (physical object)" /> + </coding> + </type> + </DeviceDefinition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + <resource> + <DeviceDefinition> + <id value="cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + </identifier> + <deviceName> + <name value="DiGA 2" /> + <type value="model-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Modellname" /> + </extension> + </extension> + </type> + </deviceName> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="706689003" /> + <display value="Application program software (physical object)" /> + </coding> + </type> + </DeviceDefinition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:a515d43d-8324-44e9-ab26-b9dd8b5ef213" /> + <resource> + <Condition> + <id value="a515d43d-8324-44e9-ab26-b9dd8b5ef213" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Condition_Problem_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:a515d43d-8324-44e9-ab26-b9dd8b5ef213" /> + </identifier> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" /> + <version value="4.0.1" /> + <code value="resolved" /> + <display value="Resolved"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Behoben" /> + </extension> + </extension> + </display> + </coding> + </clinicalStatus> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="409586006" /> + <display value="Complaint (finding)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Beschwerde" /> + </extension> + </extension> + </display> + </coding> + </category> + <severity> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="6736007" /> + <display value="Moderate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="mittel" /> + </extension> + </extension> + </display> + </coding> + </severity> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="422587007" /> + <display value="Nausea (finding)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <onsetDateTime value="2021-06-20T14:05:00+01:00" /> + <abatementDateTime value="2021-06-20T14:05:00+01:00" /> + <recorder> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </recorder> + </Condition> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:b269f88d-3013-45f1-a9da-62126cd42d04" /> + <resource> + <CarePlan> + <id value="b269f88d-3013-45f1-a9da-62126cd42d04" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_CarePlan_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:b269f88d-3013-45f1-a9da-62126cd42d04" /> + </identifier> + <status value="active"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Aktiv" /> + </extension> + </extension> + </status> + <intent value="plan"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Plan" /> + </extension> + </extension> + </intent> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <goal> + <reference value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </goal> + <activity> + <detail> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="308931006" /> + <display value="Walking practice (regime/therapy)" /> + </coding> + </code> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="414915002" /> + <display value="Obese (finding)" /> + </coding> + </reasonCode> + <goal> + <reference value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </goal> + <status value="in-progress" /> + <doNotPerform value="true" /> + <scheduledPeriod> + <start value="2021-06-01T00:00:00+01:00" /> + <end value="2021-08-15T00:00:00+01:00" /> + </scheduledPeriod> + <quantity> + <value value="6" /> + <unit value="km/d" /> + <system value="http://unitsofmeasure.org" /> + <code value="km/d" /> + </quantity> + </detail> + </activity> + <note> + <text value="Der Patient sollte 6km pro Tag laufen um gesund abzunehmen." /> + </note> + </CarePlan> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:10be6664-6e3c-4b07-bc5b-7d5e716bc12c" /> + <resource> + <Appointment> + <id value="10be6664-6e3c-4b07-bc5b-7d5e716bc12c" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Appointment_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:10be6664-6e3c-4b07-bc5b-7d5e716bc12c" /> + </identifier> + <status value="booked" /> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="284352003" /> + <display value="Obesity diet education (procedure)" /> + </coding> + </reasonCode> + <start value="2021-07-14T09:00:00+01:00" /> + <end value="2021-07-14T10:00:00+01:00" /> + <participant> + <actor> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </actor> + <status value="accepted" /> + </participant> + <participant> + <actor> + <reference value="urn:uuid:82be1643-46fd-416a-9f77-53deb362074b" /> + </actor> + <status value="accepted" /> + </participant> + </Appointment> + </resource> + </entry> + <entry> + <fullUrl value="urn:uuid:2c2d3dd8-55f9-4dd2-97d4-79d47f02857b" /> + <resource> + <AllergyIntolerance> + <id value="2c2d3dd8-55f9-4dd2-97d4-79d47f02857b" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_AllergyIntolerance_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:2c2d3dd8-55f9-4dd2-97d4-79d47f02857b" /> + </identifier> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" /> + <version value="4.0.1" /> + <code value="active" /> + <display value="Active"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Aktiv" /> + </extension> + </extension> + </display> + </coding> + </clinicalStatus> + <verificationStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" /> + <version value="4.0.1" /> + <code value="confirmed" /> + <display value="Confirmed"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Bestätigt" /> + </extension> + </extension> + </display> + </coding> + </verificationStatus> + <type value="intolerance"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Unverträglichkeit (nicht immun-vermittelt)" /> + </extension> + </extension> + </type> + <category value="food"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Lebensmittel" /> + </extension> + </extension> + </category> + <criticality value="low"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="NiedrigesRisiko" /> + </extension> + </extension> + </criticality> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="102263004" /> + <display value="Eggs (edible) (substance)" /> + </coding> + </code> + <patient> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </patient> + <onsetAge> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Stage_Life"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="263659003" /> + <display value="Adolescence (qualifier value)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Jugendlicher (Ab Beginn des 13. bis zum vollendeten 18. Lebensjahres)" /> + </extension> + </extension> + </display> + </coding> + </valueCodeableConcept> + </extension> + </onsetAge> + <recorder> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </recorder> + <reaction> + <manifestation> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="422587007" /> + <display value="Nausea (finding)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Übelkeit" /> + </extension> + </extension> + </display> + </coding> + </manifestation> + <severity value="moderate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="mittel" /> + </extension> + </extension> + </severity> + <exposureRoute> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="26643006" /> + <display value="Oral route (qualifier value)" /> + </coding> + </exposureRoute> + </reaction> + </AllergyIntolerance> + </resource> + </entry> +</Bundle> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_CarePlan_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_CarePlan_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_CarePlan_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_CarePlan_Free-test.xml new file mode 100644 index 0000000..93760e4 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_CarePlan_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_CarePlan_Free-test.xml @@ -0,0 +1,78 @@ +<CarePlan xmlns="http://hl7.org/fhir"> + <id value="b269f88d-3013-45f1-a9da-62126cd42d04" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_CarePlan_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:b269f88d-3013-45f1-a9da-62126cd42d04" /> + </identifier> + <status value="active"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Aktiv" /> + </extension> + </extension> + </status> + <intent value="plan"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Plan" /> + </extension> + </extension> + </intent> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <goal> + <reference value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </goal> + <activity> + <detail> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="308931006" /> + <display value="Walking practice (regime/therapy)" /> + </coding> + </code> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="414915002" /> + <display value="Obese (finding)" /> + </coding> + </reasonCode> + <goal> + <reference value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </goal> + <status value="in-progress" /> + <doNotPerform value="true" /> + <scheduledPeriod> + <start value="2021-06-01T00:00:00+01:00" /> + <end value="2021-08-15T00:00:00+01:00" /> + </scheduledPeriod> + <quantity> + <value value="6" /> + <unit value="km/d" /> + <system value="http://unitsofmeasure.org" /> + <code value="km/d" /> + </quantity> + </detail> + </activity> + <note> + <text value="Der Patient sollte 6km pro Tag laufen um gesund abzunehmen." /> + </note> +</CarePlan> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_CarePlan_Free/valid/1.0.0/KBV_PR_MIO_DIGA_CarePlan_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_CarePlan_Free/valid/1.0.0/KBV_PR_MIO_DIGA_CarePlan_Free-test.xml new file mode 100644 index 0000000..64278dc --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_CarePlan_Free/valid/1.0.0/KBV_PR_MIO_DIGA_CarePlan_Free-test.xml @@ -0,0 +1,78 @@ +<CarePlan xmlns="http://hl7.org/fhir"> + <id value="b269f88d-3013-45f1-a9da-62126cd42d04" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_CarePlan_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:b269f88d-3013-45f1-a9da-62126cd42d04" /> + </identifier> + <status value="active"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Aktiv" /> + </extension> + </extension> + </status> + <intent value="plan"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Plan" /> + </extension> + </extension> + </intent> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <goal> + <reference value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </goal> + <activity> + <detail> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="308931006" /> + <display value="Walking practice (regime/therapy)" /> + </coding> + </code> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="414915002" /> + <display value="Obese (finding)" /> + </coding> + </reasonCode> + <goal> + <reference value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </goal> + <status value="in-progress" /> + <doNotPerform value="true" /> + <scheduledPeriod> + <start value="2021-06-01T00:00:00+01:00" /> + <end value="2021-08-15T00:00:00+01:00" /> + </scheduledPeriod> + <quantity> + <value value="6" /> + <unit value="km/d" /> + <system value="http://unitsofmeasure.org" /> + <code value="km/d" /> + </quantity> + </detail> + </activity> + <note> + <text value="Der Patient sollte 6km pro Tag laufen um gesund abzunehmen." /> + </note> +</CarePlan> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Composition/invalid/1.0.0/KBV_PR_MIO_DIGA_Composition-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Composition/invalid/1.0.0/KBV_PR_MIO_DIGA_Composition-test.xml new file mode 100644 index 0000000..adfc662 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Composition/invalid/1.0.0/KBV_PR_MIO_DIGA_Composition-test.xml @@ -0,0 +1,169 @@ +<Composition xmlns="http://hl7.org/fhir"> + <id value="264de85e-ebfc-45df-b214-203fdac71ccd" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-11-08T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Composition|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Betrachtungszeitraum"> + <valuePeriod> + <start value="2021-10-01T13:28:17.239+02:00" /> + <end value="2021-11-08T13:28:17.239+02:00" /> + </valuePeriod> + </extension> + <status value="final" /> + <type> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="unknown-code" /> + <display value="Personal health monitoring report Document" /> + </coding> + </type> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <date value="2021-11-08" /> + <author> + <reference value="urn:uuid:ec4e110f-8cbf-42c9-aaad-562f5e8d0f87" /> + </author> + <title value="DiGA-Export" /> + <section> + <title value="Befunde und Ergebnisse" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="423100009" /> + <display value="Results section (record artifact)" /> + </coding> + </code> + <section> + <title value="Vitalzeichen und Körpermaße" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="8716-3" /> + <display value="Vital signs" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:95ae8353-6805-4a81-a921-30a41ef68fc9" /> + </entry> + <entry> + <reference value="urn:uuid:7c119101-1b7e-4a09-ba82-ad88d801ea38" /> + </entry> + <entry> + <reference value="urn:uuid:59c41b9f-ef59-4372-81df-2a79a66934c7" /> + </entry> + </section> + </section> + <section> + <title value="Aktivitäten" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="257733005" /> + <display value="Activity (observable entity)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:3be97a7c-d300-4a6f-bea9-23cd00374edf" /> + </entry> + </section> + <section> + <title value="Nahrung" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="895547009" /> + <display value="Enteral nutrition intake (observable entity)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:d1e991c6-46ee-4b91-a56d-e40f1c5343cb" /> + </entry> + </section> + <section> + <title value="Probleme" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="11450-4" /> + <display value="Problem list - Reported" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:a515d43d-8324-44e9-ab26-b9dd8b5ef213" /> + </entry> + <entry> + <reference value="urn:uuid:2c2d3dd8-55f9-4dd2-97d4-79d47f02857b" /> + </entry> + </section> + <section> + <title value="Beurteilungen" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="424836000" /> + <display value="Assessment section (record artifact)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:8084a8ca-d11e-42eb-a97a-7164d0df9224" /> + </entry> + </section> + <section> + <title value="Ziele" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="1055210001" /> + <display value="Target parameter (observable entity)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </entry> + <entry> + <reference value="urn:uuid:b269f88d-3013-45f1-a9da-62126cd42d04" /> + </entry> + </section> + <section> + <title value="Termine" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="56446-8" /> + <display value="Appointment summary Document" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:10be6664-6e3c-4b07-bc5b-7d5e716bc12c" /> + </entry> + </section> + <section> + <title value="Kontakte" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="70862002" /> + <display value="Contact person (person)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + </entry> + <entry> + <reference value="urn:uuid:82be1643-46fd-416a-9f77-53deb362074b" /> + </entry> + </section> +</Composition> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Composition/valid/1.0.0/KBV_PR_MIO_DIGA_Composition-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Composition/valid/1.0.0/KBV_PR_MIO_DIGA_Composition-test.xml new file mode 100644 index 0000000..83d5112 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Composition/valid/1.0.0/KBV_PR_MIO_DIGA_Composition-test.xml @@ -0,0 +1,169 @@ +<Composition xmlns="http://hl7.org/fhir"> + <id value="264de85e-ebfc-45df-b214-203fdac71ccd" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-11-08T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Composition|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Betrachtungszeitraum"> + <valuePeriod> + <start value="2021-10-01T13:28:17.239+02:00" /> + <end value="2021-11-08T13:28:17.239+02:00" /> + </valuePeriod> + </extension> + <status value="final" /> + <type> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="53576-5" /> + <display value="Personal health monitoring report Document" /> + </coding> + </type> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <date value="2021-11-08" /> + <author> + <reference value="urn:uuid:ec4e110f-8cbf-42c9-aaad-562f5e8d0f87" /> + </author> + <title value="DiGA-Export" /> + <section> + <title value="Befunde und Ergebnisse" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="423100009" /> + <display value="Results section (record artifact)" /> + </coding> + </code> + <section> + <title value="Vitalzeichen und Körpermaße" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="8716-3" /> + <display value="Vital signs" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:95ae8353-6805-4a81-a921-30a41ef68fc9" /> + </entry> + <entry> + <reference value="urn:uuid:7c119101-1b7e-4a09-ba82-ad88d801ea38" /> + </entry> + <entry> + <reference value="urn:uuid:59c41b9f-ef59-4372-81df-2a79a66934c7" /> + </entry> + </section> + </section> + <section> + <title value="Aktivitäten" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="257733005" /> + <display value="Activity (observable entity)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:3be97a7c-d300-4a6f-bea9-23cd00374edf" /> + </entry> + </section> + <section> + <title value="Nahrung" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="895547009" /> + <display value="Enteral nutrition intake (observable entity)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:d1e991c6-46ee-4b91-a56d-e40f1c5343cb" /> + </entry> + </section> + <section> + <title value="Probleme" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="11450-4" /> + <display value="Problem list - Reported" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:a515d43d-8324-44e9-ab26-b9dd8b5ef213" /> + </entry> + <entry> + <reference value="urn:uuid:2c2d3dd8-55f9-4dd2-97d4-79d47f02857b" /> + </entry> + </section> + <section> + <title value="Beurteilungen" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="424836000" /> + <display value="Assessment section (record artifact)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:8084a8ca-d11e-42eb-a97a-7164d0df9224" /> + </entry> + </section> + <section> + <title value="Ziele" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="1055210001" /> + <display value="Target parameter (observable entity)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </entry> + <entry> + <reference value="urn:uuid:b269f88d-3013-45f1-a9da-62126cd42d04" /> + </entry> + </section> + <section> + <title value="Termine" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="56446-8" /> + <display value="Appointment summary Document" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:10be6664-6e3c-4b07-bc5b-7d5e716bc12c" /> + </entry> + </section> + <section> + <title value="Kontakte" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="70862002" /> + <display value="Contact person (person)" /> + </coding> + </code> + <entry> + <reference value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + </entry> + <entry> + <reference value="urn:uuid:82be1643-46fd-416a-9f77-53deb362074b" /> + </entry> + </section> +</Composition> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Condition_Problem_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Condition_Problem_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Condition_Problem_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Condition_Problem_Free-test.xml new file mode 100644 index 0000000..c7e3d4e --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Condition_Problem_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Condition_Problem_Free-test.xml @@ -0,0 +1,78 @@ +<Condition xmlns="http://hl7.org/fhir"> + <id value="a515d43d-8324-44e9-ab26-b9dd8b5ef213" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Condition_Problem_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:a515d43d-8324-44e9-ab26-b9dd8b5ef213" /> + </identifier> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" /> + <version value="4.0.1" /> + <code value="resolved" /> + <display value="Resolved"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Behoben" /> + </extension> + </extension> + </display> + </coding> + </clinicalStatus> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="409586006" /> + <display value="Complaint (finding)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Beschwerde" /> + </extension> + </extension> + </display> + </coding> + </category> + <severity> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="6736007" /> + <display value="Moderate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="mittel" /> + </extension> + </extension> + </display> + </coding> + </severity> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="422587007" /> + <display value="Nausea (finding)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <onsetDateTime value="2021-06-20T14:05:00+01:00" /> + <abatementDateTime value="2021-06-20T14:05:00+01:00" /> + <recorder> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </recorder> +</Condition> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Condition_Problem_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Condition_Problem_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Condition_Problem_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Condition_Problem_Free-test.xml new file mode 100644 index 0000000..ed115f8 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Condition_Problem_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Condition_Problem_Free-test.xml @@ -0,0 +1,78 @@ +<Condition xmlns="http://hl7.org/fhir"> + <id value="a515d43d-8324-44e9-ab26-b9dd8b5ef213" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Condition_Problem_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:a515d43d-8324-44e9-ab26-b9dd8b5ef213" /> + </identifier> + <clinicalStatus> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" /> + <version value="4.0.1" /> + <code value="resolved" /> + <display value="Resolved"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Behoben" /> + </extension> + </extension> + </display> + </coding> + </clinicalStatus> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="409586006" /> + <display value="Complaint (finding)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Beschwerde" /> + </extension> + </extension> + </display> + </coding> + </category> + <severity> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="6736007" /> + <display value="Moderate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="mittel" /> + </extension> + </extension> + </display> + </coding> + </severity> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="422587007" /> + <display value="Nausea (finding)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <onsetDateTime value="2021-06-20T14:05:00+01:00" /> + <abatementDateTime value="2021-06-20T14:05:00+01:00" /> + <recorder> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </recorder> +</Condition> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA/invalid/1.0.0/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA/invalid/1.0.0/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA-test.xml new file mode 100644 index 0000000..78a5c91 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA/invalid/1.0.0/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA-test.xml @@ -0,0 +1,38 @@ +<DeviceDefinition xmlns="http://hl7.org/fhir"> + <id value="cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + </identifier> + <deviceName> + <name value="DiGA 2" /> + <type value="model-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Modellname" /> + </extension> + </extension> + </type> + </deviceName> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="706689003" /> + <display value="Application program software (physical object)" /> + </coding> + </type> +</DeviceDefinition> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA/valid/1.0.0/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA/valid/1.0.0/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA-test.xml new file mode 100644 index 0000000..850f43c --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA/valid/1.0.0/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA-test.xml @@ -0,0 +1,38 @@ +<DeviceDefinition xmlns="http://hl7.org/fhir"> + <id value="cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_DIGA|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + </identifier> + <deviceName> + <name value="DiGA 2" /> + <type value="model-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Modellname" /> + </extension> + </extension> + </type> + </deviceName> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="706689003" /> + <display value="Application program software (physical object)" /> + </coding> + </type> +</DeviceDefinition> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_DeviceDefinition_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_DeviceDefinition_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_DeviceDefinition_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_DeviceDefinition_Free-test.xml new file mode 100644 index 0000000..78415fd --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_DeviceDefinition_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_DeviceDefinition_Free-test.xml @@ -0,0 +1,42 @@ +<DeviceDefinition xmlns="http://hl7.org/fhir"> + <id value="9515f3bb-8e84-45e5-b28a-220021ceba91" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:9515f3bb-8e84-45e5-b28a-220021ceba91" /> + </identifier> + <manufacturerReference> + <reference value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + </manufacturerReference> + <deviceName> + <name value="Körperwaage" /> + <type value="user-friendly-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Benutzerfreundlicher Name" /> + </extension> + </extension> + </type> + </deviceName> + <modelNumber value="12345" /> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="49062001" /> + <display value="Device (physical object)" /> + </coding> + </type> +</DeviceDefinition> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_DeviceDefinition_Free/valid/1.0.0/KBV_PR_MIO_DIGA_DeviceDefinition_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_DeviceDefinition_Free/valid/1.0.0/KBV_PR_MIO_DIGA_DeviceDefinition_Free-test.xml new file mode 100644 index 0000000..e185d2e --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_DeviceDefinition_Free/valid/1.0.0/KBV_PR_MIO_DIGA_DeviceDefinition_Free-test.xml @@ -0,0 +1,42 @@ +<DeviceDefinition xmlns="http://hl7.org/fhir"> + <id value="9515f3bb-8e84-45e5-b28a-220021ceba91" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_DeviceDefinition_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:9515f3bb-8e84-45e5-b28a-220021ceba91" /> + </identifier> + <manufacturerReference> + <reference value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + </manufacturerReference> + <deviceName> + <name value="Körperwaage" /> + <type value="user-friendly-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Benutzerfreundlicher Name" /> + </extension> + </extension> + </type> + </deviceName> + <modelNumber value="12345" /> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="49062001" /> + <display value="Device (physical object)" /> + </coding> + </type> +</DeviceDefinition> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Device_DIGA/invalid/1.0.0/KBV_PR_MIO_DIGA_Device_DIGA-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Device_DIGA/invalid/1.0.0/KBV_PR_MIO_DIGA_Device_DIGA-test.xml new file mode 100644 index 0000000..507e148 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Device_DIGA/invalid/1.0.0/KBV_PR_MIO_DIGA_Device_DIGA-test.xml @@ -0,0 +1,39 @@ +<Device xmlns="http://hl7.org/fhir"> + <id value="ec4e110f-8cbf-42c9-aaad-562f5e8d0f87" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_DIGA|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:ec4e110f-8cbf-42c9-aaad-562f5e8d0f87" /> + </identifier> + <definition> + <reference value="urn:uuid:cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + </definition> + <deviceName> + <name value="DiGA 2" /> + <type value="model-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Modellname" /> + </extension> + </extension> + </type> + </deviceName> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn" /> + <code value="12345678" /> + </coding> + </type> +</Device> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Device_DIGA/valid/1.0.0/KBV_PR_MIO_DIGA_Device_DIGA-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Device_DIGA/valid/1.0.0/KBV_PR_MIO_DIGA_Device_DIGA-test.xml new file mode 100644 index 0000000..6213fa7 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Device_DIGA/valid/1.0.0/KBV_PR_MIO_DIGA_Device_DIGA-test.xml @@ -0,0 +1,39 @@ +<Device xmlns="http://hl7.org/fhir"> + <id value="ec4e110f-8cbf-42c9-aaad-562f5e8d0f87" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_DIGA|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:ec4e110f-8cbf-42c9-aaad-562f5e8d0f87" /> + </identifier> + <definition> + <reference value="urn:uuid:cbe7afbf-5899-49fc-b0a3-5b71906073d5" /> + </definition> + <deviceName> + <name value="DiGA 2" /> + <type value="model-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Modellname" /> + </extension> + </extension> + </type> + </deviceName> + <type> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn" /> + <code value="12345678" /> + </coding> + </type> +</Device> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Device_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Device_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Device_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Device_Free-test.xml new file mode 100644 index 0000000..aeb01d6 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Device_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Device_Free-test.xml @@ -0,0 +1,60 @@ +<Device xmlns="http://hl7.org/fhir"> + <id value="8307c06b-63f4-48b5-8e62-cf2669324782" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:8307c06b-63f4-48b5-8e62-cf2669324782" /> + </identifier> + <definition> + <reference value="urn:uuid:9515f3bb-8e84-45e5-b28a-220021ceba91" /> + </definition> + <udiCarrier> + <deviceIdentifier value="1234512345YR" /> + </udiCarrier> + <serialNumber value="12345" /> + <deviceName> + <name value="Körperwaage" /> + <type value="user-friendly-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Benutzerfreundlicher Name" /> + </extension> + </extension> + </type> + </deviceName> + <modelNumber value="12345" /> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="19892000" /> + <display value="Scale, device (physical object)" /> + </coding> + </type> + <version> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="464644004" /> + <display value="Scale application software (physical object)" /> + </coding> + </type> + <value value="4.01" /> + </version> + <patient> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </patient> +</Device> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Device_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Device_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Device_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Device_Free-test.xml new file mode 100644 index 0000000..2fc184f --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Device_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Device_Free-test.xml @@ -0,0 +1,60 @@ +<Device xmlns="http://hl7.org/fhir"> + <id value="8307c06b-63f4-48b5-8e62-cf2669324782" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:8307c06b-63f4-48b5-8e62-cf2669324782" /> + </identifier> + <definition> + <reference value="urn:uuid:9515f3bb-8e84-45e5-b28a-220021ceba91" /> + </definition> + <udiCarrier> + <deviceIdentifier value="1234512345YR" /> + </udiCarrier> + <serialNumber value="12345" /> + <deviceName> + <name value="Körperwaage" /> + <type value="user-friendly-name"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Benutzerfreundlicher Name" /> + </extension> + </extension> + </type> + </deviceName> + <modelNumber value="12345" /> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="19892000" /> + <display value="Scale, device (physical object)" /> + </coding> + </type> + <version> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="464644004" /> + <display value="Scale application software (physical object)" /> + </coding> + </type> + <value value="4.01" /> + </version> + <patient> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </patient> +</Device> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Encounter_Past_Appointment/invalid/1.0.0/KBV_PR_MIO_DIGA_Encounter_Past_Appointment-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Encounter_Past_Appointment/invalid/1.0.0/KBV_PR_MIO_DIGA_Encounter_Past_Appointment-test.xml new file mode 100644 index 0000000..f31a458 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Encounter_Past_Appointment/invalid/1.0.0/KBV_PR_MIO_DIGA_Encounter_Past_Appointment-test.xml @@ -0,0 +1,29 @@ +<Encounter xmlns="http://hl7.org/fhir"> + <id value="05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Encounter_Past_Appointment|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="1"/> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + </identifier> + <status value="finished"/> + <class> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown-code"/> + </extension> + </class> + <subject> + <reference value='Patient/HeikoBenz'/> + </subject> +</Encounter> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Encounter_Past_Appointment/valid/1.0.0/KBV_PR_MIO_DIGA_Encounter_Past_Appointment-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Encounter_Past_Appointment/valid/1.0.0/KBV_PR_MIO_DIGA_Encounter_Past_Appointment-test.xml new file mode 100644 index 0000000..9d0f381 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Encounter_Past_Appointment/valid/1.0.0/KBV_PR_MIO_DIGA_Encounter_Past_Appointment-test.xml @@ -0,0 +1,29 @@ +<Encounter xmlns="http://hl7.org/fhir"> + <id value="05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Encounter_Past_Appointment|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + </identifier> + <status value="finished"/> + <class> + <extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason"> + <valueCode value="unknown"/> + </extension> + </class> + <subject> + <reference value='Patient/HeikoBenz'/> + </subject> +</Encounter> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Goal_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Goal_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Goal_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Goal_Free-test.xml new file mode 100644 index 0000000..bbbc992 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Goal_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Goal_Free-test.xml @@ -0,0 +1,59 @@ +<Goal xmlns="http://hl7.org/fhir"> + <id value="88ca7045-0959-46f1-9a08-5d043ebead38" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Goal_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </identifier> + <lifecycleStatus value="planned"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Geplant" /> + </extension> + </extension> + </lifecycleStatus> + <description> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="1055210001" /> + <display value="Target parameter (observable entity)" /> + </coding> + </description> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <startDate value="2021-06-01" /> + <target> + <measure> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="27113001" /> + <display value="Body weight (observable entity)" /> + </coding> + </measure> + <detailQuantity> + <value value="-10.0" /> + <unit value="kg" /> + <system value="http://unitsofmeasure.org" /> + <code value="kg" /> + </detailQuantity> + <dueDate value="2021-08-15" /> + </target> + <outcomeReference> + <reference value="urn:uuid:a17df8be-d470-4614-9f89-dcb66f682614" /> + </outcomeReference> +</Goal> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Goal_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Goal_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Goal_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Goal_Free-test.xml new file mode 100644 index 0000000..e403baa --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Goal_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Goal_Free-test.xml @@ -0,0 +1,59 @@ +<Goal xmlns="http://hl7.org/fhir"> + <id value="88ca7045-0959-46f1-9a08-5d043ebead38" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Goal_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:88ca7045-0959-46f1-9a08-5d043ebead38" /> + </identifier> + <lifecycleStatus value="planned"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Geplant" /> + </extension> + </extension> + </lifecycleStatus> + <description> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="1055210001" /> + <display value="Target parameter (observable entity)" /> + </coding> + </description> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <startDate value="2021-06-01" /> + <target> + <measure> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="27113001" /> + <display value="Body weight (observable entity)" /> + </coding> + </measure> + <detailQuantity> + <value value="-10.0" /> + <unit value="kg" /> + <system value="http://unitsofmeasure.org" /> + <code value="kg" /> + </detailQuantity> + <dueDate value="2021-08-15" /> + </target> + <outcomeReference> + <reference value="urn:uuid:a17df8be-d470-4614-9f89-dcb66f682614" /> + </outcomeReference> +</Goal> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free-test.xml new file mode 100644 index 0000000..7b4365f --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free-test.xml @@ -0,0 +1,63 @@ +<MedicationAdministration xmlns="http://hl7.org/fhir"> + <id value="519d7a9e-37ff-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Reference"> + <valueReference> + <reference value="urn:uuid:326fec3e-37fe-11ec-8d3d-0242ac130003" /> + </valueReference> + </extension> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:519d7a9e-37ff-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="completed" /> + <medicationReference> + <reference value="urn:uuid:7a8e8102-37b7-11ec-8d3d-0242ac130003" /> + </medicationReference> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2022-01-01" /> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="408381007" /> + <display value="Migraine prophylaxis (procedure)" /> + </coding> + </reasonCode> + <dosage> + <route> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="26643006" /> + <display value="Oral route (qualifier value)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Oral" /> + </extension> + </extension> + </display> + </coding> + </route> + <dose> + <value value="1" /> + <unit value="Tabletten" /> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" /> + <code value="TAB" /> + </dose> + </dosage> +</MedicationAdministration> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free/valid/1.0.0/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free/valid/1.0.0/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free-test.xml new file mode 100644 index 0000000..7ef290d --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free/valid/1.0.0/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free-test.xml @@ -0,0 +1,63 @@ +<MedicationAdministration xmlns="http://hl7.org/fhir"> + <id value="519d7a9e-37ff-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_MedicationAdministration_Medication_Intake_Free|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Reference"> + <valueReference> + <reference value="urn:uuid:326fec3e-37fe-11ec-8d3d-0242ac130003" /> + </valueReference> + </extension> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:519d7a9e-37ff-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="completed" /> + <medicationReference> + <reference value="urn:uuid:7a8e8102-37b7-11ec-8d3d-0242ac130003" /> + </medicationReference> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2022-01-01" /> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="408381007" /> + <display value="Migraine prophylaxis (procedure)" /> + </coding> + </reasonCode> + <dosage> + <route> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="26643006" /> + <display value="Oral route (qualifier value)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Oral" /> + </extension> + </extension> + </display> + </coding> + </route> + <dose> + <value value="1" /> + <unit value="Tabletten" /> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" /> + <code value="TAB" /> + </dose> + </dosage> +</MedicationAdministration> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free-test.xml new file mode 100644 index 0000000..a9b7a84 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free-test.xml @@ -0,0 +1,68 @@ +<MedicationStatement xmlns="http://hl7.org/fhir"> + <id value="326fec3e-37fe-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:326fec3e-37fe-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="active"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Aktiv" /> + </extension> + </extension> + </status> + <medicationReference> + <reference value="urn:uuid:7a8e8102-37b7-11ec-8d3d-0242ac130003" /> + </medicationReference> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectivePeriod> + <start value="2020-12-01" /> + <end value="2020-12-01" /> + </effectivePeriod> + <informationSource> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </informationSource> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="37796009" /> + <display value="Migraine (disorder)" /> + </coding> + </reasonCode> + <dosage> + <timing> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20210131" /> + <code value="3157002" /> + <display value="Evening (qualifier value)" /> + </coding> + </code> + </timing> + <doseAndRate> + <doseQuantity> + <value value="1" /> + <unit value="Tabletten" /> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" /> + <code value="TAB" /> + </doseQuantity> + </doseAndRate> + </dosage> +</MedicationStatement> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free/valid/1.0.0/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free/valid/1.0.0/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free-test.xml new file mode 100644 index 0000000..1b2803b --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free/valid/1.0.0/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free-test.xml @@ -0,0 +1,68 @@ +<MedicationStatement xmlns="http://hl7.org/fhir"> + <id value="326fec3e-37fe-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Request_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:326fec3e-37fe-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="active"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Aktiv" /> + </extension> + </extension> + </status> + <medicationReference> + <reference value="urn:uuid:7a8e8102-37b7-11ec-8d3d-0242ac130003" /> + </medicationReference> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectivePeriod> + <start value="2020-12-01" /> + <end value="2020-12-01" /> + </effectivePeriod> + <informationSource> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </informationSource> + <reasonCode> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="37796009" /> + <display value="Migraine (disorder)" /> + </coding> + </reasonCode> + <dosage> + <timing> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20210131" /> + <code value="3157002" /> + <display value="Evening (qualifier value)" /> + </coding> + </code> + </timing> + <doseAndRate> + <doseQuantity> + <value value="1" /> + <unit value="Tabletten" /> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" /> + <code value="TAB" /> + </doseQuantity> + </doseAndRate> + </dosage> +</MedicationStatement> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Medication_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Medication_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Medication_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Medication_Free-test.xml new file mode 100644 index 0000000..f6cdad4 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Medication_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Medication_Free-test.xml @@ -0,0 +1,105 @@ +<Medication xmlns="http://hl7.org/fhir"> + <id value="7a8e8102-37b7-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Medication_Free|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="763158003" /> + <display value="Medicinal product (product)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Fertigarzneimittel" /> + </extension> + </extension> + </display> + </coding> + </valueCodeableConcept> + </extension> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:7a8e8102-37b7-11ec-8d3d-0242ac130003" /> + </identifier> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn" /> + <version value="0.2" /> + <code value="00105928" /> + <display value="AMITRIPTYLIN-neuraxpharm 75 mg Filmtabletten" /> + </coding> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="778301005" /> + <display value="Product containing only amitriptyline in oral dose form (medicinal product form)" /> + </coding> + <coding> + <system value="http://fhir.de/CodeSystem/dimdi/atc" /> + <version value="18.0" /> + <code value="N06AA09" /> + <display value="amitriptyline" /> + </coding> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" /> + <version value="1.08" /> + <code value="TAB" /> + <display value="Tabletten" /> + </coding> + </form> + <amount> + <numerator> + <value value="50" /> + <unit value="Tablet (basic dose form)" /> + <system value="http://snomed.info/sct" /> + <code value="385055001" /> + </numerator> + <denominator> + <value value="1" /> + <unit value="1" /> + <system value="http://unitsofmeasure.org" /> + <code value="1" /> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="372726002" /> + <display value="Amitriptyline (substance)" /> + </coding> + </itemCodeableConcept> + <strength> + <numerator> + <value value="50" /> + <unit value="/mg" /> + <system value="http://unitsofmeasure.org" /> + <code value="/mg" /> + </numerator> + <denominator> + <value value="1" /> + <unit value="Tablet (basic dose form)" /> + <system value="http://snomed.info/sct" /> + <code value="385055001" /> + </denominator> + </strength> + </ingredient> + <batch> + <expirationDate value="2021-12-01" /> + </batch> +</Medication> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Medication_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Medication_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Medication_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Medication_Free-test.xml new file mode 100644 index 0000000..dd0aa99 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Medication_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Medication_Free-test.xml @@ -0,0 +1,105 @@ +<Medication xmlns="http://hl7.org/fhir"> + <id value="7a8e8102-37b7-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Medication_Free|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="763158003" /> + <display value="Medicinal product (product)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Fertigarzneimittel" /> + </extension> + </extension> + </display> + </coding> + </valueCodeableConcept> + </extension> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:7a8e8102-37b7-11ec-8d3d-0242ac130003" /> + </identifier> + <code> + <coding> + <system value="http://fhir.de/CodeSystem/ifa/pzn" /> + <version value="0.2" /> + <code value="00105928" /> + <display value="AMITRIPTYLIN-neuraxpharm 75 mg Filmtabletten" /> + </coding> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="778301005" /> + <display value="Product containing only amitriptyline in oral dose form (medicinal product form)" /> + </coding> + <coding> + <system value="http://fhir.de/CodeSystem/dimdi/atc" /> + <version value="18.0" /> + <code value="N06AA09" /> + <display value="amitriptyline" /> + </coding> + </code> + <form> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" /> + <version value="1.08" /> + <code value="TAB" /> + <display value="Tabletten" /> + </coding> + </form> + <amount> + <numerator> + <value value="50" /> + <unit value="Tablet (basic dose form)" /> + <system value="http://snomed.info/sct" /> + <code value="385055001" /> + </numerator> + <denominator> + <value value="1" /> + <unit value="1" /> + <system value="http://unitsofmeasure.org" /> + <code value="1" /> + </denominator> + </amount> + <ingredient> + <itemCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="372726002" /> + <display value="Amitriptyline (substance)" /> + </coding> + </itemCodeableConcept> + <strength> + <numerator> + <value value="50" /> + <unit value="/mg" /> + <system value="http://unitsofmeasure.org" /> + <code value="/mg" /> + </numerator> + <denominator> + <value value="1" /> + <unit value="Tablet (basic dose form)" /> + <system value="http://snomed.info/sct" /> + <code value="385055001" /> + </denominator> + </strength> + </ingredient> + <batch> + <expirationDate value="2021-12-01" /> + </batch> +</Medication> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Assessment_Scale/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Assessment_Scale-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Assessment_Scale/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Assessment_Scale-test.xml new file mode 100644 index 0000000..92a6eaf --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Assessment_Scale/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Assessment_Scale-test.xml @@ -0,0 +1,86 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="c438e5ce-3800-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Assessment_Scale|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:c438e5ce-3800-11ec-8d3d-0242ac130003" /> + </identifier> + <partOf> + <reference value="urn:uuid:dca59d88-3179-11ec-8d3d-0242ac130003" /> + </partOf> + <status value="final" /> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="782487009:370132008=30766002" /> + <display value="Assessment score (observable entity):Scale type (attribute)=Quantitative (qualifier value)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Kardinalskala" /> + </extension> + </extension> + </display> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="225908003" /> + <display value="Pain score (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2020-07-20T08:30:00+01:00" /> + <valueQuantity> + <value value="6" /> + <unit value="1" /> + <system value="http://unitsofmeasure.org" /> + <code value="1" /> + </valueQuantity> + <method> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="446661009" /> + <display value="Visual analog scale score (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Visuelle Analogskala" /> + </extension> + </extension> + </display> + </coding> + </method> + <referenceRange> + <low> + <value value="1" /> + </low> + <high> + <value value="10" /> + </high> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="278492000" /> + <display value="Numerical range (qualifier value)" /> + </coding> + </type> + </referenceRange> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Assessment_Scale/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Assessment_Scale-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Assessment_Scale/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Assessment_Scale-test.xml new file mode 100644 index 0000000..1e23065 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Assessment_Scale/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Assessment_Scale-test.xml @@ -0,0 +1,86 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="c438e5ce-3800-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Assessment_Scale|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:c438e5ce-3800-11ec-8d3d-0242ac130003" /> + </identifier> + <partOf> + <reference value="urn:uuid:dca59d88-3179-11ec-8d3d-0242ac130003" /> + </partOf> + <status value="final" /> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="782487009:370132008=30766002" /> + <display value="Assessment score (observable entity):Scale type (attribute)=Quantitative (qualifier value)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Kardinalskala" /> + </extension> + </extension> + </display> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="225908003" /> + <display value="Pain score (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2020-07-20T08:30:00+01:00" /> + <valueQuantity> + <value value="6" /> + <unit value="1" /> + <system value="http://unitsofmeasure.org" /> + <code value="1" /> + </valueQuantity> + <method> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="446661009" /> + <display value="Visual analog scale score (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Visuelle Analogskala" /> + </extension> + </extension> + </display> + </coding> + </method> + <referenceRange> + <low> + <value value="1" /> + </low> + <high> + <value value="10" /> + </high> + <type> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="278492000" /> + <display value="Numerical range (qualifier value)" /> + </coding> + </type> + </referenceRange> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free-test.xml new file mode 100644 index 0000000..ff37284 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free-test.xml @@ -0,0 +1,40 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="3ce29656-3896-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-03-01T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca579fc-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="final" /> + <code> + <text value="Depression" /> + </code> + <subject> + <reference value="urn:uuid:cd0a4346-3882-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2021-03-01" /> + <valueQuantity> + <value value="21.0" /> + <unit value="{score}" /> + <system value="http://unitsofmeasure.org" /> + <code value="{score}" /> + </valueQuantity> + <note> + <text value="Scores on each scale can run from 0 to 56." /> + </note> + <derivedFrom> + <reference value="urn:uuid:d4df04fe-3895-11ec-8d3d-0242ac130003" /> + </derivedFrom> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free-test.xml new file mode 100644 index 0000000..5b4ac51 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free-test.xml @@ -0,0 +1,40 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="3ce29656-3896-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-03-01T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Assessment_Score_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca579fc-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="final" /> + <code> + <text value="Depression" /> + </code> + <subject> + <reference value="urn:uuid:cd0a4346-3882-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2021-03-01" /> + <valueQuantity> + <value value="21.0" /> + <unit value="{score}" /> + <system value="http://unitsofmeasure.org" /> + <code value="{score}" /> + </valueQuantity> + <note> + <text value="Scores on each scale can run from 0 to 56." /> + </note> + <derivedFrom> + <reference value="urn:uuid:d4df04fe-3895-11ec-8d3d-0242ac130003" /> + </derivedFrom> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Blood_Pressure/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Blood_Pressure-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Blood_Pressure/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Blood_Pressure-test.xml new file mode 100644 index 0000000..cac00d6 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Blood_Pressure/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Blood_Pressure-test.xml @@ -0,0 +1,125 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="9fbb10e8-941f-40a2-8678-0f6377aa610c"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:43:28.515+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Blood_Pressure|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="unknown-code"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:9fbb10e8-941f-40a2-8678-0f6377aa610c"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="85354-9"/> + <display value="Blood pressure panel with all children optional"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Blutdruck"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="75367002"/> + <display value="Blood pressure (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Blutdruck"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="Patient/3071accc-8240-4b87-8118-9128c9c783cb"/> + </subject> + <effectiveDateTime value="2023-03-01T15:43:26+00:00"/> + <component> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="8480-6"/> + <display value="Systolic blood pressure"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="systolischer Blutdruck"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="271649006"/> + <display value="Systolic blood pressure (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="systolischer Blutdruck"/> + </extension> + </extension> + </display> + </coding> + </code> + <valueQuantity> + <value value="120.0000000"/> + <unit value="mm Hg"/> + <system value="http://unitsofmeasure.org"/> + <code value="mm[Hg]"/> + </valueQuantity> + </component> + <component> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="8462-4"/> + <display value="Diastolic blood pressure"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="diastolischer Blutdruck"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="271650006"/> + <display value="Diastolic blood pressure (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="diastolischer Blutdruck"/> + </extension> + </extension> + </display> + </coding> + </code> + <valueQuantity> + <value value="80.00000000"/> + <unit value="mm Hg"/> + <system value="http://unitsofmeasure.org"/> + <code value="mm[Hg]"/> + </valueQuantity> + </component> + </Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Blood_Pressure/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Blood_Pressure-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Blood_Pressure/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Blood_Pressure-test.xml new file mode 100644 index 0000000..03d8a01 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Blood_Pressure/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Blood_Pressure-test.xml @@ -0,0 +1,125 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="9fbb10e8-941f-40a2-8678-0f6377aa610c"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:43:28.515+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Blood_Pressure|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:9fbb10e8-941f-40a2-8678-0f6377aa610c"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="85354-9"/> + <display value="Blood pressure panel with all children optional"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Blutdruck"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="75367002"/> + <display value="Blood pressure (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Blutdruck"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="Patient/3071accc-8240-4b87-8118-9128c9c783cb"/> + </subject> + <effectiveDateTime value="2023-03-01T15:43:26+00:00"/> + <component> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="8480-6"/> + <display value="Systolic blood pressure"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="systolischer Blutdruck"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="271649006"/> + <display value="Systolic blood pressure (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="systolischer Blutdruck"/> + </extension> + </extension> + </display> + </coding> + </code> + <valueQuantity> + <value value="120.0000000"/> + <unit value="mm Hg"/> + <system value="http://unitsofmeasure.org"/> + <code value="mm[Hg]"/> + </valueQuantity> + </component> + <component> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="8462-4"/> + <display value="Diastolic blood pressure"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="diastolischer Blutdruck"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="271650006"/> + <display value="Diastolic blood pressure (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="diastolischer Blutdruck"/> + </extension> + </extension> + </display> + </coding> + </code> + <valueQuantity> + <value value="80.00000000"/> + <unit value="mm Hg"/> + <system value="http://unitsofmeasure.org"/> + <code value="mm[Hg]"/> + </valueQuantity> + </component> + </Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Height/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Height-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Height/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Height-test.xml new file mode 100644 index 0000000..201bd41 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Height/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Height-test.xml @@ -0,0 +1,77 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="a8742ed5-f641-4e4e-8649-6911099c551a"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2022-06-16T07:40:22+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Height|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="unknown-code"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a8742ed5-f641-4e4e-8649-6911099c551a"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="1153637007"/> + <display value="Body height (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Gesamtkörper"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="8302-2"/> + <display value="Body height"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Körpergröße"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:77a702db-8fec-43d2-b70b-afbe1235cf08"/> + </subject> + <effectiveDateTime value="2021-06-21T12:00:00+01:00"/> + <valueQuantity> + <value value="172.0"/> + <unit value="cm"/> + <system value="http://unitsofmeasure.org"/> + <code value="cm"/> + </valueQuantity> + <bodySite> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="38266002"/> + <display value="Entire body as a whole (body structure)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Gesamtkörper"/> + </extension> + </extension> + </display> + </coding> + </bodySite> + </Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Height/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Height-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Height/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Height-test.xml new file mode 100644 index 0000000..e8b7725 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Height/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Height-test.xml @@ -0,0 +1,77 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="a8742ed5-f641-4e4e-8649-6911099c551a"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2022-06-16T07:40:22+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Height|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a8742ed5-f641-4e4e-8649-6911099c551a"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="1153637007"/> + <display value="Body height (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Körpergröße"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="8302-2"/> + <display value="Body height"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Körpergröße"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:77a702db-8fec-43d2-b70b-afbe1235cf08"/> + </subject> + <effectiveDateTime value="2021-06-21T12:00:00+01:00"/> + <valueQuantity> + <value value="172.0"/> + <unit value="cm"/> + <system value="http://unitsofmeasure.org"/> + <code value="cm"/> + </valueQuantity> + <bodySite> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="38266002"/> + <display value="Entire body as a whole (body structure)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Gesamtkörper"/> + </extension> + </extension> + </display> + </coding> + </bodySite> + </Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Temperature/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Temperature-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Temperature/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Temperature-test.xml new file mode 100644 index 0000000..97fbf2e --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Temperature/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Temperature-test.xml @@ -0,0 +1,63 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="a8742ed5-f641-4e4e-8649-6911099c551a"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2022-06-16T07:40:22+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Temperature|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="unknown-code"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a8742ed5-f641-4e4e-8649-6911099c551a"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="386725007"/> + <display value="Body temperature (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Gesamtkörper"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="8310-5"/> + <display value="Body temperature"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Körpertemperatur"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:77a702db-8fec-43d2-b70b-afbe1235cf08"/> + </subject> + <effectiveDateTime value="2021-06-21T12:00:00+01:00"/> + <valueQuantity> + <value value="36.0"/> + <unit value="Cel"/> + <system value="http://unitsofmeasure.org"/> + <code value="Cel"/> + </valueQuantity> + </Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Temperature/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Temperature-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Temperature/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Temperature-test.xml new file mode 100644 index 0000000..d86a4dc --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Temperature/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Temperature-test.xml @@ -0,0 +1,63 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="a8742ed5-f641-4e4e-8649-6911099c551a"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2022-06-16T07:40:22+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Temperature|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a8742ed5-f641-4e4e-8649-6911099c551a"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="386725007"/> + <display value="Body temperature (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Gesamtkörper"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="8310-5"/> + <display value="Body temperature"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Körpertemperatur"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:77a702db-8fec-43d2-b70b-afbe1235cf08"/> + </subject> + <effectiveDateTime value="2021-06-21T12:00:00+01:00"/> + <valueQuantity> + <value value="36.0"/> + <unit value="Cel"/> + <system value="http://unitsofmeasure.org"/> + <code value="Cel"/> + </valueQuantity> + </Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Weight/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Weight-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Weight/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Weight-test.xml new file mode 100644 index 0000000..6fba594 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Weight/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Weight-test.xml @@ -0,0 +1,77 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="95ae8353-6805-4a81-a921-30a41ef68fc9" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Weight|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:95ae8353-6805-4a81-a921-30a41ef68fc9" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category" /> + <code value="vital-signs" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="784399000" /> + <display value="Self reported body weight (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Koerpergewicht (Körpergewicht)" /> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="29463-7" /> + <display value="Body weight"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Körpergewicht" /> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-13T00:00:00+01:00" /> + <valueQuantity> + <value value="110" /> + <unit value="kg" /> + <system value="http://unitsofmeasure.org" /> + <code value="kg" /> + </valueQuantity> + <bodySite> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20210731" /> + <code value="38266002" /> + <display value="Entire body as a whole (body structure)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Gesamtkörper" /> + </extension> + </extension> + </display> + </coding> + </bodySite> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Weight/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Weight-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Weight/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Weight-test.xml new file mode 100644 index 0000000..b485ba6 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Body_Weight/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Body_Weight-test.xml @@ -0,0 +1,77 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="95ae8353-6805-4a81-a921-30a41ef68fc9" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Body_Weight|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:95ae8353-6805-4a81-a921-30a41ef68fc9" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category" /> + <code value="vital-signs" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="784399000" /> + <display value="Self reported body weight (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Koerpergewicht (Körpergewicht)" /> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="29463-7" /> + <display value="Body weight"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Körpergewicht" /> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-13T00:00:00+01:00" /> + <valueQuantity> + <value value="110" /> + <unit value="kg" /> + <system value="http://unitsofmeasure.org" /> + <code value="kg" /> + </valueQuantity> + <bodySite> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20210731" /> + <code value="38266002" /> + <display value="Entire body as a whole (body structure)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Gesamtkörper" /> + </extension> + </extension> + </display> + </coding> + </bodySite> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Diary_Entry/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Diary_Entry-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Diary_Entry/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Diary_Entry-test.xml new file mode 100644 index 0000000..7c3ced1 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Diary_Entry/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Diary_Entry-test.xml @@ -0,0 +1,53 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="dca59162-3179-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Diary_Entry|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Reference"> + <valueReference> + <reference value="urn:uuid:dca5939c-3179-11ec-8d3d-0242ac130003" /> + </valueReference> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Reference"> + <valueReference> + <reference value="urn:uuid:d00ab21d-5d9f-4055-9c54-7055aad5bee0" /> + </valueReference> + </extension> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca59162-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="51855-5" /> + <display value="Patient Note"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Tagebucheintrag" /> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2021-07-20" /> + <performer> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </performer> + <valueString value="Gestern geraucht und heute mit Kopfschmerzen aufgewacht, sind nach Einnhame von Ibuprofen besser geworden!" /> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Diary_Entry/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Diary_Entry-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Diary_Entry/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Diary_Entry-test.xml new file mode 100644 index 0000000..1ef386c --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Diary_Entry/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Diary_Entry-test.xml @@ -0,0 +1,53 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="dca59162-3179-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Diary_Entry|1.0.0" /> + </meta> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Reference"> + <valueReference> + <reference value="urn:uuid:dca5939c-3179-11ec-8d3d-0242ac130003" /> + </valueReference> + </extension> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Reference"> + <valueReference> + <reference value="urn:uuid:d00ab21d-5d9f-4055-9c54-7055aad5bee0" /> + </valueReference> + </extension> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca59162-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="51855-5" /> + <display value="Patient Note"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Tagebucheintrag" /> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <effectiveDateTime value="2021-07-20" /> + <performer> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </performer> + <valueString value="Gestern geraucht und heute mit Kopfschmerzen aufgewacht, sind nach Einnhame von Ibuprofen besser geworden!" /> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free-test.xml new file mode 100644 index 0000000..f0948cf --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free-test.xml @@ -0,0 +1,45 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="a519c7a8-ed18-4bdf-9977-54c15e58ffc1" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:a519c7a8-ed18-4bdf-9977-54c15e58ffc1" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://hl7.org/fhir/sid/icf-nl" /> + <code value="e225" /> + <display value="Klima" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="285400005" /> + <display value="Air pressure (physical force)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <performer> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </performer> + <hasMember> + <reference value="urn:uuid:03131548-3802-11ec-8d3d-0242ac130003" /> + </hasMember> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free-test.xml new file mode 100644 index 0000000..83917c3 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free-test.xml @@ -0,0 +1,45 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="a519c7a8-ed18-4bdf-9977-54c15e58ffc1" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Environmental_Factor_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:a519c7a8-ed18-4bdf-9977-54c15e58ffc1" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://hl7.org/fhir/sid/icf-nl" /> + <code value="e225" /> + <display value="Klima" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="285400005" /> + <display value="Air pressure (physical force)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <performer> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </performer> + <hasMember> + <reference value="urn:uuid:03131548-3802-11ec-8d3d-0242ac130003" /> + </hasMember> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Free-test.xml new file mode 100644 index 0000000..7f3b106 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Free-test.xml @@ -0,0 +1,33 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="282475008" /> + <display value="Unable to run (finding)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T08:00:00+01:00" /> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Free-test.xml new file mode 100644 index 0000000..7234407 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Free-test.xml @@ -0,0 +1,33 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="282475008" /> + <display value="Unable to run (finding)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T08:00:00+01:00" /> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free-test.xml new file mode 100644 index 0000000..f2bae19 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free-test.xml @@ -0,0 +1,43 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="8084a8ca-d11e-42eb-a97a-7164d0df9224" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:8084a8ca-d11e-42eb-a97a-7164d0df9224" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://hl7.org/fhir/sid/icf-nl" /> + <code value="b730-b749" /> + <display value="Funktionen der Muskeln" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="282462008" /> + <display value="Ability to run (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T12:00:00+01:00" /> + <hasMember> + <reference value="urn:uuid:f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + </hasMember> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free-test.xml new file mode 100644 index 0000000..1365df1 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free-test.xml @@ -0,0 +1,43 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="8084a8ca-d11e-42eb-a97a-7164d0df9224" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Functional_Assessment_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:8084a8ca-d11e-42eb-a97a-7164d0df9224" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://hl7.org/fhir/sid/icf-nl" /> + <code value="b730-b749" /> + <display value="Funktionen der Muskeln" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="282462008" /> + <display value="Ability to run (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T12:00:00+01:00" /> + <hasMember> + <reference value="urn:uuid:f2e8c16e-baef-4132-aa8f-eefb910503fa" /> + </hasMember> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration-test.xml new file mode 100644 index 0000000..7ff9085 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration-test.xml @@ -0,0 +1,63 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="75f306e9-2529-4a5f-aa35-452917b35fac"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:43:20.863+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="unknown-code"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:75f306e9-2529-4a5f-aa35-452917b35fac"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="15074-8"/> + <display value="Glucose [Moles/volume] in Blood"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Blutzuckerkonzentration"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="434912009"/> + <display value="Blood glucose concentration (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Blutzuckerkonzentration"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="Patient/3071accc-8240-4b87-8118-9128c9c783cb"/> + </subject> + <effectiveDateTime value="2023-03-01T15:43:14+00:00"/> + <valueQuantity> + <value value="5.000000000"/> + <unit value="mmol/L"/> + <system value="http://unitsofmeasure.org"/> + <code value="mmol/L"/> + </valueQuantity> + </Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration-test.xml new file mode 100644 index 0000000..777d0cf --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration-test.xml @@ -0,0 +1,63 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="75f306e9-2529-4a5f-aa35-452917b35fac"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2023-03-01T15:43:20.863+00:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Glucose_Concentration|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:75f306e9-2529-4a5f-aa35-452917b35fac"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="15074-8"/> + <display value="Glucose [Moles/volume] in Blood"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Blutzuckerkonzentration"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="434912009"/> + <display value="Blood glucose concentration (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Blutzuckerkonzentration"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="Patient/3071accc-8240-4b87-8118-9128c9c783cb"/> + </subject> + <effectiveDateTime value="2023-03-01T15:43:14+00:00"/> + <valueQuantity> + <value value="5.000000000"/> + <unit value="mmol/L"/> + <system value="http://unitsofmeasure.org"/> + <code value="mmol/L"/> + </valueQuantity> + </Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Head_Circumference/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Head_Circumference-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Head_Circumference/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Head_Circumference-test.xml new file mode 100644 index 0000000..2073dfd --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Head_Circumference/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Head_Circumference-test.xml @@ -0,0 +1,63 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="a8742ed5-f641-4e4e-8649-6911099c551a"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2022-06-16T07:40:22+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Head_Circumference|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a8742ed5-f641-4e4e-8649-6911099c551a"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="unknown-code"/> + <display value="Head circumference (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Kopfumfang"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="9843-4"/> + <display value="Head circumference"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Kopfumfang"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:77a702db-8fec-43d2-b70b-afbe1235cf08"/> + </subject> + <effectiveDateTime value="2021-06-21T12:00:00+01:00"/> + <valueQuantity> + <value value="172.0"/> + <unit value="cm"/> + <system value="http://unitsofmeasure.org"/> + <code value="cm"/> + </valueQuantity> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Head_Circumference/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Head_Circumference-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Head_Circumference/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Head_Circumference-test.xml new file mode 100644 index 0000000..ec000b9 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Head_Circumference/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Head_Circumference-test.xml @@ -0,0 +1,63 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="a8742ed5-f641-4e4e-8649-6911099c551a"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2022-06-16T07:40:22+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Head_Circumference|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a8742ed5-f641-4e4e-8649-6911099c551a"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="363812007"/> + <display value="Head circumference (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Kopfumfang"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="9843-4"/> + <display value="Head circumference"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Kopfumfang"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:77a702db-8fec-43d2-b70b-afbe1235cf08"/> + </subject> + <effectiveDateTime value="2021-06-21T12:00:00+01:00"/> + <valueQuantity> + <value value="172.0"/> + <unit value="cm"/> + <system value="http://unitsofmeasure.org"/> + <code value="cm"/> + </valueQuantity> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Heart_Rate/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Heart_Rate-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Heart_Rate/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Heart_Rate-test.xml new file mode 100644 index 0000000..46cd844 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Heart_Rate/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Heart_Rate-test.xml @@ -0,0 +1,66 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="59c41b9f-ef59-4372-81df-2a79a66934c7" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Heart_Rate|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:59c41b9f-ef59-4372-81df-2a79a66934c7" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category" /> + <code value="vital-signs" /> + </coding> + </category> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="8867-4" /> + <display value="Heart rate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Herzfrequenz" /> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="364075005" /> + <display value="Heart rate (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Herzfrequenz (Herzfrequenz)" /> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T12:00:00+01:00" /> + <valueQuantity> + <value value="120" /> + <unit value="per minute" /> + <system value="http://unitsofmeasure.org" /> + <code value="/min" /> + </valueQuantity> + <device> + <reference value="urn:uuid:310abf1c-8f61-4a9e-ab27-2697c0947a2e" /> + </device> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Heart_Rate/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Heart_Rate-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Heart_Rate/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Heart_Rate-test.xml new file mode 100644 index 0000000..4624635 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Heart_Rate/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Heart_Rate-test.xml @@ -0,0 +1,66 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="59c41b9f-ef59-4372-81df-2a79a66934c7" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Heart_Rate|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:59c41b9f-ef59-4372-81df-2a79a66934c7" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category" /> + <code value="vital-signs" /> + </coding> + </category> + <code> + <coding> + <system value="http://loinc.org" /> + <version value="2.71" /> + <code value="8867-4" /> + <display value="Heart rate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Herzfrequenz" /> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="364075005" /> + <display value="Heart rate (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Herzfrequenz (Herzfrequenz)" /> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T12:00:00+01:00" /> + <valueQuantity> + <value value="120" /> + <unit value="per minute" /> + <system value="http://unitsofmeasure.org" /> + <code value="/min" /> + </valueQuantity> + <device> + <reference value="urn:uuid:310abf1c-8f61-4a9e-ab27-2697c0947a2e" /> + </device> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free/invalid/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free/invalid/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free-test.xml new file mode 100644 index 0000000..27dd733 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free/invalid/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free-test.xml @@ -0,0 +1,35 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="dca5939c-3179-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca5939c-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229819007" /> + <display value="Tobacco use and exposure (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <hasMember> + <reference value="urn:uuid:e720c2ce-371e-11ec-8d3d-0242ac130003" /> + </hasMember> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free-test.xml new file mode 100644 index 0000000..30093de --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free-test.xml @@ -0,0 +1,35 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="dca5939c-3179-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Life_Style_Factor_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca5939c-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229819007" /> + <display value="Tobacco use and exposure (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </subject> + <hasMember> + <reference value="urn:uuid:e720c2ce-371e-11ec-8d3d-0242ac130003" /> + </hasMember> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake-test.xml new file mode 100644 index 0000000..3060cdb --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake-test.xml @@ -0,0 +1,151 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="d1e991c6-46ee-4b91-a56d-e40f1c5343cb" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:d1e991c6-46ee-4b91-a56d-e40f1c5343cb" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="255620007" /> + <display value="Food (substance)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <hasMember> + <reference value="urn:uuid:fd0c2548-512a-4492-92a8-efc0e086e72b" /> + </hasMember> + <hasMember> + <reference value="urn:uuid:067c0ec9-4fc6-4f5a-87e5-0893c9325b5e" /> + </hasMember> + <hasMember> + <reference value="urn:uuid:213a5629-1dd3-44cb-b829-fbf57a16465f" /> + </hasMember> + <component> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Nutrition_Intake_Taken"> + <extension url="einnahmeErfolgt"> + <extension url="einnahmeErfolgtCode"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229918000" /> + <display value="Food and drink intake (observable entity)" /> + </coding> + </valueCodeableConcept> + </extension> + <extension url="einnahmeErfolgtValue"> + <valueBoolean value="true" /> + </extension> + </extension> + </extension> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="226575004" /> + <display value="Naan bread (substance)" /> + </coding> + </code> + <valueQuantity> + <value value="200" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </component> + <component> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Nutrition_Intake_Taken"> + <extension url="einnahmeErfolgt"> + <extension url="einnahmeErfolgtCode"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229918000" /> + <display value="Food and drink intake (observable entity)" /> + </coding> + </valueCodeableConcept> + </extension> + <extension url="einnahmeErfolgtValue"> + <valueBoolean value="true" /> + </extension> + </extension> + </extension> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="227856006" /> + <display value="Okra curry (substance)" /> + </coding> + </code> + <valueQuantity> + <value value="300" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </component> + <component> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Nutrition_Intake_Taken"> + <extension url="einnahmeErfolgt"> + <extension url="einnahmeErfolgtCode"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229918000" /> + <display value="Food and drink intake (observable entity)" /> + </coding> + </valueCodeableConcept> + </extension> + <extension url="einnahmeErfolgtValue"> + <valueBoolean value="false" /> + </extension> + </extension> + <extension url="begruendungNichtEinnahme"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="422587007" /> + <display value="Nausea (finding)" /> + </coding> + </valueCodeableConcept> + </extension> + </extension> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="67324005" /> + <display value="Rice (substance)" /> + </coding> + </code> + <valueQuantity> + <value value="200" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </component> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake-test.xml new file mode 100644 index 0000000..77712b5 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake-test.xml @@ -0,0 +1,151 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="d1e991c6-46ee-4b91-a56d-e40f1c5343cb" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:d1e991c6-46ee-4b91-a56d-e40f1c5343cb" /> + </identifier> + <status value="final" /> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="255620007" /> + <display value="Food (substance)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <hasMember> + <reference value="urn:uuid:fd0c2548-512a-4492-92a8-efc0e086e72b" /> + </hasMember> + <hasMember> + <reference value="urn:uuid:067c0ec9-4fc6-4f5a-87e5-0893c9325b5e" /> + </hasMember> + <hasMember> + <reference value="urn:uuid:213a5629-1dd3-44cb-b829-fbf57a16465f" /> + </hasMember> + <component> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Nutrition_Intake_Taken"> + <extension url="einnahmeErfolgt"> + <extension url="einnahmeErfolgtCode"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229918000" /> + <display value="Food and drink intake (observable entity)" /> + </coding> + </valueCodeableConcept> + </extension> + <extension url="einnahmeErfolgtValue"> + <valueBoolean value="true" /> + </extension> + </extension> + </extension> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="226575004" /> + <display value="Naan bread (substance)" /> + </coding> + </code> + <valueQuantity> + <value value="200" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </component> + <component> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Nutrition_Intake_Taken"> + <extension url="einnahmeErfolgt"> + <extension url="einnahmeErfolgtCode"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229918000" /> + <display value="Food and drink intake (observable entity)" /> + </coding> + </valueCodeableConcept> + </extension> + <extension url="einnahmeErfolgtValue"> + <valueBoolean value="true" /> + </extension> + </extension> + </extension> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="227856006" /> + <display value="Okra curry (substance)" /> + </coding> + </code> + <valueQuantity> + <value value="300" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </component> + <component> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Nutrition_Intake_Taken"> + <extension url="einnahmeErfolgt"> + <extension url="einnahmeErfolgtCode"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229918000" /> + <display value="Food and drink intake (observable entity)" /> + </coding> + </valueCodeableConcept> + </extension> + <extension url="einnahmeErfolgtValue"> + <valueBoolean value="false" /> + </extension> + </extension> + <extension url="begruendungNichtEinnahme"> + <valueCodeableConcept> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="422587007" /> + <display value="Nausea (finding)" /> + </coding> + </valueCodeableConcept> + </extension> + </extension> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="67324005" /> + <display value="Rice (substance)" /> + </coding> + </code> + <valueQuantity> + <value value="200" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> + </component> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types-test.xml new file mode 100644 index 0000000..48ec5b6 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types-test.xml @@ -0,0 +1,53 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="fd0c2548-512a-4492-92a8-efc0e086e72b" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:fd0c2548-512a-4492-92a8-efc0e086e72b" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229957008" /> + <display value="Food composition types (substance)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Detail über die Gesamtzusammensetzung" /> + </extension> + </extension> + </display> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="874875003" /> + <display value="Protein and/or protein derivative intake (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <valueQuantity> + <value value="100" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types-test.xml new file mode 100644 index 0000000..a35cea2 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types-test.xml @@ -0,0 +1,53 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="fd0c2548-512a-4492-92a8-efc0e086e72b" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Nutrition_Intake_Food_Composition_Types|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:fd0c2548-512a-4492-92a8-efc0e086e72b" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="229957008" /> + <display value="Food composition types (substance)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Detail über die Gesamtzusammensetzung" /> + </extension> + </extension> + </display> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="874875003" /> + <display value="Protein and/or protein derivative intake (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <valueQuantity> + <value value="100" /> + <unit value="g" /> + <system value="http://unitsofmeasure.org" /> + <code value="g" /> + </valueQuantity> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation-test.xml new file mode 100644 index 0000000..e9f169a --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation-test.xml @@ -0,0 +1,77 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="fd0c2548-512a-4492-92a8-efc0e086e72b" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:fd0c2548-512a-4492-92a8-efc0e086e72b" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="unknown-code"/> + <display value="Peripheral oxygen saturation (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="periphere arterielle Sauerstoffsättigung"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="2708-6"/> + <display value="Oxygen saturation in Arterial blood"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="periphere arterielle Sauerstoffsättigung"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <valueQuantity> + <value value="97.0" /> + <unit value="%" /> + <system value="http://unitsofmeasure.org" /> + <code value="%" /> + </valueQuantity> + <method> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="448703006"/> + <display value="Pulse oximeter (physical object)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Pulsoximeter"/> + </extension> + </extension> + </display> + </coding> + </method> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation-test.xml new file mode 100644 index 0000000..cee399d --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation-test.xml @@ -0,0 +1,77 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="fd0c2548-512a-4492-92a8-efc0e086e72b" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Peripheral_Oxygen_Saturation|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:fd0c2548-512a-4492-92a8-efc0e086e72b" /> + </identifier> + <status value="final" /> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="431314004"/> + <display value="Peripheral oxygen saturation (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="periphere arterielle Sauerstoffsättigung"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="2708-6"/> + <display value="Oxygen saturation in Arterial blood"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="periphere arterielle Sauerstoffsättigung"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <effectiveDateTime value="2021-06-20T14:00:00+01:00" /> + <valueQuantity> + <value value="97.0" /> + <unit value="%" /> + <system value="http://unitsofmeasure.org" /> + <code value="%" /> + </valueQuantity> + <method> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20210731"/> + <code value="448703006"/> + <display value="Pulse oximeter (physical object)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Pulsoximeter"/> + </extension> + </extension> + </display> + </coding> + </method> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate-test.xml new file mode 100644 index 0000000..b73f915 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate/invalid/1.0.0/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate-test.xml @@ -0,0 +1,63 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="a8742ed5-f641-4e4e-8649-6911099c551a"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2022-06-16T07:40:22+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="unknown-code"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a8742ed5-f641-4e4e-8649-6911099c551a"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="86290005"/> + <display value="Respiratory rate (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Atemfrequenz"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="9279-1"/> + <display value="Respiratory rate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Atemfrequenz"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:77a702db-8fec-43d2-b70b-afbe1235cf08"/> + </subject> + <effectiveDateTime value="2021-06-21T12:00:00+01:00"/> + <valueQuantity> + <value value="15.0"/> + <unit value="per minute"/> + <system value="http://unitsofmeasure.org"/> + <code value="/min"/> + </valueQuantity> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate-test.xml new file mode 100644 index 0000000..40e8cde --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate/valid/1.0.0/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate-test.xml @@ -0,0 +1,63 @@ +<Observation xmlns="http://hl7.org/fhir"> + <id value="a8742ed5-f641-4e4e-8649-6911099c551a"/> + <meta> + <versionId value="1"/> + <lastUpdated value="2022-06-16T07:40:22+01:00"/> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Respiratory_Rate|1.0.0"/> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> + <version value="2.9"/> + <code value="RI"/> + <display value="Resource identifier"/> + </coding> + </type> + <system value="urn:ietf:rfc:3986"/> + <value value="urn:uuid:a8742ed5-f641-4e4e-8649-6911099c551a"/> + </identifier> + <status value="final"/> + <category> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> + <code value="vital-signs"/> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="86290005"/> + <display value="Respiratory rate (observable entity)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Atemfrequenz"/> + </extension> + </extension> + </display> + </coding> + <coding> + <system value="http://loinc.org"/> + <version value="2.71"/> + <code value="9279-1"/> + <display value="Respiratory rate"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Atemfrequenz"/> + </extension> + </extension> + </display> + </coding> + </code> + <subject> + <reference value="urn:uuid:77a702db-8fec-43d2-b70b-afbe1235cf08"/> + </subject> + <effectiveDateTime value="2021-06-21T12:00:00+01:00"/> + <valueQuantity> + <value value="15.0"/> + <unit value="per minute"/> + <system value="http://unitsofmeasure.org"/> + <code value="/min"/> + </valueQuantity> +</Observation> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Organization/invalid/1.0.0/KBV_PR_MIO_DIGA_Organization-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Organization/invalid/1.0.0/KBV_PR_MIO_DIGA_Organization-test.xml new file mode 100644 index 0000000..7f21c1b --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Organization/invalid/1.0.0/KBV_PR_MIO_DIGA_Organization-test.xml @@ -0,0 +1,21 @@ +<Organization xmlns="http://hl7.org/fhir"> + <id value="0ca8a37b-3f17-472a-a680-217006098422" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Organization|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + </identifier> + <name value="Organisations-Organisation" /> +</Organization> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Organization/valid/1.0.0/KBV_PR_MIO_DIGA_Organization-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Organization/valid/1.0.0/KBV_PR_MIO_DIGA_Organization-test.xml new file mode 100644 index 0000000..5548a45 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Organization/valid/1.0.0/KBV_PR_MIO_DIGA_Organization-test.xml @@ -0,0 +1,21 @@ +<Organization xmlns="http://hl7.org/fhir"> + <id value="0ca8a37b-3f17-472a-a680-217006098422" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Organization|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + </identifier> + <name value="Organisations-Organisation" /> +</Organization> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Organization_Manufacturer/invalid/1.0.0/KBV_PR_MIO_DIGA_Organization_Manufacturer-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Organization_Manufacturer/invalid/1.0.0/KBV_PR_MIO_DIGA_Organization_Manufacturer-test.xml new file mode 100644 index 0000000..8a76883 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Organization_Manufacturer/invalid/1.0.0/KBV_PR_MIO_DIGA_Organization_Manufacturer-test.xml @@ -0,0 +1,21 @@ +<Organization xmlns="http://hl7.org/fhir"> + <id value="0ca8a37b-3f17-472a-a680-217006098422" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Organization_Manufacturer|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + </identifier> + <name value="Device Hersteller" /> +</Organization> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Organization_Manufacturer/valid/1.0.0/KBV_PR_MIO_DIGA_Organization_Manufacturer-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Organization_Manufacturer/valid/1.0.0/KBV_PR_MIO_DIGA_Organization_Manufacturer-test.xml new file mode 100644 index 0000000..11f7f6e --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Organization_Manufacturer/valid/1.0.0/KBV_PR_MIO_DIGA_Organization_Manufacturer-test.xml @@ -0,0 +1,21 @@ +<Organization xmlns="http://hl7.org/fhir"> + <id value="0ca8a37b-3f17-472a-a680-217006098422" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Organization_Manufacturer|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:0ca8a37b-3f17-472a-a680-217006098422" /> + </identifier> + <name value="Device Hersteller" /> +</Organization> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Patient/invalid/1.0.0/KBV_PR_MIO_DIGA_Patient-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Patient/invalid/1.0.0/KBV_PR_MIO_DIGA_Patient-test.xml new file mode 100644 index 0000000..8f23065 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Patient/invalid/1.0.0/KBV_PR_MIO_DIGA_Patient-test.xml @@ -0,0 +1,95 @@ +<Patient xmlns="http://hl7.org/fhir"> + <id value="3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient|1.0.0" /> + </meta> + <identifier> + <use value="official" /> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type" /> + <code value="unknown-code" /> + <display value="Krankenversichertenkarte" /> + </coding> + </type> + <system value="http://fhir.de/NamingSystem/gkv/kvk-versichertennummer" /> + <value value="B987654321" /> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </identifier> + <name> + <use value="official" /> + <text value="Erika Mustermann" /> + <family value="Mustermann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Mustermann" /> + </extension> + </family> + <given value="Erika" /> + </name> + <telecom> + <system value="phone"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Telefonnummer" /> + </extension> + </extension> + </system> + <value value="017909090" /> + </telecom> + <gender value="female" /> + <birthDate value="1980-12-30" /> + <address> + <type value="both" /> + <line value="Musterstraße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstraße" /> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1" /> + </extension> + </line> + <city value="Berlin" /> + <postalCode value="10101" /> + <country value="D" /> + </address> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="de" /> + <display value="German" /> + </coding> + </language> + </communication> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="fi" /> + <display value="Finnish" /> + </coding> + </language> + </communication> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="fr" /> + <display value="French" /> + </coding> + </language> + </communication> +</Patient> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Patient/valid/1.0.0/KBV_PR_MIO_DIGA_Patient-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Patient/valid/1.0.0/KBV_PR_MIO_DIGA_Patient-test.xml new file mode 100644 index 0000000..06cca5c --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Patient/valid/1.0.0/KBV_PR_MIO_DIGA_Patient-test.xml @@ -0,0 +1,95 @@ +<Patient xmlns="http://hl7.org/fhir"> + <id value="3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient|1.0.0" /> + </meta> + <identifier> + <use value="official" /> + <type> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type" /> + <code value="kvk" /> + <display value="Krankenversichertenkarte" /> + </coding> + </type> + <system value="http://fhir.de/NamingSystem/gkv/kvk-versichertennummer" /> + <value value="B987654321" /> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </identifier> + <name> + <use value="official" /> + <text value="Erika Mustermann" /> + <family value="Mustermann"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Mustermann" /> + </extension> + </family> + <given value="Erika" /> + </name> + <telecom> + <system value="phone"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Telefonnummer" /> + </extension> + </extension> + </system> + <value value="017909090" /> + </telecom> + <gender value="female" /> + <birthDate value="1980-12-30" /> + <address> + <type value="both" /> + <line value="Musterstraße 1"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Musterstraße" /> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="1" /> + </extension> + </line> + <city value="Berlin" /> + <postalCode value="10101" /> + <country value="D" /> + </address> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="de" /> + <display value="German" /> + </coding> + </language> + </communication> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="fi" /> + <display value="Finnish" /> + </coding> + </language> + </communication> + <communication> + <language> + <coding> + <system value="urn:ietf:bcp:47" /> + <code value="fr" /> + <display value="French" /> + </coding> + </language> + </communication> +</Patient> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Practitioner/invalid/1.0.0/KBV_PR_MIO_DIGA_Practitioner-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Practitioner/invalid/1.0.0/KBV_PR_MIO_DIGA_Practitioner-test.xml new file mode 100644 index 0000000..0c70372 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Practitioner/invalid/1.0.0/KBV_PR_MIO_DIGA_Practitioner-test.xml @@ -0,0 +1,93 @@ +<Practitioner xmlns="http://hl7.org/fhir"> + <id value="05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Practitioner|1.0.0" /> + </meta> + <identifier> + <use value="official" /> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Lifelong physician number" /> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR" /> + <value value="123412312" /> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + </identifier> + <name> + <use value="official" /> + <text value="Dr. med. Michaela Müller" /> + <family value="Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller" /> + </extension> + </family> + <given value="Michaela" /> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC" /> + </extension> + </prefix> + </name> + <telecom> + <system value="email"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Email" /> + </extension> + </extension> + </system> + <value value="michaela@müller.de" /> + </telecom> + <telecom> + <system value="phone"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Telefonnummer" /> + </extension> + </extension> + </system> + <value value="030934913" /> + </telecom> + <address> + <type value="both" /> + <text value="Müllerstraße 2, 10203 Berlin" /> + <line value="Müllerstraße 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Müllerstraße" /> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2" /> + </extension> + </line> + <city value="Berlin" /> + <postalCode value="10203" /> + <country value="D" /> + </address> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BAR2_WBO" /> + <version value="1.16" /> + <code value="010" /> + <display value="FA Allgemeinmedizin" /> + </coding> + </code> + </qualification> +</Practitioner> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Practitioner/valid/1.0.0/KBV_PR_MIO_DIGA_Practitioner-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Practitioner/valid/1.0.0/KBV_PR_MIO_DIGA_Practitioner-test.xml new file mode 100644 index 0000000..70a764b --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Practitioner/valid/1.0.0/KBV_PR_MIO_DIGA_Practitioner-test.xml @@ -0,0 +1,93 @@ +<Practitioner xmlns="http://hl7.org/fhir"> + <id value="05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Practitioner|1.0.0" /> + </meta> + <identifier> + <use value="official" /> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="LANR" /> + <display value="Lifelong physician number" /> + </coding> + </type> + <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR" /> + <value value="123412312" /> + </identifier> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + </identifier> + <name> + <use value="official" /> + <text value="Dr. med. Michaela Müller" /> + <family value="Müller"> + <extension url="http://hl7.org/fhir/StructureDefinition/humanname-own-name"> + <valueString value="Müller" /> + </extension> + </family> + <given value="Michaela" /> + <prefix value="Dr. med."> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"> + <valueCode value="AC" /> + </extension> + </prefix> + </name> + <telecom> + <system value="email"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Email" /> + </extension> + </extension> + </system> + <value value="michaela@müller.de" /> + </telecom> + <telecom> + <system value="phone"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Telefonnummer" /> + </extension> + </extension> + </system> + <value value="030934913" /> + </telecom> + <address> + <type value="both" /> + <text value="Müllerstraße 2, 10203 Berlin" /> + <line value="Müllerstraße 2"> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> + <valueString value="Müllerstraße" /> + </extension> + <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> + <valueString value="2" /> + </extension> + </line> + <city value="Berlin" /> + <postalCode value="10203" /> + <country value="D" /> + </address> + <qualification> + <code> + <coding> + <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BAR2_WBO" /> + <version value="1.16" /> + <code value="010" /> + <display value="FA Allgemeinmedizin" /> + </coding> + </code> + </qualification> +</Practitioner> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_PractitionerRole/invalid/1.0.0/KBV_PR_MIO_DIGA_PractitionerRole-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_PractitionerRole/invalid/1.0.0/KBV_PR_MIO_DIGA_PractitionerRole-test.xml new file mode 100644 index 0000000..0794e9c --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_PractitionerRole/invalid/1.0.0/KBV_PR_MIO_DIGA_PractitionerRole-test.xml @@ -0,0 +1,26 @@ +<PractitionerRole xmlns="http://hl7.org/fhir"> + <id value="05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_PractitionerRole|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + </identifier> + <practitioner> + <reference value='Practitioner/PractitionerWalterArzt'/> + </practitioner> + <organization> + <reference value='Organization/PraxisWalterArzt'/> + </organization> +</PractitionerRole> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_PractitionerRole/valid/1.0.0/KBV_PR_MIO_DIGA_PractitionerRole-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_PractitionerRole/valid/1.0.0/KBV_PR_MIO_DIGA_PractitionerRole-test.xml new file mode 100644 index 0000000..452751e --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_PractitionerRole/valid/1.0.0/KBV_PR_MIO_DIGA_PractitionerRole-test.xml @@ -0,0 +1,26 @@ +<PractitionerRole xmlns="http://hl7.org/fhir"> + <id value="05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_PractitionerRole|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + </identifier> + <practitioner> + <reference value='Practitioner/PractitionerWalterArzt'/> + </practitioner> + <organization> + <reference value='Organization/PraxisWalterArzt'/> + </organization> +</PractitionerRole> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Procedure_Activity_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Procedure_Activity_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Procedure_Activity_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Procedure_Activity_Free-test.xml new file mode 100644 index 0000000..72a6202 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Procedure_Activity_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Procedure_Activity_Free-test.xml @@ -0,0 +1,46 @@ +<Procedure xmlns="http://hl7.org/fhir"> + <id value="3be97a7c-d300-4a6f-bea9-23cd00374edf" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Procedure_Activity_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="runknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:3be97a7c-d300-4a6f-bea9-23cd00374edf" /> + </identifier> + <status value="completed" /> + <category> + <coding> + <system value="http://hl7.org/fhir/sid/icf-nl" /> + <code value="d920" /> + <display value="Erholung und Freizeit" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="129006008" /> + <display value="Walking (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <performedPeriod> + <start value="2021-06-20T11:00:00+01:00" /> + <end value="2021-07-20T13:00:00+01:00" /> + </performedPeriod> + <note> + <text value="Bei der Hitze sehr anstrengend" /> + </note> +</Procedure> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Procedure_Activity_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Procedure_Activity_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Procedure_Activity_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Procedure_Activity_Free-test.xml new file mode 100644 index 0000000..52c3e8d --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Procedure_Activity_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Procedure_Activity_Free-test.xml @@ -0,0 +1,46 @@ +<Procedure xmlns="http://hl7.org/fhir"> + <id value="3be97a7c-d300-4a6f-bea9-23cd00374edf" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-10-27T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Procedure_Activity_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:3be97a7c-d300-4a6f-bea9-23cd00374edf" /> + </identifier> + <status value="completed" /> + <category> + <coding> + <system value="http://hl7.org/fhir/sid/icf-nl" /> + <code value="d920" /> + <display value="Erholung und Freizeit" /> + </coding> + </category> + <code> + <coding> + <system value="http://snomed.info/sct" /> + <version value="http://snomed.info/sct/900000000000207008/version/20220131" /> + <code value="129006008" /> + <display value="Walking (observable entity)" /> + </coding> + </code> + <subject> + <reference value="urn:uuid:3ce63d96-effd-43aa-bab2-acfd7e618e07" /> + </subject> + <performedPeriod> + <start value="2021-06-20T11:00:00+01:00" /> + <end value="2021-07-20T13:00:00+01:00" /> + </performedPeriod> + <note> + <text value="Bei der Hitze sehr anstrengend" /> + </note> +</Procedure> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Provenance/invalid/1.0.0/KBV_PR_MIO_DIGA_Provenance-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Provenance/invalid/1.0.0/KBV_PR_MIO_DIGA_Provenance-test.xml new file mode 100644 index 0000000..49fb440 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Provenance/invalid/1.0.0/KBV_PR_MIO_DIGA_Provenance-test.xml @@ -0,0 +1,51 @@ +<Provenance xmlns="http://hl7.org/fhir"> + <id value="dca59e46-3179-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2018-01-15T08:00:00+00:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Provenance|1.0.0" /> + </meta> + <target> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </target> + <target> + <reference value="urn:uuid:dca59c0c-3179-11ec-8d3d-0242ac130003" /> + </target> + <target> + <reference value="urn:uuid:dca59a90-3179-11ec-8d3d-0242ac130003" /> + </target> + <target> + <reference value="urn:uuid:dca57c90-3179-11ec-8d3d-0242ac130003" /> + </target> + <target> + <reference value="urn:uuid:dca57f7e-3179-11ec-8d3d-0242ac130003" /> + </target> + <target> + <reference value="urn:uuid:dca5a990-3179-11ec-8d3d-0242ac130003" /> + </target> + <target> + <reference value="urn:uuid:dca58050-3179-11ec-8d3d-0242ac130003" /> + </target> + <recorded value="2018-01-15T08:00:00+00:00" /> + <activity> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" /> + <version value="2020-08-12" /> + <code value="unknown-code" /> + <display value="create" /> + </coding> + </activity> + <agent> + <role> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/contractsignertypecodes" /> + <version value="4.0.1" /> + <code value="PRIMAUTH" /> + <display value="Primary Author" /> + </coding> + </role> + <who> + <reference value="urn:uuid:dca57f7e-3179-11ec-8d3d-0242ac130003" /> + </who> + </agent> +</Provenance> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Provenance/valid/1.0.0/KBV_PR_MIO_DIGA_Provenance-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Provenance/valid/1.0.0/KBV_PR_MIO_DIGA_Provenance-test.xml new file mode 100644 index 0000000..bbbc9fd --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Provenance/valid/1.0.0/KBV_PR_MIO_DIGA_Provenance-test.xml @@ -0,0 +1,57 @@ +<Provenance xmlns="http://hl7.org/fhir"> + <id value="dca59e46-3179-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2018-01-15T08:00:00+00:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Provenance|1.0.0" /> + </meta> + <target> + <reference value="urn:uuid:dca59b4e-3179-11ec-8d3d-0242ac130003" /> + </target> + <target> + <reference value="urn:uuid:dca59c0c-3179-11ec-8d3d-0242ac130003" /> + </target> + <target> + <reference value="urn:uuid:dca59a90-3179-11ec-8d3d-0242ac130003" /> + </target> + <target> + <reference value="urn:uuid:dca57c90-3179-11ec-8d3d-0242ac130003" /> + </target> + <target> + <reference value="urn:uuid:dca57f7e-3179-11ec-8d3d-0242ac130003" /> + </target> + <target> + <reference value="urn:uuid:dca5a990-3179-11ec-8d3d-0242ac130003" /> + </target> + <target> + <reference value="urn:uuid:dca58050-3179-11ec-8d3d-0242ac130003" /> + </target> + <recorded value="2018-01-15T08:00:00+00:00" /> + <activity> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" /> + <version value="2020-08-12" /> + <code value="CREATE" /> + <display value="create" /> + </coding> + </activity> + <agent> + <role> + <coding> + <system value="http://snomed.info/sct"/> + <version value="http://snomed.info/sct/900000000000207008/version/20220131"/> + <code value="261665006"/> + <display value="Unknown (qualifier value)"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="test"/> + </extension> + </extension> + </display> + </coding> + </role> + <who> + <reference value="urn:uuid:dca57f7e-3179-11ec-8d3d-0242ac130003" /> + </who> + </agent> +</Provenance> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free-test.xml new file mode 100644 index 0000000..831ccf7 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free-test.xml @@ -0,0 +1,278 @@ +<QuestionnaireResponse xmlns="http://hl7.org/fhir"> + <id value="d4df04fe-3895-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca579fc-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <questionnaire value="https://test.test" /> + <status value="completed" /> + <subject> + <reference value="urn:uuid:cd0a4346-3882-11ec-8d3d-0242ac130003" /> + </subject> + <authored value="2021-03-01" /> + <item> + <linkId value="1" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="2" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="3" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="4" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="5" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="6" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="7" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="8" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="9" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="10" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="11" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="12" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="13" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="14" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="15" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="16" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="17" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="18" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="19" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="20" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="21" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="22" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="23" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="24" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="25" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="26" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="27" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="28" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="29" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="30" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="31" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="32" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="33" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="34" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="35" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="36" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="37" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="38" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="39" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="40" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="41" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="42" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> +</QuestionnaireResponse> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free/valid/1.0.0/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free/valid/1.0.0/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free-test.xml new file mode 100644 index 0000000..73f9ff3 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free/valid/1.0.0/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free-test.xml @@ -0,0 +1,278 @@ +<QuestionnaireResponse xmlns="http://hl7.org/fhir"> + <id value="d4df04fe-3895-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_QuestionnaireResponse_Free|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca579fc-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <questionnaire value="https://test.test" /> + <status value="completed" /> + <subject> + <reference value="urn:uuid:cd0a4346-3882-11ec-8d3d-0242ac130003" /> + </subject> + <authored value="2021-03-01" /> + <item> + <linkId value="1" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="2" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="3" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="4" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="5" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="6" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="7" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="8" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="9" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="10" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="11" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="12" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="13" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="14" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="15" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="16" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="17" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="18" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="19" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="20" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="21" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="22" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="23" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="24" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="25" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="26" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="27" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="28" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="29" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="30" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="31" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="32" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="33" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="34" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="35" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="36" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="37" /> + <answer> + <valueInteger value="0" /> + </answer> + </item> + <item> + <linkId value="38" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> + <item> + <linkId value="39" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="40" /> + <answer> + <valueInteger value="3" /> + </answer> + </item> + <item> + <linkId value="41" /> + <answer> + <valueInteger value="2" /> + </answer> + </item> + <item> + <linkId value="42" /> + <answer> + <valueInteger value="1" /> + </answer> + </item> +</QuestionnaireResponse> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Questionnaire_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Questionnaire_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Questionnaire_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Questionnaire_Free-test.xml new file mode 100644 index 0000000..0a9578c --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Questionnaire_Free/invalid/1.0.0/KBV_PR_MIO_DIGA_Questionnaire_Free-test.xml @@ -0,0 +1,992 @@ +<Questionnaire xmlns="http://hl7.org/fhir"> + <id value="d5838314-3893-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Questionnaire_Free|1.0.0" /> + </meta> + <language value="de" /> + <url value="https://test.test" /> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca579fc-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <version value="1" /> + <title value="Depressions-Angst-Stress-Skalen (DASS 42)" /> + <status value="active" /> + <date value="2020-02-02" /> + <item> + <linkId value="1" /> + <text value="Ich bemerkte, daß ich mich über Kleinigkeiten aufregte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="2" /> + <text value="Ich spürte, daß mein Mund trocken war" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="3" /> + <text value="Ich konnte überhaupt keine positiven Gefühle erleben" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="4" /> + <text value="Ich hatte Atemprobleme (z.B. übermäßig schnelles Atmen, Atemlosigkeit ohne körperliche Anstrengung)" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="5" /> + <text value="Ich konnte einfach nicht in Gang kommen" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="6" /> + <text value="Ich tendierte dazu, auf Situationen überzureagieren" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="7" /> + <text value="Ich fühlte mich zittrig (z.B. schwach in den Beinen)" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="8" /> + <text value="Ich fand es schwierig, mich zu entspannen" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="9" /> + <text value="Ich fand mich in Situationen wieder, die mich so ängstlich machten, daß ich sehr froh war, wenn sie vorbei waren" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="10" /> + <text value="Ich hatte das Gefühl, nichts zu haben, auf das ich mich freuen konnte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="11" /> + <text value="Ich bemerkte, daß ich mich ziemlich schnell aufregte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="12" /> + <text value="Ich fühlte, daß ich eine Menge Nervenkraft verbrauchte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="13" /> + <text value="Ich fühlte mich traurig und niedergedrückt" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="14" /> + <text value="Ich bemerkte, daß ich ungeduldig wurde, wenn ich irgendwie aufgehalten wurde (z.B. im Fahrstuhl, an Ampeln, wenn man mich warten ließ)" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="15" /> + <text value="Ich hatte das Gefühl, ohnmächtig zu werden" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="16" /> + <text value="Ich fühlte, daß ich das Interesse an allem verloren hatte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="17" /> + <text value="Ich fühlte mich als Person nicht viel wert" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="18" /> + <text value="Ich fand mich ziemlich empfindlich" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="19" /> + <text value="Ich schwitzte spürbar (z.B. feuchte Hände), ohne daß hohe Temperaturen herrschten oder daß ich mich körperlich anstrengte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="20" /> + <text value="Ich fühlte mich grundlos ängstlich" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="21" /> + <text value="Ich hatte das Gefühl, daß das Leben sich nicht lohnt" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="22" /> + <text value="Ich fand es schwer, mich zu beruhigen" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="23" /> + <text value="Ich hatte Schluckbeschwerden" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="24" /> + <text value="Es schien, als könnte ich die Dinge, die ich tat, überhaupt nicht genießen" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="25" /> + <text value="Ich war mir über meinen Herzschlag bewußt, ohne daß ich mich körperlich angestrengt hatte (z.B. das Gefühl beschleunigten Herzschlags, das Gefühl, daß der Herzschlag aussetzt)" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="26" /> + <text value="Ich fühlte mich niedergeschlagen und traurig" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="27" /> + <text value="Ich stellte fest, daß ich sehr reizbar war" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="28" /> + <text value="Ich fühlte mich einer Panik nahe" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="29" /> + <text value="Ich fand es schwer, mich zu beruhigen, wenn mich etwas geärgert hatte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="30" /> + <text value="Ich befürchtete, daß mich eine einfache, aber ungewohnte Aufgabe aus der Bahn werfen würde" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="31" /> + <text value="Ich war nicht in der Lage, mich für irgendetwas zu begeistern" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="32" /> + <text value="Ich fand es schwierig zu tolerieren, wenn ich bei einer Tätigkeit unterbrochen wurde" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="33" /> + <text value="Ich war in einem Zustand nervöser Anspannung" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="34" /> + <text value="Ich fühlte mich ziemlich wertlos" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="35" /> + <text value="Ich konnte nichts ertragen, das mich davon abhielt, in meiner Tätigkeit fortzufahren" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="36" /> + <text value="Ich fühlte mich erschrocken" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="37" /> + <text value="Ich konnte nicht hoffnungsvoll in die Zukunft blicken" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="38" /> + <text value="Ich empfand das Leben als sinnlos" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="39" /> + <text value="Ich bemerkte, daß ich unruhig wurde" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="40" /> + <text value="Ich machte mir Sorgen über Situationen, in denen ich in Panik geraten und mich zum Trottel machen könnte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="41" /> + <text value="Ich zitterte (z.B. an den Händen)" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="42" /> + <text value="Es fiel mir schwer, die Initiative aufzubringen, Dinge zu tun" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> +</Questionnaire> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Questionnaire_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Questionnaire_Free-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Questionnaire_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Questionnaire_Free-test.xml new file mode 100644 index 0000000..5d94895 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_Questionnaire_Free/valid/1.0.0/KBV_PR_MIO_DIGA_Questionnaire_Free-test.xml @@ -0,0 +1,992 @@ +<Questionnaire xmlns="http://hl7.org/fhir"> + <id value="d5838314-3893-11ec-8d3d-0242ac130003" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2015-02-07T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Questionnaire_Free|1.0.0" /> + </meta> + <language value="de" /> + <url value="https://test.test" /> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:dca579fc-3179-11ec-8d3d-0242ac130003" /> + </identifier> + <version value="1" /> + <title value="Depressions-Angst-Stress-Skalen (DASS 42)" /> + <status value="active" /> + <date value="2020-02-02" /> + <item> + <linkId value="1" /> + <text value="Ich bemerkte, daß ich mich über Kleinigkeiten aufregte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="2" /> + <text value="Ich spürte, daß mein Mund trocken war" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="3" /> + <text value="Ich konnte überhaupt keine positiven Gefühle erleben" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="4" /> + <text value="Ich hatte Atemprobleme (z.B. übermäßig schnelles Atmen, Atemlosigkeit ohne körperliche Anstrengung)" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="5" /> + <text value="Ich konnte einfach nicht in Gang kommen" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="6" /> + <text value="Ich tendierte dazu, auf Situationen überzureagieren" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="7" /> + <text value="Ich fühlte mich zittrig (z.B. schwach in den Beinen)" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="8" /> + <text value="Ich fand es schwierig, mich zu entspannen" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="9" /> + <text value="Ich fand mich in Situationen wieder, die mich so ängstlich machten, daß ich sehr froh war, wenn sie vorbei waren" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="10" /> + <text value="Ich hatte das Gefühl, nichts zu haben, auf das ich mich freuen konnte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="11" /> + <text value="Ich bemerkte, daß ich mich ziemlich schnell aufregte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="12" /> + <text value="Ich fühlte, daß ich eine Menge Nervenkraft verbrauchte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="13" /> + <text value="Ich fühlte mich traurig und niedergedrückt" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="14" /> + <text value="Ich bemerkte, daß ich ungeduldig wurde, wenn ich irgendwie aufgehalten wurde (z.B. im Fahrstuhl, an Ampeln, wenn man mich warten ließ)" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="15" /> + <text value="Ich hatte das Gefühl, ohnmächtig zu werden" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="16" /> + <text value="Ich fühlte, daß ich das Interesse an allem verloren hatte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="17" /> + <text value="Ich fühlte mich als Person nicht viel wert" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="18" /> + <text value="Ich fand mich ziemlich empfindlich" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="19" /> + <text value="Ich schwitzte spürbar (z.B. feuchte Hände), ohne daß hohe Temperaturen herrschten oder daß ich mich körperlich anstrengte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="20" /> + <text value="Ich fühlte mich grundlos ängstlich" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="21" /> + <text value="Ich hatte das Gefühl, daß das Leben sich nicht lohnt" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="22" /> + <text value="Ich fand es schwer, mich zu beruhigen" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="23" /> + <text value="Ich hatte Schluckbeschwerden" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="24" /> + <text value="Es schien, als könnte ich die Dinge, die ich tat, überhaupt nicht genießen" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="25" /> + <text value="Ich war mir über meinen Herzschlag bewußt, ohne daß ich mich körperlich angestrengt hatte (z.B. das Gefühl beschleunigten Herzschlags, das Gefühl, daß der Herzschlag aussetzt)" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="26" /> + <text value="Ich fühlte mich niedergeschlagen und traurig" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="27" /> + <text value="Ich stellte fest, daß ich sehr reizbar war" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="28" /> + <text value="Ich fühlte mich einer Panik nahe" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="29" /> + <text value="Ich fand es schwer, mich zu beruhigen, wenn mich etwas geärgert hatte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="30" /> + <text value="Ich befürchtete, daß mich eine einfache, aber ungewohnte Aufgabe aus der Bahn werfen würde" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="31" /> + <text value="Ich war nicht in der Lage, mich für irgendetwas zu begeistern" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="32" /> + <text value="Ich fand es schwierig zu tolerieren, wenn ich bei einer Tätigkeit unterbrochen wurde" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="33" /> + <text value="Ich war in einem Zustand nervöser Anspannung" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="34" /> + <text value="Ich fühlte mich ziemlich wertlos" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="35" /> + <text value="Ich konnte nichts ertragen, das mich davon abhielt, in meiner Tätigkeit fortzufahren" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="36" /> + <text value="Ich fühlte mich erschrocken" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="37" /> + <text value="Ich konnte nicht hoffnungsvoll in die Zukunft blicken" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="38" /> + <text value="Ich empfand das Leben als sinnlos" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="39" /> + <text value="Ich bemerkte, daß ich unruhig wurde" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="40" /> + <text value="Ich machte mir Sorgen über Situationen, in denen ich in Panik geraten und mich zum Trottel machen könnte" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="41" /> + <text value="Ich zitterte (z.B. an den Händen)" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> + <item> + <linkId value="42" /> + <text value="Es fiel mir schwer, die Initiative aufzubringen, Dinge zu tun" /> + <type value="integer"> + <extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"> + <extension url="content"> + <valueString value="Ganzzahl" /> + </extension> + </extension> + </type> + <answerOption> + <valueInteger value="0" /> + </answerOption> + <answerOption> + <valueInteger value="1" /> + </answerOption> + <answerOption> + <valueInteger value="2" /> + </answerOption> + <answerOption> + <valueInteger value="3" /> + </answerOption> + </item> +</Questionnaire> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_RelatedPerson/invalid/1.0.0/KBV_PR_MIO_DIGA_RelatedPerson-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_RelatedPerson/invalid/1.0.0/KBV_PR_MIO_DIGA_RelatedPerson-test.xml new file mode 100644 index 0000000..771c402 --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_RelatedPerson/invalid/1.0.0/KBV_PR_MIO_DIGA_RelatedPerson-test.xml @@ -0,0 +1,23 @@ +<RelatedPerson xmlns="http://hl7.org/fhir"> + <id value="05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_RelatedPerson|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="unknown-code" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + </identifier> + <patient> + <reference value='Patient/PeterSanfsegsoos'/> + </patient> +</RelatedPerson> \ No newline at end of file diff --git a/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_RelatedPerson/valid/1.0.0/KBV_PR_MIO_DIGA_RelatedPerson-test.xml b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_RelatedPerson/valid/1.0.0/KBV_PR_MIO_DIGA_RelatedPerson-test.xml new file mode 100644 index 0000000..f8b57ef --- /dev/null +++ b/valmodule-diga/src/test/resources/KBV_MIO_DIGA/KBV_PR_MIO_DIGA_RelatedPerson/valid/1.0.0/KBV_PR_MIO_DIGA_RelatedPerson-test.xml @@ -0,0 +1,23 @@ +<RelatedPerson xmlns="http://hl7.org/fhir"> + <id value="05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + <meta> + <versionId value="1" /> + <lastUpdated value="2021-10-26T13:28:17.239+02:00" /> + <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_RelatedPerson|1.0.0" /> + </meta> + <identifier> + <type> + <coding> + <system value="http://terminology.hl7.org/CodeSystem/v2-0203" /> + <version value="2.9" /> + <code value="RI" /> + <display value="Resource identifier" /> + </coding> + </type> + <system value="urn:ietf:rfc:3986" /> + <value value="urn:uuid:05bbc5bb-7a89-4d24-a1e1-1bd59b077962" /> + </identifier> + <patient> + <reference value='Patient/PeterSanfsegsoos'/> + </patient> +</RelatedPerson> \ No newline at end of file diff --git a/valmodule-eau/pom.xml b/valmodule-eau/pom.xml index 356f5ee..638f349 100644 --- a/valmodule-eau/pom.xml +++ b/valmodule-eau/pom.xml @@ -5,7 +5,7 @@ <parent> <artifactId>referencevalidator</artifactId> <groupId>de.gematik.refv</groupId> - <version>0.5.0</version> + <version>0.6.0</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/valmodule-erp/pom.xml b/valmodule-erp/pom.xml index 42545c9..391736f 100644 --- a/valmodule-erp/pom.xml +++ b/valmodule-erp/pom.xml @@ -5,7 +5,7 @@ <parent> <artifactId>referencevalidator</artifactId> <groupId>de.gematik.refv</groupId> - <version>0.5.0</version> + <version>0.6.0</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/valmodule-erp/src/main/resources/erp-packages.yaml b/valmodule-erp/src/main/resources/erp-packages.yaml index d6787f2..8be13a2 100644 --- a/valmodule-erp/src/main/resources/erp-packages.yaml +++ b/valmodule-erp/src/main/resources/erp-packages.yaml @@ -31,8 +31,8 @@ fhirPackages: packageVersion: "1.1.3" - packageName: "de.basisprofil.r4" packageVersion: "0.9.13" - 1.1.0: - filename: "kbv.ita.erp-1.1.0.tgz" + 1.1.1: + filename: "kbv.ita.erp-1.1.1.tgz" dependencies: - packageName: "gematik.kbv.sfhir.cs.vs" packageVersion: "1.0.0" @@ -128,13 +128,13 @@ fhirPackages: packageVersion: "1.0.2" - packageName: "de.basisprofil.r4" packageVersion: "0.9.13" - 1.2.0: - filename: "de.gematik.erezept-workflow.r4-1.2.0.tgz" + 1.2.1: + filename: "de.gematik.erezept-workflow.r4-1.2.1.tgz" dependencies: - packageName: "gematik.kbv.sfhir.cs.vs" packageVersion: "1.0.0" - packageName: "kbv.ita.erp" - packageVersion: "1.1.0" + packageVersion: "1.1.1" - packageName: "kbv.ita.for" packageVersion: "1.1.0" - packageName: "kbv.basis" @@ -322,13 +322,13 @@ fhirPackages: de.gematik.erezept-patientenrechnung.r4: packageVersions: - 1.0.0: - filename: "de.gematik.erezept-patientenrechnung.r4-1.0.0.tgz" + 1.0.1: + filename: "de.gematik.erezept-patientenrechnung.r4-1.0.1.tgz" dependencies: - packageName: "de.basisprofil.r4" packageVersion: "1.3.2" - packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" - packageName: "kbv.ita.for" packageVersion: "1.1.0" - packageName: "kbv.basis" @@ -398,53 +398,158 @@ supportedProfiles: "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-AbgabedatenBundle": profileVersions: + 1.1.0: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.1.0" + + 1.2: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.2.0" + 1.3: requiredPackage: packageName: "de.abda.erezeptabgabedatenbasis" packageVersion: "1.3.0" + 1.3.1: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.3.1" + "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-AbgabedatenComposition": profileVersions: + 1.1.0: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.1.0" + + 1.2: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.2.0" + 1.3: requiredPackage: packageName: "de.abda.erezeptabgabedatenbasis" packageVersion: "1.3.0" + 1.3.1: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.3.1" + "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abgabeinformationen": profileVersions: + 1.1.0: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.1.0" + + 1.2: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.2.0" + 1.3: requiredPackage: packageName: "de.abda.erezeptabgabedatenbasis" packageVersion: "1.3.0" + 1.3.1: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.3.1" + "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abrechnungszeilen": profileVersions: + 1.1.0: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.1.0" + + 1.2: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.2.0" + 1.3: requiredPackage: packageName: "de.abda.erezeptabgabedatenbasis" packageVersion: "1.3.0" + 1.3.1: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.3.1" + "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Apotheke": profileVersions: + 1.1.0: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.1.0" + + 1.2: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.2.0" + 1.3: requiredPackage: packageName: "de.abda.erezeptabgabedatenbasis" packageVersion: "1.3.0" + 1.3.1: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.3.1" + "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenEinheit": profileVersions: + 1.1.0: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.1.0" + + 1.2: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.2.0" + 1.3: requiredPackage: packageName: "de.abda.erezeptabgabedatenbasis" packageVersion: "1.3.0" + 1.3.1: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.3.1" + "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenHerstellung": profileVersions: + 1.1.0: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.1.0" + + 1.2: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.2.0" + 1.3: requiredPackage: packageName: "de.abda.erezeptabgabedatenbasis" packageVersion: "1.3.0" + 1.3.1: + requiredPackage: + packageName: "de.abda.erezeptabgabedatenbasis" + packageVersion: "1.3.1" + "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-AbgabedatenBundle": profileVersions: 1.0.3: @@ -809,7 +914,7 @@ supportedProfiles: 1.1.0: requiredPackage: packageName: "kbv.ita.erp" - packageVersion: "1.1.0" + packageVersion: "1.1.1" "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition": profileVersions: @@ -826,7 +931,7 @@ supportedProfiles: 1.1.0: requiredPackage: packageName: "kbv.ita.erp" - packageVersion: "1.1.0" + packageVersion: "1.1.1" "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding": profileVersions: @@ -843,7 +948,7 @@ supportedProfiles: 1.1.0: requiredPackage: packageName: "kbv.ita.erp" - packageVersion: "1.1.0" + packageVersion: "1.1.1" "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText": profileVersions: @@ -860,7 +965,7 @@ supportedProfiles: 1.1.0: requiredPackage: packageName: "kbv.ita.erp" - packageVersion: "1.1.0" + packageVersion: "1.1.1" "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient": profileVersions: @@ -877,7 +982,7 @@ supportedProfiles: 1.1.0: requiredPackage: packageName: "kbv.ita.erp" - packageVersion: "1.1.0" + packageVersion: "1.1.1" "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN": profileVersions: @@ -894,7 +999,7 @@ supportedProfiles: 1.1.0: requiredPackage: packageName: "kbv.ita.erp" - packageVersion: "1.1.0" + packageVersion: "1.1.1" "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_PracticeSupply": profileVersions: @@ -911,7 +1016,7 @@ supportedProfiles: 1.1.0: requiredPackage: packageName: "kbv.ita.erp" - packageVersion: "1.1.0" + packageVersion: "1.1.1" "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription": profileVersions: @@ -928,7 +1033,7 @@ supportedProfiles: 1.1.0: requiredPackage: packageName: "kbv.ita.erp" - packageVersion: "1.1.0" + packageVersion: "1.1.1" "https://gematik.de/fhir/StructureDefinition/ErxAcceptOperationOutParameters": profileVersions: @@ -1115,131 +1220,131 @@ supportedProfiles: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_AuditEvent": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_BfArMApproval": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Binary": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_InfoReq": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_Reply": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_Representative": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Composition": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Device": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Digest": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task": profileVersions: 1.2: requiredPackage: packageName: "de.gematik.erezept-workflow.r4" - packageVersion: "1.2.0" + packageVersion: "1.2.1" "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem": profileVersions: 1.0: requiredPackage: packageName: "de.gematik.erezept-patientenrechnung.r4" - packageVersion: "1.0.0" + packageVersion: "1.0.1" "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReply": profileVersions: 1.0: requiredPackage: packageName: "de.gematik.erezept-patientenrechnung.r4" - packageVersion: "1.0.0" + packageVersion: "1.0.1" "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReq": profileVersions: 1.0: requiredPackage: packageName: "de.gematik.erezept-patientenrechnung.r4" - packageVersion: "1.0.0" + packageVersion: "1.0.1" "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Consent": profileVersions: 1.0: requiredPackage: packageName: "de.gematik.erezept-patientenrechnung.r4" - packageVersion: "1.0.0" + packageVersion: "1.0.1" diff --git a/valmodule-erp/src/main/resources/package/de.gematik.erezept-patientenrechnung.r4-1.0.0.tgz b/valmodule-erp/src/main/resources/package/de.gematik.erezept-patientenrechnung.r4-1.0.0.tgz deleted file mode 100644 index 646e32f..0000000 Binary files a/valmodule-erp/src/main/resources/package/de.gematik.erezept-patientenrechnung.r4-1.0.0.tgz and /dev/null differ diff --git a/valmodule-erp/src/main/resources/package/de.gematik.erezept-patientenrechnung.r4-1.0.1.tgz b/valmodule-erp/src/main/resources/package/de.gematik.erezept-patientenrechnung.r4-1.0.1.tgz new file mode 100644 index 0000000..ddd1d91 Binary files /dev/null and b/valmodule-erp/src/main/resources/package/de.gematik.erezept-patientenrechnung.r4-1.0.1.tgz differ diff --git a/valmodule-erp/src/main/resources/package/de.gematik.erezept-workflow.r4-1.2.0.tgz b/valmodule-erp/src/main/resources/package/de.gematik.erezept-workflow.r4-1.2.0.tgz deleted file mode 100644 index e9c3d2c..0000000 Binary files a/valmodule-erp/src/main/resources/package/de.gematik.erezept-workflow.r4-1.2.0.tgz and /dev/null differ diff --git a/valmodule-erp/src/main/resources/package/de.gematik.erezept-workflow.r4-1.2.1.tgz b/valmodule-erp/src/main/resources/package/de.gematik.erezept-workflow.r4-1.2.1.tgz new file mode 100644 index 0000000..39d88b6 Binary files /dev/null and b/valmodule-erp/src/main/resources/package/de.gematik.erezept-workflow.r4-1.2.1.tgz differ diff --git a/valmodule-erp/src/main/resources/package/kbv.ita.erp-1.1.0.tgz b/valmodule-erp/src/main/resources/package/kbv.ita.erp-1.1.0.tgz deleted file mode 100644 index 6ccc7e2..0000000 Binary files a/valmodule-erp/src/main/resources/package/kbv.ita.erp-1.1.0.tgz and /dev/null differ diff --git a/valmodule-erp/src/main/resources/package/kbv.ita.erp-1.1.1.tgz b/valmodule-erp/src/main/resources/package/kbv.ita.erp-1.1.1.tgz new file mode 100644 index 0000000..407ff4f Binary files /dev/null and b/valmodule-erp/src/main/resources/package/kbv.ita.erp-1.1.1.tgz differ diff --git a/valmodule-isik1/pom.xml b/valmodule-isik1/pom.xml index 5cd3903..f7d1fc8 100644 --- a/valmodule-isik1/pom.xml +++ b/valmodule-isik1/pom.xml @@ -5,7 +5,7 @@ <parent> <artifactId>referencevalidator</artifactId> <groupId>de.gematik.refv</groupId> - <version>0.5.0</version> + <version>0.6.0</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/valmodule-isik2/pom.xml b/valmodule-isik2/pom.xml index cd54e7b..319d91e 100644 --- a/valmodule-isik2/pom.xml +++ b/valmodule-isik2/pom.xml @@ -5,7 +5,7 @@ <parent> <artifactId>referencevalidator</artifactId> <groupId>de.gematik.refv</groupId> - <version>0.5.0</version> + <version>0.6.0</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/valmodule-isip1/pom.xml b/valmodule-isip1/pom.xml index 0a3432e..d4048b1 100644 --- a/valmodule-isip1/pom.xml +++ b/valmodule-isip1/pom.xml @@ -5,7 +5,7 @@ <parent> <artifactId>referencevalidator</artifactId> <groupId>de.gematik.refv</groupId> - <version>0.5.0</version> + <version>0.6.0</version> </parent> <modelVersion>4.0.0</modelVersion>