Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid GLN passes validation #20

Open
qligier opened this issue May 10, 2023 · 1 comment
Open

Invalid GLN passes validation #20

qligier opened this issue May 10, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@qligier
Copy link
Member

qligier commented May 10, 2023

The MTP https://github.com/ahdis/ch-emed-pmp/files/11441643/mtp.zip (provided in ahdis/ch-emed-pmp#58) contains an invalid GLN identifier for the practitioner, but the validation does pass:

[INFORMATION] [INFORMATIONAL] This element does not match any known slice defined in the profile https://fhir.cara.ch/StructureDefinition/ch-emed-epr-document-medicationtreatmentplan|0.1.0  in Bundle.entry[5] [248:4] from source InstanceValidator

CH EMED

java -jar validator_cli.jar "c:\Users\Quentin\Desktop\mtp.json" -version 4.0.1 -ig output/package.tgz -profile http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-document-medicationtreatmentplan

*FAILURE*: 1 errors, 0 warnings, 4 notes
  Error @ Bundle (line 1, col2): Bundle.entry:Composition: minimum required = 1, but only found 0 (from http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-document-medicationtreatmentplan|3.1.0)
  Information @ Bundle.entry[0] (line 11, col4): This element does not match any known slice defined in the profile http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-document-medicationtreatmentplan|3.1.0
    slice info: Bundle.entry[0]: Does not match slice 'Composition' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationtreatmentplan'))
    slice info: Bundle.entry[0]: Bundle.entry[0].resource.author[1]: Unable to find a match for profile urn:uuid:218c8835-bead-452c-bcc0-8ae2ee960bf1 among choices: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization-epr, http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr, http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner-epr, http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole-epr, http://hl7.org/fhir/StructureDefinition/Device, http://hl7.org/fhir/StructureDefinition/RelatedPerson
    slice info: Bundle.entry[0]: Bundle.entry[0].resource.author[1]: Bundle.entry[0].resource.entry[4].resource/*PractitionerRole/null*/.practitioner: Unable to find a match for profile urn:uuid:706f22eb-a10c-4b06-9f71-2250680c2f00 among choices: 
