Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
24 changes: 20 additions & 4 deletions input/examples/Library-manifest-example.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,26 @@
"display": "Danger signs Profile"
},
{
"extension": [{
"url": "http://hl7.org/fhir/StructureDefinition/artifact-isOwned",
"valueBoolean": true
}],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/artifact-isOwned",
"valueBoolean": true
},
{
"url": "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-intendedUsageContext",
"valueUsageContext": {
"code": {
"system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
"code": "focus"
},
"valueCodeableConcept": {
"coding": [ {
"system": "http://snomed.info/sct",
"code": "95821001"
} ],
"text": "Neonatal hearing loss (disorder)"
}
}
} ],
"type": "composed-of",
"resource": "http://hl7.org/fhir/uv/crmi/PlanDefinition/publishable-example",
"_resource": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"resourceType": "StructureDefinition",
"id": "crmi-intendedUsageContext",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "cds"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url": "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-intendedUsageContext",
"name": "CRMIIntendedUsageContext",
"title": "CRMI Intended Usage Context",
"status": "active",
"experimental": false,
"date": "2025-10-24",
"publisher": "HL7 International / Clinical Decision Support",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/dss"
}
]
}
],
"description": "An intended usage context associated with the dependency on which it appears. When the dependency is packaged, this usageContext will be applied to the packaged artifact.",
"purpose": "This extension allows for the specification of an intended usage context associated with the dependency on which it appears. This allows for usage contexts to be defined in a context-specific way and then applied to the artifact when packaged.",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
}
],
"kind": "complex-type",
"abstract": false,
"context": [
{
"type": "element",
"expression": "RelatedArtifact"
}
],
"type": "Extension",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Extension",
"path": "Extension",
"short": "Intended Usage Context",
"definition": "An intended usage context associated with the dependency on which it appears. When the dependency is packaged, this usageContext will be applied to the packaged artifact.",
"min": 0,
"max": "1"
},
{
"id": "Extension.url",
"path": "Extension.url",
"type": [
{
"code": "uri"
}
],
"fixedUri": "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-intendedUsageContext"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"type": [
{
"code": "UsageContext"
}
]
}
]
}
}
24 changes: 24 additions & 0 deletions input/profiles/StructureDefinition-crmi-manifestlibrary.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,18 @@
}],
"mustSupport": true
},
{
"id": "Library.relatedArtifact:component.intendedUsageContext",
"path": "Library.relatedArtifact.extension",
"sliceName": "intendedUsageContext",
"min": 0,
"max": "*",
"type": [{
"code" : "Extension",
"profile" : ["http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-intendedUsageContext"]
}],
"mustSupport": true
},
{
"id": "Library.relatedArtifact:component.type",
"path": "Library.relatedArtifact.type",
Expand Down Expand Up @@ -363,6 +375,18 @@
"max": "*",
"mustSupport": true
},
{
"id": "Library.relatedArtifact:component.intendedUsageContext",
"path": "Library.relatedArtifact.extension",
"sliceName": "intendedUsageContext",
"min": 0,
"max": "*",
"type": [{
"code" : "Extension",
"profile" : ["http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-intendedUsageContext"]
}],
"mustSupport": true
},
{
"id": "Library.relatedArtifact:dependency.type",
"path": "Library.relatedArtifact.type",
Expand Down