Validation Results for IHE_MPD

Generated Mon Mar 27 10:18:39 UTC 2023, FHIR version 5.0.0 for ihe-fhir-pharm-medicationrecord#0.1.0 (canonical = http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord (history)). See Full QA Report

Quality Checks
Publisher Version:IG Publisher Version: v1.3.2
Publication Code:n/a . PackageId = ihe-fhir-pharm-medicationrecord, Canonical = http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord
Realm Check for n/a:
  • n/a
Publication Request:
  • This IG has never been published
  • No publication request found
Supressed Messages:5 Suppressed Issues
Dependency Checks:
PackageVersionFHIRCanonicalWeb BaseComment
.. ihe-fhir-pharm-medicationrecord0.1.0R5http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord
... hl7.terminology.r55.0.0 OR5http://terminology.hl7.orghttp://terminology.hl7.org/5.0.0Latest Release is 5.1.0
Templates: ihe.fhir.template#0.7.0 -> fhir.base.template#0.4.0
Dependent IGs:no references
Global Profiles:(none declared)
HTA Analysis:Non-HL7 Igs are exempt from terminology dependency analysis
R5 Dependencies:(none)
Modifier Extensions:(none)
Previous Version Comparison: Unable to compare with previous version: Unable to find version history at http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord (Problem #1 with package-list.json at http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord: Invalid HTTP response 404 from https://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/package-list.json?nocache=1679912273816 (Not Found) (content in /tmp/fhir-http-4.log))
IPA Comparison: n/a
Summary: errors = 14, warn = 16, info = 1, broken links = 15
FilenameErrorsWarningsHints
Build Errors1530
/scratch/ig-build-temp-QP543E/repo/fsh-generated/resources/StructureDefinition-MedRecord010
/scratch/ig-build-temp-QP543E/repo/fsh-generated/resources/StructureDefinition-MedRecord-comp210
/scratch/ig-build-temp-QP543E/repo/fsh-generated/resources/StructureDefinition-MedRecordAdministration010
/scratch/ig-build-temp-QP543E/repo/fsh-generated/resources/StructureDefinition-MedRecordDispense411
/scratch/ig-build-temp-QP543E/repo/fsh-generated/resources/StructureDefinition-MedRecordMedicationScheduledAdministration110
/scratch/ig-build-temp-QP543E/repo/fsh-generated/resources/StructureDefinition-MedRecordMedicationSummaryView010
/scratch/ig-build-temp-QP543E/repo/fsh-generated/resources/StructureDefinition-MedRecordOrder110
/scratch/ig-build-temp-QP543E/repo/fsh-generated/resources/StructureDefinition-MedRecordTreatment210
/scratch/ig-build-temp-QP543E/repo/fsh-generated/resources/StructureDefinition-MedRecordTreatmentLine210
/scratch/ig-build-temp-QP543E/repo/fsh-generated/resources/StructureDefinition-MedRecordUsage010
/scratch/ig-build-temp-QP543E/repo/fsh-generated/resources/StructureDefinition-ModelMedicationRecordTreatmentLine200
/scratch/ig-build-temp-QP543E/repo/fsh-generated/resources/StructureDefinition-basedOn020
/scratch/ig-build-temp-QP543E/repo/fsh-generated/resources/StructureDefinition-related-tl010

n/a Show Validation Information

output/1330_overview.html#/html/body/div/div/div/div/div/ul/li/ul/li/p/a at Line 235, column 13errorThe link '1331_actors_and_transactions.html#133111-medication-repository' for "Medication Repository" cannot be resolved (valid targets: [1-33-1-1-3-medication-data-consumer, project-nav, publish-box, segment-post-footer, family-logo, top, 1-33-1-1-actor-descriptions-and-actor-profile-requirements, stripe, segment-footer, 13311-actor-descriptions-and-actor-profile-requirements, 133111-medication-record-repository, ihe-logo, segment-content, 1-33-1-2-1-xxxx, project-logo, 1-33-1-actors-and-transactions, segment-header, 133121-xxxx, bottom, markdown-toc-13311-actor-descriptions-and-actor-profile-requirements, 1-33-1-2-transaction-descriptions, 13312-transaction-descriptions, family-nav, ig-status, markdown-toc-13312-transaction-descriptions, markdown-toc, 133113-medication-data-consumer, 133112-medication-data-provider, 1-33-1-1-1-medication-record-repository, 1-33-1-1-2-medication-data-provider, segment-navbar, segment-breadcrumb])
output/1331_actors_and_transactions.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 241, column 18errorThe link '1331_actors_and_transactions.html#133111-document-source' for "Document Source" cannot be resolved (valid targets: [1-33-1-1-3-medication-data-consumer, project-nav, publish-box, segment-post-footer, family-logo, top, 1-33-1-1-actor-descriptions-and-actor-profile-requirements, stripe, segment-footer, 13311-actor-descriptions-and-actor-profile-requirements, 133111-medication-record-repository, ihe-logo, segment-content, 1-33-1-2-1-xxxx, project-logo, 1-33-1-actors-and-transactions, segment-header, 133121-xxxx, bottom, markdown-toc-13311-actor-descriptions-and-actor-profile-requirements, 1-33-1-2-transaction-descriptions, 13312-transaction-descriptions, family-nav, ig-status, markdown-toc-13312-transaction-descriptions, markdown-toc, 133113-medication-data-consumer, 133112-medication-data-provider, 1-33-1-1-1-medication-record-repository, 1-33-1-1-2-medication-data-provider, segment-navbar, segment-breadcrumb])
output/1331_actors_and_transactions.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 243, column 6errorThe link 'ITI-65.html' for "Provide Document Bundle [ITI-65]" cannot be resolved
output/1331_actors_and_transactions.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 247, column 18errorThe link '1331_actors_and_transactions.html#133113-document-recipient' for "Document Recipient" cannot be resolved (valid targets: [1-33-1-1-3-medication-data-consumer, project-nav, publish-box, segment-post-footer, family-logo, top, 1-33-1-1-actor-descriptions-and-actor-profile-requirements, stripe, segment-footer, 13311-actor-descriptions-and-actor-profile-requirements, 133111-medication-record-repository, ihe-logo, segment-content, 1-33-1-2-1-xxxx, project-logo, 1-33-1-actors-and-transactions, segment-header, 133121-xxxx, bottom, markdown-toc-13311-actor-descriptions-and-actor-profile-requirements, 1-33-1-2-transaction-descriptions, 13312-transaction-descriptions, family-nav, ig-status, markdown-toc-13312-transaction-descriptions, markdown-toc, 133113-medication-data-consumer, 133112-medication-data-provider, 1-33-1-1-1-medication-record-repository, 1-33-1-1-2-medication-data-provider, segment-navbar, segment-breadcrumb])
output/1331_actors_and_transactions.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 249, column 6errorThe link 'ITI-65.html' for "Provide Document Bundle [ITI-65]" cannot be resolved
output/1331_actors_and_transactions.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 253, column 18errorThe link '1331_actors_and_transactions.html#133112-document-consumer' for "Document Consumer" cannot be resolved (valid targets: [1-33-1-1-3-medication-data-consumer, project-nav, publish-box, segment-post-footer, family-logo, top, 1-33-1-1-actor-descriptions-and-actor-profile-requirements, stripe, segment-footer, 13311-actor-descriptions-and-actor-profile-requirements, 133111-medication-record-repository, ihe-logo, segment-content, 1-33-1-2-1-xxxx, project-logo, 1-33-1-actors-and-transactions, segment-header, 133121-xxxx, bottom, markdown-toc-13311-actor-descriptions-and-actor-profile-requirements, 1-33-1-2-transaction-descriptions, 13312-transaction-descriptions, family-nav, ig-status, markdown-toc-13312-transaction-descriptions, markdown-toc, 133113-medication-data-consumer, 133112-medication-data-provider, 1-33-1-1-1-medication-record-repository, 1-33-1-1-2-medication-data-provider, segment-navbar, segment-breadcrumb])
output/1331_actors_and_transactions.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 254, column 6errorThe link 'ITI-66.html' for "Find Document Lists [ITI-66]" cannot be resolved
output/1331_actors_and_transactions.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 258, column 6errorThe link 'ITI-67.html' for "Find Document References [ITI-67]" cannot be resolved
output/1331_actors_and_transactions.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 262, column 6errorThe link 'ITI-68.html' for "Retrieve Document [ITI-68]" cannot be resolved
output/1331_actors_and_transactions.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 266, column 18errorThe link '1331_actors_and_transactions.html#133114-document-responder' for "Document Responder" cannot be resolved (valid targets: [1-33-1-1-3-medication-data-consumer, project-nav, publish-box, segment-post-footer, family-logo, top, 1-33-1-1-actor-descriptions-and-actor-profile-requirements, stripe, segment-footer, 13311-actor-descriptions-and-actor-profile-requirements, 133111-medication-record-repository, ihe-logo, segment-content, 1-33-1-2-1-xxxx, project-logo, 1-33-1-actors-and-transactions, segment-header, 133121-xxxx, bottom, markdown-toc-13311-actor-descriptions-and-actor-profile-requirements, 1-33-1-2-transaction-descriptions, 13312-transaction-descriptions, family-nav, ig-status, markdown-toc-13312-transaction-descriptions, markdown-toc, 133113-medication-data-consumer, 133112-medication-data-provider, 1-33-1-1-1-medication-record-repository, 1-33-1-1-2-medication-data-provider, segment-navbar, segment-breadcrumb])
output/1331_actors_and_transactions.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 267, column 6errorThe link 'ITI-66.html' for "Find Document Lists [ITI-66]" cannot be resolved
output/1331_actors_and_transactions.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 271, column 6errorThe link 'ITI-67.html' for "Find Document References [ITI-67]" cannot be resolved
output/1331_actors_and_transactions.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 275, column 6errorThe link 'ITI-68.html' for "Retrieve Document [ITI-68]" cannot be resolved
output/PHARM-x.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 236, column 12errorThe link '1331_actors_and_transactions.html#133111-document-source' for "Document Source" cannot be resolved (valid targets: [1-33-1-1-3-medication-data-consumer, project-nav, publish-box, segment-post-footer, family-logo, top, 1-33-1-1-actor-descriptions-and-actor-profile-requirements, stripe, segment-footer, 13311-actor-descriptions-and-actor-profile-requirements, 133111-medication-record-repository, ihe-logo, segment-content, 1-33-1-2-1-xxxx, project-logo, 1-33-1-actors-and-transactions, segment-header, 133121-xxxx, bottom, markdown-toc-13311-actor-descriptions-and-actor-profile-requirements, 1-33-1-2-transaction-descriptions, 13312-transaction-descriptions, family-nav, ig-status, markdown-toc-13312-transaction-descriptions, markdown-toc, 133113-medication-data-consumer, 133112-medication-data-provider, 1-33-1-1-1-medication-record-repository, 1-33-1-1-2-medication-data-provider, segment-navbar, segment-breadcrumb])
output/PHARM-x.html#/html/body/div/div/div/div/div/table/tbody/tr/td/a at Line 240, column 12errorThe link '1331_actors_and_transactions.html#133113-document-recipient' for "Document Recipient" cannot be resolved (valid targets: [1-33-1-1-3-medication-data-consumer, project-nav, publish-box, segment-post-footer, family-logo, top, 1-33-1-1-actor-descriptions-and-actor-profile-requirements, stripe, segment-footer, 13311-actor-descriptions-and-actor-profile-requirements, 133111-medication-record-repository, ihe-logo, segment-content, 1-33-1-2-1-xxxx, project-logo, 1-33-1-actors-and-transactions, segment-header, 133121-xxxx, bottom, markdown-toc-13311-actor-descriptions-and-actor-profile-requirements, 1-33-1-2-transaction-descriptions, 13312-transaction-descriptions, family-nav, ig-status, markdown-toc-13312-transaction-descriptions, markdown-toc, 133113-medication-data-consumer, 133112-medication-data-provider, 1-33-1-1-1-medication-record-repository, 1-33-1-1-2-medication-data-provider, segment-navbar, segment-breadcrumb])
1warningThe HTML fragment 'ip-statements.xhtml' is not included anywhere in the produced implementation guide
3warningAn HTML fragment from the set [dependency-table.xhtml, dependency-table-short.xhtml] is not included anywhere in the produced implementation guide
4warningThe HTML fragment 'globals-table.xhtml' is not included anywhere in the produced implementation guide

fsh-generated/resources/StructureDefinition-MedRecord.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition.where(url = 'http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/MedRecord')warningThe Implementation Guide contains no examples for this profile

fsh-generated/resources/StructureDefinition-MedRecord-comp.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition.snapshot.element[9].binding.extension[0] (l1/c41731)errorThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
StructureDefinition.snapshot.element[10].binding.extension[0] (l1/c43228)errorThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
StructureDefinition.where(url = 'http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/MedRecord-comp')warningThe Implementation Guide contains no examples for this profile

fsh-generated/resources/StructureDefinition-MedRecordAdministration.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition.where(url = 'http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/MedRecordAdministration')warningThe Implementation Guide contains no examples for this profile

fsh-generated/resources/StructureDefinition-MedRecordDispense.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition.snapshot.element[12].binding.extension[0] (l1/c26383)errorThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
StructureDefinition.snapshot.element[28].binding.extension[0] (l1/c45396)errorThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
StructureDefinition.snapshot.element[30].mapping[0].map (l1/c48126)informationThe string value contains text that looks like embedded HTML tags. If this content is rendered to HTML without appropriate post-processing, it may be a security risk
StructureDefinition.snapshot.element[44].binding.extension[0] (l1/c63504)errorThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
StructureDefinition.snapshot.element[45].binding.extension[0] (l1/c64911)errorThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
StructureDefinition.where(url = 'http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/MedRecordDispense')warningThe Implementation Guide contains no examples for this profile

fsh-generated/resources/StructureDefinition-MedRecordMedicationScheduledAdministration.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition.snapshot.element[62].binding.extension[0] (l1/c91514)errorThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
StructureDefinition.where(url = 'http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/MedRecordMedicationScheduledAdministration')warningThe Implementation Guide contains no examples for this profile

fsh-generated/resources/StructureDefinition-MedRecordMedicationSummaryView.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition.where(url = 'http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/MedRecordMedicationSummaryView')warningThe Implementation Guide contains no examples for this profile

fsh-generated/resources/StructureDefinition-MedRecordOrder.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition.snapshot.element[62].binding.extension[0] (l1/c91396)errorThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
StructureDefinition.where(url = 'http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/MedRecordOrder')warningThe Implementation Guide contains no examples for this profile

fsh-generated/resources/StructureDefinition-MedRecordTreatment.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition.snapshot.element[9].binding.extension[0] (l1/c60392)errorThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
StructureDefinition.snapshot.element[10].binding.extension[0] (l1/c61883)errorThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
StructureDefinition.where(url = 'http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/MedRecordTreatment')warningThe Implementation Guide contains no examples for this profile

fsh-generated/resources/StructureDefinition-MedRecordTreatmentLine.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition.snapshot.element[9].binding.extension[0] (l1/c50763)errorThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
StructureDefinition.snapshot.element[10].binding.extension[0] (l1/c52276)errorThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
StructureDefinition.where(url = 'http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/MedRecordTreatmentLine')warningThe Implementation Guide contains no examples for this profile

fsh-generated/resources/StructureDefinition-MedRecordUsage.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition.where(url = 'http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/MedRecordUsage')warningThe Implementation Guide contains no examples for this profile

fsh-generated/resources/StructureDefinition-ModelMedicationRecordTreatmentLine.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition.differential.element[2].type[0].targetProfile[0]errorProfile http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordTreatment is for type StructureDefinition[http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordTreatment|0.1.0], which is not a Resource (which is required because the ModelMedicationRecordTreatmentLine.basedOn element has type Reference)
StructureDefinition.snapshot.element[2].type[0].targetProfile[0]errorProfile http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordTreatment is for type StructureDefinition[http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordTreatment|0.1.0], which is not a Resource (which is required because the ModelMedicationRecordTreatmentLine.basedOn element has type Reference)

fsh-generated/resources/StructureDefinition-basedOn.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition (l1/c16169)warningRule cnl-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed
StructureDefinition.where(url = 'http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/basedOn')warningThe Implementation Guide contains no examples for this extension

fsh-generated/resources/StructureDefinition-related-tl.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition.where(url = 'http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/related-tl')warningThe Implementation Guide contains no examples for this extension

Suppressed Messages (Warnings, hints, broken links)

If this was a real IG, there should be examples for these profiles too. But it's not, and I'm lazy...

This is inherited from the base resource

We're expecting these to not match the slice - we're showing how you can use slicing to define the one repetition you want even when many repetitions might be present

Errors sorted by type


Extension_EXT_Type

fsh-generated/resources/StructureDefinition-MedRecord-comp.jsonThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
fsh-generated/resources/StructureDefinition-MedRecord-comp.jsonThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
fsh-generated/resources/StructureDefinition-MedRecordDispense.jsonThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
fsh-generated/resources/StructureDefinition-MedRecordDispense.jsonThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
fsh-generated/resources/StructureDefinition-MedRecordDispense.jsonThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
fsh-generated/resources/StructureDefinition-MedRecordDispense.jsonThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
fsh-generated/resources/StructureDefinition-MedRecordMedicationScheduledAdministration.jsonThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
fsh-generated/resources/StructureDefinition-MedRecordOrder.jsonThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
fsh-generated/resources/StructureDefinition-MedRecordTreatment.jsonThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
fsh-generated/resources/StructureDefinition-MedRecordTreatment.jsonThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
fsh-generated/resources/StructureDefinition-MedRecordTreatmentLine.jsonThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string
fsh-generated/resources/StructureDefinition-MedRecordTreatmentLine.jsonThe Extension 'http://hl7.org/fhir/tools/StructureDefinition/binding-definition' definition allows for the types [markdown] but found type string

SD_ED_TYPE_PROFILE_WRONG_TARGET

fsh-generated/resources/StructureDefinition-ModelMedicationRecordTreatmentLine.jsonProfile http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordTreatment is for type StructureDefinition[http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordTreatment|0.1.0], which is not a Resource (which is required because the ModelMedicationRecordTreatmentLine.basedOn element has type Reference)
fsh-generated/resources/StructureDefinition-ModelMedicationRecordTreatmentLine.jsonProfile http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordTreatment is for type StructureDefinition[http://profiles.ihe.net/PHARM/ihe.pharm.medicationrecord/StructureDefinition/ModelMedicationRecordTreatment|0.1.0], which is not a Resource (which is required because the ModelMedicationRecordTreatmentLine.basedOn element has type Reference)

SECURITY_STRING_CONTENT_WARNING

fsh-generated/resources/StructureDefinition-MedRecordDispense.jsonThe string value contains text that looks like embedded HTML tags. If this content is rendered to HTML without appropriate post-processing, it may be a security risk