Stream: terminology
Topic: Behaviour of CodeSystem operations with supplements
Michael Lawley (Jan 29 2021 at 05:51):
While it is prohibited from using a CodeSystem supplement's URI as the value of a system and thus type-level invocation of $lookup, $validate-code, etc are precluded, nothing is said about instance-level invocation of CodeSystem operations on a supplement.
So, should it be legal to call /CodeSystem/my-supplement/$lookup?code=123
and if so, then what should be returned -- just the supplement-specific details, or the union of the CodeSystem and the supplement's details (designations and/or properties)?
Grahame Grieve (Feb 04 2021 at 20:58):
I don't know.
Grahame Grieve (Feb 04 2021 at 23:22):
I've started working on code system supplement validation. As for next release, the validator will call it an error when
a/ you reference a supplement URL in Coding.system
b/ The CodeSystem supplement defines a concept that is not in the base code system
Michael Lawley (Feb 08 2021 at 07:40):
I hope b/ will not prevent a SNOMED supplement from using a post coordinated expression
Grahame Grieve (Feb 08 2021 at 22:38):
it will for now. want to give me a test case?
Michael Lawley (Feb 09 2021 at 20:07):
{
"resourceType": "CodeSystem",
"id": "code-system-sct-pce-supplement",
"language": "en",
"text": {"status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>SNOMED Supplement</h2><tt>http://snomed-supplement</tt><p>A supplement pack for <code>http://snomed.info/sct</code> that defines a number of post coordinated expressions</p></div>"},
"url": "http://csiro.au/fhir/CodeSystem/code-system-sct-pce-supplement",
"version": "20200622",
"name": "SctPceSupplement",
"title": "SNOMED PCE Supplement Example",
"status": "draft",
"experimental": true,
"date": "2020-06-22",
"publisher": "AEHRC, CSIRO",
"content": "supplement",
"supplements": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20170131",
"concept": [
{"code": " 421720008 |Spray dose form| + 7946007 |Drug suspension|"},
{"code": "83152002 |Oophorectomy| : 405815000 |Procedure device| = 122456005 |Laser device|"},
{"code": "182201002 |Hip joint| : 272741003 |Laterality| = 24028007 |Right|"},
{"code": "71388002 |Procedure| : 405815000 |Procedure device| = 122456005 |Laser device| , 260686004 |Method| = 129304002 |Excision - action| , 405813007 |Procedure site - direct| = 15497006 |Ovarian structure|"},
{"code": "65801008 |Excision| : 405813007 |Procedure site - direct| = 66754008 |Appendix structure| , 260870009 |Priority| = 25876001 |Emergency|"},
{"code": "313056006 |Epiphysis of ulna| : 272741003 |Laterality| = 7771000 |Left|"},
{"code": "119189000 |Ulna part| + 312845000 |Epiphysis of upper limb| : 272741003 |Laterality| = 7771000 |Left|"},
{"code": "71388002 |Procedure| : { 260686004 |Method| = 129304002 |Excision - action| , 405813007 |Procedure site - direct| = 15497006 |Ovarian structure| } { 260686004 |Method| = 129304002 |Excision - action| , 405813007 |Procedure site - direct| = 31435000 |Fallopian tube structure| }"},
{"code": "71388002 |procedure| : { 260686004 |method| = 129304002 |excision - action| , 405813007 |procedure site - direct| = 20837000 |structure of right ovary| , 424226004 |using device| = 122456005 |laser device| } { 260686004 |method| = 261519002 |diathermy excision - action| , 405813007 |procedure site - direct| = 113293009 |structure of left fallopian tube| }"},
{"code": "71388002 |procedure| : { 260686004 |method| = 129304002 |excision - action| , 405813007 |procedure site - direct| = 15497006 |ovarian structure| } "},
{"display": "comment: close to user form; not MRCM compliant as-is",
"code": "71388002 |Procedure| : 260686004 |Method| = 129304002 |Excision - action| , 405813007 |Procedure site - direct| = 15497006 |Ovarian structure|"},
{"code": "373873005 |Pharmaceutical / biologic product| : 411116001 |Has dose form| = ( 421720008 |Spray dose form| + 7946007 |Drug suspension| )"},
{"code": "24136001 |Hip joint structure| : 272741003 |Laterality| = 7771000 |Left|"},
{"code": "397956004 |Prosthetic arthroplasty of the hip| : 363704007 |Procedure site| = ( 24136001 |Hip joint structure| : 272741003 |Laterality| = 7771000 |Left| )"},
{"code": "397956004 |Prosthetic arthroplasty of the hip| : 405814001 |Procedure site - indirect| = ( 24136001 |Hip joint structure| : 272741003 |Laterality| = 7771000 |Left| ), { 363699004 |Direct device| = 304120007 |Total hip replacement prosthesis| , 260686004 |Method| = 425362007 |Surgical insertion - action| }"},
{"code": "243796009 |Situation with explicit context| : { 408730004 |Procedure context| = 385658003 |Done| , 408731000 |Temporal context| = 410512000 |Current or specified| , 408732007 |Subject relationship context| = 410604004 |Subject of record| , 363589002 |Associated procedure| = ( 397956004 |Prosthetic arthroplasty of the hip| : 405814001 |Procedure site - indirect| = ( 24136001 |Hip joint structure| : 272741003 |Laterality| = 7771000 |Left| ) { 363699004 |Direct device| = 304120007 |Total hip replacement prosthesis| , 260686004 |Method| = 425362007 |Surgical insertion - action| } ) }"},
{"code": "774586009 |Amoxicillin only product| : 411116001 |Has manufactured dose form| = 420692007 |Oral capsule| , { 127489000 |Has active ingredient| = 372687004 |Amoxicillin| , 179999999100 |Has basis of strength| = 372687004 |Amoxicillin| , 189999999103 |Has strength value| = #500, 199999999101 |Has strength unit| = 258684004 |mg| }"},
{"code": "91143003 |Albuterol| : 411116001 |Has manufactured dose form| = 385023001 |oral solution| , { 127489000 |Has active ingredient| = 372897005 |Albuterol| , 179999999100 |Has basis of strength| = 372897005 |Albuterol| , 189999999103 |Has strength value| = #0.083, 199999999101 |Has strength numerator unit| = 118582008 |%| }"},
{"code": "322236009 |Paracetamol 500mg tablet| : 209999999104 |Has trade name| = \"PANADOL\""},
{"code": "318969005 |Irbesartan 150 mg oral tablet| : 859999999102 |Is in national benefit scheme| = TRUE"},
{"code": "=== 46866001 |Fracture of lower limb| + 428881005 |Injury of tibia| : 116676008 |Associated morphology| = 72704001 |Fracture| , 363698007 |Finding site| = 12611008 |Bone structure of tibia|"},
{"code": "<<< 73211009 |Diabetes mellitus| : 363698007 |Finding site| = 113331007 |Endocrine system|"}
]
}
Last updated: Apr 12 2022 at 19:14 UTC