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

FHIR-46657 #351

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,26 @@
],
"mustSupport": false
},
{
"id" : "MedicationRequest.medicationAdherence",
"extension" : [
{
"url" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-keyelement",
"valueBoolean" : true
}
],
"path" : "MedicationRequest.extension",
"sliceName" : "medicationAdherence",
"short" : "URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This url for us-core-medication-adherence shouldn't be as short, which rendered as plain text. It should be rendered as a hyperlink that take to the us-core-medication-adherence extension.

"min" : 0,
"max" : "*",
"type" : [
{
"code" : "Extension"
}
],
"mustSupport" : false
},
{
"id": "MedicationRequest.status",
"extension": [
Expand Down
22 changes: 21 additions & 1 deletion input/profiles/StructureDefinition-qicore-medicationrequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,27 @@
}
]
},
{
{
"id" : "MedicationRequest.medicationAdherence",
"extension" : [
{
"url" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-keyelement",
"valueBoolean" : true
}
],
"path" : "MedicationRequest.extension",
"sliceName" : "medicationAdherence",
"short" : "URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same ... this needs not be a short. It needs to be rendered as a hyperlink to the actual us-core-medication-adherence extension.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The qi-core medicationRequest and medicationNotRequested are derived from US Core MedicationRequest where the medicationAdherence looks like the following. I've made quite an effort to match the appearance and felt good about it. Obviously they are just snake feet.
{DB94E611-3C67-4C4C-B050-B8FA635DA905}

"min" : 0,
"max" : "*",
"type" : [
{
"code" : "Extension"
}
],
"mustSupport" : false
},
{
"id": "MedicationRequest.status",
"extension": [
{
Expand Down