http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner-epr
    slice info: Bundle.entry[0]: Bundle.entry[0].resource.author[1]: Bundle.entry[0].resource.entry[4].resource/*PractitionerRole/null*/.practitioner: Bundle.entry[4].resource.entry[5].resource/*Practitioner/null*/.identifier[0].value: Rule gln-length: 'GLN must be exactly 13 characters long' Failed
    slice info: Bundle.entry[0]: Bundle.entry[0].resource.author[1]: Bundle.entry[0].resource.entry[4].resource/*PractitionerRole/null*/.practitioner: Bundle.entry[4].resource.entry[5].resource/*Practitioner/null*/.identifier[0].value: Rule gln-modulus-10: 'GLN must pass the modulus 10 check - https://www.gs1.org/services/how-calculate-check-digit-manually' Failed
    slice info: Bundle.entry[0]: Bundle.entry[0].resource.author[1]: Bundle.entry[0].resource.entry[4].resource/*PractitionerRole/null*/.practitioner: Bundle.entry[4].resource.entry[5].resource/*Practitioner/null*/.identifier[0].value: Rule gln-startswith7601: 'GLN must start with 7601 for swiss hcp' Failed
    slice info: Bundle.entry[0]: Does not match slice 'Patient' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient'))
    slice info: Bundle.entry[0]: Bundle.entry[0].resource: Specified profile type was 'Patient' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient|3.1.0', but found type 'Composition'
    slice info: Bundle.entry[0]: Does not match slice 'Practitioner' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner'))
    slice info: Bundle.entry[0]: Bundle.entry[0].resource: Specified profile type was 'Practitioner' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner|3.1.0', but found type 'Composition'
    slice info: Bundle.entry[0]: Does not match slice 'PractitionerRole' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole'))
    slice info: Bundle.entry[0]: Bundle.entry[0].resource: Specified profile type was 'PractitionerRole' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole|3.1.0', but found type 'Composition'
    slice info: Bundle.entry[0]: Does not match slice 'Organization' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization'))
    slice info: Bundle.entry[0]: Bundle.entry[0].resource: Specified profile type was 'Organization' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization|3.1.0', but found type 'Composition'
    slice info: Bundle.entry[0]: Does not match slice 'RelatedPerson' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/RelatedPerson'))
    slice info: Bundle.entry[0]: Bundle.entry[0].resource: Specified profile type was 'RelatedPerson' in profile 'http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1', but found type 'Composition'
    slice info: Bundle.entry[0]: Does not match slice 'Device' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/Device'))
    slice info: Bundle.entry[0]: Bundle.entry[0].resource: Specified profile type was 'Device' in profile 'http://hl7.org/fhir/StructureDefinition/Device|4.0.1', but found type 'Composition'
    slice info: Bundle.entry[0]: Does not match slice 'Encounter' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-encounter'))
    slice info: Bundle.entry[0]: Bundle.entry[0].resource: Specified profile type was 'Encounter' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-encounter|3.1.0', but found type 'Composition'
    slice info: Bundle.entry[0]: Does not match slice 'Location' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-location'))
    slice info: Bundle.entry[0]: Bundle.entry[0].resource: Specified profile type was 'Location' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-location|3.1.0', but found type 'Composition'
    slice info: Bundle.entry[0]: Does not match slice 'Binary' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/Binary'))
    slice info: Bundle.entry[0]: Bundle.entry[0].resource: Specified profile type was 'Binary' in profile 'http://hl7.org/fhir/StructureDefinition/Binary|4.0.1', but found type 'Composition'
    slice info: Bundle.entry[0]: Does not match slice 'MedicationStatement' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement'))
    slice info: Bundle.entry[0]: Bundle.entry[0].resource: Specified profile type was 'MedicationStatement' in profile 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement|3.1.0', but found type 'Composition'
  Information @ Bundle.entry[4] (line 236, col4): This element does not match any known slice defined in the profile http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-document-medicationtreatmentplan|3.1.0
    slice info: Bundle.entry[4]: Does not match slice 'Composition' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationtreatmentplan'))
    slice info: Bundle.entry[4]: Bundle.entry[4].resource: Specified profile type was 'Composition' in profile 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationtreatmentplan|3.1.0', but found type 'PractitionerRole'    
    slice info: Bundle.entry[4]: Does not match slice 'Patient' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient'))
    slice info: Bundle.entry[4]: Bundle.entry[4].resource: Specified profile type was 'Patient' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient|3.1.0', but found type 'PractitionerRole'
    slice info: Bundle.entry[4]: Does not match slice 'Practitioner' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner'))
    slice info: Bundle.entry[4]: Bundle.entry[4].resource: Specified profile type was 'Practitioner' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner|3.1.0', but found type 'PractitionerRole'
    slice info: Bundle.entry[4]: Does not match slice 'PractitionerRole' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole'))
    slice info: Bundle.entry[4]: Bundle.entry[4].resource.practitioner: Unable to find a match for profile urn:uuid:706f22eb-a10c-4b06-9f71-2250680c2f00 among choices: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner
    slice info: Bundle.entry[4]: Bundle.entry[4].resource.practitioner: Bundle.entry[4].resource.entry[5].resource/*Practitioner/null*/.identifier[0].value: Rule gln-length: 'GLN must be exactly 13 characters long' Failed
    slice info: Bundle.entry[4]: Bundle.entry[4].resource.practitioner: Bundle.entry[4].resource.entry[5].resource/*Practitioner/null*/.identifier[0].value: Rule gln-modulus-10: 'GLN must pass the modulus 10 check - https://www.gs1.org/services/how-calculate-check-digit-manually' Failed
    slice info: Bundle.entry[4]: Bundle.entry[4].resource.practitioner: Bundle.entry[4].resource.entry[5].resource/*Practitioner/null*/.identifier[0].value: Rule gln-startswith7601: 'GLN must start with 7601 for swiss hcp' Failed
    slice info: Bundle.entry[4]: Does not match slice 'Organization' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization'))
    slice info: Bundle.entry[4]: Bundle.entry[4].resource: Specified profile type was 'Organization' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization|3.1.0', but found type 'PractitionerRole'
    slice info: Bundle.entry[4]: Does not match slice 'RelatedPerson' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/RelatedPerson'))
    slice info: Bundle.entry[4]: Bundle.entry[4].resource: Specified profile type was 'RelatedPerson' in profile 'http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1', but found type 'PractitionerRole'
    slice info: Bundle.entry[4]: Does not match slice 'Device' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/Device'))
    slice info: Bundle.entry[4]: Bundle.entry[4].resource: Specified profile type was 'Device' in profile 'http://hl7.org/fhir/StructureDefinition/Device|4.0.1', but found type 'PractitionerRole'
    slice info: Bundle.entry[4]: Does not match slice 'Encounter' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-encounter'))
    slice info: Bundle.entry[4]: Bundle.entry[4].resource: Specified profile type was 'Encounter' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-encounter|3.1.0', but found type 'PractitionerRole'
    slice info: Bundle.entry[4]: Does not match slice 'Location' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-location'))
    slice info: Bundle.entry[4]: Bundle.entry[4].resource: Specified profile type was 'Location' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-location|3.1.0', but found type 'PractitionerRole'
    slice info: Bundle.entry[4]: Does not match slice 'Binary' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/Binary'))
    slice info: Bundle.entry[4]: Bundle.entry[4].resource: Specified profile type was 'Binary' in profile 'http://hl7.org/fhir/StructureDefinition/Binary|4.0.1', but found type 'PractitionerRole'
    slice info: Bundle.entry[4]: Does not match slice 'MedicationStatement' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement'))
    slice info: Bundle.entry[4]: Bundle.entry[4].resource: Specified profile type was 'MedicationStatement' in profile 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement|3.1.0', but found type 'PractitionerRole'
  Information @ Bundle.entry[5] (line 248, col4): This element does not match any known slice defined in the profile http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-document-medicationtreatmentplan|3.1.0
    slice info: Bundle.entry[5]: Does not match slice 'Composition' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationtreatmentplan'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Composition' in profile 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationtreatmentplan|3.1.0', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'Patient' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Patient' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient|3.1.0', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'Practitioner' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner'))
    slice info: Bundle.entry[5]: Bundle.entry[4].resource.entry[5].resource/*Practitioner/null*/.identifier[0].value: Rule gln-length: 'GLN must be exactly 13 characters long' Failed
    slice info: Bundle.entry[5]: Bundle.entry[4].resource.entry[5].resource/*Practitioner/null*/.identifier[0].value: Rule gln-modulus-10: 'GLN must pass the modulus 10 check - https://www.gs1.org/services/how-calculate-check-digit-manually' Failed
    slice info: Bundle.entry[5]: Bundle.entry[4].resource.entry[5].resource/*Practitioner/null*/.identifier[0].value: Rule gln-startswith7601: 'GLN must start with 7601 for swiss hcp' Failed
    slice info: Bundle.entry[5]: Does not match slice 'PractitionerRole' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'PractitionerRole' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole|3.1.0', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'Organization' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Organization' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization|3.1.0', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'RelatedPerson' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/RelatedPerson'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'RelatedPerson' in profile 'http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'Device' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/Device'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Device' in profile 'http://hl7.org/fhir/StructureDefinition/Device|4.0.1', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'Encounter' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-encounter'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Encounter' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-encounter|3.1.0', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'Location' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-location'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Location' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-location|3.1.0', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'Binary' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/Binary'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Binary' in profile 'http://hl7.org/fhir/StructureDefinition/Binary|4.0.1', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'MedicationStatement' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'MedicationStatement' in profile 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement|3.1.0', but found type 'Practitioner'
  Information @ Bundle.entry[0].resource.entry[3].resource/*MedicationStatement/null*/.contained[0]/*Medication/med*/.code.coding[0] (line 174, col10): Code System URI 'urn:oid:2.51.1.1' is unknown so the code cannot be validated

CH EMED EPR

java -jar validator_cli.jar "c:\Users\Quentin\Desktop\mtp.json" -version 4.0.1 -ig output/package.tgz -profile https://fhir.cara.ch/StructureDefinition/ch-emed-epr-document-medicationtreatmentplan

Success: 0 errors, 0 warnings, 2 notes
  Information @ Bundle.entry[5] (line 248, col4): This element does not match any known slice defined in the profile https://fhir.cara.ch/StructureDefinition/ch-emed-epr-document-medicationtreatmentplan|0.1.0
    slice info: Bundle.entry[5]: Does not match slice 'Composition' (discriminator: resource.conformsTo('https://fhir.cara.ch/StructureDefinition/ch-emed-epr-composition-medicationtreatmentplan'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Composition' in profile 'https://fhir.cara.ch/StructureDefinition/ch-emed-epr-composition-medicationtreatmentplan|0.1.0', but found type 'Practitioner'        
    slice info: Bundle.entry[5]: Does not match slice 'Patient' (discriminator: resource.conformsTo('https://fhir.cara.ch/StructureDefinition/ch-emed-epr-patient'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Patient' in profile 'https://fhir.cara.ch/StructureDefinition/ch-emed-epr-patient|0.1.0', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'Practitioner' (discriminator: resource.conformsTo('https://fhir.cara.ch/StructureDefinition/ch-emed-epr-practitioner'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource.identifier[0].value: Rule gln-length: 'GLN must be exactly 13 characters long' Failed
    slice info: Bundle.entry[5]: Bundle.entry[5].resource.identifier[0].value: Rule gln-modulus-10: 'GLN must pass the modulus 10 check - https://www.gs1.org/services/how-calculate-check-digit-manually' Failed
    slice info: Bundle.entry[5]: Bundle.entry[5].resource.identifier[0].value: Rule gln-startswith7601: 'GLN must start with 7601 for swiss hcp' Failed
    slice info: Bundle.entry[5]: Does not match slice 'PractitionerRole' (discriminator: resource.conformsTo('https://fhir.cara.ch/StructureDefinition/ch-emed-epr-practitionerrole'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'PractitionerRole' in profile 'https://fhir.cara.ch/StructureDefinition/ch-emed-epr-practitionerrole|0.1.0', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'Organization' (discriminator: resource.conformsTo('https://fhir.cara.ch/StructureDefinition/ch-emed-epr-organization'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Organization' in profile 'https://fhir.cara.ch/StructureDefinition/ch-emed-epr-organization|0.1.0', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'RelatedPerson' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/RelatedPerson'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'RelatedPerson' in profile 'http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'Device' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/Device'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Device' in profile 'http://hl7.org/fhir/StructureDefinition/Device|4.0.1', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'Encounter' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-encounter'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Encounter' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-encounter|3.1.0', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'Location' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-location'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Location' in profile 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-location|3.1.0', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'Binary' (discriminator: resource.conformsTo('http://hl7.org/fhir/StructureDefinition/Binary'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Binary' in profile 'http://hl7.org/fhir/StructureDefinition/Binary|4.0.1', but found type 'Practitioner'
    slice info: Bundle.entry[5]: Does not match slice 'MedicationStatement' (discriminator: resource.conformsTo('https://fhir.cara.ch/StructureDefinition/ch-emed-epr-medicationstatement-treatmentplan'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'MedicationStatement' in profile 'https://fhir.cara.ch/StructureDefinition/ch-emed-epr-medicationstatement-treatmentplan|0.1.0', but found type 'Practitioner'  
    slice info: Bundle.entry[5]: Does not match slice 'ObsBodyWeight' (discriminator: resource.conformsTo('https://fhir.cara.ch/StructureDefinition/ch-emed-epr-observation-body-weight'))
    slice info: Bundle.entry[5]: Bundle.entry[5].resource: Specified profile type was 'Observation' in profile 'https://fhir.cara.ch/StructureDefinition/ch-emed-epr-observation-body-weight|0.1.0', but found type 'Practitioner'
  Information @ Bundle.entry[0].resource.entry[3].resource/*MedicationStatement/null*/.contained[0]/*Medication/med*/.code.coding[0] (line 174, col10): Code System URI 'urn:oid:2.51.1.1' is unknown so the code cannot be validated
@qligier qligier added the bug Something isn't working label May 10, 2023
@dvribeira dvribeira mentioned this issue Oct 9, 2023
19 tasks
@dvribeira dvribeira added this to the 1.0.0 milestone Oct 9, 2023
@dvribeira
Copy link
Contributor

Fixed by hl7ch/ch-core#235 ?

@dvribeira dvribeira removed this from the 1.0.0 milestone Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants