diff --git a/.gitignore b/.gitignore index abcdb312..f46c601f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,15 @@ -bulk-import.py .DS_Store Thumbs.db -/assembler -# /fsh-generated -/input-cache -/node_modules -/output -/temp -/template -/.vscode -fhir.schema.json \ No newline at end of file +bulk-import.py +assembler/ +fsh-generated/fsh-index.* +fsh-generated/includes/ +fsh-generated/data/ +input-cache/ +node_modules/ +output/ +temp/ +template/ +.vscode/ +fhir.schema.json +/input/images/*.bkp diff --git a/LICENSE b/LICENSE index 261eeb9e..855c81cc 100644 --- a/LICENSE +++ b/LICENSE @@ -1,201 +1,371 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. +Creative Commons Attribution-ShareAlike 4.0 International Public +License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution-ShareAlike 4.0 International Public License ("Public +License"). To the extent this Public License may be interpreted as a +contract, You are granted the Licensed Rights in consideration of Your +acceptance of these terms and conditions, and the Licensor grants You +such rights in consideration of benefits the Licensor receives from +making the Licensed Material available under these terms and +conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + f. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + g. License Elements means the license attributes listed in the name + of a Creative Commons Public License. The License Elements of this + Public License are Attribution and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + k. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + l. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. Additional offer from the Licensor -- Adapted Material. + Every recipient of Adapted Material from You + automatically receives an offer from the Licensor to + exercise the Licensed Rights in the Adapted Material + under the conditions of the Adapter's License You apply. + + c. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + b. ShareAlike. + + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-SA Compatible License. + + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition + in any reasonable manner based on the medium, means, and + context in which You Share Adapted Material. + + 3. You may not offer or impose any additional or different terms + or conditions on, or apply any Effective Technological + Measures to, Adapted Material that restrict exercise of the + rights granted under the Adapter's License You apply. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material, + including for purposes of Section 3(b); and + + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + +======================================================================= + +Creative Commons is not a party to its public +licenses. Notwithstanding, Creative Commons may elect to apply one of +its public licenses to material it publishes and in those instances +will be considered the “Licensor.” The text of the Creative Commons +public licenses is dedicated to the public domain under the CC0 Public +Domain Dedication. Except for the limited purpose of indicating that +material is shared under a Creative Commons public license or as +otherwise permitted by the Creative Commons policies published at +creativecommons.org/policies, Creative Commons does not authorize the +use of the trademark "Creative Commons" or any other trademark or logo +of Creative Commons without its prior written consent including, +without limitation, in connection with any unauthorized modifications +to any of its public licenses or any other arrangements, +understandings, or agreements concerning use of licensed material. For +the avoidance of doubt, this paragraph does not form part of the +public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/PrepopVariables.json b/PrepopVariables.json deleted file mode 100644 index e49c6df0..00000000 --- a/PrepopVariables.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "FamilyMemberHistory", - "language": "application/x-fhir-query", - "expression": "FamilyMemberHistory?patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsTobaccoSmoking", - "language": "application/x-fhir-query", - "expression": "Observation?code=72166-2&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsBodyHeight", - "language": "application/x-fhir-query", - "expression": "Observation?code=8302-2&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsWaistCircumference", - "language": "application/x-fhir-query", - "expression": "Observation?code=8280-0&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsBodyWeight", - "language": "application/x-fhir-query", - "expression": "Observation?code=29463-7&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsHeartRate", - "language": "application/x-fhir-query", - "expression": "Observation?code=8867-4&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsBMI", - "language": "application/x-fhir-query", - "expression": "Observation?code=39156-5&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsBloodPressurePanel", - "language": "application/x-fhir-query", - "expression": "Observation?code=85354-9&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsDateCeasedSmoking", - "language": "application/x-fhir-query", - "expression": "Observation?code=160625004&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsDateStartedSmoking", - "language": "application/x-fhir-query", - "expression": "Observation?code=smoking-date-started&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsTobaccoUseExposure", - "language": "application/x-fhir-query", - "expression": "Observation?code=229819007&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsAlcoholIntake", - "language": "application/x-fhir-query", - "expression": "Observation?code=897148007&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsDrinkingPattern", - "language": "application/x-fhir-query", - "expression": "Observation?code=228308009&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsDateCeasedAlcohol", - "language": "application/x-fhir-query", - "expression": "Observation?code=1373041000168105&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "Immunisation", - "language": "application/x-fhir-query", - "expression": "Immunization?patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "MedicationStatement", - "language": "application/x-fhir-query", - "expression": "MedicationStatement?patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "AllergyIntolerance", - "language": "application/x-fhir-query", - "expression": "AllergyIntolerance?patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "Condition", - "language": "application/x-fhir-query", - "expression": "Condition?patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "DiagnosticReport", - "language": "application/x-fhir-query", - "expression": "DiagnosticReport?patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "TotalCholesterol", - "language": "application/x-fhir-query", - "expression": "Observation?code=14647-2&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "HDLCholesterol", - "language": "application/x-fhir-query", - "expression": "Observation?code=14646-4&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "HeadCircumference", - "language": "application/x-fhir-query", - "expression": "Observation?code=9843-4&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - } - - ] -} - diff --git a/PrepopVariablesMinimal.json b/PrepopVariablesMinimal.json deleted file mode 100644 index 9c12e1fe..00000000 --- a/PrepopVariablesMinimal.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "Condition", - "language": "application/x-fhir-query", - "expression": "Condition?patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsTobaccoSmokingStatus", - "language": "application/x-fhir-query", - "expression": "Observation?code=72166-2&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsBodyHeight", - "language": "application/x-fhir-query", - "expression": "Observation?code=8302-2&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsBodyWeight", - "language": "application/x-fhir-query", - "expression": "Observation?code=29463-7&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsBMI", - "language": "application/x-fhir-query", - "expression": "Observation?code=39156-5&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsHeadCircumference", - "language": "application/x-fhir-query", - "expression": "Observation?code=9843-4&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsWaistCircumference", - "language": "application/x-fhir-query", - "expression": "Observation?code=8280-0&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsBloodPressure", - "language": "application/x-fhir-query", - "expression": "Observation?code=85354-9&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsHeartRate", - "language": "application/x-fhir-query", - "expression": "Observation?code=8867-4&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsTotalCholesterol", - "language": "application/x-fhir-query", - "expression": "Observation?code=14647-2&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": [ - { - "name": "ObsHDLCholesterol", - "language": "application/x-fhir-query", - "expression": "Observation?code=14646-4&_count=1&_sort=-date&patient={{%patient.id}}" - } - ] - } - - ] -} - diff --git a/_build.bat b/_build.bat new file mode 100644 index 00000000..2bf0d793 --- /dev/null +++ b/_build.bat @@ -0,0 +1,386 @@ +@ECHO OFF +setlocal enabledelayedexpansion + +SET "dlurl=https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar" +SET "publisher_jar=publisher.jar" +SET "input_cache_path=%CD%\input-cache\" +SET "skipPrompts=false" +SET "upper_path=..\" +SET "scriptdlroot=https://raw.githubusercontent.com/HL7/ig-publisher-scripts/main" +SET "build_bat_url=%scriptdlroot%/_build.bat" +SET "build_sh_url=%scriptdlroot%/_build.sh" + + + +:: Debugging statements to check jar file location +ECHO Checking for publisher.jar in %input_cache_path% +IF EXIST "%input_cache_path%%publisher_jar%" ( + SET "jar_location=%input_cache_path%%publisher_jar%" + ECHO Found publisher.jar in input-cache +) ELSE ( + ECHO Checking for publisher.jar in %upper_path% + IF EXIST "%upper_path%%publisher_jar%" ( + SET "jar_location=%upper_path%%publisher_jar%" + ECHO Found publisher.jar in parent folder + ) ELSE ( + SET "jar_location=not_found" + SET "default_choice=1" + ECHO publisher.jar not found in input-cache or parent folder + ) +) + + +:: Handle command-line argument to bypass the menu +IF NOT "%~1"=="" ( + IF /I "%~1"=="update" SET "userChoice=1" + IF /I "%~1"=="build" SET "userChoice=2" + IF /I "%~1"=="nosushi" SET "userChoice=3" + IF /I "%~1"=="notx" SET "userChoice=4" + IF /I "%~1"=="jekyll" SET "userChoice=5" + IF /I "%~1"=="clean" SET "userChoice=6" + IF /I "%~1"=="exit" SET "userChoice=0" + GOTO executeChoice +) + +echo --------------------------------------------------------------- +ECHO Checking internet connection... +PING tx.fhir.org -4 -n 1 -w 4000 >nul 2>&1 && SET "online_status=true" || SET "online_status=false" + +IF "%online_status%"=="true" ( + ECHO We're online and tx.fhir.org is available. + FOR /F "tokens=2 delims=:" %%a IN ('curl -s https://api.github.com/repos/HL7/fhir-ig-publisher/releases/latest ^| findstr "tag_name"') DO SET "latest_version=%%a" + SET "latest_version=!latest_version:"=!" + SET "latest_version=!latest_version: =!" + SET "latest_version=!latest_version:~0,-1!" +) ELSE ( + ECHO We're offline or tx.fhir.org is not available, can only run the publisher without TX... + SET "txoption=-tx n/a" + SET "latest_version=unknown" + SET "default_choice=4" +) + +echo --------------------------------------------------------------- + + +IF NOT "%jar_location%"=="not_found" ( + FOR /F "tokens=*" %%i IN ('java "-Dfile.encoding=UTF-8" -jar "%jar_location%" -v 2^>^&1') DO SET "publisher_version=%%i" + SET "publisher_version=!publisher_version:"=!" + ECHO Detected publisher version: !publisher_version! +) ELSE ( + SET "publisher_version=unknown" + ECHO publisher.jar location is not found +) + +ECHO Publisher version: !publisher_version!; Latest is !latest_version! + +IF NOT "%online_status%"=="true" ( + ECHO We're offline. +) ELSE ( + IF NOT "!publisher_version!"=="!latest_version!" ( + ECHO An update is recommended. + SET "default_choice=1" + ) ELSE ( + ECHO Publisher is up to date. + SET "default_choice=2" + ) +) + +echo --------------------------------------------------------------- +echo. + +echo Please select an option: +echo 1. Download or upload publisher +echo 2. Build IG +echo 3. Build IG - no sushi +echo 4. Build IG - force no TX server +echo 5. Jekyll build +echo 6. Clean up temp directories +echo 0. Exit +:: echo [Press Enter for default (%default_choice%) or type an option number:] +echo. + +:: Using CHOICE to handle input with timeout +:: ECHO [Enter=Continue, 1-7=Option, 0=Exit] +choice /C 12345670 /N /CS /D %default_choice% /T 5 /M "Choose an option number or wait 5 seconds for default (%default_choice%):" +SET "userChoice=%ERRORLEVEL%" + + +:executeChoice +echo You selected: %userChoice% + +IF "%userChoice%"=="1" GOTO downloadpublisher +IF "%userChoice%"=="2" GOTO publish_once +IF "%userChoice%"=="3" GOTO publish_nosushi +IF "%userChoice%"=="4" GOTO publish_notx +IF "%userChoice%"=="5" GOTO debugjekyll +IF "%userChoice%"=="6" GOTO clean +IF "%userChoice%"=="0" EXIT /B + +:end + + + +:debugjekyll + echo Running Jekyll build... + jekyll build -s temp/pages -d output +GOTO end + + +:clean + echo Cleaning up directories... + if exist ".\input-cache\publisher.jar" ( + echo Preserving publisher.jar and removing other files in .\input-cache... + move ".\input-cache\publisher.jar" ".\" + rmdir /s /q ".\input-cache" + mkdir ".\input-cache" + move ".\publisher.jar" ".\input-cache" + ) else ( + if exist ".\input-cache\" ( + rmdir /s /q ".\input-cache" + ) + ) + if exist ".\temp\" ( + rmdir /s /q ".\temp" + echo Removed: .\temp + ) + if exist ".\output\" ( + rmdir /s /q ".\output" + echo Removed: .\output + ) + if exist ".\template\" ( + rmdir /s /q ".\template" + echo Removed: .\template + ) + +GOTO end + + + + + +:downloadpublisher +ECHO Downloading Publisher... +:processflags +SET ARG=%1 +IF DEFINED ARG ( + IF "%ARG%"=="-f" SET FORCE=true + IF "%ARG%"=="--force" SET FORCE=true + SHIFT + GOTO processflags +) + +FOR %%x IN ("%CD%") DO SET upper_path=%%~dpx + +ECHO. +IF NOT EXIST "%input_cache_path%%publisher_jar%" ( + IF NOT EXIST "%upper_path%%publisher_jar%" ( + SET jarlocation="%input_cache_path%%publisher_jar%" + SET jarlocationname=Input Cache + ECHO IG Publisher is not yet in input-cache or parent folder. + REM we don't use jarlocation below because it will be empty because we're in a bracketed if statement + GOTO create + ) ELSE ( + ECHO IG Publisher FOUND in parent folder + SET jarlocation="%upper_path%%publisher_jar%" + SET jarlocationname=Parent folder + GOTO upgrade + ) +) ELSE ( + ECHO IG Publisher FOUND in input-cache + SET jarlocation="%input_cache_path%%publisher_jar%" + SET jarlocationname=Input Cache + GOTO upgrade +) + +:create +IF DEFINED FORCE ( + MKDIR "%input_cache_path%" 2> NUL + GOTO download +) + +IF "%skipPrompts%"=="y" ( + SET create=Y +) ELSE ( + SET /p create="Download? (Y/N) " +) +IF /I "%create%"=="Y" ( + ECHO Will place publisher jar here: %input_cache_path%%publisher_jar% + MKDIR "%input_cache_path%" 2> NUL + GOTO download +) +GOTO done + +:upgrade +IF "%skipPrompts%"=="y" ( + SET overwrite=Y +) ELSE ( + SET /p overwrite="Overwrite %jarlocation%? (Y/N) " +) + +IF /I "%overwrite%"=="Y" ( + GOTO download +) +GOTO done + +:download +ECHO Downloading most recent publisher to %jarlocationname% - it's ~200 MB, so this may take a bit + +FOR /f "tokens=4-5 delims=. " %%i IN ('ver') DO SET VERSION=%%i.%%j +IF "%version%" == "10.0" GOTO win10 +IF "%version%" == "6.3" GOTO win8.1 +IF "%version%" == "6.2" GOTO win8 +IF "%version%" == "6.1" GOTO win7 +IF "%version%" == "6.0" GOTO vista + +ECHO Unrecognized version: %version% +GOTO done + +:win10 +CALL POWERSHELL -command if ('System.Net.WebClient' -as [type]) {(new-object System.Net.WebClient).DownloadFile(\"%dlurl%\",\"%jarlocation%\") } else { Invoke-WebRequest -Uri "%dlurl%" -Outfile "%jarlocation%" } + +GOTO done + +:win7 +rem this may be triggering the antivirus - bitsadmin.exe is a known threat +rem CALL bitsadmin /transfer GetPublisher /download /priority normal "%dlurl%" "%jarlocation%" + +rem this didn't work in win 10 +rem CALL Start-BitsTransfer /priority normal "%dlurl%" "%jarlocation%" + +rem this should work - untested +call (New-Object Net.WebClient).DownloadFile('%dlurl%', '%jarlocation%') +GOTO done + +:win8.1 +:win8 +:vista +GOTO done + + + +:done + + + + +ECHO. +ECHO Updating scripts +IF "%skipPrompts%"=="y" ( + SET updateScripts=Y +) ELSE ( + SET /p updateScripts="Update scripts? (Y/N) " +) +IF /I "%updateScripts%"=="Y" ( + GOTO scripts +) +GOTO end + + +:scripts + +REM Download all batch files (and this one with a new name) + +SETLOCAL DisableDelayedExpansion + + + +:dl_script_1 +ECHO Updating _build.sh +call POWERSHELL -command if ('System.Net.WebClient' -as [type]) {(new-object System.Net.WebClient).DownloadFile(\"%build_sh_url%\",\"_build.new.sh\") } else { Invoke-WebRequest -Uri "%build_sh_url%" -Outfile "_build.new.sh" } +if %ERRORLEVEL% == 0 goto upd_script_1 +echo "Errors encountered during download: %errorlevel%" +goto dl_script_2 +:upd_script_1 +start copy /y "_build.new.sh" "_build.sh" ^&^& del "_build.new.sh" ^&^& exit + + +:dl_script_2 +ECHO Updating _build.bat +call POWERSHELL -command if ('System.Net.WebClient' -as [type]) {(new-object System.Net.WebClient).DownloadFile(\"%build_bat_url%\",\"_build.new.bat\") } else { Invoke-WebRequest -Uri "%build_bat_url%" -Outfile "_build.new.bat" } +if %ERRORLEVEL% == 0 goto upd_script_2 +echo "Errors encountered during download: %errorlevel%" +goto end +:upd_script_2 +start copy /y "_build.new.bat" "_build.bat" ^&^& del "_build.new.bat" ^&^& exit + + +GOTO end + + +:publish_once + +SET JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 + +:: Debugging statements before running publisher +ECHO 1jar_location is: %jar_location% +IF NOT "%jar_location%"=="not_found" ( + java %JAVA_OPTS% -jar "%jar_location%" -ig . %txoption% %* +) ELSE ( + ECHO IG Publisher NOT FOUND in input-cache or parent folder. Please run _updatePublisher. Aborting... +) + +GOTO end + + + +:publish_nosushi + +SET JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 + +:: Debugging statements before running publisher +ECHO 3jar_location is: %jar_location% +IF NOT "%jar_location%"=="not_found" ( + java %JAVA_OPTS% -jar "%jar_location%" -ig . %txoption% -no-sushi %* +) ELSE ( + ECHO IG Publisher NOT FOUND in input-cache or parent folder. Please run _updatePublisher. Aborting... +) + +GOTO end + + +:publish_notx +SET txoption=-tx n/a + +SET JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 + +:: Debugging statements before running publisher +ECHO 2jar_location is: %jar_location% +IF NOT "%jar_location%"=="not_found" ( + java %JAVA_OPTS% -jar "%jar_location%" -ig . %txoption% %* +) ELSE ( + ECHO IG Publisher NOT FOUND in input-cache or parent folder. Please run _updatePublisher. Aborting... +) + +GOTO end + + + + +:publish_continuous + +SET JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 + +:: Debugging statements before running publisher +ECHO Checking %input_cache_path% for publisher.jar +IF EXIST "%input_cache_path%\%publisher_jar%" ( + java %JAVA_OPTS% -jar "%input_cache_path%\%publisher_jar%" -ig . %txoption% -watch %* +) ELSE ( + ECHO Checking %upper_path% for publisher.jar + IF EXIST "..\%publisher_jar%" ( + java %JAVA_OPTS% -jar "..\%publisher_jar%" -ig . %txoption% -watch %* + ) ELSE ( + ECHO IG Publisher NOT FOUND in input-cache or parent folder. Please run _updatePublisher. Aborting... + ) +) + +GOTO end + + +:end + +:: Pausing at the end + + +IF NOT "%skipPrompts%"=="true" ( + PAUSE +) diff --git a/_updatePublisher.bat b/_updatePublisher.bat index 67aebf58..10fee381 100644 --- a/_updatePublisher.bat +++ b/_updatePublisher.bat @@ -8,6 +8,8 @@ SET input_cache_path=%CD%\input-cache\ SET skipPrompts=false SET scriptdlroot=https://raw.githubusercontent.com/HL7/ig-publisher-scripts/main +SET build_bat_url=%scriptdlroot%/_build.bat +SET build_sh_url=%scriptdlroot%/_build.sh SET update_bat_url=%scriptdlroot%/_updatePublisher.bat SET gen_bat_url=%scriptdlroot%/_genonce.bat SET gencont_bat_url=%scriptdlroot%/_gencontinuous.bat @@ -20,7 +22,7 @@ IF "%~1"=="/f" SET skipPrompts=y ECHO. ECHO Checking internet connection... -PING tx.fhir.org -4 -n 1 -w 1000 | FINDSTR TTL && GOTO isonline +PING tx.fhir.org -4 -n 1 -w 4000 | FINDSTR TTL && GOTO isonline ECHO We're offline, nothing to do... GOTO end @@ -69,6 +71,7 @@ IF DEFINED FORCE ( IF "%skipPrompts%"=="y" ( SET create=Y ) ELSE ( + ECHO Will place publisher jar here: %input_cache_path%%publisher_jar% SET /p create="Ok? (Y/N) " ) IF /I "%create%"=="Y" ( @@ -211,6 +214,16 @@ goto end start copy /y "_updatePublisher.new.bat" "_updatePublisher.bat" ^&^& del "_updatePublisher.new.bat" ^&^& exit +:dl_script_7 +ECHO Updating _build.bat +call POWERSHELL -command if ('System.Net.WebClient' -as [type]) {(new-object System.Net.WebClient).DownloadFile(\"%build_bat_url%\",\"_build.new.bat\") } else { Invoke-WebRequest -Uri "%update_bat_url%" -Outfile "_build.new.bat" } +if %ERRORLEVEL% == 0 goto upd_script_6 +echo "Errors encountered during download: %errorlevel%" +goto end +:upd_script_6 +start copy /y "_build.new.bat" "_build.bat" ^&^& del "_build.new.bat" ^&^& exit + + :end diff --git a/_updatePublisher.sh b/_updatePublisher.sh index 0f9ecbed..6a97fe0b 100644 --- a/_updatePublisher.sh +++ b/_updatePublisher.sh @@ -12,6 +12,8 @@ gencont_bat_url=$scriptdlroot/_gencontinuous.bat gencont_sh_url=$scriptdlroot/_gencontinuous.sh gen_sh_url=$scriptdlroot/_genonce.sh update_sh_url=$scriptdlroot/_updatePublisher.sh +build_sh_url=$scriptdlroot/_build.sh +build_bat_url=$scriptdlroot/_build.bat skipPrompts=false FORCE=false @@ -103,6 +105,16 @@ if [[ $skipPrompts != true ]]; then if [[ $skipPrompts == true ]] || [[ $response =~ ^[yY].*$ ]]; then echo "Downloading most recent scripts " + curl -L $build_bat_url -o /tmp/_build.new + cp /tmp/_build.new _build.bat + rm /tmp/_build.new + + + curl -L $build_sh_url -o /tmp/_build.new + cp /tmp/_build.new _build.sh + chmod +x _build.sh + rm /tmp/_build.new + curl -L $update_bat_url -o /tmp/_updatePublisher.new cp /tmp/_updatePublisher.new _updatePublisher.bat rm /tmp/_updatePublisher.new @@ -129,4 +141,4 @@ if [[ $skipPrompts == true ]] || [[ $response =~ ^[yY].*$ ]]; then cp /tmp/_updatePublisher.new _updatePublisher.sh chmod +x _updatePublisher.sh rm /tmp/_updatePublisher.new -fi +fi \ No newline at end of file diff --git a/bulk-import-ci.py b/bulk-import-ci.py index ce7129d8..fe142d84 100644 --- a/bulk-import-ci.py +++ b/bulk-import-ci.py @@ -34,6 +34,17 @@ HEADERS = {"Content-Type": "application/json"} +# Print out more information if an error occurred +def printErrorAdditionalDetails(e): + print(f"{ERROR_RED}*** Additional error details: ***{END_C}") + if e.response is not None: + print(f"{ERROR_RED}Status Code: {e.response.status_code}{END_C}") + print(f"{ERROR_RED}Reason: {e.response.reason}{END_C}") + print(f"{ERROR_RED}Response Text: {e.response.text}{END_C}") + else: + print(f"{ERROR_RED}No additional error information available.{END_C}") + print() + # Get questionnaire resources from a defined output directory def getQuestionnairesFromLocalIg(): questionnaires = {} @@ -99,10 +110,13 @@ def updateRootAndSubquestionnaires(questionnaires, implementationGuide): print( f"{ERROR_RED}ERROR: Fail to find {reference} in local files, questionnaire not updated in server. {END_C}" ) + printErrorAdditionalDetails(e) except requests.exceptions.HTTPError as e: print(f"{ERROR_RED}ERROR: HTTP ERROR THROWN:{END_C}", e, '\n') + printErrorAdditionalDetails(e) except Exception as e: print(f"{ERROR_RED}ERROR: An error occurred, details:{END_C}", e, '\n') + printErrorAdditionalDetails(e) @@ -126,7 +140,6 @@ def assembleQuestionnaire(questionnaires): f"{OK_GREEN}POST request Questionnaire/$assemble successful at {formsServerEndpoint}: {response.status_code} OK{END_C}" ) assembleOutputParams = response.json() - print(assembleOutputParams) # Return bare questionnaire if assembleOutputParams["resourceType"] == "Questionnaire": @@ -143,6 +156,7 @@ def assembleQuestionnaire(questionnaires): f"{ERROR_RED}ERROR: Unable to retrieve assembled questionnaire from output parameters{END_C}", e, '\n' ) + printErrorAdditionalDetails(e) else: print( @@ -151,8 +165,10 @@ def assembleQuestionnaire(questionnaires): except requests.exceptions.HTTPError as e: print(f"{ERROR_RED}ERROR: HTTP ERROR THROWN:{END_C}",e, '\n') + printErrorAdditionalDetails(e) except Exception as e: print(f"{ERROR_RED}ERROR: An error occurred, details:", e, '\n') + printErrorAdditionalDetails(e) return None @@ -183,8 +199,10 @@ def updateAssembledQuestionnaire(questionnaire): except requests.exceptions.HTTPError as e: print(f"{ERROR_RED}ERROR: HTTP ERROR THROWN:{END_C}",e, '\n') + printErrorAdditionalDetails(e) except Exception as e: print(f"{ERROR_RED}ERROR: An error occurred, details:", e, '\n') + printErrorAdditionalDetails(e) # Main function diff --git a/fsh-generated/includes/fsh-link-references.md b/fsh-generated/includes/fsh-link-references.md deleted file mode 100644 index 674d8a3e..00000000 --- a/fsh-generated/includes/fsh-link-references.md +++ /dev/null @@ -1,53 +0,0 @@ -[AssemblyInstructions]: Questionnaire-AssemblyInstructions.html -[AboriginalTorresStraitIslanderHealthCheck]: Questionnaire-AboriginalTorresStraitIslanderHealthCheck.html -[AboutTheHealthCheck]: Questionnaire-AboutTheHealthCheck.html -[AbsoluteCVDRiskCalculation]: Questionnaire-AbsoluteCVDRiskCalculation.html -[AllergiesAdverseReactions]: Questionnaire-AllergiesAdverseReactions.html -[ChronicDiseaseAgeing]: Questionnaire-ChronicDiseaseAgeing.html -[Consent]: Questionnaire-Consent.html -[CurrentPriorities]: Questionnaire-CurrentPriorities.html -[EarHealthAndHearing]: Questionnaire-EarHealthAndHearing.html -[Examination]: Questionnaire-Examination.html -[EyeHealth]: Questionnaire-EyeHealth.html -[FamilyHistory]: Questionnaire-FamilyHistory.html -[FinalisingHealthCheck]: Questionnaire-FinalisingHealthCheck.html -[Gambling]: Questionnaire-Gambling.html -[HealthPrioritiesSummary]: Questionnaire-HealthPrioritiesSummary.html -[HealthyEating]: Questionnaire-HealthyEating.html -[HomeAndFamily]: Questionnaire-HomeAndFamily.html -[Immunisation]: Questionnaire-Immunisation.html -[Investigations]: Questionnaire-Investigations.html -[LearningAndDevelopment]: Questionnaire-LearningAndDevelopment.html -[LearningAndWork]: Questionnaire-LearningAndWork.html -[MedicalHistoryCurrentProblems]: Questionnaire-MedicalHistoryCurrentProblems.html -[MemoryAndThinking]: Questionnaire-MemoryAndThinking.html -[Mood]: Questionnaire-Mood.html -[OralAndDentalHealth]: Questionnaire-OralAndDentalHealth.html -[PatientDetails]: Questionnaire-PatientDetails.html -[RedFlagsEarlyIdentificationGuide]: Questionnaire-RedFlagsEarlyIdentificationGuide.html -[RegularMedications]: Questionnaire-RegularMedications.html -[ScreeningPrograms]: Questionnaire-ScreeningPrograms.html -[SexualHealth]: Questionnaire-SexualHealth.html -[Skin]: Questionnaire-Skin.html -[SocialAndEmotionalWellbeing]: Questionnaire-SocialAndEmotionalWellbeing.html -[SocialHistoryChild]: Questionnaire-SocialHistoryChild.html -[SubstanceUse]: Questionnaire-SubstanceUse.html -[AboriginalTorresStraitIslander]: ValueSet-AboriginalTorresStraitIslander.html -[AustralianStatesAndTerritories]: ValueSet-australian-states-territories-2.html -[BiologicalSex]: ValueSet-biological-sex-1.html -[ConditionClinicalStatusCodes]: ValueSet-condition-clinical.html -[ContainedResourceReference]: StructureDefinition-ContainedResourceReference.html -[GenderIdentityResponse]: ValueSet-gender-identity-response-1.html -[MedicalHistory]: ValueSet-MedicalHistory.html -[PersonalPronouns]: ValueSet-pronouns.html -[PhysicalActivityAndScreenTime]: Questionnaire-PhysicalActivityAndScreenTime.html -[PrimaryCarerParentGrandparent]: ValueSet-PrimaryCarerParentGrandparent.html -[QuestionnaireItemControlExtended]: CodeSystem-QuestionnaireItemControlExtended.html -[QuestionnaireItemUIControlCodes]: CodeSystem-questionnaire-item-control.html -[QuestionnaireItemUIControlCodes]: ValueSet-questionnaire-item-control.html -[SmartFormsApplication]: CapabilityStatement-SmartFormsApplication.html -[SmartFormsLauncherServerAboriginalTorresStraitIslanderHealthCheck]: CapabilityStatement-SFLauncherServerAboriginalTorresStraitIslanderHealthCheck.html -[SmartFormsServer]: CapabilityStatement-SmartFormsServer.html -[YesNo]: ValueSet-YesNo.html -[YesNoNA]: ValueSet-YesNoNA.html -[YesNoNotAskedDeclined]: ValueSet-YesNoNotAskedDeclined.html \ No newline at end of file diff --git a/fsh-generated/includes/menu.xml b/fsh-generated/includes/menu.xml deleted file mode 100644 index 199b0a54..00000000 --- a/fsh-generated/includes/menu.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - \ No newline at end of file diff --git a/fsh-generated/resources/ActorDefinition-SHCApp.json b/fsh-generated/resources/ActorDefinition-SHCApp.json new file mode 100644 index 00000000..b3f1efb2 --- /dev/null +++ b/fsh-generated/resources/ActorDefinition-SHCApp.json @@ -0,0 +1,16 @@ +{ + "resourceType": "ActorDefinition", + "id": "SHCApp", + "url": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp", + "description": "The SHC App is a system that a SHC Host can launch allowing a user to fill out a health check form, prepopulated with patient health information retrieved from the SHC Host FHIR Server, and writeback data collected in the form.", + "name": "SHCApp", + "title": "SHC App", + "status": "draft", + "experimental": false, + "type": "system", + "documentation": "The Smart Health Checks (SHC) App: \n- **SHALL** accept [App Launch](https://hl7.org/fhir/smart-app-launch/app-launch.html#launch-app-ehr-launch) request\n- **SHALL** invoke [SMART Authorization Configuration](https://hl7.org/fhir/smart-app-launch/app-launch.html#retrieve-well-knownsmart-configuration) request\n- **SHALL** redirect to [Authorization Request](https://hl7.org/fhir/smart-app-launch/app-launch.html#obtain-authorization-code)\n- **SHALL** accept Authorization Callback request\n- **SHALL** invoke [Token Request](https://hl7.org/fhir/smart-app-launch/app-launch.html#obtain-access-token)\n- **SHALL** authorise FHIR API requests using Bearer access token per [SMART APP Launch Access FHIR API](https://hl7.org/fhir/smart-app-launch/app-launch.html#access-fhir-api)\n- **SHALL** invoke read Practitioner request\n- **SHALL** invoke read Patient request\n- **SHALL** invoke search QuestionnaireResponse request\n- **SHALL** invoke read QuestionnaireResponse request\n- **SHALL** invoke create and update QuestionnaireResponse request\n- **SHALL** invoke search and read requests for resources required by this IG to pre-populate questionnaire response\n- **SHALL** invoke create and patch requests in a transaction Bundle for resources required by this IG", + "capabilities": "https://smartforms.csiro.au/ig/CapabilityStatement/SHCAppCapabilityStatement", + "derivedFrom": [ + "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + ] +} diff --git a/fsh-generated/resources/ActorDefinition-SHCHost.json b/fsh-generated/resources/ActorDefinition-SHCHost.json new file mode 100644 index 00000000..d1fe7dae --- /dev/null +++ b/fsh-generated/resources/ActorDefinition-SHCHost.json @@ -0,0 +1,12 @@ +{ + "resourceType": "ActorDefinition", + "id": "SHCHost", + "url": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHost", + "description": "The SHC Host is a system that allows a user to launch the SHC App within an embedded or externally launched web browser to fill out a health check form.", + "name": "SHCHost", + "title": "SHC Host", + "status": "draft", + "experimental": false, + "type": "system", + "documentation": "The SHC Host: \n- **SHALL** initiate [App Launch](https://hl7.org/fhir/smart-app-launch/app-launch.html#launch-app-ehr-launch) request\n- **SHALL** support App launch context elements including:\n - patient\n - fhirUser\n - fhirContext with following items:\n - role: http://ns.electronichealth.net.au/smart/role/new, type: Questionnaire, canonical: https://example.org/Questionnaire/123/|v2023-05-03\n - ... " +} diff --git a/fsh-generated/resources/ActorDefinition-SHCHostAuthorizationServer.json b/fsh-generated/resources/ActorDefinition-SHCHostAuthorizationServer.json new file mode 100644 index 00000000..7a1ffacc --- /dev/null +++ b/fsh-generated/resources/ActorDefinition-SHCHostAuthorizationServer.json @@ -0,0 +1,12 @@ +{ + "resourceType": "ActorDefinition", + "id": "SHCHostAuthorizationServer", + "url": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostAuthorizationServer", + "description": "The SHC Host Authorization Server allows the SHC App to request authorisation from the PMS user to access patient health information to prepopulate and write back health checks data using the PMS FHIR Server.", + "name": "SHCHostAuthorizationServer", + "title": "SHC Host Authorization Server", + "status": "draft", + "experimental": false, + "type": "system", + "documentation": "The SHC Host Authorization Server: \n- **SHALL** respond to [Authorization Request](https://hl7.org/fhir/smart-app-launch/app-launch.html#obtain-authorization-code)\n- **SHALL** respond to [Token Request](https://hl7.org/fhir/smart-app-launch/app-launch.html#obtain-access-token)\n- **SHALL** support SMART App Launch scopes: \n - openid fhirUser\n - launch\n - user/Practitioner.r\n - patient/Patient.r\n - patient/*.rs\n - user/QuestionnaireResponse.crus\n - ..." +} diff --git a/fsh-generated/resources/ActorDefinition-SHCHostFHIRServer.json b/fsh-generated/resources/ActorDefinition-SHCHostFHIRServer.json new file mode 100644 index 00000000..54630a7d --- /dev/null +++ b/fsh-generated/resources/ActorDefinition-SHCHostFHIRServer.json @@ -0,0 +1,16 @@ +{ + "resourceType": "ActorDefinition", + "id": "SHCHostFHIRServer", + "url": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer", + "description": "The SHC Host FHIR Server allows the SHC App to retrieve patient health information and writeback collected health check data.", + "name": "SHCHostFHIRServer", + "title": "SHC Host FHIR Server", + "status": "draft", + "experimental": false, + "type": "system", + "documentation": "The SHC Host FHIR Server: \n- **SHALL** respond to [SMART Authorization Configuration](https://hl7.org/fhir/smart-app-launch/app-launch.html#retrieve-well-knownsmart-configuration) request\n- **SHALL** authorise FHIR API requests using Bearer access token per [SMART APP Launch Access FHIR API](https://hl7.org/fhir/smart-app-launch/app-launch.html#access-fhir-api)\n- **SHALL** respond to read Practitioner request\n- **SHALL** respond to read Patient request\n- **SHALL** respond to search QuestionnaireResponse request\n- **SHALL** respond to read QuestionnaireResponse request\n- **SHALL** respond to create and update QuestionnaireResponse requests\n- **SHALL** respond to search and read requests for resources required by this IG\n- **SHALL** respond to create and patch requests in a transaction Bundle for resources required by this IG", + "capabilities": "https://smartforms.csiro.au/ig/CapabilityStatement/SHCHostFHIRServerCapabilityStatement", + "derivedFrom": [ + "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + ] +} diff --git a/fsh-generated/resources/CapabilityStatement-SHCAppCapabilityStatement.json b/fsh-generated/resources/CapabilityStatement-SHCAppCapabilityStatement.json new file mode 100644 index 00000000..bd51679d --- /dev/null +++ b/fsh-generated/resources/CapabilityStatement-SHCAppCapabilityStatement.json @@ -0,0 +1,637 @@ +{ + "resourceType": "CapabilityStatement", + "id": "SHCAppCapabilityStatement", + "url": "https://smartforms.csiro.au/ig/CapabilityStatement/SHCAppCapabilityStatement", + "name": "SHCApp", + "title": "SHC App", + "description": "This CapabilityStatement describes the capabilities of the SHC App. These capabilities include supported FHIR profiles, RESTful operations, and search parameters. It covers supported tasks such as SMART App launch context, prepopulation, write-back of extracted resources and completion of forms.", + "status": "draft", + "experimental": false, + "date": "2025-04-16", + "publisher": "AEHRC CSIRO", + "kind": "capability", + "instantiates": [ + "http://hl7.org/fhir/uv/sdc/CapabilityStatement/sdc-form-filler", + "http://hl7.org.au/fhir/core/CapabilityStatement/au-core-requester" + ], + "software": { + "name": "Smart Health Checks Application" + }, + "fhirVersion": "4.0.1", + "format": [ + "json" + ], + "patchFormat": [ + "application/fhir+json" + ], + "implementationGuide": [ + "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch|2.2.0" + ], + "rest": [ + { + "mode": "client", + "documentation": "The SHC App performs interactions to support SMART App Launch, form prepopulation, write-back of extracted resources and form filling.", + "security": { + "cors": true, + "service": [ + { + "coding": [ + { + "code": "SMART-on-FHIR", + "system": "http://terminology.hl7.org/CodeSystem/restful-security-service" + } + ] + } + ], + "description": "SMART App Launch supported to allow secure data exchange." + }, + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + } + ] + } + ], + "type": "AllergyIntolerance", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerance" + ], + "documentation": "The client supports the AllergyIntolerance resource, the Smart Health Checks profile and the conformance expectations for the AllergyIntolerance resource.", + "interaction": [ + { + "code": "search-type" + }, + { + "code": "create" + }, + { + "code": "patch" + } + ], + "searchParam": [ + { + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both." + } + ] + }, + { + "type": "Bundle", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCExtractBundle" + ], + "documentation": "The client supports the Bundle resource, the Smart Health Checks profile listed and the conformance expectations for the Bundle resource." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ] + } + ], + "type": "Condition", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCCondition" + ], + "documentation": "The client supports the Condition resource, the Smart Health Checks and the conformance expectations for the Condition resource.", + "interaction": [ + { + "code": "search-type" + }, + { + "code": "create" + }, + { + "code": "patch" + } + ], + "searchParam": [ + { + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both." + }, + { + "name": "category", + "definition": "http://hl7.org/fhir/SearchParameter/Condition-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values. \r\n\r\nThe server **SHALL** support both." + } + ] + }, + { + "type": "Encounter", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCEncounter" + ], + "documentation": "The client supports the Encounter resource, the Smart Health Checks profile and the conformance expectations for the Encounter resource.", + "interaction": [ + { + "code": "read" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ] + } + ], + "type": "Immunization", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCImmunization" + ], + "documentation": "The client supports the Immunization resource, the Smart Health Checks profile and the conformance expectations for the Immunization resource.", + "interaction": [ + { + "code": "search-type" + }, + { + "code": "create" + } + ], + "searchParam": [ + { + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both." + }, + { + "name": "status", + "definition": "http://hl7.org/fhir/SearchParameter/Immunization-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values. \r\n\r\nThe server **SHALL** support both." + } + ] + }, + { + "type": "Medication", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedication" + ], + "documentation": "The client supports the Medication resource, the Smart Health Checks profile and the conformance expectations for the Medication resource.", + "interaction": [ + { + "code": "read" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + }, + { + "url": "required", + "valueString": "_include" + } + ] + } + ], + "type": "MedicationStatement", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatement" + ], + "documentation": "The client supports the MedicationStatement resource, the Smart Health Checks profile and the conformance expectations for the MedicationStatement resource.", + "interaction": [ + { + "code": "search-type" + }, + { + "code": "create" + }, + { + "code": "patch" + } + ], + "searchInclude": [ + "MedicationStatement:medication" + ], + "searchParam": [ + { + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both." + }, + { + "name": "status", + "definition": "http://hl7.org/fhir/SearchParameter/medications-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\r\n\r\nThe server **SHALL** support both.\r\n\r\nThe client **SHALL** support `multipleOr`.\r\n\r\nThe server **SHALL** support `multipleOr`." + }, + { + "name": "_include", + "type": "reference", + "documentation": "If a medication in a MedicationStatement resource is represented as an external Medication resource reference, the server **SHALL** support the `_include` parameter for searching this element (`MedicationStatement:medication`).\r\n\r\nThe client **SHALL** support this method." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "_sort" + } + ] + } + ], + "type": "Observation", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCBloodPressure", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyHeight", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyWeight", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCPathologyResult", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeadCircumference", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRate", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRhythm", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCWaistCircumference", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCSmokingStatus" + ], + "documentation": "The client supports the Observation resource, the Smart Health Checks profiles listed and the conformance expectations for the Observation resource.", + "interaction": [ + { + "code": "search-type" + }, + { + "code": "create" + } + ], + "searchParam": [ + { + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both. " + }, + { + "name": "code", + "definition": "http://hl7.org/fhir/SearchParameter/clinical-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the code and system values. \r\n\r\nThe server **SHALL** support both." + }, + { + "name": "_sort", + "type": "string", + "documentation": "The client and server **SHALL** support search result sorting by date and **MAY** support other values.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ] + }, + { + "type": "Parameters", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerancePatch", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCConditionPatch", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatementPatch" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The client supports the Parameters resource, the Smart Health Checks profiles listed and the conformance expectations for the Parameters resource." + }, + { + "type": "Patient", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatient" + ], + "documentation": "The client supports the Patient resource, Smart Health Checks profile and the conformance expectations for the Patient resource.", + "interaction": [ + { + "code": "read" + }, + { + "code": "patch" + } + ] + }, + { + "type": "Practitioner", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCPractitioner" + ], + "documentation": "The client supports the Practitioner resource, Smart Health Checks profile and the conformance expectations for the Practitioner resource.", + "interaction": [ + { + "code": "read" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "url" + }, + { + "url": "required", + "valueString": "version" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "_count" + }, + { + "url": "required", + "valueString": "_sort" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "title" + }, + { + "url": "required", + "valueString": "_count" + }, + { + "url": "required", + "valueString": "_sort" + } + ] + } + ], + "type": "Questionnaire", + "profile": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire", + "documentation": "The client supports the Questionnaire resource, Structured Data Capture profile and the conformance expectations for the Questionnaire resource.", + "interaction": [ + { + "code": "search-type" + }, + { + "code": "create" + } + ], + "searchParam": [ + { + "name": "url", + "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-url", + "type": "uri" + }, + { + "name": "version", + "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-version", + "type": "token" + }, + { + "name": "title", + "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-title", + "type": "string", + "documentation": "The client supports search using the :contains modifier." + }, + { + "name": "_count", + "type": "number", + "documentation": "The client supports search result limiting." + }, + { + "name": "_sort", + "type": "string", + "documentation": "The client supports search result sorting by date and **MAY** support other values." + } + ], + "operation": [ + { + "name": "assemble", + "definition": "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-assemble" + }, + { + "name": "populate", + "definition": "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-populate" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "_count" + }, + { + "url": "required", + "valueString": "_sort" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "_count" + }, + { + "url": "required", + "valueString": "_sort" + }, + { + "url": "required", + "valueString": "questionnaire" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "_count" + }, + { + "url": "required", + "valueString": "_sort" + }, + { + "url": "required", + "valueString": "status" + } + ] + } + ], + "type": "QuestionnaireResponse", + "profile": "https://smartforms.csiro.au/ig/StructureDefinition/SHCQuestionnaireResponse", + "documentation": "The client supports the QuestionnaireResponse resource, Smart Health Checks profile and the conformance expectations for the QuestionnaireResponse resource.", + "interaction": [ + { + "code": "read" + }, + { + "code": "search-type" + }, + { + "code": "create" + }, + { + "code": "update" + } + ], + "versioning": "versioned-update", + "searchParam": [ + { + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both. " + }, + { + "name": "questionnaire", + "definition": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-questionnaire", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both.\r\n\r\nThe client and server **SHALL** support chained search questionnaire.title using the :contains modifier." + }, + { + "name": "status", + "definition": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the code and system values. \r\n\r\nThe server **SHALL** support both." + }, + { + "name": "_count", + "type": "number", + "documentation": "The client and server **SHALL** support search result limiting." + }, + { + "name": "_sort", + "type": "string", + "documentation": "The client and server **SHALL** support search result sorting by authored and **MAY** support other values." + } + ] + }, + { + "type": "ValueSet", + "documentation": "The client supports the ValueSet resource and the conformance expectations for the ValueSet resource.", + "operation": [ + { + "name": "expand", + "definition": "http://hl7.org/fhir/OperationDefinition/ValueSet-expand" + } + ] + } + ], + "interaction": [ + { + "code": "transaction" + }, + { + "code": "batch" + } + ] + } + ] +} diff --git a/fsh-generated/resources/CapabilityStatement-SHCHostFHIRServerCapabilityStatement.json b/fsh-generated/resources/CapabilityStatement-SHCHostFHIRServerCapabilityStatement.json new file mode 100644 index 00000000..70528a6e --- /dev/null +++ b/fsh-generated/resources/CapabilityStatement-SHCHostFHIRServerCapabilityStatement.json @@ -0,0 +1,1080 @@ +{ + "resourceType": "CapabilityStatement", + "id": "SHCHostFHIRServerCapabilityStatement", + "url": "https://smartforms.csiro.au/ig/CapabilityStatement/SHCHostFHIRServerCapabilityStatement", + "name": "SHCHostFHIRServer", + "title": "SHC Host FHIR Server", + "description": "This CapabilityStatement describes the expected capabilities for systems to launch and exchange data with the [SHC App](CapabilityStatement-SHCAppCapabilityStatement.html) to support the [Aboriginal and Torres Strait Islander Health Check](Questionnaire-AboriginalTorresStraitIslanderHealthCheck.html). It lists the server's conformance expectations for the resource types required as a launch context, resource types required to support prepopulation of the form, resource types required to support writing back to the patient record, and QuestionnaireResponse requirements for managing form responses. These expectations include supported FHIR profiles, RESTful operations, and search parameters.", + "status": "draft", + "experimental": false, + "date": "2025-04-16", + "publisher": "AEHRC CSIRO", + "jurisdiction": [ + { + "coding": [ + { + "code": "AU", + "system": "urn:iso:std:iso:3166" + } + ] + } + ], + "kind": "requirements", + "fhirVersion": "4.0.1", + "format": [ + "json" + ], + "_format": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "patchFormat": [ + "application/fhir+json" + ], + "_patchFormat": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "implementationGuide": [ + "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch|2.2.0", + "http://hl7.org/fhir/uv/sdc/ImplementationGuide/hl7.fhir.uv.sdc" + ], + "_implementationGuide": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "rest": [ + { + "mode": "server", + "documentation": "Smart Forms Launcher Server **SHALL**:\r\n1. Support the [Smart Health Checks AllergyIntolerance resource profile](StructureDefinition-SHCAllergyIntolerance.html)\r\n1. Support the [Smart Health Checks AllergyIntolerance Patch resource profile](StructureDefinition-SHCAllergyIntolerancePatch.html)\r\n1. Support the [Smart Health Checks Condition resource profile](StructureDefinition-SHCCondition.html)\r\n1. Support the [Smart Health Checks Condition Patch resource profile](StructureDefinition-SHCConditionPatch.html)\r\n1. Support the [Smart Health Checks Encounter resource profile](StructureDefinition-SHCEncounter.html)\r\n1. Support the [Smart Health Checks Immunization resource profile](StructureDefinition-SHCImmunization.html)\r\n1. Support the [Smart Health Checks Medication profile](StructureDefinition-SHCMedication.html)\r\n1. Support the [Smart Health Checks MedicationStatement profile](StructureDefinition-SHCMedicationStatement.html)\r\n1. Support the [Smart Health Checks MedicationStatement Patch profile](StructureDefinition-SHCMedicationStatementPatch.html)\r\n1. Support the [Smart Health Checks Observation resource profiles](profiles-and-extensions.html#observation)\r\n1. Support the [Smart Health Checks Patient resource profile](StructureDefinition-SHCPatient.html)\r\n1. Support the [Smart Health Checks Practitioner resource profile](StructureDefinition-SHCPractitioner.html)\r\n1. Support the [Smart Health Checks QuestionnaireResponse resource profile](StructureDefinition-SHCQuestionnaireResponse.html)\r\n1. Support the [Smart Health Checks Extract Bundle resource profile](StructureDefinition-SHCExtractBundle.html)\r\n1. Implement the RESTful behavior according to the FHIR specification\r\n1. Support JSON source formats for all interactions", + "security": { + "cors": true, + "_cors": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "service": [ + { + "coding": [ + { + "code": "SMART-on-FHIR", + "system": "http://terminology.hl7.org/CodeSystem/restful-security-service" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "description": "Smart Forms Launcher Server **SHALL**:\r\n1. Support CORS headers\r\n1. Support SMART on FHIR security services\r\n\r\nAlso see the [AU Core Security and Privacy](https://hl7.org.au/fhir/core/1.0.0/security.html) section for general considerations and recommendations." + }, + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "AllergyIntolerance", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerance" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The server **SHALL** support the AllergyIntolerance resource, the Smart Health Checks profile and the conformance expectations for the AllergyIntolerance resource.", + "interaction": [ + { + "code": "search-type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "code": "create", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "code": "patch", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Bundle", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCExtractBundle" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The server **SHALL** support the Bundle resource, the Smart Health Checks profile listed and the conformance expectations for the Bundle resource." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ] + } + ], + "type": "Condition", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCCondition" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The server **SHALL** support the Condition resource, the Smart Health Checks profile and the conformance expectations for the Condition resource.", + "interaction": [ + { + "code": "search-type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "code": "create", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "code": "patch", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "name": "category", + "definition": "http://hl7.org/fhir/SearchParameter/Condition-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values. \r\n\r\nThe server **SHALL** support both.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Encounter", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCEncounter" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The server **SHALL** support the Encounter resource, Smart Health Checks profile and the conformance expectations for the Encounter resource.", + "interaction": [ + { + "code": "read", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ] + } + ], + "type": "Immunization", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCImmunization" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The server **SHALL** support the Immunization resource, the Smart Health Checks profile and the conformance expectations for the Immunization resource.", + "interaction": [ + { + "code": "search-type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "code": "create", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "name": "status", + "definition": "http://hl7.org/fhir/SearchParameter/Immunization-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values. \r\n\r\nThe server **SHALL** support both.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "type": "Medication", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedication" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "If an external reference to a Medication resource is used in MedicationStatement, then the server **SHALL** support the Medication resource, the Smart Health Checks profile and the conformance expectations for the Medication resource.", + "interaction": [ + { + "code": "read", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + }, + { + "url": "required", + "valueString": "_include" + } + ] + } + ], + "type": "MedicationStatement", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatement" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The server **SHALL** support the MedicationStatement resource, the Smart Health Checks profile and the conformance expectations for the MedicationStatement resource.\r\n\r\nIf a medication in a MedicationStatement resource is represented as an external Medication resource reference, the server **SHALL** support the `_include` parameter for searching this element (`MedicationStatement:medication`)\r\n", + "interaction": [ + { + "code": "search-type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "code": "create", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "code": "patch", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchInclude": [ + "MedicationStatement:medication" + ], + "searchParam": [ + { + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "name": "status", + "definition": "http://hl7.org/fhir/SearchParameter/medications-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\r\n\r\nThe server **SHALL** support both.\r\n\r\nThe client **SHALL** support `multipleOr`.\r\n\r\nThe server **SHALL** support `multipleOr`.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "name": "_include", + "type": "reference", + "documentation": "If a medication in a MedicationStatement resource is represented as an external Medication resource reference, the server **SHALL** support the `_include` parameter for searching this element (`MedicationStatement:medication`).\r\n\r\nThe client **SHALL** support this method.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "_sort" + } + ] + } + ], + "type": "Observation", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCBloodPressure", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyHeight", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyWeight", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCPathologyResult", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeadCircumference", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRate", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRhythm", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCWaistCircumference", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCSmokingStatus" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The server **SHALL** support the Observation resource, the Smart Health Checks profiles listed and the conformance expectations for the Observation resource.", + "interaction": [ + { + "code": "search-type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "code": "create", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both. ", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "name": "code", + "definition": "http://hl7.org/fhir/SearchParameter/clinical-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the code and system values. \r\n\r\nThe server **SHALL** support both.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "name": "_sort", + "type": "string", + "documentation": "The client and server **SHALL** support search result sorting by date and **MAY** support other values.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Parameters", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerancePatch", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCConditionPatch", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatementPatch" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The server **SHALL** support the Parameters resource, the Smart Health Checks profiles listed and the conformance expectations for the Parameters resource." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Patient", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatient" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The server **SHALL** support the Patient resource, Smart Health Checks profile and the conformance expectations for the Patient resource.", + "interaction": [ + { + "code": "read", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "code": "patch", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Practitioner", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCPractitioner" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The server **SHALL** support the Practitioner resource, Smart Health Checks profile and the conformance expectations for the Practitioner resource.", + "interaction": [ + { + "code": "read", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "_count" + }, + { + "url": "required", + "valueString": "_sort" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "_count" + }, + { + "url": "required", + "valueString": "_sort" + }, + { + "url": "required", + "valueString": "questionnaire" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "_count" + }, + { + "url": "required", + "valueString": "_sort" + }, + { + "url": "required", + "valueString": "status" + } + ] + } + ], + "type": "QuestionnaireResponse", + "supportedProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCQuestionnaireResponse" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The server **SHALL** support the QuestionnaireResponse resource, Smart Health Checks profile and the conformance expectations for the QuestionnaireResponse resource.", + "interaction": [ + { + "code": "read", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "code": "search-type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "code": "create", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "code": "update", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "versioning": "versioned-update", + "_versioning": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "searchParam": [ + { + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both. ", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "name": "questionnaire", + "definition": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-questionnaire", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. \r\n\r\nThe server **SHALL** support both.\r\n\r\nThe client and server **SHALL** support chained search questionnaire.title using the :contains modifier.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "name": "status", + "definition": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the code and system values. \r\n\r\nThe server **SHALL** support both.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "name": "_count", + "type": "number", + "documentation": "The client and server **SHALL** support search result limiting.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "name": "_sort", + "type": "string", + "documentation": "The client and server **SHALL** support search result sorting by authored and **MAY** support other values.", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ] + } + ], + "interaction": [ + { + "code": "transaction", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "documentation": "The server **SHALL** support the transaction interaction for all resources." + } + ] + } + ] +} diff --git a/fsh-generated/resources/CodeSystem-HealthChecksSCTSupplement.json b/fsh-generated/resources/CodeSystem-HealthChecksSCTSupplement.json new file mode 100644 index 00000000..d075fe33 --- /dev/null +++ b/fsh-generated/resources/CodeSystem-HealthChecksSCTSupplement.json @@ -0,0 +1,58 @@ +{ + "resourceType": "CodeSystem", + "status": "draft", + "content": "supplement", + "name": "HealthChecksSCTSupplement", + "id": "HealthChecksSCTSupplement", + "title": "SNOMED CT Supplement for Aboriginal and Torres Strait Islander Health Check", + "description": "The SNOMED CT Supplement for Aboriginal and Torres Strait Islander Health Check code system supplement defines consumer friendly terms for use in the health check Questionnaire.", + "url": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement", + "concept": [ + { + "code": "736595007", + "display": "Declined" + }, + { + "code": "171154002", + "display": "Not required" + }, + { + "code": "171155001", + "display": "Up to date" + }, + { + "code": "48031000119106", + "display": "Quit >12 months" + }, + { + "code": "735128000", + "display": "Quit <12 months" + }, + { + "code": "266919005", + "display": "Never smoked" + }, + { + "code": "77176002", + "display": "Current smoker" + }, + { + "code": "8517006", + "display": "Ex-smoker" + }, + { + "code": "16090371000119103", + "display": "Exposure to second hand tobacco smoke" + }, + { + "code": "394872000", + "display": "Wants to quit" + }, + { + "code": "713914004", + "display": "Other tobacco use" + } + ], + "experimental": false, + "supplements": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" +} diff --git a/fsh-generated/resources/CodeSystem-QuestionnaireItemControlExtended.json b/fsh-generated/resources/CodeSystem-QuestionnaireItemControlExtended.json index 51678147..a032af6e 100644 --- a/fsh-generated/resources/CodeSystem-QuestionnaireItemControlExtended.json +++ b/fsh-generated/resources/CodeSystem-QuestionnaireItemControlExtended.json @@ -11,7 +11,7 @@ { "code": "context-display", "display": "context-display", - "definition": "An display item rendered adjacent (horizontally or vertically) to the text of the parent item." + "definition": "Display item is rendered adjacent (horizontally or vertically) to the text of the parent item." } ], "experimental": false, diff --git a/fsh-generated/resources/ImplementationGuide-csiro.fhir.au.smartforms.json b/fsh-generated/resources/ImplementationGuide-csiro.fhir.au.smartforms.json index b87f5d26..709b68dc 100644 --- a/fsh-generated/resources/ImplementationGuide-csiro.fhir.au.smartforms.json +++ b/fsh-generated/resources/ImplementationGuide-csiro.fhir.au.smartforms.json @@ -2,9 +2,9 @@ "resourceType": "ImplementationGuide", "id": "csiro.fhir.au.smartforms", "url": "https://smartforms.csiro.au/ig/ImplementationGuide/csiro.fhir.au.smartforms", - "version": "0.1.0", - "name": "SmartForms", - "title": "Smart Forms", + "version": "0.3.0", + "name": "SmartHealthChecks", + "title": "Smart Health Checks", "status": "draft", "experimental": false, "publisher": "AEHRC CSIRO", @@ -19,42 +19,77 @@ ] } ], - "description": "Smart Forms FHIR Implementation Guide.", - "copyright": "CSIRO © 2022+; Licensed under Apache License, Version 2.0", + "description": "The Smart Health Checks FHIR Implementation Guide supports the integration of the Smart Health Checks App within a patient management system enabling users to complete health check assessments such as the Aboriginal and Torres Strait Islander Health Check.", + "jurisdiction": [ + { + "coding": [ + { + "code": "AU", + "system": "urn:iso:std:iso:3166", + "display": "Australia" + } + ] + } + ], + "copyright": "Copyright © 2022+ Australian Government Department of Health and Aged Care - All rights reserved.\nThis content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.\nSee https://creativecommons.org/licenses/by-sa/4.0/.\n", "packageId": "csiro.fhir.au.smartforms", - "license": "Apache-2.0", + "license": "CC-BY-SA-4.0", "fhirVersion": [ "4.0.1" ], "dependsOn": [ { "packageId": "hl7.fhir.au.core", - "version": "current", + "version": "1.1.0-preview", "uri": "http://hl7.org.au/fhir/core/ImplementationGuide/hl7.fhir.au.core", "id": "hl7_fhir_au_core" }, + { + "packageId": "hl7.fhir.au.base", + "version": "5.1.0-preview", + "uri": "http://hl7.org.au/fhir/ImplementationGuide/hl7.fhir.au.base", + "id": "hl7_fhir_au_base" + }, { "packageId": "hl7.fhir.uv.sdc", - "version": "3.0.0", + "version": "current", "uri": "http://hl7.org/fhir/uv/sdc/ImplementationGuide/hl7.fhir.uv.sdc", "id": "hl7_fhir_uv_sdc" + }, + { + "packageId": "hl7.fhir.uv.smart-app-launch", + "version": "2.2.0", + "uri": "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch", + "id": "hl7_fhir_uv_smart_app_launch" + }, + { + "packageId": "hl7.fhir.uv.extensions.r4", + "version": "5.2.0", + "uri": "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions", + "id": "hl7_fhir_uv_extensions_r4" } ], "definition": { "resource": [ + { + "reference": { + "reference": "AllergyIntolerance/604a-pat-sf" + }, + "name": "604a-pat-sf", + "exampleCanonical": "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerance" + }, { "reference": { "reference": "Questionnaire/AssemblyInstructions" }, "name": "Aboriginal and Torres Strait Islander Health Check", "description": "Aboriginal and Torres Strait Islander Health Check assessment form.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { "reference": "Questionnaire/AboriginalTorresStraitIslanderHealthCheck" }, - "description": "Aboriginal and Torres Strait Islander Health Check assessment form.", "exampleBoolean": false, "name": "Aboriginal and Torres Strait Islander Health Check" }, @@ -64,7 +99,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - About The Health Check", "description": "About The Health Check sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -72,7 +107,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Absolute Cardiovascular Disease Risk Calculation", "description": "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -80,7 +115,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Allergies/Adverse Reactions", "description": "Allergies/Adverse Reactions sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -88,7 +123,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Chronic Disease Ageing", "description": "Chronic Disease Ageing sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -96,7 +131,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Consent", "description": "Consent sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -104,7 +139,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Current Priorities", "description": "Current Priorities sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -112,7 +147,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Ear Health And Hearing", "description": "Ear Health And Hearing sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -120,7 +155,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Examination", "description": "Examination sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -128,7 +163,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Eye Health", "description": "Eye Health sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -136,7 +171,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Family History", "description": "Family History sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -144,7 +179,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Finalising the Health Check", "description": "Finalising the Health Check sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -152,7 +187,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Gambling", "description": "Gambling sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -160,7 +195,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Health Priorities, Actions And Follow-Up Summary", "description": "Health Priorities, Actions And Follow-Up Summary sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -168,7 +203,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Healthy Eating", "description": "Healthy Eating sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -176,7 +211,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Home And Family", "description": "Home And Family sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -184,7 +219,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Immunisation", "description": "Immunisation sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -192,7 +227,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Investigations", "description": "Investigations sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -200,7 +235,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Learning And Development", "description": "Learning And Development sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -208,7 +243,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Learning And Work", "description": "Learning And Work sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -216,7 +251,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Medical History", "description": "Medical History sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -224,7 +259,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Memory And Thinking", "description": "Memory And Thinking sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -232,7 +267,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Mood", "description": "Mood sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -240,7 +275,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Oral And Dental Health", "description": "Oral And Dental Health sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -248,7 +283,15 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Patient Details", "description": "Patient Details sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true + }, + { + "reference": { + "reference": "Questionnaire/PhysicalActivityAndScreenTime" + }, + "name": "Aboriginal and Torres Strait Islander Health Check - Physical Activity And Screen Time", + "description": "Physical Activity And Screen Time sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", + "exampleBoolean": true }, { "reference": { @@ -256,7 +299,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Red Flags Early Identification Guide For Children", "description": "Red Flags Early Identification Guide For Children sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -264,7 +307,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Regular Medications", "description": "Regular Medications sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -272,7 +315,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Screening Programs", "description": "Screening Programs sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -280,7 +323,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Sexual Health", "description": "Sexual Health sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -288,7 +331,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Skin", "description": "Skin sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -296,7 +339,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Social And Emotional Wellbeing", "description": "Social And Emotional Wellbeing sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -304,7 +347,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Social History Child", "description": "Social History Child sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -312,7 +355,7 @@ }, "name": "Aboriginal and Torres Strait Islander Health Check - Substance Use", "description": "Substance Use sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", - "exampleBoolean": false + "exampleBoolean": true }, { "reference": { @@ -322,6 +365,46 @@ "description": "The Aboriginal and/or Torres Strait Islander value set includes the Australian Indigenous statuses for Indigenous people.", "exampleBoolean": false }, + { + "reference": { + "reference": "ValueSet/administrative-gender" + }, + "name": "AdministrativeGender", + "description": "The gender of a person used for administrative purposes.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "ValueSet/AllergyIntoleranceClinicalStatusMinimal" + }, + "name": "Allergy Intolerance Clinical Status Minimal", + "description": "This value set includes the minimal set of codes to represent the clinical status of an allergy intolerance (i.e., active and inactive).", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/au-core-headcircum" + }, + "description": "This profile sets minimum expectations for an Observation resource to record, search, and fetch head circumference observations with standard coding and units of measure. It is based on the [FHIR Head Circumference Profile](http://hl7.org/fhir/R4/headcircum.html) and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Observation resource when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context.", + "exampleBoolean": false, + "name": "AU Core Head Circumference" + }, + { + "reference": { + "reference": "ValueSet/amt-vaccine-1" + }, + "name": "Australian Medicines Terminology Vaccine", + "description": "The Australian Medicines Terminology (AMT) Vaccine value set includes AMT product concepts that may be used to record a vaccine product.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "ValueSet/australian-pronouns-1" + }, + "name": "Australian Pronouns", + "description": "The Australian Pronouns value set includes values that indicate the pronouns to be used when communicating with or about an individual.", + "exampleBoolean": false + }, { "reference": { "reference": "ValueSet/australian-states-territories-2" @@ -338,6 +421,29 @@ "description": "The Biological Sex value set includes values that represent the biological sex of an individual.", "exampleBoolean": false }, + { + "reference": { + "reference": "ValueSet/CervicalScreeningStatus-1" + }, + "name": "Cervical Screening Status", + "description": "The Cervical Screening Status value set includes values that can be used to represent the status of an individual's participation in a cervical screening program.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "MedicationStatement/chloramphenicol-pat-sf" + }, + "name": "chloramphenicol-pat-sf", + "exampleCanonical": "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatement" + }, + { + "reference": { + "reference": "ValueSet/clinical-condition-1" + }, + "name": "Clinical Condition", + "description": "The Clinical Condition value set includes values that cover a broad range of clinical concepts to support the representation of conditions, including problems, diagnoses and disorders.", + "exampleBoolean": false + }, { "reference": { "reference": "ValueSet/condition-clinical" @@ -354,38 +460,68 @@ "description": "This extension is intended to be used as a work around to a known bug whereby contained resources that are not referenced with the type, 'Reference' are removed before a resource is created in a HAPI FHIR server. This is problematic when referencing with the type, 'canonical'. The extension can be used to reference contained resources so they are retained when added to a HAPI FHIR server.", "exampleBoolean": false }, + { + "reference": { + "reference": "Condition/fever-pat-sf" + }, + "name": "fever-pat-sf", + "exampleCanonical": "https://smartforms.csiro.au/ig/StructureDefinition/SHCCondition" + }, { "reference": { "reference": "ValueSet/gender-identity-response-1" }, "name": "Gender Identity Response", - "description": "The Gender Identity Response value set includes values that may be used to represent a response for an individual’s gender. A person's gender is a social and cultural identity, expression and experience.", + "description": "The Gender Identity Response value set includes values that may be used to represent a response for an individual's gender. A person's gender is a social and cultural identity, expression and experience.", "exampleBoolean": false }, { "reference": { - "reference": "ValueSet/MedicalHistory" + "reference": "StructureDefinition/GranularRepopulateSync" }, - "name": "Medical History", - "description": "The Medical History value set includes values that may be used to represent medical history, operations and hospital admissions.", + "name": "Granular Repopulate Sync", + "description": "This custom extension is used to add a UI component that allows a user to repopulate an individual Questionnaire item with the latest data from the FHIR server. This is useful for updating specific items without having to refresh the entire form.", "exampleBoolean": false }, { "reference": { - "reference": "ValueSet/pronouns" + "reference": "StructureDefinition/GroupHideAddItemButton" }, - "name": "Personal Pronouns", - "description": "Codes that indicate the pronouns to be used when communicating with or about an individual.", + "name": "Group Hide Add Item Button", + "description": "This custom extension is used to hide the UI component that allows a user to add new items for repeating groups in a Questionnaire. This is useful for preventing users from adding additional groups when it is not appropriate to do so, such as when a group is intended to be prepopulated with existing data but no new ones added by the user.", "exampleBoolean": false }, { "reference": { - "reference": "Questionnaire/PhysicalActivityAndScreenTime" + "reference": "ValueSet/heart-rhythm-1" }, - "name": "Physical Activity And Screen Time", - "description": "Physical Activity And Screen Time sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", + "name": "Heart Rhythm", + "description": "The Heart Rhythm value set includes values that may be used to represent the heart rhythm of an individual.", "exampleBoolean": false }, + { + "reference": { + "reference": "ValueSet/medication-reason-taken-1" + }, + "name": "Medication Reason Taken", + "description": "The Medication Reason Taken value set includes values that identify a reason why a medication has been or is being taken.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "ValueSet/MedicationStatementStatusLimited" + }, + "name": "Medication Statement Status Limited", + "description": "This value set includes the minimal set of codes to represent the status of a medication statement (i.e., active, completed, stopped and on-hold).", + "exampleBoolean": false + }, + { + "reference": { + "reference": "Patient/pat-sf" + }, + "name": "pat-sf", + "exampleCanonical": "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatient" + }, { "reference": { "reference": "ValueSet/PrimaryCarerParentGrandparent" @@ -394,6 +530,13 @@ "description": "The Primary Carer Of Parent Or Grandparent value set includes values that can indicate whether a primary carer is one of the parents or a grandparent.", "exampleBoolean": false }, + { + "reference": { + "reference": "Practitioner/primary-peter" + }, + "name": "primary-peter", + "exampleCanonical": "https://smartforms.csiro.au/ig/StructureDefinition/SHCPractitioner" + }, { "reference": { "reference": "CodeSystem/QuestionnaireItemControlExtended" @@ -404,43 +547,282 @@ }, { "reference": { - "reference": "CodeSystem/questionnaire-item-control" + "reference": "StructureDefinition/QuestionnaireItemTextHidden" }, - "description": "Starter set of user interface control/display mechanisms that might be used when rendering an item in a questionnaire.", - "exampleBoolean": false, - "name": "Questionnaire Item UI Control Codes" + "name": "Questionnaire Item Text Hidden", + "description": "This custom extension is used to indicate that the text of a Questionnaire item should be hidden in the user interface. This is useful for items where the text is not intended to be displayed to the user but is still needed for other processes.", + "exampleBoolean": false }, { "reference": { - "reference": "ValueSet/questionnaire-item-control" + "reference": "Bundle/sdc-template-extract-928bbdd27d15" }, - "description": "Starter set of user interface control/display mechanisms that might be used when rendering an item in a questionnaire.", - "exampleBoolean": false, - "name": "Questionnaire Item UI Control Codes" + "name": "sdc-template-extract-928bbdd27d15", + "exampleCanonical": "https://smartforms.csiro.au/ig/StructureDefinition/SHCExtractBundle" }, { "reference": { - "reference": "CapabilityStatement/SmartFormsApplication" + "reference": "ActorDefinition/SHCApp" }, - "description": "This CapabilityStatement describes the capabilities of the Smart Forms Application. These capabilities include supported FHIR profiles, RESTful operations, and search parameters. It covers supported tasks such as SMART App launch context, prepopulation and completion of forms.", - "exampleBoolean": false, - "name": "Smart Forms Application" + "name": "SHC App", + "description": "The SHC App is a system that a SHC Host can launch allowing a user to fill out a health check form, prepopulated with patient health information retrieved from the SHC Host FHIR Server, and writeback data collected in the form.", + "exampleBoolean": false }, { "reference": { - "reference": "CapabilityStatement/SFLauncherServerAboriginalTorresStraitIslanderHealthCheck" + "reference": "CapabilityStatement/SHCAppCapabilityStatement" }, - "description": "This CapabilityStatement describes the expected capabilities for systems to launch and exchange data with the [Smart Forms client application](CapabilityStatement-SmartFormsApplication.html) to support the [Aboriginal and Torres Strait Islander Health Check](Questionnaire-AboriginalTorresStraitIslanderHealthCheck.html). It lists the server's conformance expectations for the resource types required as a launch context, resource types required to support prepopulation of the form, and QuestionnaireResponse requirements for managing form responses. These expectations include supported FHIR profiles, RESTful operations, and search parameters.", - "exampleBoolean": false, - "name": "Smart Forms Launcher Server for the Aboriginal and Torres Strait Islander Health Check" + "name": "SHC App", + "description": "This CapabilityStatement describes the capabilities of the SHC App. These capabilities include supported FHIR profiles, RESTful operations, and search parameters. It covers supported tasks such as SMART App launch context, prepopulation, write-back of extracted resources and completion of forms.", + "exampleBoolean": false }, { "reference": { - "reference": "CapabilityStatement/SmartFormsServer" + "reference": "ActorDefinition/SHCHost" }, - "description": "This CapabilityStatement describes the capabilities of the Smart Forms Server. The Smart Forms Server provides a definitional repository of resources that a client application can retrieve for use in a Smart Forms context. The capabilities listed include supported FHIR profiles, RESTful operations, and search parameters.", - "exampleBoolean": false, - "name": "Smart Forms Server" + "name": "SHC Host", + "description": "The SHC Host is a system that allows a user to launch the SHC App within an embedded or externally launched web browser to fill out a health check form.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "ActorDefinition/SHCHostAuthorizationServer" + }, + "name": "SHC Host Authorization Server", + "description": "The SHC Host Authorization Server allows the SHC App to request authorisation from the PMS user to access patient health information to prepopulate and write back health checks data using the PMS FHIR Server.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "ActorDefinition/SHCHostFHIRServer" + }, + "name": "SHC Host FHIR Server", + "description": "The SHC Host FHIR Server allows the SHC App to retrieve patient health information and writeback collected health check data.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "CapabilityStatement/SHCHostFHIRServerCapabilityStatement" + }, + "name": "SHC Host FHIR Server", + "description": "This CapabilityStatement describes the expected capabilities for systems to launch and exchange data with the [SHC App](CapabilityStatement-SHCAppCapabilityStatement.html) to support the [Aboriginal and Torres Strait Islander Health Check](Questionnaire-AboriginalTorresStraitIslanderHealthCheck.html). It lists the server's conformance expectations for the resource types required as a launch context, resource types required to support prepopulation of the form, resource types required to support writing back to the patient record, and QuestionnaireResponse requirements for managing form responses. These expectations include supported FHIR profiles, RESTful operations, and search parameters.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCAllergyIntolerance" + }, + "name": "Smart Health Checks AllergyIntolerance", + "description": "This profile sets the minimum expectations for an AllergyIntolerance resource to record, search and save allergy or intolerance information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCAllergyIntolerancePatch" + }, + "name": "Smart Health Checks AllergyIntolerance Patch", + "description": "This profile sets the expectations for a Parameters resource when used to patch AllergyIntolerance resources within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCBloodPressure" + }, + "name": "Smart Health Checks Blood Pressure", + "description": "This profile sets the minimum expectations for a Blood Pressure resource to record, search and save blood pressure information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCBodyHeight" + }, + "name": "Smart Health Checks Body Height", + "description": "This profile sets the minimum expectations for a Body Height resource to record, search and save body height information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCBodyWeight" + }, + "name": "Smart Health Checks Body Weight", + "description": "This profile sets the minimum expectations for a Body Weight resource to record, search and save body weight information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCCondition" + }, + "name": "Smart Health Checks Condition", + "description": "This profile sets the minimum expectations for a Condition resource to record, search and save condition information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCConditionPatch" + }, + "name": "Smart Health Checks Condition Patch", + "description": "This profile sets the expectations for a Parameters resource when used to patch Condition resources within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCEncounter" + }, + "name": "Smart Health Checks Encounter", + "description": "This profile sets the minimum expectations for a Encounter resource to search and retrieve encounter information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCExtractBundle" + }, + "name": "Smart Health Checks Extract Bundle", + "description": "This profile sets the expectations for a Bundle resource when used to represent a transaction bundle of resources extracted by the SHC App following the completion of a Smart Health Checks Questionnaire. This bundle is used to write patient information to the SHC Host FHIR server.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCHeadCircumference" + }, + "name": "Smart Health Checks Head Circumference", + "description": "This profile sets the minimum expectations for a Head Circumference resource to record, search and save head circumference information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCHeartRate" + }, + "name": "Smart Health Checks Heart Rate", + "description": "This profile sets the minimum expectations for a Heart Rate resource to record, search and save heart rate information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCHeartRhythm" + }, + "name": "Smart Health Checks Heart Rhythm", + "description": "This profile sets the minimum expectations for an Observation resource to record heart rhythm observations. It is used to represent heart rhythm data captured during a First Nations Health Check that can be used to record the observation in a clinical record.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCImmunization" + }, + "name": "Smart Health Checks Immunization", + "description": "This profile sets the minimum expectations for an Immunization resource to record, search and save immunization information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCMedication" + }, + "name": "Smart Health Checks Medication", + "description": "This profile sets the minimum expectations for a Medication resource to search and retrieve medication information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCMedicationStatement" + }, + "name": "Smart Health Checks MedicationStatement", + "description": "This profile sets the minimum expectations for a MedicationStatement resource to record, search and save medication information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCMedicationStatementPatch" + }, + "name": "Smart Health Checks MedicationStatement Patch", + "description": "This profile sets the expectations for a Parameters resource when used to patch MedicationStatement resources within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "ValueSet/smart-health-checks-medicine-products" + }, + "name": "Smart Health Checks Medicine Products", + "description": "The Smart Health Checks Medicine Products value set includes Australian Medicines Terminology (AMT) product concepts that may be used for the identification of a medicine with form, ingredient and unit of measure details.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCPathologyResult" + }, + "name": "Smart Health Checks Pathology Result", + "description": "This profile sets the minimum expectations for an Observation resource to search and retrieve pathology result information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCPatient" + }, + "name": "Smart Health Checks Patient", + "description": "This profile sets the minimum expectations for a Patient resource to search and retrieve patient information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCPractitioner" + }, + "name": "Smart Health Checks Practitioner", + "description": "This profile sets the minimum expectations for a Practitioner resource to search and retrieve practitioner information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCQuestionnaireResponse" + }, + "name": "Smart Health Checks Questionnaire Response", + "description": "This profile sets the minimum expectations for a QuestionnaireResponse resource to record, search and save form information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCSmokingStatus" + }, + "name": "Smart Health Checks Smoking Status", + "description": "This profile sets the minimum expectations for a Smoking Status resource to record, search and save smoking status information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/SHCWaistCircumference" + }, + "name": "Smart Health Checks Waist Circumference", + "description": "This profile sets the minimum expectations for a Waist Circumference resource to record, search and save waist circumference information when used within Smart Health Checks.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "ValueSet/SmokingQuitStatus-1" + }, + "name": "Smoking Quit Status", + "description": "The Smoking Quit Status value set includes values that can indicate how long ago an individual quit smoking.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "CodeSystem/HealthChecksSCTSupplement" + }, + "name": "SNOMED CT Supplement for Aboriginal and Torres Strait Islander Health Check", + "description": "The SNOMED CT Supplement for Aboriginal and Torres Strait Islander Health Check code system supplement defines consumer friendly terms for use in the health check Questionnaire.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "StructureDefinition/TemplateExtractExtensionExtended" + }, + "name": "Template Extract Extension Extended", + "description": "This extension is used to extend the [Extract Template - Resource](https://build.fhir.org/ig/HL7/sdc/StructureDefinition-sdc-questionnaire-templateExtract.html) extension to include additional information that supports the extraction of a [Parameters](https://hl7.org/fhir/R4/parameters.html) resource to be used with the [FHIRPath patch](https://hl7.org/fhir/R4/fhirpatch.html) mechanism of updating resources. An additional subextension is included to specify the type of resource that is being patched, which is necessary for constructing the request URL of an entry in a transaction bundle.", + "exampleBoolean": false + }, + { + "reference": { + "reference": "ValueSet/TobaccoUseStatus-1" + }, + "name": "Tobacco Use Status", + "description": "The Tobacco Use Status value set includes values that may be used to represent an individual's current tobacco use and exposure status.", + "exampleBoolean": false }, { "reference": { @@ -477,6 +859,11 @@ "title": "Home", "generation": "markdown" }, + { + "nameUrl": "actor-definitions.html", + "title": "Actor Definitions", + "generation": "markdown" + }, { "nameUrl": "capability-statements.html", "title": "Capability Statements", @@ -487,6 +874,16 @@ "title": "Downloads", "generation": "markdown" }, + { + "nameUrl": "general-requirements.html", + "title": "General Requirements", + "generation": "markdown" + }, + { + "nameUrl": "informative-guidance.html", + "title": "Informative Guidance", + "generation": "html" + }, { "nameUrl": "profiles-and-extensions.html", "title": "Profiles and Extensions", @@ -503,13 +900,8 @@ "generation": "markdown" }, { - "nameUrl": "smart-health-check-application-integration.html", - "title": "Smart Health Check Application Integration", - "generation": "html" - }, - { - "nameUrl": "terminology.html", - "title": "Terminology", + "nameUrl": "smart-health-check-integration.html", + "title": "Smart Health Check Integration", "generation": "markdown" } ] @@ -679,6 +1071,10 @@ "code": "special-url", "value": "https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1" }, + { + "code": "special-url", + "value": "http://hl7.org/fhir/ValueSet/administrative-gender" + }, { "code": "special-url", "value": "http://hl7.org/fhir/ValueSet/condition-clinical" @@ -689,12 +1085,28 @@ }, { "code": "special-url", - "value": "http://terminology.hl7.org/ValueSet/pronouns" + "value": "https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1" }, { "code": "special-url", "value": "https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2" }, + { + "code": "special-url", + "value": "https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1" + }, + { + "code": "special-url", + "value": "https://healthterminologies.gov.au/fhir/ValueSet/amt-vaccine-1" + }, + { + "code": "special-url", + "value": "https://healthterminologies.gov.au/fhir/ValueSet/medication-reason-taken-1" + }, + { + "code": "special-url", + "value": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum" + }, { "code": "apply-publisher", "value": "false" diff --git a/fsh-generated/resources/Questionnaire-AboutTheHealthCheck.json b/fsh-generated/resources/Questionnaire-AboutTheHealthCheck.json index ae125c86..c7e71d68 100644 --- a/fsh-generated/resources/Questionnaire-AboutTheHealthCheck.json +++ b/fsh-generated/resources/Questionnaire-AboutTheHealthCheck.json @@ -8,9 +8,6 @@ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/AboutTheHealthCheck", - "title": "Aboriginal and Torres Strait Islander Health Check - About The Health Check", - "description": "About The Health Check sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +48,8 @@ "enableWhen": [ { "question": "MarkComplete-1", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +73,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -89,19 +86,6 @@ } ] }, - { - "linkId": "RecordUpdate-About", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.", - "_text": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" - } - ] - }, - "type": "display" - }, { "extension": [ { @@ -174,7 +158,7 @@ ], "linkId": "01418489-1ec4-4c3b-b96a-7c14c3e21cfe", "text": "Date of last completed health check", - "type": "date", + "type": "dateTime", "repeats": false }, { @@ -199,7 +183,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -224,13 +208,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNoNA", "experimental": false, "expansion": { - "identifier": "urn:uuid:5baa5444-e553-4412-a08c-9ce93d3271e0", - "timestamp": "2023-09-01T11:16:50+10:00", + "identifier": "urn:uuid:7fce8cc7-b936-4258-921d-923629b04439", + "timestamp": "2025-05-01T10:00:47+10:00", "total": 3, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -327,6 +324,26 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { @@ -342,15 +359,24 @@ "language": "application/x-fhir-query", "expression": "QuestionnaireResponse?_count=1&_sort=-authored&patient={{%patient.id}}" } + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/AboutTheHealthCheck", "name": "AboutTheHealthCheck", + "title": "Aboriginal and Torres Strait Islander Health Check - About The Health Check", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-AbsoluteCVDRiskCalculation.json b/fsh-generated/resources/Questionnaire-AbsoluteCVDRiskCalculation.json index bb1b7d6b..f7465f61 100644 --- a/fsh-generated/resources/Questionnaire-AbsoluteCVDRiskCalculation.json +++ b/fsh-generated/resources/Questionnaire-AbsoluteCVDRiskCalculation.json @@ -5,12 +5,10 @@ "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp", + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation", - "title": "Aboriginal and Torres Strait Islander Health Check - Absolute Cardiovascular Disease Risk Calculation", - "description": "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +49,8 @@ "enableWhen": [ { "question": "MarkComplete-2", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +74,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -90,26 +88,220 @@ ] }, { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" - } - ], - "linkId": "RecordUpdate-CVDRisk", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there.", + "linkId": "Guidance-CVDRisk", + "text": "The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the Aus CVD Risk calculator.", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "

The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the Aus CVD Risk calculator.

" + } + ] + }, "type": "display" }, { - "extension": [ + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%CVDRiskResultValue.exists() and %CVDRiskResultDateFormatted.exists(), %CVDRiskResultValue + ' ( ' + %CVDRiskResultDateFormatted + ' )', 'Not available')" + } + } + ], + "linkId": "cvdrisk-latestresult", + "text": "Latest available result", + "type": "string", + "repeats": false, + "readOnly": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%CVDRiskResultValue.exists() and %CVDRiskResultDateFormatted.exists()" + } + } + ], + "linkId": "cvdrisk-newassessmentquestion", + "text": "A previous CVD risk result has been found. Do you want to perform a new assessment?", + "type": "boolean", + "repeats": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%NewAssessmentQuestionAnswer = true or %CVDRiskResultValue.empty() or %CVDRiskResultDateFormatted.empty()" + } + } + ], + "linkId": "cvdrisk-auscvdriskiaccess", + "text": "Do you have access to the Aus CVD Risk-i application from your clinical system?", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "

Do you have access to the Aus CVD Risk‑i application from your clinical system?

" + } + ] + }, + "type": "boolean", + "repeats": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AusCVDRiskiAccessAnswer = true" + } + } + ], + "linkId": "cvdrisk-auscvdriskiguidance", + "text": "Using the Aus CVD Risk-i application, calculate the CVD risk result and save it to the patient record. This form can then be repopulated to retrieve and include the result above.", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "

Using the Aus CVD Risk‑i application, calculate the CVD risk result and save it to the patient record. This form can then be repopulated to retrieve and include the result above.

" + } + ] + }, + "type": "display" + }, { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n

The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the online Australian CVD risk calculator.

\r\n

The items included in this section are a subset of variables that can be used as inputs for the online calculator.

\r\n

The final CVD risk result can be entered in the item at the bottom of this section.

\r\n
" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AusCVDRiskiAccessAnswer = true" + } + } + ], + "linkId": "cvdrisk-repopulateoverride", + "text": "Do you need to manually enter a new CVD risk result instead of repopulating?", + "type": "boolean", + "repeats": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AusCVDRiskiAccessAnswer != true or %RepopulateOverrideAnswer = true" + } + } + ], + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AusCVDRiskiAccessAnswer != true" + } + } + ], + "linkId": "cvdrisk-onlincecalculatorguidance", + "text": "Use the online Australian CVD risk calculator - https://www.cvdcheck.org.au/calculator", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "

The Australian CVD risk calculator on the Aus CVD Risk website should be used. Below is a read only view of a subset of variables that can be used as inputs for the online calculator. The calculated CVD risk result can be entered here.

" + } + ] + }, + "type": "display" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", + "valueCoding": { + "code": "%", + "system": "http://unitsofmeasure.org" + } + } + ], + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "unit", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + } + ], + "linkId": "0162854e-c124-4b58-acd9-93c17562d407", + "text": "%", + "type": "display" + } + ], + "linkId": "4c52fcec-0695-4916-b185-24a5c2711631", + "text": "Risk result score", + "type": "integer", + "repeats": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "radio-button", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + } + ], + "linkId": "28ff9463-b77f-435d-9ba7-427682a61f96", + "text": "Assessed risk category", + "type": "choice", + "repeats": false, + "answerOption": [ + { + "valueString": "High Risk" + }, + { + "valueString": "Intermediate Risk" + }, + { + "valueString": "Low Risk" + } + ] + } + ], + "linkId": "cvdrisk-cvdriskresultgroup", + "text": "New CVD risk result", + "type": "group", + "repeats": false } ], - "linkId": "Guidance-CVDRisk", - "text": "Australian CVD risk calculator - https://www.cvdcheck.org.au/calculator", - "type": "display" + "linkId": "dabdc7b4-51db-44a0-9d59-77a88587cbe9", + "text": "CVD risk result", + "type": "group", + "repeats": false }, { "item": [ @@ -162,7 +354,7 @@ "valueExpression": { "description": "CVD Risk Sex At Birth", "language": "text/fhirpath", - "expression": "%sex" + "expression": "%SexAtBirthCoding" } } ], @@ -170,59 +362,7 @@ "text": "Sex at birth", "type": "choice", "repeats": false, - "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", - "valueExpression": { - "description": "CVD Risk Smoking Status", - "language": "text/fhirpath", - "expression": "%smoker" - } - } - ], - "linkId": "bac0f824-3784-400e-80f9-ad18d46bd8cb", - "text": "Smoking status", - "type": "choice", - "repeats": false, - "answerOption": [ - { - "valueCoding": { - "code": "266919005", - "system": "http://snomed.info/sct", - "display": "Never smoked" - } - }, - { - "valueCoding": { - "code": "77176002", - "system": "http://snomed.info/sct", - "display": "Smoker" - } - }, - { - "valueCoding": { - "code": "8517006", - "system": "http://snomed.info/sct", - "display": "Ex-Smoker" - } - }, - { - "valueCoding": { - "code": "16090371000119103", - "system": "http://snomed.info/sct", - "display": "Environmental exposure to tobacco smoke (home, car, etc)" - } - }, - { - "valueString": "Wants to quit" - }, - { - "valueString": "Other tobacco use" - } - ] + "answerValueSet": "#biological-sex-1" }, { "extension": [ @@ -232,8 +372,7 @@ "coding": [ { "code": "grid", - "system": "http://hl7.org/fhir/questionnaire-item-control", - "version": "1.0.0" + "system": "http://hl7.org/fhir/questionnaire-item-control" } ] } @@ -248,7 +387,81 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsBloodPressure.entry.resource.component.where(code.coding.exists(code='8480-6')).value.value" + "expression": "%ObsTobaccoSmokingStatusLatest.value.coding.where(system='http://snomed.info/sct').first()" + } + } + ], + "linkId": "333007c7-47a9-482b-af11-e55484abf2ae", + "text": "Value", + "type": "choice", + "repeats": false, + "answerOption": [ + { + "valueCoding": { + "code": "266919005", + "system": "http://snomed.info/sct", + "display": "Lifetime non-smoker" + } + }, + { + "valueCoding": { + "code": "77176002", + "system": "http://snomed.info/sct", + "display": "Current smoker" + } + }, + { + "valueCoding": { + "code": "8517006", + "system": "http://snomed.info/sct", + "display": "Ex-smoker" + } + }, + { + "valueCoding": { + "code": "16090371000119103", + "system": "http://snomed.info/sct", + "display": "Exposure to second hand tobacco smoke" + } + }, + { + "valueString": "Wants to quit" + }, + { + "valueString": "Other tobacco use" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ObsTobaccoSmokingStatusLatest.effective" + } + } + ], + "linkId": "cvdrisk-smokingstatus-date", + "text": "Date performed", + "type": "date", + "repeats": false + } + ], + "linkId": "bac0f824-3784-400e-80f9-ad18d46bd8cb", + "text": "Smoking status", + "type": "group", + "repeats": false + }, + { + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ObsBloodPressureLatest.component.where(code.coding.exists(code='8480-6')).value.value" } }, { @@ -290,7 +503,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsBloodPressure.entry.resource.effective" + "expression": "%ObsBloodPressureLatest.effective" } } ], @@ -313,7 +526,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsTotalCholesterol.entry.resource.value.value" + "expression": "%ObsTotalCholesterolLatest.value.value" } }, { @@ -355,7 +568,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsTotalCholesterol.entry.resource.effective" + "expression": "%ObsTotalCholesterolLatest.effective" } } ], @@ -378,7 +591,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsHDLCholesterol.entry.resource.value.value" + "expression": "%ObsHDLCholesterolLatest.value.value" } }, { @@ -420,7 +633,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsHDLCholesterol.entry.resource.effective" + "expression": "%ObsHDLCholesterolLatest.effective" } } ], @@ -437,6 +650,15 @@ } ], "linkId": "fe9feec6-593a-4106-8a7d-f9965a632ea2", + "text": "Observation values", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, "type": "group", "repeats": false }, @@ -471,120 +693,18 @@ "repeats": false } ], - "linkId": "8d02ef36-3f48-4912-b001-e9fec6aa7101", - "text": "CVD risk calculator variables", - "type": "group", - "repeats": false, - "readOnly": true - }, - { - "item": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", - "valueCoding": { - "code": "%", - "system": "http://unitsofmeasure.org" - } - } - ], - "item": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "code": "unit", - "system": "http://hl7.org/fhir/questionnaire-item-control" - } - ] - } - } - ], - "linkId": "0162854e-c124-4b58-acd9-93c17562d407", - "text": "%", - "type": "display" - } - ], - "linkId": "4c52fcec-0695-4916-b185-24a5c2711631", - "text": "Calculated risk", - "type": "integer", - "repeats": false - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "code": "radio-button", - "system": "http://hl7.org/fhir/questionnaire-item-control" - } - ] - } - } - ], - "linkId": "28ff9463-b77f-435d-9ba7-427682a61f96", - "text": "Assessed risk category", - "type": "choice", - "repeats": false, - "answerOption": [ - { - "valueString": "High Risk" - }, - { - "valueString": "Intermediate Risk" - }, - { - "valueString": "Low Risk" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "code": "radio-button", - "system": "http://hl7.org/fhir/questionnaire-item-control" - } - ] - } - } - ], - "linkId": "041a589e-7bb5-441d-a4ba-a22db8040b3f", - "text": "Reclassification decision", - "type": "choice", - "repeats": false, - "answerOption": [ - { - "valueString": "Reclassified up" - }, - { - "valueString": "Reclassified down" - }, - { - "valueString": "Did not reclassify" - } - ] - } - ], - "linkId": "dabdc7b4-51db-44a0-9d59-77a88587cbe9", - "text": "CVD risk result", - "type": "group", - "repeats": false - }, - { "linkId": "f8022f3f-21fe-42c0-8abd-95f24e2e37e5", "text": "Health priorities, actions and follow-up", "type": "text", - "repeats": false + "repeats": false, + "readOnly": true, + "enableWhen": [ + { + "question": "cvdrisk-auscvdriskiaccess", + "operator": "=", + "answerBoolean": false + } + ] }, { "linkId": "MarkComplete-2", @@ -593,7 +713,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -607,6 +727,115 @@ "repeats": false } ], + "contained": [ + { + "resourceType": "ValueSet", + "id": "biological-sex-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "status": "active", + "name": "BiologicalSex", + "title": "Biological Sex", + "description": "The Biological Sex value set includes values that represent the biological sex of an individual.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10198" + } + ], + "version": "1.0.0", + "experimental": false, + "date": "2020-12-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "copyright": "Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "expansion": { + "identifier": "urn:uuid:9a0c2291-6dd8-4778-9099-4622f64fa897", + "timestamp": "2025-05-01T10:00:49+10:00", + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "code": "248152002", + "display": "Female" + }, + { + "system": "http://snomed.info/sct", + "code": "32570681000036106", + "display": "Indeterminate sex" + }, + { + "system": "http://snomed.info/sct", + "code": "32570691000036108", + "display": "Intersex" + }, + { + "system": "http://snomed.info/sct", + "code": "248153007", + "display": "Male" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "constraint", + "op": "=", + "value": "^32570631000036107|Sex reference set|" + } + ] + } + ] + } + } + ], "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", @@ -652,6 +881,26 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" @@ -666,11 +915,19 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", - "valueString": "sex" + "valueString": "ObsBloodPressureLatest" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", + "valueString": "SexAtBirthCoding" }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", - "valueString": "smoker" + "valueString": "ObsTobaccoSmokingStatus" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", + "valueString": "ObsTobaccoSmokingStatusLatest" }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", @@ -681,7 +938,7 @@ "valueExpression": { "name": "ObsTotalCholesterol", "language": "application/x-fhir-query", - "expression": "Observation?code=14647-2&_count=1&_sort=-date&patient={{%patient.id}}" + "expression": "Observation?code=14647-2&_sort=-date&patient={{%patient.id}}" } }, { @@ -689,17 +946,106 @@ "valueExpression": { "name": "ObsHDLCholesterol", "language": "application/x-fhir-query", - "expression": "Observation?code=14646-4&_count=1&_sort=-date&patient={{%patient.id}}" + "expression": "Observation?code=14646-4&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsTotalCholesterolLatest", + "language": "text/fhirpath", + "expression": "%ObsTotalCholesterol.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHDLCholesterolLatest", + "language": "text/fhirpath", + "expression": "%ObsHDLCholesterol.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "CVDRiskResult", + "language": "application/x-fhir-query", + "expression": "Observation?code=441829007&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "CVDRiskResultLatest", + "language": "text/fhirpath", + "expression": "%CVDRiskResult.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "CVDRiskResultValue", + "language": "text/fhirpath", + "expression": "%CVDRiskResultLatest.select((((value.ofType(Quantity).comparator + value.ofType(Quantity).value.toString() + value.ofType(Quantity).unit | value.ofType(Quantity).value.toString() + value.ofType(Quantity).unit).first() | (value.ofType(Range).low.value.toString() + ' - ' + value.ofType(Range).high.value.toString() + value.ofType(Range).high.unit)).first()) + ' ' + interpretation.coding.display)" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "CVDRiskResultDateString", + "language": "text/fhirpath", + "expression": "%CVDRiskResultLatest.effective.toString()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "CVDRiskResultDateFormatted", + "language": "text/fhirpath", + "expression": "%CVDRiskResultDateString.substring(8,2).toInteger().toString() + ' ' + %CVDRiskResultDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %CVDRiskResultDateString.substring(0,4)" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "NewAssessmentQuestionAnswer", + "language": "text/fhirpath", + "expression": "repeat(item).where(linkId='cvdrisk-newassessmentquestion').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "AusCVDRiskiAccessAnswer", + "language": "text/fhirpath", + "expression": "repeat(item).where(linkId='cvdrisk-auscvdriskiaccess').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "RepopulateOverrideAnswer", + "language": "text/fhirpath", + "expression": "repeat(item).where(linkId='cvdrisk-repopulateoverride').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation", "name": "AbsoluteCVDRiskCalculation", + "title": "Aboriginal and Torres Strait Islander Health Check - Absolute Cardiovascular Disease Risk Calculation", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-AllergiesAdverseReactions.json b/fsh-generated/resources/Questionnaire-AllergiesAdverseReactions.json index 6ede613f..d287ce73 100644 --- a/fsh-generated/resources/Questionnaire-AllergiesAdverseReactions.json +++ b/fsh-generated/resources/Questionnaire-AllergiesAdverseReactions.json @@ -5,12 +5,10 @@ "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp", + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/AllergiesAdverseReactions", - "title": "Aboriginal and Torres Strait Islander Health Check - Allergies/Adverse Reactions", - "description": "Allergies/Adverse Reactions sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +49,8 @@ "enableWhen": [ { "question": "MarkComplete-3", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +74,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -90,23 +88,259 @@ ] }, { - "extension": [ + "item": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", + "valueExpression": { + "name": "AllergyIntoleranceRepeat", + "language": "text/fhirpath", + "expression": "%AllergyIntolerance.entry.resource.where(clinicalStatus.coding.exists(code='active')).where(verificationStatus.coding.all(code.empty() or code='confirmed'))" + } + }, + { + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#AllergyIntolerancePatchTemplate" + } + }, + { + "url": "resourceId", + "valueString": "item.where(linkId='allergyIntoleranceId').answer.value" + }, + { + "url": "type", + "valueCode": "AllergyIntolerance" + } + ], + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton", + "valueBoolean": true + } + ], + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AllergyIntoleranceRepeat.id" + } + } + ], + "linkId": "allergyIntoleranceId", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AllergyIntoleranceRepeat.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "autocomplete", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + } + ], + "linkId": "allergysummary-substance", + "text": "Substance", + "type": "open-choice", + "repeats": false, + "readOnly": true, + "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-agent-1" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AllergyIntoleranceRepeat.clinicalStatus.coding" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "drop-down", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + } + ], + "linkId": "allergysummary-status", + "text": "Status", + "type": "choice", + "repeats": false, + "answerValueSet": "#AllergyIntoleranceClinicalStatusMinimal" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AllergyIntoleranceRepeat.reaction.manifestation.coding" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "autocomplete", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + } + ], + "linkId": "allergysummary-manifestation", + "text": "Manifestation", + "type": "open-choice", + "repeats": true, + "readOnly": true, + "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AllergyIntoleranceRepeat.note[0].text" + } + } + ], + "linkId": "allergysummary-comment", + "text": "Comment", + "type": "text", + "repeats": false + } + ], + "linkId": "allergysummary", + "text": "Adverse reaction risk summary", + "_text": { + "extension": [ { - "code": "check-box", - "system": "http://hl7.org/fhir/questionnaire-item-control" + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true } ] - } + }, + "type": "group", + "repeats": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#AllergyIntoleranceTemplate" + } + } + ] + } + ], + "linkId": "allergynew", + "text": "New adverse reaction risks", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, + "type": "group", + "repeats": true, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "autocomplete", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + } + ], + "linkId": "allergynew-substance", + "text": "Substance", + "type": "open-choice", + "repeats": false, + "required": true, + "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-agent-1" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "autocomplete", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + } + ], + "linkId": "allergynew-manifestation", + "text": "Manifestation", + "type": "open-choice", + "repeats": true, + "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1" + }, + { + "linkId": "allergynew-comment", + "text": "Comment", + "type": "text", + "repeats": false + } + ] } ], - "linkId": "8a1d70bf-a68b-4b7b-be73-ba6956fccc78", - "text": "Up to date in the health record?", - "type": "boolean", - "repeats": false + "linkId": "allergyinstruction", + "text": "Adverse reaction risk summary", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n

Adverse reaction risk summary

\r\n

This section includes a list of existing items from the patient record.
Update these items here or update the patient record and repopulate the form.
Add new items at the bottom.

\r\n
" + } + ] + }, + "type": "group" }, { "linkId": "3e689aeb-69a1-4a9b-93bd-50377511dd9b", @@ -121,7 +355,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -129,12 +363,241 @@ "repeats": false } ], - "linkId": "d4e4db07-a795-4a30-bd0f-9c109f96a22b", + "linkId": "allergy", "text": "Allergies/adverse reactions", "type": "group", "repeats": false } ], + "contained": [ + { + "resourceType": "AllergyIntolerance", + "id": "AllergyIntoleranceTemplate", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "code": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='allergynew-substance').answer.value" + } + ], + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(Coding)" + } + ] + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(string)" + } + ] + } + }, + "patient": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "note": [ + { + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='allergynew-comment').answer.value" + } + ] + } + } + ], + "reaction": [ + { + "manifestation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='allergynew-manifestation').answer.value.ofType(Coding)" + } + ], + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this" + } + ] + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='allergynew-manifestation').answer.value.ofType(string)" + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this" + } + ] + } + } + ] + } + ] + }, + { + "resourceType": "Parameters", + "id": "AllergyIntolerancePatchTemplate", + "parameter": [ + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "AllergyIntolerance.clinicalStatus" + }, + { + "name": "value", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='allergysummary-status').answer.value.first()" + } + ] + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Clinical status" + } + ] + }, + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "AllergyIntolerance.note[0].text" + }, + { + "name": "value", + "_valueMarkdown": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='allergysummary-comment').answer.value.first()" + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Comment" + } + ] + } + ] + }, + { + "resourceType": "ValueSet", + "id": "AllergyIntoleranceClinicalStatusMinimal", + "status": "draft", + "name": "AllergyIntoleranceClinicalStatusMinimal", + "title": "Allergy Intolerance Clinical Status Minimal", + "description": "This value set includes the minimal set of codes to represent the clinical status of an allergy intolerance (i.e., active and inactive).", + "url": "https://smartforms.csiro.au/ig/ValueSet/AllergyIntoleranceClinicalStatusMinimal", + "experimental": false, + "expansion": { + "identifier": "urn:uuid:40f0c59e-9fa5-4322-bc1d-5fde644a076c", + "timestamp": "2025-08-25T15:52:50+10:00", + "total": 2, + "offset": 0, + "parameter": [ + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|1.0.0" + } + ], + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active", + "display": "Active" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "inactive", + "display": "Inactive" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "concept": [ + { + "code": "active" + }, + { + "code": "inactive" + } + ] + } + ] + } + } + ], "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", @@ -180,18 +643,55 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "AllergyIntolerance", + "language": "application/x-fhir-query", + "expression": "AllergyIntolerance?patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/AllergiesAdverseReactions", "name": "AllergiesAdverseReactions", + "title": "Aboriginal and Torres Strait Islander Health Check - Allergies/Adverse Reactions", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-AssemblyInstructions.json b/fsh-generated/resources/Questionnaire-AssemblyInstructions.json index 4890a4e7..9d78b286 100644 --- a/fsh-generated/resources/Questionnaire-AssemblyInstructions.json +++ b/fsh-generated/resources/Questionnaire-AssemblyInstructions.json @@ -3,14 +3,9 @@ "id": "AssemblyInstructions", "meta": { "profile": [ - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715", - "title": "Aboriginal and Torres Strait Islander Health Check", - "description": "Aboriginal and Torres Strait Islander Health Check assessment form.", "item": [ { "extension": [ @@ -20,8 +15,7 @@ "coding": [ { "code": "tab-container", - "system": "http://hl7.org/fhir/questionnaire-item-control", - "version": "1.0.0" + "system": "http://hl7.org/fhir/questionnaire-item-control" } ] } @@ -34,22 +28,6 @@ "expression": "item.where(linkId='5b224753-9365-44e3-823b-9c17e7394005').item.where(linkId='e2a16e4d-2765-4b61-b286-82cfc6356b30').answer.value" } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "sex", - "language": "text/fhirpath", - "expression": "item.where(linkId='5b224753-9365-44e3-823b-9c17e7394005').item.where(linkId='56ef44bb-3d1d-4972-aad1-834b69185d61').answer.value" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "smoker", - "language": "text/fhirpath", - "expression": "item.where(linkId='14a9fb5f-5b0e-4862-b143-08a11cd3ebf0').item.where(linkId='515eda6e-973a-4b10-910a-0d4bf4f2efff').item.where(linkId='b639a3a8-f476-4cc8-b5c7-f5d2abb23511').answer.value" - } - }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { @@ -312,363 +290,363 @@ "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/AboutTheHealthCheck|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/AboutTheHealthCheck|0.3.0" } ], "linkId": "cd3303a6-e3b6-4732-80e8-54d2bd740beb", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/AboutTheHealthCheck|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/AboutTheHealthCheck|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Consent|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Consent|0.3.0" } ], "linkId": "fab52f87-22a6-4a54-9797-0bb6b0f5d2a2", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Consent|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Consent|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/PatientDetails|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/PatientDetails|0.3.0" } ], "linkId": "1d10910d-c195-4964-bdc6-98310a44719e", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/PatientDetails|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/PatientDetails|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/CurrentPriorities|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/CurrentPriorities|0.3.0" } ], "linkId": "7692f28c-7c0a-48ea-b27d-a8489974377d", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/CurrentPriorities|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/CurrentPriorities|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/MedicalHistoryCurrentProblems|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/MedicalHistoryCurrentProblems|0.3.0" } ], "linkId": "15f83d80-f49a-4852-a20f-18db9b951e53", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/MedicalHistory|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/MedicalHistory|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/RegularMedications|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/RegularMedications|0.3.0" } ], "linkId": "3a7151ef-d63b-4818-8367-03d394383a61", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/RegularMedications|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/RegularMedications|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/AllergiesAdverseReactions|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/AllergiesAdverseReactions|0.3.0" } ], "linkId": "334853dc-88d4-4cb1-a119-bb0ff6ea0516", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/AllergiesAdverseReactions|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/AllergiesAdverseReactions|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/FamilyHistory|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/FamilyHistory|0.3.0" } ], "linkId": "1ab9b519-85ce-48ee-a408-8f0b9b74d112", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/FamilyHistory|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/FamilyHistory|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SocialAndEmotionalWellbeing|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SocialAndEmotionalWellbeing|0.3.0" } ], "linkId": "228b8d31-21e3-49a6-b802-984135908dca", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SocialAndEmotionalWellbeing|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SocialAndEmotionalWellbeing|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SocialHistoryChild|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SocialHistoryChild|0.3.0" } ], "linkId": "a43517f9-538e-4a4d-8789-b6c3d44206ba", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SocialHistoryChild|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SocialHistoryChild|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/HomeAndFamily|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/HomeAndFamily|0.3.0" } ], "linkId": "8decf7bf-e24c-4d3d-815c-c53e269f004b", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/HomeAndFamily|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/HomeAndFamily|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/LearningAndDevelopment|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/LearningAndDevelopment|0.3.0" } ], "linkId": "3f554c37-7d0e-4b14-8f7f-a9ec665cc0a6", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/LearningAndDevelopment|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/LearningAndDevelopment|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/LearningAndWork|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/LearningAndWork|0.3.0" } ], "linkId": "362bf381-23e5-4eee-963a-3de73e584da5", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/LearningAndWork|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/LearningAndWork|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Mood|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Mood|0.3.0" } ], "linkId": "51a545fa-907f-40f0-9304-36bcab5a16b8", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Mood|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Mood|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/MemoryAndThinking|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/MemoryAndThinking|0.3.0" } ], "linkId": "4217646d-e8e4-4ac5-baa7-fae28937cda7", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/MemoryAndThinking|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/MemoryAndThinking|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/ChronicDiseaseAgeing|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/ChronicDiseaseAgeing|0.3.0" } ], "linkId": "070eadcf-9e93-499e-8615-61991ab35b32", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/ChronicDiseaseAgeing|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/ChronicDiseaseAgeing|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/ScreeningPrograms|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/ScreeningPrograms|0.3.0" } ], "linkId": "56d4bc0b-3bf1-4d47-ac34-5a1de0902de1", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/ScreeningPrograms|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/ScreeningPrograms|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/HealthyEating|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/HealthyEating|0.3.0" } ], "linkId": "e0962739-c506-41d4-afd7-ab1b90db9cb4", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/HealthyEating|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/HealthyEating|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/PhysicalActivityAndScreenTime|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/PhysicalActivityAndScreenTime|0.3.0" } ], "linkId": "63cfb279-cd7d-41ed-a54b-0c17b6efe609", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/PhysicalActivityAndScreenTime|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/PhysicalActivityAndScreenTime|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/RedFlagsEarlyIdentificationGuide|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/RedFlagsEarlyIdentificationGuide|0.3.0" } ], "linkId": "db70690e-2199-495a-9919-53697efaf913", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/RedFlagsEarlyIdentificationGuide|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/RedFlagsEarlyIdentificationGuide|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SubstanceUse|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SubstanceUse|0.3.0" } ], "linkId": "d1f66f56-75fa-4498-9c51-eb98e1644243", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SubstanceUse|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SubstanceUse|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Gambling|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Gambling|0.3.0" } ], "linkId": "ea748251-bf77-4085-b912-e9002dfa02ca", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Gambling|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Gambling|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SexualHealth|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SexualHealth|0.3.0" } ], "linkId": "84bd802b-b3e1-4098-aa2c-2133f0e252f4", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SexualHealth|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SexualHealth|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/EyeHealth|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/EyeHealth|0.3.0" } ], "linkId": "56ad8128-0e12-4779-8ff4-47dcff6b29b5", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/EyeHealth|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/EyeHealth|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/EarHealthAndHearing|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/EarHealthAndHearing|0.3.0" } ], "linkId": "a8161e91-7cff-403f-85e6-982a9bc8fca6", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/EarHealthAndHearing|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/EarHealthAndHearing|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/OralAndDentalHealth|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/OralAndDentalHealth|0.3.0" } ], "linkId": "fe05d868-aaed-4921-9d49-4e7746bbe143", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/OralAndDentalHealth|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/OralAndDentalHealth|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Skin|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Skin|0.3.0" } ], "linkId": "64ec4c1c-0824-4b84-8d3f-40f6e066cb80", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Skin|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Skin|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Immunisation|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Immunisation|0.3.0" } ], "linkId": "595737cd-3a94-442b-8be6-ab461c3181d2", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Immunisation|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Immunisation|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Examination|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Examination|0.3.0" } ], "linkId": "3263611d-5813-4393-a660-d10166acd728", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Examination|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Examination|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation|0.3.0" } ], "linkId": "3a3b0810-e091-48ad-af50-913b0deaf663", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Investigations|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Investigations|0.3.0" } ], "linkId": "302d9437-25b9-41e3-9d66-138c352d32a8", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Investigations|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Investigations|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/HealthPrioritiesSummary|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/HealthPrioritiesSummary|0.3.0" } ], "linkId": "ada45623-5e86-49ea-a00b-be0699364281", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/HealthPrioritiesSummary|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/HealthPrioritiesSummary|0.3.0] not available. Unable to display all questions.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/FinalisingHealthCheck|0.1.0" + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/FinalisingHealthCheck|0.3.0" } ], "linkId": "a6395946-872a-4f2e-b697-c74aa1ab9b8d", - "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/FinalisingHealthCheck|0.1.0] not available. Unable to display all questions.", + "text": "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/FinalisingHealthCheck|0.3.0] not available. Unable to display all questions.", "type": "display" } ], @@ -687,13 +665,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -741,13 +732,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNoNA", "experimental": false, "expansion": { - "identifier": "urn:uuid:5baa5444-e553-4412-a08c-9ce93d3271e0", - "timestamp": "2023-09-01T11:16:50+10:00", + "identifier": "urn:uuid:7fce8cc7-b936-4258-921d-923629b04439", + "timestamp": "2025-05-01T10:00:47+10:00", "total": 3, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -804,49 +808,54 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNoNotAskedDeclined", "experimental": false, "expansion": { - "identifier": "urn:uuid:8eda7c3c-cc35-49fa-ac6c-c0e4f0a4e203", - "timestamp": "2023-09-01T11:17:57+10:00", + "identifier": "urn:uuid:20552db7-8def-4e55-a0d2-cb446651929c", + "timestamp": "2025-05-01T10:00:51+10:00", "total": 4, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" + "name": "displayLanguage", + "valueCode": "en-US" }, { - "name": "used-codesystem", - "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" + "name": "count", + "valueInteger": 1000 }, { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" } ], "contains": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "version": "2.1.0", "code": "Y", "display": "Yes" }, { "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "version": "2.1.0", "code": "N", "display": "No" }, { "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "version": "2.1.0", "code": "NASK", "display": "Not Asked" }, { "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", - "version": "5.0.0-ballot", "code": "asked-declined", "display": "Asked But Declined" } @@ -885,22 +894,48 @@ }, { "resourceType": "ValueSet", - "id": "MedicalHistory", - "status": "draft", - "name": "MedicalHistory", - "title": "Medical History", - "description": "The Medical History value set includes values that may be used to represent medical history, operations and hospital admissions.", - "url": "https://smartforms.csiro.au/ig/ValueSet/MedicalHistory", + "id": "clinical-condition-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "status": "active", + "name": "ClinicalCondition", + "title": "Clinical Condition", + "description": "The Clinical Condition value set includes values that cover a broad range of clinical concepts to support the representation of conditions, including problems, diagnoses and disorders.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10035" + } + ], + "version": "1.0.2", "experimental": false, + "date": "2020-05-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "copyright": "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", "compose": { "include": [ { "system": "http://snomed.info/sct", "filter": [ { - "property": "constraint", - "op": "=", - "value": "^32570581000036105|Problem/Diagnosis reference set| OR ^32570141000036105|Procedure foundation reference set|" + "property": "concept", + "op": "in", + "value": "32570581000036105" } ] } @@ -909,12 +944,122 @@ }, { "resourceType": "ValueSet", - "id": "condition-clinical", + "id": "administrative-gender", "meta": { "profile": [ "http://hl7.org/fhir/StructureDefinition/shareablevalueset" ] }, + "status": "active", + "name": "AdministrativeGender", + "title": "AdministrativeGender", + "description": "The gender of a person used for administrative purposes.", + "url": "http://hl7.org/fhir/ValueSet/administrative-gender", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + }, + { + "system": "email", + "value": "fhir@lists.hl7.org" + } + ] + } + ], + "copyright": "Copyright © 2011+ HL7. Licensed under Creative Commons \"No Rights Reserved\".", + "date": "2019-11-01T09:29:23+11:00", + "experimental": false, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", + "valueCode": "pa" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", + "valueInteger": 5 + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.3.1" + } + ], + "immutable": true, + "publisher": "HL7 (FHIR Project)", + "version": "4.0.1", + "expansion": { + "identifier": "urn:uuid:31c9098a-778c-4de6-9c2b-4f1e2db26179", + "timestamp": "2025-05-01T10:00:55+10:00", + "total": 4, + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://hl7.org/fhir/administrative-gender|4.0.1" + } + ], + "contains": [ + { + "system": "http://hl7.org/fhir/administrative-gender", + "code": "male", + "display": "Male" + }, + { + "system": "http://hl7.org/fhir/administrative-gender", + "code": "female", + "display": "Female" + }, + { + "system": "http://hl7.org/fhir/administrative-gender", + "code": "other", + "display": "Other" + }, + { + "system": "http://hl7.org/fhir/administrative-gender", + "code": "unknown", + "display": "Unknown" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/administrative-gender" + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "condition-clinical", "status": "draft", "name": "ConditionClinicalStatusCodes", "title": "Condition Clinical Status Codes", @@ -940,7 +1085,7 @@ "value": "urn:oid:2.16.840.1.113883.4.642.3.164" } ], - "version": "4.3.0", + "version": "4.0.1", "experimental": false, "publisher": "FHIR Project team", "contact": [ @@ -953,56 +1098,74 @@ ] } ], - "copyright": "Copyright © 2011+ HL7. Creative Commons 'No Rights Reserved' (CC0)", + "copyright": "Copyright © 2011+ HL7. Licensed under Creative Commons \"No Rights Reserved\".", + "date": "2019-11-01T09:29:23+11:00", "expansion": { - "identifier": "5d4bed14-061a-42c4-853d-e6a624c4f483", - "timestamp": "2022-10-20T09:32:48+10:00", - "total": 6, + "identifier": "urn:uuid:7b100d21-fde9-4fd8-bded-80f345db777d", + "timestamp": "2025-05-01T10:00:56+10:00", + "total": 7, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/condition-clinical|4.0.1" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/condition-clinical|3.0.0" } ], "contains": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", "code": "active", - "display": "Active" + "display": "Active", + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "recurrence", + "display": "Recurrence" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "relapse", + "display": "Relapse" + } + ] }, { "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", "code": "inactive", - "display": "Inactive" - }, - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "recurrence", - "display": "Recurrence" - }, - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "relapse", - "display": "Relapse" - }, - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "remission", - "display": "Remission" + "display": "Inactive", + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "remission", + "display": "Remission" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "resolved", + "display": "Resolved" + } + ] }, { "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "resolved", - "display": "Resolved" + "code": "unknown", + "display": "Unknown" } ] }, @@ -1024,39 +1187,47 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/AboriginalTorresStraitIslander", "experimental": false, "expansion": { - "identifier": "e2b013bd-1725-4299-a7a5-53635d42f1be", - "timestamp": "2022-10-20T11:38:45+10:00", + "identifier": "urn:uuid:eb422e76-71e8-48b0-a191-73285ddb91cc", + "timestamp": "2025-05-01T10:00:56+10:00", "total": 3, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.3" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.3" } ], "contains": [ { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "1", - "display": "Aboriginal but not Torres Strait Islander origin" + "display": "Aboriginal" }, { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "2", - "display": "Torres Strait Islander but not Aboriginal origin" + "display": "Torres Strait Islander" }, { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "3", - "display": "Both Aboriginal and Torres Strait Islander origin" + "display": "Aboriginal and Torres Strait Islander" } ] }, @@ -1092,50 +1263,54 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/PrimaryCarerParentGrandparent", "experimental": false, "expansion": { - "identifier": "2809c2fa-28ec-4def-9b16-93a611d29da3", - "timestamp": "2022-10-20T11:42:30+10:00", + "identifier": "urn:uuid:f8e7efc2-94d6-403e-9e40-3a3a4e9fffb4", + "timestamp": "2025-05-01T10:00:56+10:00", "total": 4, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v3-RoleCode|2018-08-12" - }, - { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|2018-08-12" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/v3-RoleCode|3.0.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|3.0.0" } ], "contains": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "2018-08-12", "code": "MTH", "display": "mother" }, { "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "2018-08-12", "code": "FTH", "display": "father" }, { "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "2018-08-12", "code": "GRPRN", "display": "grandparent" }, { "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", - "version": "2018-08-12", "code": "NA", "display": "not applicable" } @@ -1170,64 +1345,70 @@ }, { "resourceType": "ValueSet", - "id": "pronouns", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/shareablevalueset" - ] - }, + "id": "australian-pronouns-1", "status": "active", - "name": "PersonalPronouns", - "title": "Personal Pronouns", - "description": "Codes that indicate the pronouns to be used when communicating with or about an individual.", - "url": "http://terminology.hl7.org/ValueSet/pronouns", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", - "valueCode": "pa" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", - "valueCode": "trial-use" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", - "valueInteger": 1 - } - ], + "name": "AustralianPronouns", + "title": "Australian Pronouns", + "description": "The Australian Pronouns value set includes values that indicate the pronouns to be used when communicating with or about an individual.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1", "identifier": [ { "system": "urn:ietf:rfc:3986", - "value": "urn:oid:2.16.840.1.113883.4.642.3.3290" + "value": "urn:oid:1.2.36.1.2001.1004.201.10284" } ], "version": "1.0.0", "experimental": false, - "date": "2023-07-17T22:16:15-06:00", - "publisher": "FHIR Project team", + "date": "2024-02-29", + "publisher": "Australian Digital Health Agency", "contact": [ { "telecom": [ { - "system": "url", - "value": "http://hl7.org/fhir" + "system": "email", + "value": "help@digitalhealth.gov.au" } ] } ], - "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "copyright": "Copyright © 2024 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis material contains content from LOINC (http://loinc.org). LOINC is copyright 1995-2024, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc.\n\nThis material contains information which is protected by copyright. You may download, display, print and reproduce any material for your personal, non-commercial use or use within your organisation subject to the following terms and conditions: \n\nThis resource also includes all or a portion of material from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.", "expansion": { - "identifier": "urn:uuid:220b830c-6a1b-43e7-81e0-ccf92485fcdf", - "timestamp": "2023-10-17T10:42:37+10:00", - "total": 3, + "identifier": "urn:uuid:1bc98e8c-511f-4014-a4d9-a48a8db0923d", + "timestamp": "2025-05-01T10:00:56+10:00", + "total": 7, + "offset": 0, "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" + }, + { + "name": "used-codesystem", + "valueUri": "http://loinc.org|2.80" + }, { "name": "version", - "valueUri": "http://loinc.org|2.76" + "valueUri": "http://loinc.org|2.80" }, { "name": "used-codesystem", - "valueUri": "http://loinc.org|2.76" + "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" } ], "contains": [ @@ -1245,17 +1426,37 @@ "system": "http://loinc.org", "code": "LA29520-6", "display": "they/them/their/theirs/themselves" - } - ] - }, - "compose": { - "include": [ + }, { - "system": "http://loinc.org", - "concept": [ - { - "code": "LA29518-0", - "display": "he/him/his/his/himself" + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "unknown", + "display": "Unknown" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "asked-declined", + "display": "Asked But Declined" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "not-asked", + "display": "Not Asked" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "asked-unknown", + "display": "Asked But Unknown" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "LA29518-0", + "display": "he/him/his/his/himself" }, { "code": "LA29519-8", @@ -1266,6 +1467,23 @@ "display": "they/them/their/theirs/themselves" } ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "concept": [ + { + "code": "unknown" + }, + { + "code": "asked-declined" + }, + { + "code": "not-asked" + }, + { + "code": "asked-unknown" + } + ] } ] } @@ -1306,22 +1524,30 @@ ], "copyright": "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", "expansion": { - "identifier": "e9439195-c1d8-4069-a349-98c1d552a351", - "timestamp": "2023-06-20T04:20:58+00:00", + "identifier": "urn:uuid:148e9412-a321-4a6f-b911-7e7908be82af", + "timestamp": "2025-05-01T10:00:57+10:00", "total": 9, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1|1.1.3" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1|1.1.3" } ], "contains": [ @@ -1412,16 +1638,10 @@ { "resourceType": "ValueSet", "id": "gender-identity-response-1", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/shareablevalueset", - "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" - ] - }, "status": "active", "name": "GenderIdentityResponse", "title": "Gender Identity Response", - "description": "The Gender Identity Response value set includes values that may be used to represent a response for an individual’s gender. A person's gender is a social and cultural identity, expression and experience.", + "description": "The Gender Identity Response value set includes values that may be used to represent a response for an individual's gender. A person's gender is a social and cultural identity, expression and experience.", "url": "https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1", "identifier": [ { @@ -1429,9 +1649,9 @@ "value": "urn:oid:1.2.36.1.2001.1004.201.10271" } ], - "version": "1.0.0", + "version": "1.1.0", "experimental": false, - "date": "2022-09-30", + "date": "2024-02-29", "publisher": "Australian Digital Health Agency", "contact": [ { @@ -1443,59 +1663,75 @@ ] } ], - "copyright": "Copyright © 2022 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.n\n\"This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. This resource includes material that is based on Australian Bureau of Statistics data.", + "copyright": "Copyright © 2022 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.\n\n\"This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. This resource includes material that is based on Australian Bureau of Statistics data. \n\nThis resource also includes all or a portion of material from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.", "expansion": { - "identifier": "urn:uuid:85c2e561-69ac-41f6-8e9e-07b3072ef48f", - "timestamp": "2023-08-30T10:18:47+10:00", - "total": 5, + "identifier": "urn:uuid:81810018-2ec2-4e42-adcc-6aab69e7750c", + "timestamp": "2025-05-01T10:00:58+10:00", + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" }, { "name": "used-codesystem", - "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" }, { "name": "version", - "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20230831" + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" }, { "name": "used-codesystem", - "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20230831" + "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" } ], "contains": [ { "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/32506021000036107/version/20230831", "code": "446151000124109", "display": "Identifies as male gender" }, { "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/32506021000036107/version/20230831", "code": "446141000124107", "display": "Identifies as female gender" }, { "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/32506021000036107/version/20230831", "code": "33791000087105", "display": "Identifies as nonbinary gender" }, { "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", - "version": "5.0.0-ballot", "code": "unknown", "display": "Unknown" }, { "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", - "version": "5.0.0-ballot", "code": "asked-declined", "display": "Asked But Declined" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "not-asked", + "display": "Not Asked" } ] }, @@ -1523,6 +1759,9 @@ }, { "code": "asked-declined" + }, + { + "code": "not-asked" } ] } @@ -1565,17 +1804,37 @@ ], "copyright": "Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", "expansion": { - "identifier": "urn:uuid:e9cff1c2-8743-48cb-9bde-8f4af914544b", - "timestamp": "2023-08-30T10:41:59+10:00", - "total": 4, + "identifier": "urn:uuid:9a0c2291-6dd8-4778-9099-4622f64fa897", + "timestamp": "2025-05-01T10:00:49+10:00", + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20230831" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" }, { "name": "used-codesystem", - "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20230831" + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" } ], "contains": [ @@ -1609,7 +1868,289 @@ { "property": "constraint", "op": "=", - "value": "^ 32570631000036107|Sex reference set|" + "value": "^32570631000036107|Sex reference set|" + } + ] + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "SmokingQuitStatus-1", + "status": "draft", + "name": "SmokingQuitStatus", + "title": "Smoking Quit Status", + "description": "The Smoking Quit Status value set includes values that can indicate how long ago an individual quit smoking.", + "url": "https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1", + "experimental": false, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + "valueCanonical": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + } + ], + "expansion": { + "identifier": "urn:uuid:93600010-14a0-4d6e-a82f-15283d13a2cb", + "timestamp": "2025-05-01T11:41:24+10:00", + "parameter": [ + { + "name": "used-supplement", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1|0.3.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "48031000119106", + "display": "Quit >12 months" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "735128000", + "display": "Quit <12 months" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "concept": [ + { + "code": "48031000119106", + "display": "Quit >12 months" + }, + { + "code": "735128000", + "display": "Quit <12 months" + } + ] + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "TobaccoUseStatus-1", + "status": "draft", + "name": "TobaccoUseStatus", + "title": "Tobacco Use Status", + "description": "The Tobacco Use Status value set includes values that may be used to represent an individual's current tobacco use and exposure status.", + "url": "https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1", + "experimental": false, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + "valueCanonical": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + } + ], + "expansion": { + "identifier": "urn:uuid:e7e976ca-5eb9-41da-9ca8-2c795c5e2dd2", + "timestamp": "2025-05-01T11:43:41+10:00", + "parameter": [ + { + "name": "used-supplement", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1|0.3.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "266919005", + "display": "Never smoked" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "77176002", + "display": "Current smoker" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "8517006", + "display": "Ex-smoker" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "16090371000119103", + "display": "Exposure to second hand tobacco smoke" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "394872000", + "display": "Wants to quit" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "713914004", + "display": "Other tobacco use" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "concept": [ + { + "code": "266919005", + "display": "Never smoked" + }, + { + "code": "77176002", + "display": "Current smoker" + }, + { + "code": "8517006", + "display": "Ex-smoker" + }, + { + "code": "16090371000119103", + "display": "Exposure to second hand tobacco smoke" + }, + { + "code": "394872000", + "display": "Wants to quit" + }, + { + "code": "713914004", + "display": "Other tobacco use" + } + ] + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "CervicalScreeningStatus-1", + "status": "draft", + "name": "CervicalScreeningStatus", + "title": "Cervical Screening Status", + "description": "The Cervical Screening Status value set includes values that can be used to represent the status of an individual's participation in a cervical screening program.", + "url": "https://smartforms.csiro.au/ig/ValueSet/CervicalScreeningStatus-1", + "experimental": false, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + "valueCanonical": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + } + ], + "expansion": { + "identifier": "urn:uuid:3657ae6f-b206-482f-a745-0ff9c99358ef", + "timestamp": "2025-06-05T13:50:47+10:00", + "parameter": [ + { + "name": "used-supplement", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/ValueSet/CervicalScreeningStatus-1|0.3.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "736595007", + "display": "Declined" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "410527000", + "display": "Offered" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "171154002", + "display": "Not required" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "171155001", + "display": "Up to date" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "concept": [ + { + "code": "736595007", + "display": "Declined" + }, + { + "code": "410527000", + "display": "Offered" + }, + { + "code": "171154002", + "display": "Not required" + }, + { + "code": "171155001", + "display": "Up to date" } ] } @@ -1662,12 +2203,32 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { "name": "Condition", "language": "application/x-fhir-query", - "expression": "Condition?patient={{%patient.id}}" + "expression": "Condition?patient={{%patient.id}}&category=http://terminology.hl7.org/CodeSystem/condition-category|problem-list-item" } }, { @@ -1675,7 +2236,46 @@ "valueExpression": { "name": "ObsBloodPressure", "language": "application/x-fhir-query", - "expression": "Observation?code=85354-9&_count=1&_sort=-date&patient={{%patient.id}}" + "expression": "Observation?code=85354-9&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsTobaccoSmokingStatus", + "language": "application/x-fhir-query", + "expression": "Observation?code=72166-2&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "SexAtBirthCoding", + "language": "text/fhirpath", + "expression": "%patient.extension.where(exists(url='http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender' and extension.where(exists(url='type' and value.coding.code='1515311000168102')) and extension.where(url='effectivePeriod').value.end.empty())).extension.where(url='value').value.coding" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBloodPressureLatest", + "language": "text/fhirpath", + "expression": "%ObsBloodPressure.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsTobaccoSmokingStatusLatest", + "language": "text/fhirpath", + "expression": "%ObsTobaccoSmokingStatus.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" + } + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" } }, { @@ -1699,7 +2299,13 @@ { "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", "valueReference": { - "reference": "#MedicalHistory" + "reference": "#clinical-condition-1" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#administrative-gender" } }, { @@ -1723,7 +2329,7 @@ { "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", "valueReference": { - "reference": "#pronouns" + "reference": "#australian-pronouns-1" } }, { @@ -1743,16 +2349,35 @@ "valueReference": { "reference": "#biological-sex-1" } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#SmokingQuitStatus-1" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#TobaccoUseStatus-1" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#CervicalScreeningStatus-1" + } } ], - "version": "0.1.0", + "url": "http://www.health.gov.au/assessments/mbs/715", "name": "AboriginalTorresStraitIslanderHealthCheck", + "title": "Aboriginal and Torres Strait Islander Health Check", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-ChronicDiseaseAgeing.json b/fsh-generated/resources/Questionnaire-ChronicDiseaseAgeing.json index 3643a520..19bb81c3 100644 --- a/fsh-generated/resources/Questionnaire-ChronicDiseaseAgeing.json +++ b/fsh-generated/resources/Questionnaire-ChronicDiseaseAgeing.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/ChronicDiseaseAgeing", - "title": "Aboriginal and Torres Strait Islander Health Check - Chronic Disease Ageing", - "description": "Chronic Disease Ageing sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-4", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -94,10 +90,6 @@ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", "valueString": "Assessment of chronic disease associated with ageing" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
For older people with chronic disease and/or conditions associated with ageing, consider assessing:
\r\n \r\n
" } ], "item": [ @@ -122,6 +114,14 @@ ], "linkId": "12e244c0-2887-4230-8792-9521d4f1ab33", "text": "For older people with chronic disease and/or conditions associated with ageing, consider assessing: Osteoporosis risk; Falls risk; Balance, coordination and mobility; Pain; Nutrition; Regularity of chronic disease management and review", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
For older people with chronic disease and/or conditions associated with ageing, consider assessing:
\r\n \r\n
" + } + ] + }, "type": "text", "repeats": false }, @@ -138,7 +138,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -197,18 +197,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" } ], + "url": "http://www.health.gov.au/assessments/mbs/715/ChronicDiseaseAgeing", "name": "ChronicDiseaseAgeing", + "title": "Aboriginal and Torres Strait Islander Health Check - Chronic Disease Ageing", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-Consent.json b/fsh-generated/resources/Questionnaire-Consent.json index 89e93a19..72c60f88 100644 --- a/fsh-generated/resources/Questionnaire-Consent.json +++ b/fsh-generated/resources/Questionnaire-Consent.json @@ -8,9 +8,6 @@ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/Consent", - "title": "Aboriginal and Torres Strait Islander Health Check - Consent", - "description": "Consent sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +48,8 @@ "enableWhen": [ { "question": "MarkComplete-30", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +73,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -269,8 +266,7 @@ "linkId": "84162f36-f4af-4509-b178-ef2a3849d0b6", "text": "Date", "type": "date", - "repeats": false, - "required": true + "repeats": false }, { "linkId": "0f92eb2d-4629-4215-96f8-46722a2efa73", @@ -389,7 +385,7 @@ }, { "valueCoding": { - "code": "413817003", + "code": "224848004", "system": "http://snomed.info/sct", "display": "Early learning centre" } @@ -403,7 +399,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -428,13 +424,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNoNA", "experimental": false, "expansion": { - "identifier": "urn:uuid:5baa5444-e553-4412-a08c-9ce93d3271e0", - "timestamp": "2023-09-01T11:16:50+10:00", + "identifier": "urn:uuid:7fce8cc7-b936-4258-921d-923629b04439", + "timestamp": "2025-05-01T10:00:47+10:00", "total": 3, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -527,18 +536,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/Consent", "name": "Consent", + "title": "Aboriginal and Torres Strait Islander Health Check - Consent", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-CurrentPriorities.json b/fsh-generated/resources/Questionnaire-CurrentPriorities.json index 706f0835..cd160762 100644 --- a/fsh-generated/resources/Questionnaire-CurrentPriorities.json +++ b/fsh-generated/resources/Questionnaire-CurrentPriorities.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/CurrentPriorities", - "title": "Aboriginal and Torres Strait Islander Health Check - Current Priorities", - "description": "Current Priorities sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -55,8 +51,8 @@ "enableWhen": [ { "question": "MarkComplete-5", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -80,7 +76,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -312,7 +308,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -337,13 +333,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -427,18 +436,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/CurrentPriorities", "name": "CurrentPriorities", + "title": "Aboriginal and Torres Strait Islander Health Check - Current Priorities", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-EarHealthAndHearing.json b/fsh-generated/resources/Questionnaire-EarHealthAndHearing.json index 605579d9..c05a2790 100644 --- a/fsh-generated/resources/Questionnaire-EarHealthAndHearing.json +++ b/fsh-generated/resources/Questionnaire-EarHealthAndHearing.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/EarHealthAndHearing", - "title": "Aboriginal and Torres Strait Islander Health Check - Ear Health And Hearing", - "description": "Ear Health And Hearing sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-6", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -349,7 +345,7 @@ } ], "linkId": "fe96046a-a202-4c22-ad3e-00419e717185", - "text": "Video otoscopy procedure recommended where possible as it allows for parental education and for images to be saved for tracking over time", + "text": "Video otoscopy procedure recommended where possible as it allows for parental education and for images to be saved for tracking over time.", "type": "display" }, { @@ -594,7 +590,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 5).intersect(%age <= 12)" + "expression": "(%age > 5) and (%age <= 12)" } } ], @@ -636,7 +632,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -661,13 +657,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -751,18 +760,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/EarHealthAndHearing", "name": "EarHealthAndHearing", + "title": "Aboriginal and Torres Strait Islander Health Check - Ear Health And Hearing", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-Examination.json b/fsh-generated/resources/Questionnaire-Examination.json index 36c67c1c..894a7869 100644 --- a/fsh-generated/resources/Questionnaire-Examination.json +++ b/fsh-generated/resources/Questionnaire-Examination.json @@ -5,12 +5,10 @@ "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave", + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/Examination", - "title": "Aboriginal and Torres Strait Islander Health Check - Examination", - "description": "Examination sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +49,8 @@ "enableWhen": [ { "question": "MarkComplete-7", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +74,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -89,19 +87,6 @@ } ] }, - { - "linkId": "RecordUpdate-Exam", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.", - "_text": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" - } - ] - }, - "type": "display" - }, { "extension": [ { @@ -124,8 +109,7 @@ "coding": [ { "code": "grid", - "system": "http://hl7.org/fhir/questionnaire-item-control", - "version": "1.0.0" + "system": "http://hl7.org/fhir/questionnaire-item-control" } ] } @@ -143,14 +127,38 @@ } ], "item": [ + { + "linkId": "837cd0ce-4a9e-4c8b-8679-007ed961f121", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsBodyHeightValue.exists() and %ObsBodyHeightDateFormatted.exists(), %ObsBodyHeightValue.round(0).toString() + ' cm ( ' + %ObsBodyHeightDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsBodyHeight.entry.resource.value.value" - } + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#BodyHeightLengthTemplate" + } + } + ], + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", @@ -175,28 +183,28 @@ } } ], - "linkId": "e73c3643-8898-4ef8-8bc9-b4b3826ab790", + "linkId": "obslengthheight-newresult-unit", "text": "cm", "type": "display" } ], - "linkId": "837cd0ce-4a9e-4c8b-8679-007ed961f121", - "text": "Value", + "linkId": "obs-lengthheight-newresult", + "text": "New result", "type": "decimal", "repeats": false }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsBodyHeight.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='obs-lengthheight-newresult').answer.value.exists(), today())" } } ], - "linkId": "b9faf79e-b5f7-443a-9203-67532e3a381f", - "text": "Date performed", + "linkId": "obs-lengthheight-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -217,14 +225,38 @@ } ], "item": [ + { + "linkId": "7035c7e7-ada3-4c6b-9ea8-f39666f5d4ea", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsBodyHeightValue.exists() and %ObsBodyHeightDateFormatted.exists(), %ObsBodyHeightValue.round(0).toString() + ' cm ( ' + %ObsBodyHeightDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsBodyHeight.entry.resource.value.value" - } + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#BodyHeightTemplate" + } + } + ], + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", @@ -249,28 +281,28 @@ } } ], - "linkId": "387c95f0-8b54-4ad7-992d-8ab26a34fd77", + "linkId": "obs-height-newresult-unit", "text": "cm", "type": "display" } ], - "linkId": "7035c7e7-ada3-4c6b-9ea8-f39666f5d4ea", - "text": "Value", + "linkId": "obs-height-newresult", + "text": "New result", "type": "decimal", "repeats": false }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsBodyHeight.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='obs-height-newresult').answer.value.exists(), today())" } } ], - "linkId": "c666ac96-1e64-40e2-8e0b-7d0187bb3e50", - "text": "Date performed", + "linkId": "obs-height-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -282,14 +314,38 @@ }, { "item": [ + { + "linkId": "443bd584-684a-449c-ab6e-9d07da4df9fa", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsBodyWeightValue.exists() and %ObsBodyWeightDateFormatted.exists(), %ObsBodyWeightValue.round(1).toString() + ' kg ( ' + %ObsBodyWeightDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsBodyWeight.entry.resource.value.value" - } + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#BodyWeightTemplate" + } + } + ], + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", @@ -314,28 +370,28 @@ } } ], - "linkId": "5ba0d699-bc2a-45d0-8f40-f53cb21dc911", + "linkId": "obs-weight-newresult-unit", "text": "kg", "type": "display" } ], - "linkId": "443bd584-684a-449c-ab6e-9d07da4df9fa", - "text": "Value", + "linkId": "obs-weight-newresult", + "text": "New result", "type": "decimal", "repeats": false }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsBodyWeight.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='obs-weight-newresult').answer.value.exists(), today())" } } ], - "linkId": "92cdc1c7-eb6c-4f6d-9bd9-ae726a0e0d3d", - "text": "Date performed", + "linkId": "obs-weight-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -356,6 +412,26 @@ } ], "item": [ + { + "linkId": "2ada6633-03c6-4b05-bc23-18dec84ec150", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsBodyWeightValue.exists() and %ObsBodyHeightValue.exists(), (%ObsBodyWeightValue/((%ObsBodyHeightValue/100).power(2))).round(1).toString() + ' kg/m2', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { @@ -389,20 +465,20 @@ } } ], - "linkId": "a709b8ec-9e65-40f0-a781-500cb3e56f3c", + "linkId": "obs-bmi-newresult-unit", "text": "kg/m2", "type": "display" } ], - "linkId": "2ada6633-03c6-4b05-bc23-18dec84ec150", - "text": "Value", + "linkId": "obs-bmi-newresult", + "text": "New result", "type": "decimal", "repeats": false, "readOnly": true } ], "linkId": "bc209c5e-ed28-48e3-b1a1-55cb7e435d8b", - "text": "BMI", + "text": "BMI (calculated)", "type": "group", "repeats": false }, @@ -417,14 +493,38 @@ } ], "item": [ + { + "linkId": "7a4a6aac-558e-4bec-86c5-326ae07e37d6", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsHeadCircumferenceValue.exists() and %ObsHeadCircumferenceDateFormatted.exists(), %ObsHeadCircumferenceValue.round(0).toString() + ' cm ( ' + %ObsHeadCircumferenceDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsHeadCircumference.entry.resource.value.value" - } + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#HeadCircumferenceTemplate" + } + } + ], + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", @@ -449,28 +549,28 @@ } } ], - "linkId": "73937983-65a0-4d40-8600-de7ca3277d5e", + "linkId": "obs-headcircumference-newresult-unit", "text": "cm", "type": "display" } ], - "linkId": "7a4a6aac-558e-4bec-86c5-326ae07e37d6", - "text": "Value", + "linkId": "obs-headcircumference-newresult", + "text": "New result", "type": "decimal", "repeats": false }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsHeadCircumference.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='obs-headcircumference-newresult').answer.value.exists(), today())" } } ], - "linkId": "b8da15e7-8648-492b-9e82-ad5ab7cad179", - "text": "Date performed", + "linkId": "obs-headcircumference-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -492,20 +592,37 @@ ], "item": [ { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsWaistCircumference.entry.resource.value.value" + "linkId": "8df0f5d8-821d-4f71-b3c1-d164616ea2f5", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsWaistCircumferenceValue.exists() and %ObsWaistCircumferenceDateFormatted.exists(), %ObsWaistCircumferenceValue.round(0).toString() + ' cm ( ' + %ObsWaistCircumferenceDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" } - }, + ] + }, + "type": "display" + }, + { + "extension": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", - "valueCoding": { - "code": "cm", - "system": "http://unitsofmeasure.org" - } + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#WaistCircumferenceTemplate" + } + } + ], + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" } ], "item": [ @@ -523,28 +640,28 @@ } } ], - "linkId": "19aeb0ab-7494-4bac-8b2d-d7d2527c1f4a", + "linkId": "obs-waistcircumference-newresult-unit", "text": "cm", "type": "display" } ], - "linkId": "8df0f5d8-821d-4f71-b3c1-d164616ea2f5", - "text": "Value", + "linkId": "obs-waistcircumference-newresult", + "text": "New result", "type": "decimal", "repeats": false }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsWaistCircumference.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='obs-waistcircumference-newresult').answer.value.exists(), today())" } } ], - "linkId": "3eb3b929-e67a-4331-8949-b8447b66a4c7", - "text": "Date performed", + "linkId": "obs-waistcircumference-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -556,14 +673,38 @@ }, { "item": [ + { + "linkId": "49029ef0-eaa8-44f8-b26a-177820c82dfd", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsHeartRateValue.exists() and %ObsHeartRateDateFormatted.exists(), %ObsHeartRateValue.round(0).toString() + ' /min ( ' + %ObsHeartRateDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsHeartRate.entry.resource.value.value" - } + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#HeartRateTemplate" + } + } + ], + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", @@ -588,28 +729,28 @@ } } ], - "linkId": "090964b9-be33-438b-8465-2a2a09632fde", + "linkId": "obs-heartrate-newresult-unit", "text": "/min", "type": "display" } ], - "linkId": "49029ef0-eaa8-44f8-b26a-177820c82dfd", - "text": "Value", + "linkId": "obs-heartrate-newresult", + "text": "New result", "type": "integer", "repeats": false }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsHeartRate.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='obs-heartrate-newresult').answer.value.exists(), today())" } } ], - "linkId": "feeac08f-2ba6-4048-80a2-10b3f90cf5e3", - "text": "Date performed", + "linkId": "obs-heartrate-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -621,8 +762,39 @@ }, { "item": [ + { + "linkId": "99a8eb6f-a36a-4daf-99d7-27bfde0d4bb1", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsHeartRhythmValue.exists() and %ObsHeartRhythmDateFormatted.exists(), %ObsHeartRhythmValue.display + ' ( ' + %ObsHeartRhythmDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ + { + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#HeartRhythmTemplate" + } + } + ], + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" + }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { @@ -635,30 +807,24 @@ } } ], - "linkId": "99a8eb6f-a36a-4daf-99d7-27bfde0d4bb1", - "text": "Value", + "linkId": "obs-heartrhythm-newresult", + "text": "New result", "type": "choice", "repeats": false, - "answerOption": [ - { - "valueCoding": { - "code": "271636001", - "system": "http://snomed.info/sct", - "display": "Pulse Regular" - } - }, + "answerValueSet": "#heart-rhythm-1" + }, + { + "extension": [ { - "valueCoding": { - "code": "61086009", - "system": "http://snomed.info/sct", - "display": "Pulse Irregular" + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%resource.repeat(item).where(linkId='obs-heartrhythm-newresult').answer.value.exists(), today())" } } - ] - }, - { - "linkId": "eeb56682-0eae-4428-9c37-0e63852026c0", - "text": "Date performed", + ], + "linkId": "obs-heartrhythm-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -670,19 +836,34 @@ } ], "linkId": "53d5d5a6-3198-4bec-92ac-03fe7d77fb68", + "text": "The tabled observations will display the most recent results available from the patient record. New observations may be added.", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "

The tabled observations will display the most recent results available from the patient record. New observations may be added.

" + } + ] + }, "type": "group", "repeats": false }, { "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%age > 12" + } + }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "code": "grid", - "system": "http://hl7.org/fhir/questionnaire-item-control", - "version": "1.0.0" + "system": "http://hl7.org/fhir/questionnaire-item-control" } ] } @@ -690,24 +871,39 @@ ], "item": [ { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%age > 12" - } - } - ], "item": [ + { + "linkId": "bp-bp-lastresult", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsBloodPressureValue.exists() and %ObsBloodPressureDateFormatted.exists(), %ObsBloodPressureValue + ' mm Hg ( ' + %ObsBloodPressureDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsBloodPressure.entry.resource.component.where(code.coding.exists(code='8480-6')).value.value" - } + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#BloodPressureTemplate" + } + } + ], + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", @@ -732,25 +928,18 @@ } } ], - "linkId": "197d212d-72cc-4c85-91dc-2f030d384391", + "linkId": "bp-newbp-systolic-unit", "text": "mm Hg", "type": "display" } ], - "linkId": "e68b660d-cfd2-4b89-957a-c96a4c73a5fd", + "linkId": "bp-newbp-systolic", "text": "Systolic", "type": "integer", "repeats": false }, { "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsBloodPressure.entry.resource.component.where(code.coding.exists(code='8462-4')).value.value" - } - }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", "valueCoding": { @@ -774,12 +963,12 @@ } } ], - "linkId": "416ee494-4fa2-4b29-af0b-3d022f686e39", + "linkId": "bp-newbp-diastolic-unit", "text": "mm Hg", "type": "display" } ], - "linkId": "867b0022-f812-4f80-b287-79686c972b15", + "linkId": "bp-newbp-diastolic", "text": "Diastolic", "type": "integer", "repeats": false @@ -787,14 +976,14 @@ { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsBloodPressure.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='bp-newbp-systolic').answer.value.exists() or %resource.repeat(item).where(linkId='bp-newbp-diastolic').answer.value.exists(), today())" } } ], - "linkId": "a005050c-ed79-46ed-ac14-2fc1496059a5", + "linkId": "bp-newbp-date", "text": "Date performed", "type": "date", "repeats": false @@ -807,6 +996,15 @@ } ], "linkId": "3639c586-9576-48d3-a52b-e91fd2138581", + "text": "Blood pressure", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, "type": "group", "repeats": false }, @@ -912,41 +1110,633 @@ "repeats": false } ], - "extension": [ + "contained": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", - "valueCode": "assemble-child" + "resourceType": "ValueSet", + "id": "heart-rhythm-1", + "status": "draft", + "name": "HeartRhythm", + "title": "Heart Rhythm", + "description": "The Heart Rhythm value set includes values that may be used to represent the heart rhythm of an individual.", + "url": "https://smartforms.csiro.au/ig/ValueSet/heart-rhythm-1", + "experimental": false, + "expansion": { + "identifier": "urn:uuid:b12cc8bf-25b0-49a8-8ee1-f641fd89cfa7", + "timestamp": "2025-06-27T12:16:28+10:00", + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250630" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250630" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "code": "933506231000036108", + "display": "Regular heart rhythm" + }, + { + "system": "http://snomed.info/sct", + "code": "361137007", + "display": "Irregular heart rhythm" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "933506231000036108", + "display": "Regular heart rhythm" + }, + { + "code": "361137007", + "display": "Irregular heart rhythm" + } + ] + } + ] + } }, { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", - "extension": [ + "resourceType": "Observation", + "id": "BodyHeightTemplate", + "status": "final", + "category": [ { - "url": "name", - "valueCoding": { - "code": "patient", - "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + "coding": [ + { + "code": "vital-signs", + "system": "http://terminology.hl7.org/CodeSystem/observation-category" + } + ] + } + ], + "code": { + "coding": [ + { + "code": "8302-2", + "system": "http://loinc.org" + }, + { + "code": "50373000", + "system": "http://snomed.info/sct" } - }, - { - "url": "type", - "valueCode": "Patient" - }, - { - "url": "description", - "valueString": "The patient that is to be used to pre-populate the form" + ], + "text": "Height" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] } - ] + }, + "valueQuantity": { + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm", + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-height-newdate').answer.value.toDateTime()" + } + ] + } }, { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", - "extension": [ - { - "url": "name", - "valueCoding": { - "code": "user", - "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" - } - }, + "resourceType": "Observation", + "id": "BodyHeightLengthTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "code": "vital-signs", + "system": "http://terminology.hl7.org/CodeSystem/observation-category" + } + ] + } + ], + "code": { + "coding": [ + { + "code": "8302-2", + "system": "http://loinc.org" + }, + { + "code": "50373000", + "system": "http://snomed.info/sct" + } + ], + "text": "Height" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "valueQuantity": { + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm", + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-lengthheight-newdate').answer.value.toDateTime()" + } + ] + } + }, + { + "resourceType": "Observation", + "id": "BodyWeightTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "code": "vital-signs", + "system": "http://terminology.hl7.org/CodeSystem/observation-category" + } + ] + } + ], + "code": { + "coding": [ + { + "code": "29463-7", + "system": "http://loinc.org" + }, + { + "code": "27113001", + "system": "http://snomed.info/sct" + } + ], + "text": "Weight" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "valueQuantity": { + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg", + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-weight-newdate').answer.value.toDateTime()" + } + ] + } + }, + { + "resourceType": "Observation", + "id": "WaistCircumferenceTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "code": "vital-signs", + "system": "http://terminology.hl7.org/CodeSystem/observation-category" + } + ] + } + ], + "code": { + "coding": [ + { + "code": "8280-0", + "system": "http://loinc.org" + }, + { + "code": "276361009", + "system": "http://snomed.info/sct" + } + ], + "text": "Waist circumference" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "valueQuantity": { + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm", + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-waistcircumference-newdate').answer.value.toDateTime()" + } + ] + } + }, + { + "resourceType": "Observation", + "id": "HeadCircumferenceTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "code": "vital-signs", + "system": "http://terminology.hl7.org/CodeSystem/observation-category" + } + ] + } + ], + "code": { + "coding": [ + { + "code": "9843-4", + "system": "http://loinc.org" + }, + { + "code": "363812007", + "system": "http://snomed.info/sct" + } + ], + "text": "Head circumference" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "valueQuantity": { + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm", + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-headcircumference-newdate').answer.value.toDateTime()" + } + ] + } + }, + { + "resourceType": "Observation", + "id": "HeartRateTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "code": "vital-signs", + "system": "http://terminology.hl7.org/CodeSystem/observation-category" + } + ] + } + ], + "code": { + "coding": [ + { + "code": "8867-4", + "system": "http://loinc.org" + }, + { + "code": "364075005", + "system": "http://snomed.info/sct" + } + ], + "text": "Heart rate" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "valueQuantity": { + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min", + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value.toDecimal()" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-heartrate-newdate').answer.value.toDateTime()" + } + ] + } + }, + { + "resourceType": "Observation", + "id": "HeartRhythmTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "code": "vital-signs", + "system": "http://terminology.hl7.org/CodeSystem/observation-category" + } + ] + } + ], + "code": { + "coding": [ + { + "code": "8884-9", + "system": "http://loinc.org" + }, + { + "code": "364074009", + "system": "http://snomed.info/sct" + } + ], + "text": "Heart rhythm" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + } + ] + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-heartrhythm-newdate').answer.value.toDateTime()" + } + ] + } + }, + { + "resourceType": "Observation", + "id": "BloodPressureTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "code": "vital-signs", + "system": "http://terminology.hl7.org/CodeSystem/observation-category" + } + ] + } + ], + "code": { + "coding": [ + { + "code": "85354-9", + "system": "http://loinc.org" + }, + { + "code": "75367002", + "system": "http://snomed.info/sct" + } + ], + "text": "Blood pressure" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8480-6", + "system": "http://loinc.org" + }, + { + "code": "271649006", + "system": "http://snomed.info/sct" + } + ], + "text": "Systolic" + }, + "valueQuantity": { + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]", + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value.toDecimal()" + } + ] + } + } + }, + { + "code": { + "coding": [ + { + "code": "8462-4", + "system": "http://loinc.org" + }, + { + "code": "271650006", + "system": "http://snomed.info/sct" + } + ], + "text": "Diastolic" + }, + "valueQuantity": { + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]", + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='bp-newbp-diastolic').answer.value.toDecimal()" + } + ] + } + } + } + ], + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='bp-newbp-date').answer.value.toDateTime()" + } + ] + } + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", + "valueCode": "assemble-child" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "patient", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Patient" + }, + { + "url": "description", + "valueString": "The patient that is to be used to pre-populate the form" + } + ] + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "user", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, { "url": "type", "valueCode": "Practitioner" @@ -957,10 +1747,34 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "ObsBloodPressure" }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", + "valueString": "ObsBloodPressureLatest" + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" @@ -970,7 +1784,7 @@ "valueExpression": { "name": "ObsWaistCircumference", "language": "application/x-fhir-query", - "expression": "Observation?code=8280-0&_count=1&_sort=-date&patient={{%patient.id}}" + "expression": "Observation?code=8280-0&_sort=-date&patient={{%patient.id}}" } }, { @@ -978,7 +1792,15 @@ "valueExpression": { "name": "ObsHeartRate", "language": "application/x-fhir-query", - "expression": "Observation?code=8867-4&_count=1&_sort=-date&patient={{%patient.id}}" + "expression": "Observation?code=8867-4&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeartRhythm", + "language": "application/x-fhir-query", + "expression": "Observation?code=364074009&_sort=-date&patient={{%patient.id}}" } }, { @@ -986,7 +1808,7 @@ "valueExpression": { "name": "ObsBodyHeight", "language": "application/x-fhir-query", - "expression": "Observation?code=8302-2&_count=1&_sort=-date&patient={{%patient.id}}" + "expression": "Observation?code=8302-2&_sort=-date&patient={{%patient.id}}" } }, { @@ -994,7 +1816,7 @@ "valueExpression": { "name": "ObsBodyWeight", "language": "application/x-fhir-query", - "expression": "Observation?code=29463-7&_count=1&_sort=-date&patient={{%patient.id}}" + "expression": "Observation?code=29463-7&_sort=-date&patient={{%patient.id}}" } }, { @@ -1002,7 +1824,223 @@ "valueExpression": { "name": "ObsHeadCircumference", "language": "application/x-fhir-query", - "expression": "Observation?code=9843-4&_count=1&_sort=-date&patient={{%patient.id}}" + "expression": "Observation?code=9843-4&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsWaistCircumferenceLatest", + "language": "text/fhirpath", + "expression": "%ObsWaistCircumference.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeartRateLatest", + "language": "text/fhirpath", + "expression": "%ObsHeartRate.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeartRhythmLatest", + "language": "text/fhirpath", + "expression": "%ObsHeartRhythm.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBodyHeightLatest", + "language": "text/fhirpath", + "expression": "%ObsBodyHeight.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBodyWeightLatest", + "language": "text/fhirpath", + "expression": "%ObsBodyWeight.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeadCircumferenceLatest", + "language": "text/fhirpath", + "expression": "%ObsHeadCircumference.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBodyHeightValue", + "language": "text/fhirpath", + "expression": "%ObsBodyHeightLatest.value.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBodyHeightDateString", + "language": "text/fhirpath", + "expression": "%ObsBodyHeightLatest.effective.toDate().toString()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBodyHeightDateFormatted", + "language": "text/fhirpath", + "expression": "%ObsBodyHeightDateString.substring(8,2).toInteger().toString() + ' ' + %ObsBodyHeightDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsBodyHeightDateString.substring(0,4)" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBodyWeightValue", + "language": "text/fhirpath", + "expression": "%ObsBodyWeightLatest.value.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBodyWeightDateString", + "language": "text/fhirpath", + "expression": "%ObsBodyWeightLatest.effective.toDate().toString()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBodyWeightDateFormatted", + "language": "text/fhirpath", + "expression": "%ObsBodyWeightDateString.substring(8,2).toInteger().toString() + ' ' + %ObsBodyWeightDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsBodyWeightDateString.substring(0,4)" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeadCircumferenceValue", + "language": "text/fhirpath", + "expression": "%ObsHeadCircumferenceLatest.value.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeadCircumferenceDateString", + "language": "text/fhirpath", + "expression": "%ObsHeadCircumferenceLatest.effective.toDate().toString()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeadCircumferenceDateFormatted", + "language": "text/fhirpath", + "expression": "%ObsHeadCircumferenceDateString.substring(8,2).toInteger().toString() + ' ' + %ObsHeadCircumferenceDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsHeadCircumferenceDateString.substring(0,4)" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsWaistCircumferenceValue", + "language": "text/fhirpath", + "expression": "%ObsWaistCircumferenceLatest.value.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsWaistCircumferenceDateString", + "language": "text/fhirpath", + "expression": "%ObsWaistCircumferenceLatest.effective.toDate().toString()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsWaistCircumferenceDateFormatted", + "language": "text/fhirpath", + "expression": "%ObsWaistCircumferenceDateString.substring(8,2).toInteger().toString() + ' ' + %ObsWaistCircumferenceDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsWaistCircumferenceDateString.substring(0,4)" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeartRateValue", + "language": "text/fhirpath", + "expression": "%ObsHeartRateLatest.value.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeartRateDateString", + "language": "text/fhirpath", + "expression": "%ObsHeartRateLatest.effective.toDate().toString()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeartRateDateFormatted", + "language": "text/fhirpath", + "expression": "%ObsHeartRateDateString.substring(8,2).toInteger().toString() + ' ' + %ObsHeartRateDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsHeartRateDateString.substring(0,4)" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeartRhythmValue", + "language": "text/fhirpath", + "expression": "%ObsHeartRhythmLatest.value.coding.where(system='http://snomed.info/sct').first()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeartRhythmDateString", + "language": "text/fhirpath", + "expression": "%ObsHeartRhythmLatest.effective.toDate().toString()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeartRhythmDateFormatted", + "language": "text/fhirpath", + "expression": "%ObsHeartRhythmDateString.substring(8,2).toInteger().toString() + ' ' + %ObsHeartRhythmDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsHeartRhythmDateString.substring(0,4)" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBloodPressureValue", + "language": "text/fhirpath", + "expression": "%ObsBloodPressureLatest.component.where(code.coding.exists(code='8480-6')).value.value.round(0).toString() + ' / ' + %ObsBloodPressureLatest.component.where(code.coding.exists(code='8462-4')).value.value.round(0).toString()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBloodPressureDateString", + "language": "text/fhirpath", + "expression": "%ObsBloodPressureLatest.effective.toDate().toString()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBloodPressureDateFormatted", + "language": "text/fhirpath", + "expression": "%ObsBloodPressureDateString.substring(8,2).toInteger().toString() + ' ' + %ObsBloodPressureDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsBloodPressureDateString.substring(0,4)" } }, { @@ -1010,7 +2048,7 @@ "valueExpression": { "name": "weight", "language": "text/fhirpath", - "expression": "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='97ed4c86-8820-4e4d-9234-0e0e8b6ca44a').item.where(linkId='443bd584-684a-449c-ab6e-9d07da4df9fa').answer.value" + "expression": "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='97ed4c86-8820-4e4d-9234-0e0e8b6ca44a').item.where(linkId='obs-weight-newresult').answer.value" } }, { @@ -1018,17 +2056,26 @@ "valueExpression": { "name": "height", "language": "text/fhirpath", - "expression": "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='6226a5c5-b5c3-4ebb-a689-2b286322cfe0').item.where(linkId='7035c7e7-ada3-4c6b-9ea8-f39666f5d4ea').answer.value" + "expression": "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='6226a5c5-b5c3-4ebb-a689-2b286322cfe0').item.where(linkId='obs-height-newresult').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/Examination", "name": "Examination", + "title": "Aboriginal and Torres Strait Islander Health Check - Examination", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-EyeHealth.json b/fsh-generated/resources/Questionnaire-EyeHealth.json index 34e8c716..f4db5ff8 100644 --- a/fsh-generated/resources/Questionnaire-EyeHealth.json +++ b/fsh-generated/resources/Questionnaire-EyeHealth.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/EyeHealth", - "title": "Aboriginal and Torres Strait Islander Health Check - Eye Health", - "description": "Eye Health sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-8", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -192,8 +188,7 @@ "coding": [ { "code": "grid", - "system": "http://hl7.org/fhir/questionnaire-item-control", - "version": "1.0.0" + "system": "http://hl7.org/fhir/questionnaire-item-control" } ] } @@ -328,7 +323,7 @@ "valueCoding": { "code": "95726001", "system": "http://snomed.info/sct", - "display": "Corneal scarring" + "display": "Corneal scar" } } ] @@ -363,7 +358,7 @@ "valueCoding": { "code": "95726001", "system": "http://snomed.info/sct", - "display": "Corneal scarring" + "display": "Corneal scar" } } ] @@ -393,7 +388,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -418,13 +413,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -508,18 +516,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/EyeHealth", "name": "EyeHealth", + "title": "Aboriginal and Torres Strait Islander Health Check - Eye Health", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-FamilyHistory.json b/fsh-generated/resources/Questionnaire-FamilyHistory.json index c659b221..782fb0bc 100644 --- a/fsh-generated/resources/Questionnaire-FamilyHistory.json +++ b/fsh-generated/resources/Questionnaire-FamilyHistory.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/FamilyHistory", - "title": "Aboriginal and Torres Strait Islander Health Check - Family History", - "description": "Family History sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-9", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -176,7 +172,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -235,18 +231,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/FamilyHistory", "name": "FamilyHistory", + "title": "Aboriginal and Torres Strait Islander Health Check - Family History", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-FinalisingHealthCheck.json b/fsh-generated/resources/Questionnaire-FinalisingHealthCheck.json index d90eb091..db9a1c27 100644 --- a/fsh-generated/resources/Questionnaire-FinalisingHealthCheck.json +++ b/fsh-generated/resources/Questionnaire-FinalisingHealthCheck.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/FinalisingHealthCheck", - "title": "Aboriginal and Torres Strait Islander Health Check - Finalising the Health Check", - "description": "Finalising the Health Check sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-31", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -110,7 +106,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 12).intersect(%age > 5)" + "expression": "(%age <= 12) and (%age > 5)" } } ], @@ -199,7 +195,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 12).intersect(%age > 5)" + "expression": "(%age <= 12) and (%age > 5)" } }, { @@ -252,7 +248,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 24).intersect(%age > 12)" + "expression": "(%age <= 24) and (%age > 12)" } }, { @@ -311,7 +307,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 49).intersect(%age > 24)" + "expression": "(%age <= 49) and (%age > 24)" } }, { @@ -492,10 +488,6 @@ } ] } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", - "valueString": "Other" } ], "linkId": "4044d0b4-94b2-4a89-b826-a14614298511", @@ -547,7 +539,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 12).intersect(%age > 5)" + "expression": "(%age <= 12) and (%age > 5)" } }, { @@ -560,10 +552,6 @@ } ] } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", - "valueString": "Other" } ], "linkId": "f97f211a-ef2a-49a3-aef7-c4e9cd08aa2a", @@ -609,7 +597,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 24).intersect(%age > 12)" + "expression": "(%age <= 24) and (%age > 12)" } }, { @@ -622,10 +610,6 @@ } ] } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", - "valueString": "Other" } ], "linkId": "07cfe077-ba93-4f93-b2a5-027023faa33b", @@ -674,7 +658,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 49).intersect(%age > 24)" + "expression": "(%age <= 49) and (%age > 24)" } }, { @@ -687,10 +671,6 @@ } ] } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", - "valueString": "Other" } ], "linkId": "a525c370-d8c3-4764-ab3a-bf62081725e0", @@ -758,10 +738,6 @@ } ] } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", - "valueString": "Other" } ], "linkId": "d68d9693-48d3-4663-9dbb-dd3a7aec5278", @@ -870,34 +846,32 @@ { "extension": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", - "valueBoolean": true - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%patient.id" + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory", + "valueCodeableConcept": { + "coding": [ + { + "code": "instructions", + "system": "http://hl7.org/fhir/questionnaire-display-category" + } + ] } } ], - "linkId": "40e3933d-77bb-40f3-8609-0c38ebb4421e", - "definition": "http://aehrc.com/fhir/StructureDefinition/AUPrimaryCareFollowUp#CarePlan.subject.reference", - "text": "recall-subject", - "type": "string" + "linkId": "b0c69e16-5dc3-481f-8e8f-fc0a93627184", + "text": "e.g. clinical review, investigations, influenza vaccination, asthma plan/cycle of care, diabetes cycle of care, care plan review, cervical screening, investigations", + "type": "display" }, { "linkId": "fece6a3c-f8f1-4592-a166-5ea5a3c60c8e", - "definition": "http://aehrc.com/fhir/StructureDefinition/AUPrimaryCareFollowUp#CarePlan.title", - "text": "Recall", - "type": "text", - "repeats": false + "text": "Recall entered", + "type": "string", + "repeats": true } ], "linkId": "a400fe69-c99f-47ed-bee1-083c3e4be467", - "text": "Recalls entered (eg clinical review, investigations, influenza vaccination, asthma plan/cycle of care, diabetes cycle of care, care plan review, cervical screening, investigations)", + "text": "Recalls", "type": "group", - "repeats": true + "repeats": false }, { "extension": [ @@ -920,7 +894,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 12).intersect(%age > 5)" + "expression": "(%age <= 12) and (%age > 5)" } } ], @@ -935,7 +909,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%age >12" + "expression": "%age > 12" } } ], @@ -963,7 +937,7 @@ } ], "linkId": "8176151f-6d86-45eb-91b1-12458d75a181", - "text": "A copy of this health check has been offerered - including details of follow-up and future appointments", + "text": "A copy of this health check has been offered - including details of follow-up and future appointments", "type": "choice", "repeats": false, "answerOption": [ @@ -985,7 +959,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -1044,18 +1018,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/FinalisingHealthCheck", "name": "FinalisingHealthCheck", + "title": "Aboriginal and Torres Strait Islander Health Check - Finalising the Health Check", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-Gambling.json b/fsh-generated/resources/Questionnaire-Gambling.json index c093635a..2bc48ced 100644 --- a/fsh-generated/resources/Questionnaire-Gambling.json +++ b/fsh-generated/resources/Questionnaire-Gambling.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/Gambling", - "title": "Aboriginal and Torres Strait Islander Health Check - Gambling", - "description": "Gambling sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-10", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -150,7 +146,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -175,13 +171,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -265,18 +274,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/Gambling", "name": "Gambling", + "title": "Aboriginal and Torres Strait Islander Health Check - Gambling", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-HealthPrioritiesSummary.json b/fsh-generated/resources/Questionnaire-HealthPrioritiesSummary.json index d43cd86b..1bbb2e09 100644 --- a/fsh-generated/resources/Questionnaire-HealthPrioritiesSummary.json +++ b/fsh-generated/resources/Questionnaire-HealthPrioritiesSummary.json @@ -5,12 +5,9 @@ "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/HealthPrioritiesSummary", - "title": "Aboriginal and Torres Strait Islander Health Check - Health Priorities, Actions And Follow-Up Summary", - "description": "Health Priorities, Actions And Follow-Up Summary sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -254,7 +251,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 12).intersect(%age < 50) and %HealthPrioritiesSummaryLearningWorkAdults.exists()" + "expression": "(%age > 12) and (%age < 50) and %HealthPrioritiesSummaryLearningWorkAdults.exists()" } }, { @@ -374,7 +371,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age >= 50).intersect(%age <= 74) and %HealthPrioritiesSummaryScreeningPrograms.exists()" + "expression": "(%age >= 50) and (%age <= 74) and %HealthPrioritiesSummaryScreeningPrograms.exists()" } }, { @@ -518,7 +515,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 12).intersect(%age <= 24) and %HealthPrioritiesSummarySexualHealthAdolescents.exists()" + "expression": "(%age > 12) and (%age <= 24) and %HealthPrioritiesSummarySexualHealthAdolescents.exists()" } }, { @@ -542,7 +539,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 24).intersect(%age <= 49) and %HealthPrioritiesSummarySexualHealthAdults.exists()" + "expression": "(%age > 24) and (%age <= 49) and %HealthPrioritiesSummarySexualHealthAdults.exists()" } }, { @@ -828,6 +825,26 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" @@ -955,15 +972,24 @@ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "HealthPrioritiesSummaryInvestigations" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/HealthPrioritiesSummary", "name": "HealthPrioritiesActionsAndFollowUpSummary", + "title": "Aboriginal and Torres Strait Islander Health Check - Health Priorities, Actions And Follow-Up Summary", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-HealthyEating.json b/fsh-generated/resources/Questionnaire-HealthyEating.json index 7b7c1cfd..fc4daab1 100644 --- a/fsh-generated/resources/Questionnaire-HealthyEating.json +++ b/fsh-generated/resources/Questionnaire-HealthyEating.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/HealthyEating", - "title": "Aboriginal and Torres Strait Islander Health Check - Healthy Eating", - "description": "Healthy Eating sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-11", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -385,10 +381,6 @@ "language": "text/fhirpath", "expression": "%age <= 5" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
Document conversation about age-appropriate healthy eating, which could include:
\r\n \r\n
" } ], "item": [ @@ -413,6 +405,14 @@ ], "linkId": "9f6adf74-f240-41a2-a509-d216d5308911", "text": "Document conversation about age-appropriate healthy eating, which could include: current diet; transition to solids; dietary recommendations re fruit and vegetable intake, iron-rich foods, avoiding sugary drinks", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
Document conversation about age-appropriate healthy eating, which could include:
\r\n \r\n
" + } + ] + }, "type": "text", "repeats": false }, @@ -424,10 +424,6 @@ "language": "text/fhirpath", "expression": "%age > 5" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
Document conversation about health eating which could include:
\r\n \r\n
" } ], "item": [ @@ -451,7 +447,15 @@ } ], "linkId": "7a22a4c4-6611-4687-af00-37c80c3f8fc0", - "text": "Document conversation about health eating which could include: current diet including food and drinks; recommendations about fruit and vegetable intake, water as the main drink, avoiding sugary drinks, avoiding highly processed foods (including supermarket-bought and take-away like KFC, Maccas, etc)", + "text": "Document conversation about healthy eating which could include: current diet including food and drinks; recommendations about fruit and vegetable intake, water as the main drink, avoiding sugary drinks, avoiding highly processed foods (including supermarket-bought and take-away like KFC, Maccas, etc)", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
Document conversation about healthy eating which could include:
\r\n \r\n
" + } + ] + }, "type": "text", "repeats": false }, @@ -516,7 +520,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -541,13 +545,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -631,18 +648,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/HealthyEating", "name": "HealthyEating", + "title": "Aboriginal and Torres Strait Islander Health Check - Healthy Eating", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-HomeAndFamily.json b/fsh-generated/resources/Questionnaire-HomeAndFamily.json index bd9cc93b..c6121c6d 100644 --- a/fsh-generated/resources/Questionnaire-HomeAndFamily.json +++ b/fsh-generated/resources/Questionnaire-HomeAndFamily.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/HomeAndFamily", - "title": "Aboriginal and Torres Strait Islander Health Check - Home And Family", - "description": "Home And Family sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-12", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -224,7 +220,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -249,13 +245,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -339,18 +348,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/HomeAndFamily", "name": "HomeAndFamily", + "title": "Aboriginal and Torres Strait Islander Health Check - Home And Family", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-Immunisation.json b/fsh-generated/resources/Questionnaire-Immunisation.json index fd8fbf5b..23b190e3 100644 --- a/fsh-generated/resources/Questionnaire-Immunisation.json +++ b/fsh-generated/resources/Questionnaire-Immunisation.json @@ -5,12 +5,10 @@ "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp", + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/Immunisation", - "title": "Aboriginal and Torres Strait Islander Health Check - Immunisation", - "description": "Immunisation sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +49,8 @@ "enableWhen": [ { "question": "MarkComplete-13", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +74,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -101,6 +99,14 @@ ], "linkId": "54de7714-b917-4426-acb4-29d48648a2d8", "text": "Check Child Health Record/Book and Australian Immunisation Register", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n

Check Child Health Record/Book and Australian Immunisation Register

\r\n
" + } + ] + }, "type": "display" }, { @@ -115,6 +121,14 @@ ], "linkId": "d77c527d-6fde-4ed7-97b9-c71acf817f39", "text": "Eligibility for funded vaccines may vary across jurisdictions", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n

Eligibility for funded vaccines may vary across jurisdictions

\r\n
" + } + ] + }, "type": "display" }, { @@ -123,12 +137,20 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 12).intersect(%age <= 24)" + "expression": "(%age > 12) and (%age <= 24)" } } ], "linkId": "77d87581-d4d7-4267-9f3c-ad6541ad0f46", "text": "Check Australian Immunisation Register", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n

Check Australian Immunisation Register

\r\n
" + } + ] + }, "type": "display" }, { @@ -137,14 +159,120 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 24).intersect(%age <= 49)" + "expression": "(%age > 24) and (%age <= 49)" } } ], "linkId": "a2631d2c-2b5c-4147-9aca-05ae655a56a5", "text": "Check recommended primary vaccinations completed and provide catch-up if required", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n

Check recommended primary vaccinations completed and provide catch-up if required

\r\n
" + } + ] + }, "type": "display" }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "gtable", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", + "valueExpression": { + "name": "ImmunizationRepeat", + "language": "text/fhirpath", + "expression": "%Immunization.entry.resource" + } + } + ], + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "autocomplete", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ImmunizationRepeat.vaccineCode.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" + } + } + ], + "linkId": "vaccinesprevious-vaccine", + "text": "Vaccine", + "type": "open-choice", + "answerValueSet": "#amt-vaccine-1" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ImmunizationRepeat.lotNumber" + } + } + ], + "linkId": "vaccinesprevious-batch", + "text": "Batch number", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ImmunizationRepeat.occurrence.ofType(dateTime).toDate()" + } + } + ], + "linkId": "vaccinesprevious-date", + "text": "Administration date", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ImmunizationRepeat.note.text.first()" + } + } + ], + "linkId": "vaccinesprevious-comment", + "text": "Comment", + "type": "string" + } + ], + "linkId": "vaccinesprevious", + "text": "Vaccines previously given", + "type": "group", + "repeats": true, + "readOnly": true + }, { "extension": [ { @@ -163,19 +291,57 @@ "valueCode": "horizontal" } ], - "linkId": "69a4a459-196b-4931-8336-ea76ab3fccd1", - "text": "Immunisations up to date and recorded on Australian Immunisation Register (as per Australian immunisation handbook)?", + "linkId": "vaccinesair", + "text": "Immunisations are up to date?", "type": "choice", "repeats": false, "answerValueSet": "#YesNo" }, { - "linkId": "08e8ca54-9af8-4028-be83-aab20bccecc3", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "autocomplete", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + } + ], + "linkId": "vaccinesdue", "text": "Immunisations due", - "type": "string", + "type": "open-choice", + "answerValueSet": "#amt-vaccine-1", "repeats": true }, { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "gtable", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + }, + { + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#ImmunizationTemplate" + } + } + ], + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" + } + ], "item": [ { "extension": [ @@ -184,44 +350,62 @@ "valueCodeableConcept": { "coding": [ { - "code": "radio-button", + "code": "autocomplete", "system": "http://hl7.org/fhir/questionnaire-item-control" } ] } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", - "valueCode": "horizontal" } ], - "linkId": "9f5787e6-8ece-46a4-8d67-e7c3e14daf18", - "text": "Vaccines recorded on Australian Immunisation Register?", - "type": "choice", - "repeats": false, - "answerValueSet": "#YesNo" + "linkId": "vaccinestoday-vaccine", + "text": "Vaccine", + "type": "open-choice", + "answerValueSet": "#amt-vaccine-1" }, { - "linkId": "c8da01ec-de58-46e3-81a1-2c49aed8c28e", - "text": "Details", - "type": "text", - "repeats": false, - "enableWhen": [ - { - "question": "9f5787e6-8ece-46a4-8d67-e7c3e14daf18", - "operator": "=", - "answerCoding": { - "code": "Y", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - } - ] + "linkId": "vaccinestoday-batch", + "text": "Batch number", + "type": "string" + }, + { + "linkId": "vaccinestoday-date", + "text": "Administration date", + "type": "date" + }, + { + "linkId": "vaccinestoday-comment", + "text": "Comment", + "type": "string" } ], - "linkId": "cc522cb1-b553-48c7-9028-61d15dd60845", + "linkId": "vaccinestoday", "text": "Vaccines given today", "type": "group", - "repeats": false + "repeats": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "radio-button", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", + "valueCode": "horizontal" + } + ], + "linkId": "vaccinesrecorded", + "text": "Have all vaccines been recorded on the Australian Immunisation Register?", + "type": "choice", + "repeats": false, + "answerValueSet": "#YesNo" }, { "linkId": "bcd1c9f2-889e-41e5-8c2b-a70221c5cec5", @@ -236,7 +420,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -261,13 +445,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -304,6 +501,125 @@ } ] } + }, + { + "resourceType": "ValueSet", + "id": "amt-vaccine-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "status": "active", + "name": "AustralianMedicinesTerminologyVaccine", + "title": "Australian Medicines Terminology Vaccine", + "description": "The Australian Medicines Terminology (AMT) Vaccine value set includes AMT product concepts that may be used to record a vaccine product.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/amt-vaccine-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10042" + } + ], + "version": "1.0.2", + "experimental": false, + "date": "2020-05-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "copyright": "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\n This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "in", + "value": "1156291000168106" + } + ] + } + ] + } + }, + { + "resourceType": "Immunization", + "id": "ImmunizationTemplate", + "status": "completed", + "vaccineCode": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='vaccinestoday-vaccine').answer.value" + } + ], + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(Coding)" + } + ] + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(string)" + } + ] + } + }, + "patient": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "note": [ + { + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='vaccinestoday-comment').answer.value" + } + ] + } + } + ], + "_occurrenceDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='vaccinestoday-date').answer.value.toDateTime()" + } + ] + }, + "_lotNumber": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='vaccinestoday-batch').answer.value" + } + ] + } } ], "extension": [ @@ -351,18 +667,55 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "Immunization", + "language": "application/x-fhir-query", + "expression": "Immunization?patient={{%patient.id}}&status=completed" + } + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/Immunisation", "name": "Immunisation", + "title": "Aboriginal and Torres Strait Islander Health Check - Immunisation", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-Investigations.json b/fsh-generated/resources/Questionnaire-Investigations.json index e37a1401..a42fd74d 100644 --- a/fsh-generated/resources/Questionnaire-Investigations.json +++ b/fsh-generated/resources/Questionnaire-Investigations.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/Investigations", - "title": "Aboriginal and Torres Strait Islander Health Check - Investigations", - "description": "Investigations sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-14", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -163,7 +159,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -222,18 +218,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/Investigations", "name": "Investigations", + "title": "Aboriginal and Torres Strait Islander Health Check - Investigations", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-LearningAndDevelopment.json b/fsh-generated/resources/Questionnaire-LearningAndDevelopment.json index f4f1ea70..3906a600 100644 --- a/fsh-generated/resources/Questionnaire-LearningAndDevelopment.json +++ b/fsh-generated/resources/Questionnaire-LearningAndDevelopment.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/LearningAndDevelopment", - "title": "Aboriginal and Torres Strait Islander Health Check - Learning And Development", - "description": "Learning And Development sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-15", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -237,7 +233,7 @@ } ], "linkId": "20ae39db-7bb5-4af4-ac59-3298d20719d8", - "text": "details", + "text": "Details", "type": "display" } ], @@ -272,7 +268,7 @@ } ], "linkId": "61ff302c-9ef0-414c-a9f8-e2b8d119373c", - "text": "details", + "text": "Details", "type": "display" } ], @@ -307,7 +303,7 @@ } ], "linkId": "520a4544-a48b-4864-8cfd-6af263756f1b", - "text": "details", + "text": "Details", "type": "display" } ], @@ -342,7 +338,7 @@ } ], "linkId": "2e24a8de-c23d-409a-a5d6-96345177e105", - "text": "details", + "text": "Details", "type": "display" } ], @@ -377,7 +373,7 @@ } ], "linkId": "f95dd477-98a2-4534-b8ab-5a74d1b46502", - "text": "details", + "text": "Details", "type": "display" } ], @@ -412,12 +408,12 @@ } ], "linkId": "f513b077-5714-4b14-b44f-30a979509651", - "text": "details", + "text": "Details", "type": "display" } ], "linkId": "9371dddc-49f4-4a8f-a9dc-a0e128f99636", - "text": "Are there any other concerns about your child's learning and development", + "text": "Are there any other concerns about your child's learning and development?", "type": "text", "repeats": false }, @@ -434,7 +430,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -493,18 +489,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/LearningAndDevelopment", "name": "LearningAndDevelopment", + "title": "Aboriginal and Torres Strait Islander Health Check - Learning And Development", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-LearningAndWork.json b/fsh-generated/resources/Questionnaire-LearningAndWork.json index 77754cce..2d09fe47 100644 --- a/fsh-generated/resources/Questionnaire-LearningAndWork.json +++ b/fsh-generated/resources/Questionnaire-LearningAndWork.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/LearningAndWork", - "title": "Aboriginal and Torres Strait Islander Health Check - Learning And Work", - "description": "Learning And Work sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -18,7 +14,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 12).intersect(%age < 50)" + "expression": "(%age > 12) and (%age < 50)" } } ], @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-33", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -240,7 +236,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -292,8 +288,8 @@ "enableWhen": [ { "question": "MarkComplete-16", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -317,7 +313,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -374,12 +370,6 @@ "type": "group", "repeats": false }, - { - "linkId": "ed6f7800-e22a-4639-9d11-faf845513500", - "text": "Health priorities, actions and follow-up", - "type": "text", - "repeats": false - }, { "linkId": "MarkComplete-16", "text": "Mark section as complete", @@ -387,7 +377,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -412,13 +402,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -466,13 +469,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNoNA", "experimental": false, "expansion": { - "identifier": "urn:uuid:5baa5444-e553-4412-a08c-9ce93d3271e0", - "timestamp": "2023-09-01T11:16:50+10:00", + "identifier": "urn:uuid:7fce8cc7-b936-4258-921d-923629b04439", + "timestamp": "2025-05-01T10:00:47+10:00", "total": 3, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -565,18 +581,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/LearningAndWork", "name": "LearningAndWork", + "title": "Aboriginal and Torres Strait Islander Health Check - Learning And Work", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-MedicalHistoryCurrentProblems.json b/fsh-generated/resources/Questionnaire-MedicalHistoryCurrentProblems.json index 4d182746..3225b290 100644 --- a/fsh-generated/resources/Questionnaire-MedicalHistoryCurrentProblems.json +++ b/fsh-generated/resources/Questionnaire-MedicalHistoryCurrentProblems.json @@ -5,12 +5,10 @@ "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp", + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/MedicalHistoryCurrentProblems", - "title": "Aboriginal and Torres Strait Islander Health Check - Medical History And Current Problems", - "description": "Medical History sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +49,8 @@ "enableWhen": [ { "question": "MarkComplete-17", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +74,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -89,19 +87,6 @@ } ] }, - { - "linkId": "RecordUpdate-MedHistory", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.", - "_text": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" - } - ] - }, - "type": "display" - }, { "extension": [ { @@ -110,214 +95,246 @@ "language": "text/fhirpath", "expression": "%age <= 5" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", - "valueCoding": { - "code": "wk", - "system": "http://unitsofmeasure.org" - } } ], "item": [ { "extension": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "code": "unit", - "system": "http://hl7.org/fhir/questionnaire-item-control" - } - ] + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", + "valueCoding": { + "code": "wk", + "system": "http://unitsofmeasure.org" } } ], - "linkId": "f3899852-36c4-441f-9a7d-544ef1617f08", - "text": "weeks", - "type": "display" - } - ], - "linkId": "a10a7375-e9d3-4e71-a47a-282e9ba38ec1", - "text": "Gestation at birth", - "type": "decimal", - "repeats": false - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%age <= 5" - } + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "unit", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + } + ], + "linkId": "f3899852-36c4-441f-9a7d-544ef1617f08", + "text": "weeks", + "type": "display" + } + ], + "linkId": "a10a7375-e9d3-4e71-a47a-282e9ba38ec1", + "text": "Gestation at birth", + "type": "decimal", + "repeats": false }, - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", - "valueCoding": { - "code": "kg", - "system": "http://unitsofmeasure.org" - } - } - ], - "item": [ { "extension": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "code": "unit", - "system": "http://hl7.org/fhir/questionnaire-item-control" - } - ] + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", + "valueCoding": { + "code": "kg", + "system": "http://unitsofmeasure.org" } } ], - "linkId": "87cf1ecd-6d1b-4de1-894d-58bd77dcfde1", - "text": "kg", - "type": "display" + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "unit", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + } + ], + "linkId": "87cf1ecd-6d1b-4de1-894d-58bd77dcfde1", + "text": "kg", + "type": "display" + } + ], + "linkId": "29b6d8ea-23b2-4a69-98d9-899198692de7", + "text": "Birth weight", + "type": "decimal", + "repeats": false } ], - "linkId": "29b6d8ea-23b2-4a69-98d9-899198692de7", - "text": "Birth weight", - "type": "decimal", + "linkId": "b9de2b58-55e2-436d-95ab-49600508cdf7", + "text": "Birth history", + "type": "group", "repeats": false }, { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "code": "gtable", - "system": "http://hl7.org/fhir/questionnaire-item-control" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", - "valueExpression": { - "name": "ConditionRepeat", - "language": "text/fhirpath", - "expression": "%Condition.entry.resource.where(category.coding.exists(code='problem-list-item'))" - } - } - ], "item": [ { "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton", + "valueBoolean": true + }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { - "code": "autocomplete", + "code": "gtable", "system": "http://hl7.org/fhir/questionnaire-item-control" } ] } }, { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", "valueExpression": { + "name": "ConditionRepeat", "language": "text/fhirpath", - "expression": "%ConditionRepeat.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" + "expression": "%Condition.entry.resource.where(verificationStatus.coding.all(code.empty() or code='confirmed'))" } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#ConditionPatchTemplate" + } + }, + { + "url": "resourceId", + "valueString": "item.where(linkId='conditionId').answer.value" + }, + { + "url": "type", + "valueCode": "Condition" + } + ] } ], - "linkId": "59b1900a-4f85-4a8c-b9cd-3fe2fd76f27e", - "text": "Condition", - "type": "open-choice", - "answerValueSet": "#MedicalHistory" - }, - { - "extension": [ + "item": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "code": "drop-down", - "system": "http://hl7.org/fhir/questionnaire-item-control" + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ConditionRepeat.id" } - ] - } + } + ], + "linkId": "conditionId", + "type": "string" }, { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ConditionRepeat.clinicalStatus.coding" - } - } - ], - "linkId": "88bcfad7-386b-4d87-b34b-2e50482e4d2c", - "text": "Clinical Status", - "type": "choice", - "answerValueSet": "http://hl7.org/fhir/ValueSet/condition-clinical" - }, - { - "extension": [ + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "autocomplete", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ConditionRepeat.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" + } + } + ], + "linkId": "59b1900a-4f85-4a8c-b9cd-3fe2fd76f27e", + "text": "Condition", + "type": "open-choice", + "answerValueSet": "#clinical-condition-1", + "readOnly": true + }, { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ConditionRepeat.onset.ofType(dateTime)" - } - } - ], - "linkId": "6ae641ad-95bb-4cdc-8910-5a52077e492c", - "text": "Onset Date", - "type": "date" - }, - { - "extension": [ + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "drop-down", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ConditionRepeat.clinicalStatus.coding" + } + } + ], + "linkId": "88bcfad7-386b-4d87-b34b-2e50482e4d2c", + "text": "Clinical status", + "type": "choice", + "answerValueSet": "#condition-clinical" + }, { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ConditionRepeat.recordedDate" - } + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ConditionRepeat.onset.ofType(dateTime).toDate()" + } + } + ], + "linkId": "6ae641ad-95bb-4cdc-8910-5a52077e492c", + "text": "Onset date", + "type": "date", + "readOnly": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ConditionRepeat.abatement.ofType(dateTime).toDate()" + } + } + ], + "linkId": "e4524654-f6de-4717-b288-34919394d46b", + "text": "Abatement date", + "type": "date" } ], - "linkId": "18b9e159-2ed7-4047-82b7-deb2a171de4f", - "text": "Recorded Date", - "type": "date" - } - ], - "linkId": "92bd7d05-9b5e-4cf9-900b-703f361dad9d", - "text": "Medical history and current problems list", - "_text": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n

Medical history and current problems list

\r\n

This list includes items from the clinical record. If you wish to enter additional diagnoses, either update the clinical record and repopulate this form or add them to the \"New diagnoses list\" below and later update the clinical record as required.

\r\n
" - } - ] - }, - "type": "group", - "repeats": true - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ + "linkId": "92bd7d05-9b5e-4cf9-900b-703f361dad9d", + "text": "Medical history summary", + "_text": { + "extension": [ { - "code": "gtable", - "system": "http://hl7.org/fhir/questionnaire-item-control" + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true } ] - } - } - ], - "item": [ + }, + "type": "group", + "repeats": true + }, { "extension": [ { @@ -325,52 +342,80 @@ "valueCodeableConcept": { "coding": [ { - "code": "autocomplete", + "code": "gtable", "system": "http://hl7.org/fhir/questionnaire-item-control" } ] } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#ConditionTemplate" + } + } + ] } ], - "linkId": "2da85994-2d5e-42f1-8a81-abf44f397468", - "text": "Condition", - "type": "open-choice", - "answerValueSet": "#MedicalHistory" - }, - { - "extension": [ + "item": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "code": "drop-down", - "system": "http://hl7.org/fhir/questionnaire-item-control" + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "autocomplete", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] } - ] - } + } + ], + "linkId": "2da85994-2d5e-42f1-8a81-abf44f397468", + "text": "Condition", + "type": "open-choice", + "answerValueSet": "#clinical-condition-1" + }, + { + "linkId": "4d55bffb-3286-4a23-a785-3b9c346d464d", + "text": "Onset date", + "type": "date" + }, + { + "linkId": "newdiagnosis-comment", + "text": "Comment", + "type": "string" } ], - "linkId": "a7e056be-fb6f-4f7f-b04d-5b809e1e18e3", - "text": "Clinical Status", - "type": "choice", - "answerValueSet": "http://hl7.org/fhir/ValueSet/condition-clinical" - }, - { - "linkId": "e4524654-f6de-4717-b288-34919394d46b", - "text": "Onset Date", - "type": "date" - }, - { - "linkId": "5bc1d8f4-6e8c-4695-916c-1ef767306e46", - "text": "Recorded Date", - "type": "date" + "linkId": "newdiagnosis", + "text": "New diagnosis", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, + "type": "group", + "repeats": true } ], - "linkId": "4484cacd-a260-4e5f-83c1-168ca2396c04", - "text": "New diagnoses list", - "type": "group", - "repeats": true + "linkId": "medicalhistorysummary", + "text": "Medical history summary", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n

Medical history summary

\r\n

This section includes a list of existing items from the patient record.
Update these items here or update the patient record and repopulate the form.
Add new items at the bottom.

\r\n
" + } + ] + }, + "type": "group" }, { "linkId": "62774152-8a6e-4449-af9f-87bdce8b9bf5", @@ -385,7 +430,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -400,38 +445,9 @@ } ], "contained": [ - { - "resourceType": "ValueSet", - "id": "MedicalHistory", - "status": "draft", - "name": "MedicalHistory", - "title": "Medical History", - "description": "The Medical History value set includes values that may be used to represent medical history, operations and hospital admissions.", - "url": "https://smartforms.csiro.au/ig/ValueSet/MedicalHistory", - "experimental": false, - "compose": { - "include": [ - { - "system": "http://snomed.info/sct", - "filter": [ - { - "property": "constraint", - "op": "=", - "value": "^32570581000036105|Problem/Diagnosis reference set| OR ^32570141000036105|Procedure foundation reference set|" - } - ] - } - ] - } - }, { "resourceType": "ValueSet", "id": "condition-clinical", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/shareablevalueset" - ] - }, "status": "draft", "name": "ConditionClinicalStatusCodes", "title": "Condition Clinical Status Codes", @@ -457,7 +473,7 @@ "value": "urn:oid:2.16.840.1.113883.4.642.3.164" } ], - "version": "4.3.0", + "version": "4.0.1", "experimental": false, "publisher": "FHIR Project team", "contact": [ @@ -470,66 +486,278 @@ ] } ], - "copyright": "Copyright © 2011+ HL7. Creative Commons 'No Rights Reserved' (CC0)", + "copyright": "Copyright © 2011+ HL7. Licensed under Creative Commons \"No Rights Reserved\".", + "date": "2019-11-01T09:29:23+11:00", "expansion": { - "identifier": "5d4bed14-061a-42c4-853d-e6a624c4f483", - "timestamp": "2022-10-20T09:32:48+10:00", - "total": 6, + "identifier": "urn:uuid:7b100d21-fde9-4fd8-bded-80f345db777d", + "timestamp": "2025-05-01T10:00:56+10:00", + "total": 7, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/condition-clinical|4.0.1" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/condition-clinical|3.0.0" } ], "contains": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", "code": "active", - "display": "Active" + "display": "Active", + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "recurrence", + "display": "Recurrence" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "relapse", + "display": "Relapse" + } + ] }, { "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", "code": "inactive", - "display": "Inactive" - }, - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "recurrence", - "display": "Recurrence" - }, - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "relapse", - "display": "Relapse" + "display": "Inactive", + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "remission", + "display": "Remission" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "resolved", + "display": "Resolved" + } + ] }, { "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "remission", - "display": "Remission" - }, + "code": "unknown", + "display": "Unknown" + } + ] + }, + "compose": { + "include": [ { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "resolved", - "display": "Resolved" + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical" } ] + } + }, + { + "resourceType": "ValueSet", + "id": "clinical-condition-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] }, + "status": "active", + "name": "ClinicalCondition", + "title": "Clinical Condition", + "description": "The Clinical Condition value set includes values that cover a broad range of clinical concepts to support the representation of conditions, including problems, diagnoses and disorders.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10035" + } + ], + "version": "1.0.2", + "experimental": false, + "date": "2020-05-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "copyright": "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", "compose": { "include": [ { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "in", + "value": "32570581000036105" + } + ] + } + ] + } + }, + { + "resourceType": "Condition", + "id": "ConditionTemplate", + "clinicalStatus": { + "coding": [ + { + "code": "active", "system": "http://terminology.hl7.org/CodeSystem/condition-clinical" } ] + }, + "category": [ + { + "coding": [ + { + "code": "problem-list-item", + "system": "http://terminology.hl7.org/CodeSystem/condition-category" + } + ] + } + ], + "code": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='2da85994-2d5e-42f1-8a81-abf44f397468').answer.value" + } + ], + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(Coding)" + } + ] + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(string)" + } + ] + } + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "note": [ + { + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='newdiagnosis-comment').answer.value" + } + ] + } + } + ], + "_onsetDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='4d55bffb-3286-4a23-a785-3b9c346d464d').answer.value.toDateTime()" + } + ] } + }, + { + "resourceType": "Parameters", + "id": "ConditionPatchTemplate", + "parameter": [ + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "Condition.clinicalStatus" + }, + { + "name": "value", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='88bcfad7-386b-4d87-b34b-2e50482e4d2c').answer.value.first()" + } + ] + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Clinical status" + } + ] + }, + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "Condition.abatement" + }, + { + "name": "value", + "_valueDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='e4524654-f6de-4717-b288-34919394d46b').answer.value.toDateTime()" + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Abatement date" + } + ] + } + ] } ], "extension": [ @@ -577,6 +805,26 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" @@ -584,15 +832,24 @@ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "Condition" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/MedicalHistoryCurrentProblems", "name": "MedicalHistoryCurrentProblems", + "title": "Aboriginal and Torres Strait Islander Health Check - Medical History", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-MemoryAndThinking.json b/fsh-generated/resources/Questionnaire-MemoryAndThinking.json index bbc7d9c3..6bba664e 100644 --- a/fsh-generated/resources/Questionnaire-MemoryAndThinking.json +++ b/fsh-generated/resources/Questionnaire-MemoryAndThinking.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/MemoryAndThinking", - "title": "Aboriginal and Torres Strait Islander Health Check - Memory And Thinking", - "description": "Memory And Thinking sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-18", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -224,7 +220,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -249,13 +245,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -339,18 +348,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/MemoryAndThinking", "name": "MemoryAndThinking", + "title": "Aboriginal and Torres Strait Islander Health Check - Memory And Thinking", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-Mood.json b/fsh-generated/resources/Questionnaire-Mood.json index 804732d1..c93d4e14 100644 --- a/fsh-generated/resources/Questionnaire-Mood.json +++ b/fsh-generated/resources/Questionnaire-Mood.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/Mood", - "title": "Aboriginal and Torres Strait Islander Health Check - Mood", - "description": "Mood sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-19", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -186,7 +182,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -245,18 +241,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/Mood", "name": "Mood", + "title": "Aboriginal and Torres Strait Islander Health Check - Mood", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-OralAndDentalHealth.json b/fsh-generated/resources/Questionnaire-OralAndDentalHealth.json index 620639b9..d473c020 100644 --- a/fsh-generated/resources/Questionnaire-OralAndDentalHealth.json +++ b/fsh-generated/resources/Questionnaire-OralAndDentalHealth.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/OralAndDentalHealth", - "title": "Aboriginal and Torres Strait Islander Health Check - Oral And Dental Health", - "description": "Oral And Dental Health sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-20", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -274,7 +270,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -299,13 +295,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -389,18 +398,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/OralAndDentalHealth", "name": "OralAndDentalHealth", + "title": "Aboriginal and Torres Strait Islander Health Check - Oral And Dental Health", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-PatientDetails.json b/fsh-generated/resources/Questionnaire-PatientDetails.json index 67b2b856..5f5e55e7 100644 --- a/fsh-generated/resources/Questionnaire-PatientDetails.json +++ b/fsh-generated/resources/Questionnaire-PatientDetails.json @@ -8,9 +8,6 @@ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/PatientDetails", - "title": "Aboriginal and Torres Strait Islander Health Check - Patient Details", - "description": "Patient Details sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "item": [ @@ -42,8 +39,8 @@ "enableWhen": [ { "question": "MarkComplete-32", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -67,7 +64,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -81,13 +78,13 @@ ] }, { - "linkId": "RecordUpdate-Patient", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.", + "linkId": "patientdetails-writebackinstruction", + "text": "This section contains several read only, non-editable items. Updates to these items will need to be done in the patient record. The form can be repopulated to include any updates.", "_text": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" + "valueString": "
This section contains several read only, non-editable items. Updates to these items will need to be done in the patient record. The form can be repopulated to include any updates.
" } ] }, @@ -131,7 +128,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%patient.extension.where(url='http://hl7.org/fhir/StructureDefinition/individual-pronouns').extension.where(url='value').value.coding" + "expression": "%patient.extension.where(exists(url='http://hl7.org/fhir/StructureDefinition/individual-pronouns') and extension.where(url='period').value.end.empty()).extension.where(url='value').value.coding" } }, { @@ -151,7 +148,7 @@ "type": "choice", "repeats": false, "readOnly": true, - "answerValueSet": "http://terminology.hl7.org/ValueSet/pronouns" + "answerValueSet": "#australian-pronouns-1" }, { "extension": [ @@ -159,7 +156,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%patient.extension.where(url='http://hl7.org/fhir/StructureDefinition/patient-genderIdentity').value.coding" + "expression": "%patient.extension.where(exists(url='http://hl7.org/fhir/StructureDefinition/individual-genderIdentity') and extension.where(url='period').value.end.empty()).extension.where(url='value').value.coding" } }, { @@ -179,7 +176,7 @@ "type": "choice", "repeats": false, "readOnly": true, - "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1" + "answerValueSet": "#gender-identity-response-1" }, { "extension": [ @@ -210,7 +207,7 @@ "text": "Administrative gender", "type": "choice", "repeats": false, - "answerValueSet": "http://hl7.org/fhir/ValueSet/administrative-gender" + "answerValueSet": "#administrative-gender" }, { "extension": [ @@ -218,7 +215,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsSex.entry.resource.value.coding" + "expression": "%SexAtBirthCoding" } }, { @@ -238,7 +235,7 @@ "type": "choice", "repeats": false, "readOnly": true, - "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1" + "answerValueSet": "#biological-sex-1" }, { "extension": [ @@ -433,7 +430,7 @@ "valueExpression": { "name": "HomeAddressRepeat", "language": "text/fhirpath", - "expression": "%patient.address.where(use='home' and (type.empty() or type!='postal'))" + "expression": "%patient.address.where(all(use='home' and (type.empty() or type!='postal')))" } } ], @@ -524,7 +521,7 @@ "definition": "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.state", "text": "State", "type": "choice", - "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2", + "answerValueSet": "#australian-states-territories-2", "repeats": false }, { @@ -553,6 +550,15 @@ } ], "linkId": "4e0dc185-f83e-4027-b7a8-ecb543d42c6d", + "text": "Home address", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, "type": "group", "repeats": true, "enableWhen": [ @@ -567,7 +573,8 @@ "linkId": "f1262ade-843c-4eba-a86d-51a9c97d134b", "text": "Home address", "type": "group", - "repeats": false + "repeats": false, + "readOnly": true }, { "extension": [ @@ -661,7 +668,7 @@ "definition": "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.state", "text": "State", "type": "choice", - "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2", + "answerValueSet": "#australian-states-territories-2", "repeats": false }, { @@ -708,7 +715,8 @@ "linkId": "9541f0b0-f5ba-4fe7-a8e9-ad003cef897b", "text": "Home phone", "type": "string", - "repeats": true + "repeats": true, + "readOnly": true }, { "extension": [ @@ -723,9 +731,20 @@ "linkId": "4037a02b-4a85-40e0-9be6-5b17df1aac56", "text": "Mobile phone", "type": "string", - "repeats": true + "repeats": true, + "readOnly": true }, { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", + "valueExpression": { + "name": "EmergencyContactRepeat", + "language": "text/fhirpath", + "expression": "%patient.contact.where(relationship.coding.exists(code = 'C'))" + } + } + ], "item": [ { "extension": [ @@ -733,7 +752,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%patient.contact.where(relationship.coding.exists(code = 'C')).name.select((family | (given | prefix).join(' ')).join(', ').where($this != '') | text)" + "expression": "%EmergencyContactRepeat.name.select((family | (given | prefix).join(' ')).join(', ').where($this != '') | text)" } } ], @@ -778,7 +797,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%patient.contact.where(relationship.coding.exists(code = 'C')).telecom.value" + "expression": "%EmergencyContactRepeat.telecom.value" } } ], @@ -791,7 +810,8 @@ "linkId": "c22390d3-1be6-4fd1-b775-6443b7239a6b", "text": "Emergency contact", "type": "group", - "repeats": true + "repeats": true, + "readOnly": true }, { "item": [ @@ -852,7 +872,8 @@ "linkId": "df1475ea-bf7e-4bf0-a69f-7f9608c3ed3c", "text": "Medicare number", "type": "group", - "repeats": false + "repeats": false, + "readOnly": true }, { "extension": [ @@ -868,6 +889,7 @@ "text": "Pensioner Card Number", "type": "string", "repeats": false, + "readOnly": true, "maxLength": 10 }, { @@ -884,31 +906,24 @@ "text": "Health Care Card Number", "type": "string", "repeats": false, + "readOnly": true, "maxLength": 10 }, { "extension": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "code": "radio-button", - "system": "http://hl7.org/fhir/questionnaire-item-control" - } - ] + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%patient.extension.where(url='http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration').value" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", - "valueCode": "horizontal" } ], "linkId": "83814495-3a81-43f4-88df-42186cce516a", "text": "Registered for Closing the Gap PBS Co-payment Measure (CTG)", - "type": "choice", + "type": "boolean", "repeats": false, - "answerValueSet": "#YesNoNA" + "readOnly": true }, { "extension": [ @@ -1052,7 +1067,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 49).intersect(%age > 12)" + "expression": "(%age <= 49) and (%age > 12)" } } ], @@ -1371,7 +1386,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -1396,13 +1411,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNoNA", "experimental": false, "expansion": { - "identifier": "urn:uuid:5baa5444-e553-4412-a08c-9ce93d3271e0", - "timestamp": "2023-09-01T11:16:50+10:00", + "identifier": "urn:uuid:7fce8cc7-b936-4258-921d-923629b04439", + "timestamp": "2025-05-01T10:00:47+10:00", "total": 3, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -1459,39 +1487,47 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/AboriginalTorresStraitIslander", "experimental": false, "expansion": { - "identifier": "e2b013bd-1725-4299-a7a5-53635d42f1be", - "timestamp": "2022-10-20T11:38:45+10:00", + "identifier": "urn:uuid:eb422e76-71e8-48b0-a191-73285ddb91cc", + "timestamp": "2025-05-01T10:00:56+10:00", "total": 3, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.3" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.3" } ], "contains": [ { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "1", - "display": "Aboriginal but not Torres Strait Islander origin" + "display": "Aboriginal" }, { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "2", - "display": "Torres Strait Islander but not Aboriginal origin" + "display": "Torres Strait Islander" }, { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "3", - "display": "Both Aboriginal and Torres Strait Islander origin" + "display": "Aboriginal and Torres Strait Islander" } ] }, @@ -1527,50 +1563,54 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/PrimaryCarerParentGrandparent", "experimental": false, "expansion": { - "identifier": "2809c2fa-28ec-4def-9b16-93a611d29da3", - "timestamp": "2022-10-20T11:42:30+10:00", + "identifier": "urn:uuid:f8e7efc2-94d6-403e-9e40-3a3a4e9fffb4", + "timestamp": "2025-05-01T10:00:56+10:00", "total": 4, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v3-RoleCode|2018-08-12" - }, - { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|2018-08-12" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/v3-RoleCode|3.0.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|3.0.0" } ], "contains": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "2018-08-12", "code": "MTH", "display": "mother" }, { "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "2018-08-12", "code": "FTH", "display": "father" }, { "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "2018-08-12", "code": "GRPRN", "display": "grandparent" }, { "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", - "version": "2018-08-12", "code": "NA", "display": "not applicable" } @@ -1602,6 +1642,653 @@ } ] } + }, + { + "resourceType": "ValueSet", + "id": "administrative-gender", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "status": "active", + "name": "AdministrativeGender", + "title": "AdministrativeGender", + "description": "The gender of a person used for administrative purposes.", + "url": "http://hl7.org/fhir/ValueSet/administrative-gender", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + }, + { + "system": "email", + "value": "fhir@lists.hl7.org" + } + ] + } + ], + "copyright": "Copyright © 2011+ HL7. Licensed under Creative Commons \"No Rights Reserved\".", + "date": "2019-11-01T09:29:23+11:00", + "experimental": false, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", + "valueCode": "pa" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", + "valueInteger": 5 + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.3.1" + } + ], + "immutable": true, + "publisher": "HL7 (FHIR Project)", + "version": "4.0.1", + "expansion": { + "identifier": "urn:uuid:31c9098a-778c-4de6-9c2b-4f1e2db26179", + "timestamp": "2025-05-01T10:00:55+10:00", + "total": 4, + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://hl7.org/fhir/administrative-gender|4.0.1" + } + ], + "contains": [ + { + "system": "http://hl7.org/fhir/administrative-gender", + "code": "male", + "display": "Male" + }, + { + "system": "http://hl7.org/fhir/administrative-gender", + "code": "female", + "display": "Female" + }, + { + "system": "http://hl7.org/fhir/administrative-gender", + "code": "other", + "display": "Other" + }, + { + "system": "http://hl7.org/fhir/administrative-gender", + "code": "unknown", + "display": "Unknown" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/administrative-gender" + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "australian-pronouns-1", + "status": "active", + "name": "AustralianPronouns", + "title": "Australian Pronouns", + "description": "The Australian Pronouns value set includes values that indicate the pronouns to be used when communicating with or about an individual.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10284" + } + ], + "version": "1.0.0", + "experimental": false, + "date": "2024-02-29", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "copyright": "Copyright © 2024 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis material contains content from LOINC (http://loinc.org). LOINC is copyright 1995-2024, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc.\n\nThis material contains information which is protected by copyright. You may download, display, print and reproduce any material for your personal, non-commercial use or use within your organisation subject to the following terms and conditions: \n\nThis resource also includes all or a portion of material from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.", + "expansion": { + "identifier": "urn:uuid:1bc98e8c-511f-4014-a4d9-a48a8db0923d", + "timestamp": "2025-05-01T10:00:56+10:00", + "total": 7, + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" + }, + { + "name": "used-codesystem", + "valueUri": "http://loinc.org|2.80" + }, + { + "name": "version", + "valueUri": "http://loinc.org|2.80" + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" + } + ], + "contains": [ + { + "system": "http://loinc.org", + "code": "LA29518-0", + "display": "he/him/his/his/himself" + }, + { + "system": "http://loinc.org", + "code": "LA29519-8", + "display": "she/her/her/hers/herself" + }, + { + "system": "http://loinc.org", + "code": "LA29520-6", + "display": "they/them/their/theirs/themselves" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "unknown", + "display": "Unknown" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "asked-declined", + "display": "Asked But Declined" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "not-asked", + "display": "Not Asked" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "asked-unknown", + "display": "Asked But Unknown" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "LA29518-0", + "display": "he/him/his/his/himself" + }, + { + "code": "LA29519-8", + "display": "she/her/her/hers/herself" + }, + { + "code": "LA29520-6", + "display": "they/them/their/theirs/themselves" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "concept": [ + { + "code": "unknown" + }, + { + "code": "asked-declined" + }, + { + "code": "not-asked" + }, + { + "code": "asked-unknown" + } + ] + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "gender-identity-response-1", + "status": "active", + "name": "GenderIdentityResponse", + "title": "Gender Identity Response", + "description": "The Gender Identity Response value set includes values that may be used to represent a response for an individual's gender. A person's gender is a social and cultural identity, expression and experience.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10271" + } + ], + "version": "1.1.0", + "experimental": false, + "date": "2024-02-29", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "copyright": "Copyright © 2022 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.\n\n\"This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. This resource includes material that is based on Australian Bureau of Statistics data. \n\nThis resource also includes all or a portion of material from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.", + "expansion": { + "identifier": "urn:uuid:81810018-2ec2-4e42-adcc-6aab69e7750c", + "timestamp": "2025-05-01T10:00:58+10:00", + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "code": "446151000124109", + "display": "Identifies as male gender" + }, + { + "system": "http://snomed.info/sct", + "code": "446141000124107", + "display": "Identifies as female gender" + }, + { + "system": "http://snomed.info/sct", + "code": "33791000087105", + "display": "Identifies as nonbinary gender" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "unknown", + "display": "Unknown" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "asked-declined", + "display": "Asked But Declined" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "not-asked", + "display": "Not Asked" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "446151000124109" + }, + { + "code": "446141000124107" + }, + { + "code": "33791000087105" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "concept": [ + { + "code": "unknown" + }, + { + "code": "asked-declined" + }, + { + "code": "not-asked" + } + ] + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "biological-sex-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "status": "active", + "name": "BiologicalSex", + "title": "Biological Sex", + "description": "The Biological Sex value set includes values that represent the biological sex of an individual.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10198" + } + ], + "version": "1.0.0", + "experimental": false, + "date": "2020-12-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "copyright": "Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "expansion": { + "identifier": "urn:uuid:9a0c2291-6dd8-4778-9099-4622f64fa897", + "timestamp": "2025-05-01T10:00:49+10:00", + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "code": "248152002", + "display": "Female" + }, + { + "system": "http://snomed.info/sct", + "code": "32570681000036106", + "display": "Indeterminate sex" + }, + { + "system": "http://snomed.info/sct", + "code": "32570691000036108", + "display": "Intersex" + }, + { + "system": "http://snomed.info/sct", + "code": "248153007", + "display": "Male" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "constraint", + "op": "=", + "value": "^32570631000036107|Sex reference set|" + } + ] + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "australian-states-territories-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "status": "active", + "name": "AustralianStatesAndTerritories", + "title": "Australian States and Territories", + "description": "The Australian States and Territories value set includes values that represent the Australian states and territories.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10026" + } + ], + "version": "2.0.2", + "experimental": false, + "date": "2020-05-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "copyright": "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "expansion": { + "identifier": "urn:uuid:148e9412-a321-4a6f-b911-7e7908be82af", + "timestamp": "2025-05-01T10:00:57+10:00", + "total": 9, + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1|1.1.3" + } + ], + "contains": [ + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "ACT", + "display": "Australian Capital Territory" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "NSW", + "display": "New South Wales" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "NT", + "display": "Northern Territory" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "OTHER", + "display": "Other territories" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "QLD", + "display": "Queensland" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "SA", + "display": "South Australia" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "TAS", + "display": "Tasmania" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "VIC", + "display": "Victoria" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "WA", + "display": "Western Australia" + } + ] + }, + "compose": { + "include": [ + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "concept": [ + { + "code": "ACT" + }, + { + "code": "NSW" + }, + { + "code": "NT" + }, + { + "code": "OTHER" + }, + { + "code": "QLD" + }, + { + "code": "SA" + }, + { + "code": "TAS" + }, + { + "code": "VIC" + }, + { + "code": "WA" + } + ] + } + ] + } } ], "extension": [ @@ -1649,17 +2336,33 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" }, { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "ObsSex", - "language": "application/x-fhir-query", - "expression": "Observation?code=1515311000168102&status=final&_count=1&_sort=-date&patient={{%patient.id}}" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", + "valueString": "SexAtBirthCoding" }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", @@ -1668,15 +2371,24 @@ "language": "text/fhirpath", "expression": "%patient.address.where(type='postal')" } + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/PatientDetails", "name": "PatientDetails", + "title": "Aboriginal and Torres Strait Islander Health Check - Patient Details", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-PhysicalActivityAndScreenTime.json b/fsh-generated/resources/Questionnaire-PhysicalActivityAndScreenTime.json index 2a3ac0e6..e70f79fe 100644 --- a/fsh-generated/resources/Questionnaire-PhysicalActivityAndScreenTime.json +++ b/fsh-generated/resources/Questionnaire-PhysicalActivityAndScreenTime.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/PhysicalActivityAndScreenTime", - "title": "Aboriginal and Torres Strait Islander Health Check - Physical Activity And Screen Time", - "description": "Physical Activity And Screen Time sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-34", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -292,7 +288,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 12).intersect(%age <= 24)" + "expression": "(%age > 12) and (%age <= 24)" } } ], @@ -334,7 +330,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -386,8 +382,8 @@ "enableWhen": [ { "question": "MarkComplete-21", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -411,7 +407,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -511,7 +507,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -536,13 +532,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -626,18 +635,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/PhysicalActivityAndScreenTime", "name": "PhysicalActivityAndScreenTime", + "title": "Aboriginal and Torres Strait Islander Health Check - Physical Activity And Screen Time", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-RedFlagsEarlyIdentificationGuide.json b/fsh-generated/resources/Questionnaire-RedFlagsEarlyIdentificationGuide.json index 5d0375d0..b709b570 100644 --- a/fsh-generated/resources/Questionnaire-RedFlagsEarlyIdentificationGuide.json +++ b/fsh-generated/resources/Questionnaire-RedFlagsEarlyIdentificationGuide.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/RedFlagsEarlyIdentificationGuide", - "title": "Aboriginal and Torres Strait Islander Health Check - Red Flags Early Identification Guide For Children", - "description": "Red Flags Early Identification Guide For Children sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-22", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -109,7 +105,7 @@ } ], "linkId": "0b520b20-98df-4024-b25d-2986f6b96e77", - "text": "What age group is the child closet to?", + "text": "What age group is the child closest to?", "type": "choice", "repeats": false, "answerOption": [ @@ -226,7 +222,7 @@ "valueString": "Does not notice someone new" }, { - "valueString": "Does not pay early turn taking games (eg peekaboo, rolling a ball)" + "valueString": "Does not play early turn taking games (e.g. peekaboo, rolling a ball)" } ], "enableWhen": [ @@ -288,7 +284,7 @@ "repeats": true, "answerOption": [ { - "valueString": "When playing with toys tends to bang, drop, or throw them rather than use them for their purpose (eg Cuddle doll, build blocks)" + "valueString": "When playing with toys tends to bang, drop, or throw them rather than use them for their purpose (e.g. cuddle doll, build blocks)" } ], "enableWhen": [ @@ -415,7 +411,7 @@ "repeats": true, "answerOption": [ { - "valueString": "Not starting to babble (eg aahh, oohh)" + "valueString": "Not starting to babble (e.g. aahh, oohh)" } ], "enableWhen": [ @@ -446,10 +442,10 @@ "repeats": true, "answerOption": [ { - "valueString": "Not using gestures (eg pointing, showing, waving)" + "valueString": "Not using gestures (e.g. pointing, showing, waving)" }, { - "valueString": "Not using two part babble (eg bubu, dada)" + "valueString": "Not using two part babble (e.g. bubu, dada)" } ], "enableWhen": [ @@ -483,7 +479,7 @@ "valueString": "No babbled phrases that sound like talking" }, { - "valueString": "No response to familiar words (eg bottle, daddy)" + "valueString": "No response to familiar words (e.g. bottle, daddy)" } ], "enableWhen": [ @@ -517,7 +513,7 @@ "valueString": "No clear words" }, { - "valueString": "Cannot understand short requests (eg 'Where is the ball?')" + "valueString": "Cannot understand short requests (e.g. 'Where is the ball?')" } ], "enableWhen": [ @@ -551,7 +547,7 @@ "valueString": "Not learning new words" }, { - "valueString": "Not putting words together (eg 'push car')" + "valueString": "Not putting words together (e.g. 'push car')" } ], "enableWhen": [ @@ -585,7 +581,7 @@ "valueString": "Speech is difficult for familiar people to understand" }, { - "valueString": "Not using simple sentences (eg big car go)" + "valueString": "Not using simple sentences (e.g. big car go)" } ], "enableWhen": [ @@ -619,7 +615,7 @@ "valueString": "Speech difficult to understand" }, { - "valueString": "Not able to follow directions with two steps (eg 'Put your bag away and then go play')" + "valueString": "Not able to follow directions with two steps (e.g. 'Put your bag away and then go play')" } ], "enableWhen": [ @@ -653,7 +649,7 @@ "valueString": "Difficulty telling a parent what is wrong" }, { - "valueString": "Not able to answer questions in a simple conversation (eg What's your name? Who is your family?)" + "valueString": "Not able to answer questions in a simple conversation (e.g. What's your name? Who is your family?)" } ], "enableWhen": [ @@ -863,7 +859,7 @@ "valueString": "Does not attempt everyday care skills (such as feeding or dressing)" }, { - "valueString": "Difficulty in manipulating small objects (eg threading beads)" + "valueString": "Difficulty in manipulating small objects (e.g. threading beads)" } ], "enableWhen": [ @@ -934,7 +930,7 @@ "valueString": "Not independently able to complete everyday routines such as feeding and dressing" }, { - "valueString": "Cannot draw simple pictures (eg stick person)" + "valueString": "Cannot draw simple pictures (e.g. stick person)" } ], "enableWhen": [ @@ -1039,7 +1035,7 @@ "repeats": true, "answerOption": [ { - "valueString": "No form of independent mobility (eg crawling, commando crawling, bottom shuffle)" + "valueString": "No form of independent mobility (e.g. crawling, commando crawling, bottom shuffle)" }, { "valueString": "Not pulling to stand independently and holding on for support" @@ -1278,7 +1274,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -1337,18 +1333,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/RedFlagsEarlyIdentificationGuide", "name": "RedFlagsEarlyIdentificationGuideForChildren", + "title": "Aboriginal and Torres Strait Islander Health Check - Red Flags Early Identification Guide For Children", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-RegularMedications.json b/fsh-generated/resources/Questionnaire-RegularMedications.json index e93bc620..50263670 100644 --- a/fsh-generated/resources/Questionnaire-RegularMedications.json +++ b/fsh-generated/resources/Questionnaire-RegularMedications.json @@ -5,12 +5,10 @@ "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp", + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/RegularMedications", - "title": "Aboriginal and Torres Strait Islander Health Check - Regular Medications", - "description": "Regular Medications sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -20,10 +18,6 @@ "language": "text/fhirpath", "expression": "%age.exists()" } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", - "valueString": "Regular medications" } ], "item": [ @@ -55,8 +49,8 @@ "enableWhen": [ { "question": "MarkComplete-23", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -80,7 +74,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -93,6 +87,284 @@ } ] }, + { + "linkId": "regularmedications-instruction", + "text": "Check medications are still required, appropriate dose, understanding of medication and adherence", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n Check medications are still required, appropriate dose, understanding of medication and adherence\r\n
" + } + ] + }, + "type": "display" + }, + { + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", + "valueExpression": { + "name": "MedicationStatementRepeat", + "language": "text/fhirpath", + "expression": "%MedicationStatement.entry.resource.ofType(MedicationStatement)" + } + }, + { + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#MedicationStatementPatchTemplate" + } + }, + { + "url": "resourceId", + "valueString": "item.where(linkId='medicationStatementId').answer.value" + }, + { + "url": "type", + "valueCode": "MedicationStatement" + } + ], + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton", + "valueBoolean": true + } + ], + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%MedicationStatementRepeat.id" + } + } + ], + "linkId": "medicationStatementId", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "autocomplete", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%MedicationStatementRepeat.medication.reference.replace('#', '') in %medicationsFromContained.id, %medicationsFromContained.where(id = %MedicationStatementRepeat.medication.reference.replace('#', '')).code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first()), iif(%MedicationStatementRepeat.medication.reference.replace('Medication/', '') in %medicationsFromRef.id , %medicationsFromRef.where(id = %MedicationStatementRepeat.medication.reference.replace('Medication/', '')).code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first()) ,%MedicationStatementRepeat.medication.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())))" + } + } + ], + "linkId": "regularmedications-summary-current-medication", + "text": "Medication", + "type": "open-choice", + "repeats": false, + "readOnly": true, + "answerValueSet": "#smart-health-checks-medicine-products" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%MedicationStatementRepeat.status" + } + } + ], + "linkId": "regularmedications-summary-current-status", + "text": "Status", + "type": "choice", + "repeats": false, + "answerValueSet": "#MedicationStatementStatusLimited" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%MedicationStatementRepeat.dosage.text" + } + } + ], + "linkId": "regularmedications-summary-current-dosage", + "text": "Dosage", + "type": "text", + "repeats": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "autocomplete", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%MedicationStatementRepeat.reasonCode.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" + } + } + ], + "linkId": "regularmedications-summary-current-reasoncode", + "text": "Clinical indication", + "type": "open-choice", + "repeats": true, + "readOnly": true, + "answerValueSet": "#medication-reason-taken-1" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%MedicationStatementRepeat.note.text" + } + } + ], + "linkId": "regularmedications-summary-current-comment", + "text": "Comment", + "type": "text", + "repeats": false + } + ], + "linkId": "regularmedications-summary-current", + "text": "Current medications", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, + "type": "group", + "repeats": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#MedicationStatementTemplate" + } + } + ] + } + ], + "linkId": "regularmedications-summary-new", + "text": "New medications", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, + "type": "group", + "repeats": true, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "autocomplete", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + } + ], + "linkId": "regularmedications-summary-new-medication", + "text": "Medication", + "type": "open-choice", + "repeats": false, + "answerValueSet": "#smart-health-checks-medicine-products" + }, + { + "linkId": "regularmedications-summary-new-dosage", + "text": "Dosage", + "type": "text", + "repeats": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "autocomplete", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + } + ], + "linkId": "regularmedications-summary-new-reasoncode", + "text": "Clinical indication", + "type": "open-choice", + "repeats": true, + "answerValueSet": "#medication-reason-taken-1" + }, + { + "linkId": "regularmedications-summary-new-comment", + "text": "Comment", + "type": "text", + "repeats": false + } + ] + } + ], + "linkId": "regularmedications-summary", + "text": "Medication summary", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n

Medication summary

\r\n

This section includes a list of existing items from the patient record.
Update these items here or update the patient record and repopulate the form.
Add new items at the bottom.

\r\n
" + } + ] + }, + "type": "group", + "repeats": false + }, { "extension": [ { @@ -165,29 +437,9 @@ }, { "linkId": "874ec8db-95c9-4cc0-95db-e45edaa3cd12", - "text": "Up to date in the health record?", + "text": "Check the health record is up to date", "type": "boolean", - "repeats": false, - "required": true, - "enableWhen": [ - { - "question": "6eb59145-ed9a-4184-af83-3506d47e4d4e", - "operator": "=", - "answerCoding": { - "code": "Y", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - }, - { - "question": "3a2d27b6-e918-4df5-aca9-b374fcf9faad", - "operator": "=", - "answerCoding": { - "code": "Y", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - } - ], - "enableBehavior": "any" + "repeats": false }, { "extension": [ @@ -197,10 +449,9 @@ } ], "linkId": "36290837-ad70-48b2-9c66-31533fec918b", - "text": "Medication understanding and adherence has been checked with patient", + "text": "Check medication understanding and adherence with patient", "type": "boolean", "repeats": false, - "required": true, "enableWhen": [ { "question": "6eb59145-ed9a-4184-af83-3506d47e4d4e", @@ -234,7 +485,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -243,7 +494,7 @@ } ], "linkId": "7dfe7c6a-ca7f-4ddf-9241-a7b918a9695a", - "text": "Regular medications: check if still required, appropriate dose, understanding of medication and adherence", + "text": "Regular medications", "type": "group", "repeats": false } @@ -259,13 +510,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -302,6 +566,363 @@ } ] } + }, + { + "resourceType": "ValueSet", + "id": "smart-health-checks-medicine-products", + "status": "draft", + "name": "SmartHealthChecksMedicineProducts", + "title": "Smart Health Checks Medicine Products", + "description": "The Smart Health Checks Medicine Products value set includes Australian Medicines Terminology (AMT) product concepts that may be used for the identification of a medicine with form, ingredient and unit of measure details.", + "url": "https://smartforms.csiro.au/ig/ValueSet/smart-health-checks-medicine-products", + "experimental": false, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107", + "filter": [ + { + "property": "constraint", + "op": "=", + "value": "^ 929360081000036101|Medicinal product pack reference set| OR ^ 929360071000036103|Medicinal product unit of use reference set| OR ^ 929360041000036105|Trade product pack reference set| OR ^ 929360031000036100|Trade product unit of use reference set| OR ^ 929360051000036108|Containered trade product pack reference set|" + } + ] + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "medication-reason-taken-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "status": "active", + "name": "MedicationReasonTaken", + "title": "Medication Reason Taken", + "description": "The Medication Reason Taken value set includes values that identify a reason why a medication has been or is being taken.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/medication-reason-taken-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10048" + } + ], + "version": "1.1.0", + "experimental": false, + "date": "2020-07-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "copyright": "Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted.\n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "constraint", + "op": "=", + "value": "^32570581000036105|Problem/Diagnosis reference set| OR ^1184831000168105|Drug prophylaxis reference set| OR <<399097000|Administration of anaesthesia| OR 169443000|Preventive procedure|" + } + ] + } + ] + } + }, + { + "resourceType": "MedicationStatement", + "id": "MedicationStatementTemplate", + "status": "active", + "medicationCodeableConcept": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='regularmedications-summary-new-medication').answer.value" + } + ], + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(Coding)" + } + ] + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(string)" + } + ] + } + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "reasonCode": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='regularmedications-summary-new-reasoncode').answer.value.ofType(Coding)" + } + ], + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this" + } + ] + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='regularmedications-summary-new-reasoncode').answer.value.ofType(string)" + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this" + } + ] + } + } + ], + "note": [ + { + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='regularmedications-summary-new-comment').answer.value" + } + ] + } + } + ], + "dosage": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='regularmedications-summary-new-dosage').answer.value" + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this" + } + ] + } + } + ], + "_dateAsserted": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "now()" + } + ] + } + }, + { + "resourceType": "Parameters", + "id": "MedicationStatementPatchTemplate", + "parameter": [ + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "MedicationStatement.status" + }, + { + "name": "value", + "_valueCode": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='regularmedications-summary-current-status').answer.value.code" + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Status" + } + ] + }, + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "MedicationStatement.note[0].text" + }, + { + "name": "value", + "_valueMarkdown": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='regularmedications-summary-current-comment').answer.value.first()" + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Comment" + } + ] + }, + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "MedicationStatement.dosage[0].text" + }, + { + "name": "value", + "_valueString": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='regularmedications-summary-current-dosage').answer.value.first()" + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Dosage" + } + ] + } + ] + }, + { + "resourceType": "ValueSet", + "id": "MedicationStatementStatusLimited", + "status": "draft", + "name": "MedicationStatementStatusLimited", + "title": "Medication Statement Status Limited", + "description": "This value set includes the minimal set of codes to represent the status of a medication statement (i.e., active, completed, stopped and on-hold).", + "url": "https://smartforms.csiro.au/ig/ValueSet/MedicationStatementStatusLimited", + "experimental": false, + "expansion": { + "identifier": "urn:uuid:59fe5ac1-65bf-4606-8c2a-0a55fba1d064", + "timestamp": "2025-08-25T15:53:32+10:00", + "total": 4, + "offset": 0, + "parameter": [ + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://hl7.org/fhir/CodeSystem/medication-statement-status|4.0.1" + } + ], + "contains": [ + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "code": "active", + "display": "Active" + }, + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "code": "completed", + "display": "Completed" + }, + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "code": "stopped", + "display": "Stopped" + }, + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "code": "on-hold", + "display": "On Hold" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "concept": [ + { + "code": "active" + }, + { + "code": "completed" + }, + { + "code": "stopped" + }, + { + "code": "on-hold" + } + ] + } + ] + } } ], "extension": [ @@ -349,18 +970,71 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "MedicationStatement", + "language": "application/x-fhir-query", + "expression": "MedicationStatement?patient={{%patient.id}}&status=active&_include=MedicationStatement:medication" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "medicationsFromContained", + "language": "text/fhirpath", + "expression": "%MedicationStatement.entry.resource.contained.ofType(Medication).where(id in %MedicationStatement.entry.resource.medication.select(reference.replace('#', '')))" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "medicationsFromRef", + "language": "text/fhirpath", + "expression": "%MedicationStatement.entry.resource.ofType(Medication).where(id in %MedicationStatement.entry.resource.medication.select(reference.replace('Medication/', '')))" + } + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/RegularMedications", "name": "RegularMedications", + "title": "Aboriginal and Torres Strait Islander Health Check - Regular Medications", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-ScreeningPrograms.json b/fsh-generated/resources/Questionnaire-ScreeningPrograms.json index bab7789d..cd972c5c 100644 --- a/fsh-generated/resources/Questionnaire-ScreeningPrograms.json +++ b/fsh-generated/resources/Questionnaire-ScreeningPrograms.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/ScreeningPrograms", - "title": "Aboriginal and Torres Strait Islander Health Check - Screening Programs", - "description": "Screening Programs sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -18,7 +14,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age >= 50).intersect(%age <= 74)" + "expression": "(%age >= 50) and (%age <= 74)" } } ], @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-24", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -89,19 +85,6 @@ } ] }, - { - "linkId": "RecordUpdate-ScreeningPrograms", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.", - "_text": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" - } - ] - }, - "type": "display" - }, { "item": [ { @@ -283,7 +266,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -342,18 +325,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/ScreeningPrograms", "name": "ScreeningPrograms", + "title": "Aboriginal and Torres Strait Islander Health Check - Screening Programs", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-SexualHealth.json b/fsh-generated/resources/Questionnaire-SexualHealth.json index d5620cce..9a7da631 100644 --- a/fsh-generated/resources/Questionnaire-SexualHealth.json +++ b/fsh-generated/resources/Questionnaire-SexualHealth.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/SexualHealth", - "title": "Aboriginal and Torres Strait Islander Health Check - Sexual Health", - "description": "Sexual Health sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -18,7 +14,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 12).intersect(%age <= 24)" + "expression": "(%age > 12) and (%age <= 24)" } }, { @@ -55,8 +51,8 @@ "enableWhen": [ { "question": "MarkComplete-36", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -80,7 +76,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -143,10 +139,6 @@ }, { "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
Consider discussing as relevant to age/sex/gender:
\r\n \r\n
" - }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", "valueString": "Consider discussing items relevant to age/sex/gender" @@ -154,6 +146,14 @@ ], "linkId": "0fba3972-faa3-4f40-940c-c2f1c9b55329", "text": "Consider discussing as relevant to age/sex/gender: menstruation (including risk of anaemia); current sexual activity; contraception; safe sex practice (eg use of condoms); sexually transmitted infection symptoms and screening; blood-borne virus screening", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
Consider discussing as relevant to age/sex/gender:
\r\n \r\n
" + } + ] + }, "type": "text", "repeats": false }, @@ -170,7 +170,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -189,7 +189,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 24).intersect(%age <= 49)" + "expression": "(%age > 24) and (%age <= 49)" } } ], @@ -222,8 +222,8 @@ "enableWhen": [ { "question": "MarkComplete-35", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -247,7 +247,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -328,36 +328,7 @@ "text": "Cervical screening status", "type": "choice", "repeats": false, - "answerOption": [ - { - "valueCoding": { - "code": "736595007", - "system": "http://snomed.info/sct", - "display": "Declined" - } - }, - { - "valueCoding": { - "code": "410527000", - "system": "http://snomed.info/sct", - "display": "Offered" - } - }, - { - "valueCoding": { - "code": "171154002", - "system": "http://snomed.info/sct", - "display": "Not required" - } - }, - { - "valueCoding": { - "code": "171155001", - "system": "http://snomed.info/sct", - "display": "Up to date" - } - } - ] + "answerValueSet": "#CervicalScreeningStatus-1" }, { "linkId": "f93eb998-1502-4d8a-88a4-986117a387c5", @@ -379,10 +350,6 @@ }, { "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
Consider discussing as relevant to age/sex/gender:
\r\n \r\n
" - }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", "valueString": "Consider discussing items relevant to age/sex/gender" @@ -390,6 +357,14 @@ ], "linkId": "39b02169-ea34-4af9-aa35-1c47f7f39333", "text": "Consider discussing as relevant to age/sex/gender: contraception; menstruation; sexually transmitted infection symptoms and screening; blood-borne virus screening; continence; menopause; erectile dysfunction", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
Consider discussing as relevant to age/sex/gender:
\r\n \r\n
" + } + ] + }, "type": "text", "repeats": false }, @@ -406,7 +381,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -458,8 +433,8 @@ "enableWhen": [ { "question": "MarkComplete-25", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -483,7 +458,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -594,10 +569,6 @@ }, { "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
Consider discussing as relevant to age/sex/gender:
\r\n \r\n\t
" - }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", "valueString": "Consider discussing items relevant to age/sex/gender" @@ -605,6 +576,14 @@ ], "linkId": "8d75d1f1-290b-41fc-8e32-ad0681c650bb", "text": "Consider discussing as relevant to age/sex/gender: menopause; erectile dysfunction; prostatic symptoms", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
Consider discussing as relevant to age/sex/gender:
\r\n \r\n\t
" + } + ] + }, "type": "text", "repeats": false }, @@ -621,7 +600,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -646,13 +625,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -700,49 +692,54 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNoNotAskedDeclined", "experimental": false, "expansion": { - "identifier": "urn:uuid:8eda7c3c-cc35-49fa-ac6c-c0e4f0a4e203", - "timestamp": "2023-09-01T11:17:57+10:00", + "identifier": "urn:uuid:20552db7-8def-4e55-a0d2-cb446651929c", + "timestamp": "2025-05-01T10:00:51+10:00", "total": 4, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" + "name": "displayLanguage", + "valueCode": "en-US" }, { - "name": "used-codesystem", - "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" + "name": "count", + "valueInteger": 1000 }, { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" } ], "contains": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "version": "2.1.0", "code": "Y", "display": "Yes" }, { "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "version": "2.1.0", "code": "N", "display": "No" }, { "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "version": "2.1.0", "code": "NASK", "display": "Not Asked" }, { "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", - "version": "5.0.0-ballot", "code": "asked-declined", "display": "Asked But Declined" } @@ -778,6 +775,100 @@ } ] } + }, + { + "resourceType": "ValueSet", + "id": "CervicalScreeningStatus-1", + "status": "draft", + "name": "CervicalScreeningStatus", + "title": "Cervical Screening Status", + "description": "The Cervical Screening Status value set includes values that can be used to represent the status of an individual's participation in a cervical screening program.", + "url": "https://smartforms.csiro.au/ig/ValueSet/CervicalScreeningStatus-1", + "experimental": false, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + "valueCanonical": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + } + ], + "expansion": { + "identifier": "urn:uuid:3657ae6f-b206-482f-a745-0ff9c99358ef", + "timestamp": "2025-06-05T13:50:47+10:00", + "parameter": [ + { + "name": "used-supplement", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/ValueSet/CervicalScreeningStatus-1|0.3.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "736595007", + "display": "Declined" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "410527000", + "display": "Offered" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "171154002", + "display": "Not required" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "171155001", + "display": "Up to date" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "concept": [ + { + "code": "736595007", + "display": "Declined" + }, + { + "code": "410527000", + "display": "Offered" + }, + { + "code": "171154002", + "display": "Not required" + }, + { + "code": "171155001", + "display": "Up to date" + } + ] + } + ] + } } ], "extension": [ @@ -825,18 +916,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/SexualHealth", "name": "SexualHealth", + "title": "Aboriginal and Torres Strait Islander Health Check - Sexual Health", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-Skin.json b/fsh-generated/resources/Questionnaire-Skin.json index dba7f037..032b5aaf 100644 --- a/fsh-generated/resources/Questionnaire-Skin.json +++ b/fsh-generated/resources/Questionnaire-Skin.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/Skin", - "title": "Aboriginal and Torres Strait Islander Health Check - Skin", - "description": "Skin sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-26", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -260,7 +256,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -285,13 +281,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -375,18 +384,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/Skin", "name": "Skin", + "title": "Aboriginal and Torres Strait Islander Health Check - Skin", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-SocialAndEmotionalWellbeing.json b/fsh-generated/resources/Questionnaire-SocialAndEmotionalWellbeing.json index 1c343f36..40e5f894 100644 --- a/fsh-generated/resources/Questionnaire-SocialAndEmotionalWellbeing.json +++ b/fsh-generated/resources/Questionnaire-SocialAndEmotionalWellbeing.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/SocialAndEmotionalWellbeing", - "title": "Aboriginal and Torres Strait Islander Health Check - Social And Emotional Wellbeing", - "description": "Social And Emotional Wellbeing sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +47,8 @@ "enableWhen": [ { "question": "MarkComplete-27", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +72,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -199,7 +195,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -224,13 +220,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -314,18 +323,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/SocialAndEmotionalWellbeing", "name": "SocialAndEmotionalWellbeing", + "title": "Aboriginal and Torres Strait Islander Health Check - Social And Emotional Wellbeing", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-SocialHistoryChild.json b/fsh-generated/resources/Questionnaire-SocialHistoryChild.json index 05ede033..1bf1ce1c 100644 --- a/fsh-generated/resources/Questionnaire-SocialHistoryChild.json +++ b/fsh-generated/resources/Questionnaire-SocialHistoryChild.json @@ -4,13 +4,9 @@ "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/SocialHistoryChild", - "title": "Aboriginal and Torres Strait Islander Health Check - Social History Child", - "description": "Social History Child sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -55,8 +51,8 @@ "enableWhen": [ { "question": "MarkComplete-28", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -80,7 +76,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -215,7 +211,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -240,13 +236,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -330,18 +339,47 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/SocialHistoryChild", "name": "SocialHistoryChild", + "title": "Aboriginal and Torres Strait Islander Health Check - Social History Child", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/Questionnaire-SubstanceUse.json b/fsh-generated/resources/Questionnaire-SubstanceUse.json index 82361413..64ee4301 100644 --- a/fsh-generated/resources/Questionnaire-SubstanceUse.json +++ b/fsh-generated/resources/Questionnaire-SubstanceUse.json @@ -5,12 +5,10 @@ "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render", "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave", + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template" ] }, - "url": "http://www.health.gov.au/assessments/mbs/715/SubstanceUse", - "title": "Aboriginal and Torres Strait Islander Health Check - Substance Use", - "description": "Substance Use sub-questionnaire for Aboriginal and Torres Strait Islander Health Check.", "item": [ { "extension": [ @@ -51,8 +49,8 @@ "enableWhen": [ { "question": "MarkComplete-29", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -76,7 +74,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -89,82 +87,97 @@ } ] }, - { - "linkId": "RecordUpdate-SubstanceUse", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.", - "_text": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" - } - ] - }, - "type": "display" - }, { "item": [ { "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsTobaccoSmokingStatus.entry.resource.value.coding.where(system='http://snomed.info/sct')" - } - }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { - "code": "radio-button", + "code": "grid", "system": "http://hl7.org/fhir/questionnaire-item-control" } ] } } ], - "linkId": "b639a3a8-f476-4cc8-b5c7-f5d2abb23511", - "text": "Smoking status", - "type": "choice", - "repeats": false, - "answerOption": [ - { - "valueCoding": { - "code": "266919005", - "system": "http://snomed.info/sct", - "display": "Never smoked" - } - }, - { - "valueCoding": { - "code": "77176002", - "system": "http://snomed.info/sct", - "display": "Smoker" - } - }, - { - "valueCoding": { - "code": "8517006", - "system": "http://snomed.info/sct", - "display": "Ex-Smoker" - } - }, - { - "valueCoding": { - "code": "16090371000119103", - "system": "http://snomed.info/sct", - "display": "Environmental exposure to tobacco smoke (home, car, etc)" - } - }, - { - "valueString": "Wants to quit" - }, + "item": [ { - "valueString": "Other tobacco use" + "item": [ + { + "linkId": "substanceuse-smoking-smokingstatus-group-laststatus", + "text": "Last status", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsTobaccoSmokingStatusValue.exists() and %ObsTobaccoSmokingStatusDateFormatted.exists(), %ObsTobaccoSmokingStatusValue.display + ' ( ' + %ObsTobaccoSmokingStatusDateFormatted + ' )', 'Not available')" + } + } + ] + }, + "type": "display" + }, + { + "extension": [ + { + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#SmokingStatusTemplate" + } + } + ], + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "code": "drop-down", + "system": "http://hl7.org/fhir/questionnaire-item-control" + } + ] + } + } + ], + "linkId": "b639a3a8-f476-4cc8-b5c7-f5d2abb23511", + "text": "New status", + "type": "choice", + "repeats": false, + "answerValueSet": "#TobaccoUseStatus-1" + }, + { + "linkId": "substanceuse-smoking-smokingstatus-group-newdate", + "text": "New date", + "type": "date", + "repeats": false + } + ], + "linkId": "substanceuse-smoking-smokingstatus-group", + "text": "Smoking status", + "type": "group", + "repeats": false } - ] + ], + "linkId": "substanceuse-smoking-smokingstatus", + "text": "Smoking status", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, + "type": "group", + "repeats": false }, { "extension": [ @@ -194,22 +207,7 @@ } } ], - "answerOption": [ - { - "valueCoding": { - "code": "48031000119106", - "system": "http://snomed.info/sct", - "display": "Quit >=12 months" - } - }, - { - "valueCoding": { - "code": "735128000", - "system": "http://snomed.info/sct", - "display": "Quit <12 months" - } - } - ] + "answerValueSet": "#SmokingQuitStatus-1" }, { "linkId": "9e86387d-1be4-4c26-9047-9dd6b03e1ee0", @@ -236,7 +234,10 @@ { "question": "b639a3a8-f476-4cc8-b5c7-f5d2abb23511", "operator": "=", - "answerString": "Wants to quit" + "answerCoding": { + "code": "394872000", + "system": "http://snomed.info/sct" + } } ], "enableBehavior": "any" @@ -265,13 +266,16 @@ { "question": "b639a3a8-f476-4cc8-b5c7-f5d2abb23511", "operator": "=", - "answerString": "Wants to quit" + "answerCoding": { + "code": "394872000", + "system": "http://snomed.info/sct" + } } ], "enableBehavior": "any" } ], - "linkId": "515eda6e-973a-4b10-910a-0d4bf4f2efff", + "linkId": "substanceuse-smoking", "text": "Smoking", "type": "group", "repeats": false @@ -280,10 +284,6 @@ "item": [ { "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
Quantity and frequency of:
\r\n \r\n\t
" - }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", "valueString": "Quantity and frequency of substance use" @@ -311,6 +311,14 @@ ], "linkId": "ea73d52c-f831-46be-a45d-2c42250a5210", "text": "Quantity and frequency of: alcohol; caffeine (coffee, soft drinks, iced coffee); cannabis/yarndi/gunja; other substance use: IVDU, methamphetamine, opiates, solvents, other", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
Quantity and frequency of:
\r\n \r\n\t
" + } + ] + }, "type": "text", "repeats": false } @@ -333,7 +341,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -347,6 +355,254 @@ "repeats": false } ], + "contained": [ + { + "resourceType": "Observation", + "id": "SmokingStatusTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "code": "social-history", + "system": "http://terminology.hl7.org/CodeSystem/observation-category" + } + ] + } + ], + "code": { + "coding": [ + { + "code": "1747861000168109", + "system": "http://snomed.info/sct" + }, + { + "code": "72166-2", + "system": "http://loinc.org" + } + ], + "text": "Smoking status" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + } + ] + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='substanceuse-smoking-smokingstatus-group-newdate').answer.value.toDateTime()" + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "SmokingQuitStatus-1", + "status": "draft", + "name": "SmokingQuitStatus", + "title": "Smoking Quit Status", + "description": "The Smoking Quit Status value set includes values that can indicate how long ago an individual quit smoking.", + "url": "https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1", + "experimental": false, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + "valueCanonical": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + } + ], + "expansion": { + "identifier": "urn:uuid:93600010-14a0-4d6e-a82f-15283d13a2cb", + "timestamp": "2025-05-01T11:41:24+10:00", + "parameter": [ + { + "name": "used-supplement", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1|0.3.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "48031000119106", + "display": "Quit >12 months" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "735128000", + "display": "Quit <12 months" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "concept": [ + { + "code": "48031000119106", + "display": "Quit >12 months" + }, + { + "code": "735128000", + "display": "Quit <12 months" + } + ] + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "TobaccoUseStatus-1", + "status": "draft", + "name": "TobaccoUseStatus", + "title": "Tobacco Use Status", + "description": "The Tobacco Use Status value set includes values that may be used to represent an individual's current tobacco use and exposure status.", + "url": "https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1", + "experimental": false, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + "valueCanonical": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + } + ], + "expansion": { + "identifier": "urn:uuid:e7e976ca-5eb9-41da-9ca8-2c795c5e2dd2", + "timestamp": "2025-05-01T11:43:41+10:00", + "parameter": [ + { + "name": "used-supplement", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1|0.3.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "266919005", + "display": "Never smoked" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "77176002", + "display": "Current smoker" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "8517006", + "display": "Ex-smoker" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "16090371000119103", + "display": "Exposure to second hand tobacco smoke" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "394872000", + "display": "Wants to quit" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "713914004", + "display": "Other tobacco use" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "concept": [ + { + "code": "266919005", + "display": "Never smoked" + }, + { + "code": "77176002", + "display": "Current smoker" + }, + { + "code": "8517006", + "display": "Ex-smoker" + }, + { + "code": "16090371000119103", + "display": "Exposure to second hand tobacco smoke" + }, + { + "code": "394872000", + "display": "Wants to quit" + }, + { + "code": "713914004", + "display": "Other tobacco use" + } + ] + } + ] + } + } + ], "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation", @@ -392,26 +648,79 @@ } ] }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "code": "encounter", + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", "valueString": "age" }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", + "valueString": "ObsTobaccoSmokingStatus" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext", + "valueString": "ObsTobaccoSmokingStatusLatest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsTobaccoSmokingStatusValue", + "language": "text/fhirpath", + "expression": "%ObsTobaccoSmokingStatusLatest.value.coding.where(system='http://snomed.info/sct').first()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsTobaccoSmokingStatusDateString", + "language": "text/fhirpath", + "expression": "%ObsTobaccoSmokingStatusLatest.effective.toDate().toString()" + } + }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "ObsTobaccoSmokingStatus", - "language": "application/x-fhir-query", - "expression": "Observation?code=72166-2&_count=1&_sort=-date&patient={{%patient.id}}" + "name": "ObsTobaccoSmokingStatusDateFormatted", + "language": "text/fhirpath", + "expression": "%ObsTobaccoSmokingStatusDateString.substring(8,2).toInteger().toString() + ' ' + %ObsTobaccoSmokingStatusDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsTobaccoSmokingStatusDateString.substring(0,4)" + } + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" } } ], + "url": "http://www.health.gov.au/assessments/mbs/715/SubstanceUse", "name": "SubstanceUse", + "title": "Aboriginal and Torres Strait Islander Health Check - Substance Use", "status": "draft", "experimental": false, "subjectType": [ "Patient" ], - "date": "2022-05-24", + "date": "2025-03-14", "jurisdiction": [ { "coding": [ diff --git a/fsh-generated/resources/StructureDefinition-ContainedResourceReference.json b/fsh-generated/resources/StructureDefinition-ContainedResourceReference.json index 30d33519..5f0f8080 100644 --- a/fsh-generated/resources/StructureDefinition-ContainedResourceReference.json +++ b/fsh-generated/resources/StructureDefinition-ContainedResourceReference.json @@ -7,13 +7,6 @@ "status": "draft", "description": "This extension is intended to be used as a work around to a known bug whereby contained resources that are not referenced with the type, 'Reference' are removed before a resource is created in a HAPI FHIR server. This is problematic when referencing with the type, 'canonical'. The extension can be used to reference contained resources so they are retained when added to a HAPI FHIR server.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ @@ -46,6 +39,7 @@ { "id": "Extension.value[x]", "path": "Extension.value[x]", + "min": 1, "type": [ { "code": "Reference" diff --git a/fsh-generated/resources/StructureDefinition-GranularRepopulateSync.json b/fsh-generated/resources/StructureDefinition-GranularRepopulateSync.json new file mode 100644 index 00000000..fd4ac14f --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-GranularRepopulateSync.json @@ -0,0 +1,52 @@ +{ + "resourceType": "StructureDefinition", + "id": "GranularRepopulateSync", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/GranularRepopulateSync", + "name": "GranularRepopulateSync", + "title": "Granular Repopulate Sync", + "status": "draft", + "description": "This custom extension is used to add a UI component that allows a user to repopulate an individual Questionnaire item with the latest data from the FHIR server. This is useful for updating specific items without having to refresh the entire form.", + "fhirVersion": "4.0.1", + "kind": "complex-type", + "abstract": false, + "context": [ + { + "expression": "Questionnaire.item", + "type": "element" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Granular repopulate sync", + "definition": "If true, the item will be able to be individually repopulated with the latest data from the FHIR server.", + "max": "1" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "max": "0" + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "https://smartforms.csiro.au/ig/StructureDefinition/GranularRepopulateSync" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-GroupHideAddItemButton.json b/fsh-generated/resources/StructureDefinition-GroupHideAddItemButton.json new file mode 100644 index 00000000..8cf157bd --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-GroupHideAddItemButton.json @@ -0,0 +1,55 @@ +{ + "resourceType": "StructureDefinition", + "id": "GroupHideAddItemButton", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton", + "name": "GroupHideAddItemButton", + "title": "Group Hide Add Item Button", + "status": "draft", + "description": "This custom extension is used to hide the UI component that allows a user to add new items for repeating groups in a Questionnaire. This is useful for preventing users from adding additional groups when it is not appropriate to do so, such as when a group is intended to be prepopulated with existing data but no new ones added by the user.", + "fhirVersion": "4.0.1", + "kind": "complex-type", + "abstract": false, + "context": [ + { + "expression": "Questionnaire.item", + "type": "element" + } + ], + "contextInvariant": [ + "type='group' and repeats=true" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Group hide add item button", + "definition": "If true, the UI component that allows a user to add new items will be hidden.", + "max": "1" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "max": "0" + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-QuestionnaireItemTextHidden.json b/fsh-generated/resources/StructureDefinition-QuestionnaireItemTextHidden.json new file mode 100644 index 00000000..5e30356c --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-QuestionnaireItemTextHidden.json @@ -0,0 +1,52 @@ +{ + "resourceType": "StructureDefinition", + "id": "QuestionnaireItemTextHidden", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "name": "QuestionnaireItemTextHidden", + "title": "Questionnaire Item Text Hidden", + "status": "draft", + "description": "This custom extension is used to indicate that the text of a Questionnaire item should be hidden in the user interface. This is useful for items where the text is not intended to be displayed to the user but is still needed for other processes.", + "fhirVersion": "4.0.1", + "kind": "complex-type", + "abstract": false, + "context": [ + { + "expression": "Questionnaire.item.text", + "type": "element" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Don't display text to user", + "definition": "If true, indicates that the text of an item should not be displayed to the user.", + "max": "1" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "max": "0" + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCAllergyIntolerance.json b/fsh-generated/resources/StructureDefinition-SHCAllergyIntolerance.json new file mode 100644 index 00000000..b0d35119 --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCAllergyIntolerance.json @@ -0,0 +1,417 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCAllergyIntolerance", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerance", + "name": "SmartHealthChecksAllergyIntolerance", + "title": "Smart Health Checks AllergyIntolerance", + "status": "draft", + "description": "This profile sets the minimum expectations for an AllergyIntolerance resource to record, search and save allergy or intolerance information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "AllergyIntolerance", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-allergyintolerance", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "AllergyIntolerance.id", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "AllergyIntolerance.id", + "mustSupport": true + }, + { + "id": "AllergyIntolerance.clinicalStatus", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "AllergyIntolerance.clinicalStatus" + }, + { + "id": "AllergyIntolerance.verificationStatus", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "AllergyIntolerance.verificationStatus" + }, + { + "id": "AllergyIntolerance.code", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "AllergyIntolerance.code" + }, + { + "id": "AllergyIntolerance.patient", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "AllergyIntolerance.patient" + }, + { + "id": "AllergyIntolerance.note", + "path": "AllergyIntolerance.note", + "max": "1", + "mustSupport": true + }, + { + "id": "AllergyIntolerance.note.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "AllergyIntolerance.note.text", + "mustSupport": true + }, + { + "id": "AllergyIntolerance.reaction.manifestation", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "AllergyIntolerance.reaction.manifestation" + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCAllergyIntolerancePatch.json b/fsh-generated/resources/StructureDefinition-SHCAllergyIntolerancePatch.json new file mode 100644 index 00000000..1e243c19 --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCAllergyIntolerancePatch.json @@ -0,0 +1,1119 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCAllergyIntolerancePatch", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerancePatch", + "name": "SmartHealthChecksAllergyIntolerancePatch", + "title": "Smart Health Checks AllergyIntolerance Patch", + "status": "draft", + "description": "This profile sets the expectations for a Parameters resource when used to patch AllergyIntolerance resources within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Parameters", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Parameters.parameter", + "path": "Parameters.parameter", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1 + }, + { + "id": "Parameters.parameter:clinicalStatus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter", + "sliceName": "clinicalStatus", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.name", + "short": "Parameters for clinicalStatus patching", + "patternString": "operation", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part", + "path": "Parameters.parameter.part", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "name" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 3 + }, + { + "id": "Parameters.parameter:clinicalStatus.part:type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "type", + "short": "Patch operation to perform", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:type.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "patternString": "type", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:type.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "code" + } + ], + "patternCode": "replace", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:path", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "path", + "short": "Where to perform the operation", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:path.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "patternString": "path", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:path.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "patternString": "AllergyIntolerance.clinicalStatus", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:value", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "value", + "short": "Replacement value", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:value.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "patternString": "value", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:value.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "https://smartforms.csiro.au/ig/ValueSet/AllergyIntoleranceClinicalStatusMinimal" + } + }, + { + "id": "Parameters.parameter:clinicalStatus.part:value.value[x].coding", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x].coding", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:pathLabel", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "pathLabel", + "short": "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:pathLabel.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "patternString": "pathLabel", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:pathLabel.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "patternString": "Clinical status", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter", + "sliceName": "comment", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.name", + "short": "Parameters for note.text patching", + "patternString": "operation", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part", + "path": "Parameters.parameter.part", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "name" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 3 + }, + { + "id": "Parameters.parameter:comment.part:type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "type", + "short": "Patch operation to perform", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:type.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "patternString": "type", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:type.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "code" + } + ], + "patternCode": "replace", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:path", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "path", + "short": "Where to perform the operation", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:path.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "patternString": "path", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:path.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "patternString": "AllergyIntolerance.note[0].text", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:value", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "value", + "short": "Replacement value", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:value.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "patternString": "value", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:value.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "markdown" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:pathLabel", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "pathLabel", + "short": "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:pathLabel.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "patternString": "pathLabel", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:pathLabel.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "patternString": "Comment", + "mustSupport": true + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCBloodPressure.json b/fsh-generated/resources/StructureDefinition-SHCBloodPressure.json new file mode 100644 index 00000000..090de41c --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCBloodPressure.json @@ -0,0 +1,510 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCBloodPressure", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCBloodPressure", + "name": "SmartHealthChecksBloodPressure", + "title": "Smart Health Checks Blood Pressure", + "status": "draft", + "description": "This profile sets the minimum expectations for a Blood Pressure resource to record, search and save blood pressure information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bloodpressure", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.status" + }, + { + "id": "Observation.category:VSCat", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.category", + "sliceName": "VSCat" + }, + { + "id": "Observation.code.coding:BPCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "BPCode", + "mustSupport": true + }, + { + "id": "Observation.code.coding:snomedBPCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "snomedBPCode", + "mustSupport": true + }, + { + "id": "Observation.code.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.text", + "mustSupport": true + }, + { + "id": "Observation.subject", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.subject" + }, + { + "id": "Observation.effective[x]", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.effective[x]" + }, + { + "id": "Observation.component:SystolicBP", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.component", + "sliceName": "SystolicBP" + }, + { + "id": "Observation.component:DiastolicBP", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.component", + "sliceName": "DiastolicBP" + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCBodyHeight.json b/fsh-generated/resources/StructureDefinition-SHCBodyHeight.json new file mode 100644 index 00000000..8dd85df1 --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCBodyHeight.json @@ -0,0 +1,642 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCBodyHeight", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyHeight", + "name": "SmartHealthChecksBodyHeight", + "title": "Smart Health Checks Body Height", + "status": "draft", + "description": "This profile sets the minimum expectations for a Body Height resource to record, search and save body height information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyheight", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.status" + }, + { + "id": "Observation.category:VSCat", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.category", + "sliceName": "VSCat" + }, + { + "id": "Observation.code.coding:BodyHeightCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "BodyHeightCode", + "mustSupport": true + }, + { + "id": "Observation.code.coding:snomedBodyHeightCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "snomedBodyHeightCode", + "mustSupport": true + }, + { + "id": "Observation.code.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.text", + "mustSupport": true + }, + { + "id": "Observation.subject", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.subject" + }, + { + "id": "Observation.effective[x]", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.effective[x]" + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "type": [ + { + "code": "Quantity" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].value" + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].unit" + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].system" + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].code" + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCBodyWeight.json b/fsh-generated/resources/StructureDefinition-SHCBodyWeight.json new file mode 100644 index 00000000..599b4ed0 --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCBodyWeight.json @@ -0,0 +1,642 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCBodyWeight", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyWeight", + "name": "SmartHealthChecksBodyWeight", + "title": "Smart Health Checks Body Weight", + "status": "draft", + "description": "This profile sets the minimum expectations for a Body Weight resource to record, search and save body weight information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyweight", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.status" + }, + { + "id": "Observation.category:VSCat", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.category", + "sliceName": "VSCat" + }, + { + "id": "Observation.code.coding:BodyWeightCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "BodyWeightCode", + "mustSupport": true + }, + { + "id": "Observation.code.coding:snomedBodyWeightCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "snomedBodyWeightCode", + "mustSupport": true + }, + { + "id": "Observation.code.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.text", + "mustSupport": true + }, + { + "id": "Observation.subject", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.subject" + }, + { + "id": "Observation.effective[x]", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.effective[x]" + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "type": [ + { + "code": "Quantity" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].value" + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].unit" + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].system" + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].code" + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCCondition.json b/fsh-generated/resources/StructureDefinition-SHCCondition.json new file mode 100644 index 00000000..43a8540c --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCCondition.json @@ -0,0 +1,573 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCCondition", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCCondition", + "name": "SmartHealthChecksCondition", + "title": "Smart Health Checks Condition", + "status": "draft", + "description": "This profile sets the minimum expectations for a Condition resource to record, search and save condition information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Condition", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Condition.id", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Condition.id", + "mustSupport": true + }, + { + "id": "Condition.clinicalStatus", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Condition.clinicalStatus" + }, + { + "id": "Condition.verificationStatus", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Condition.verificationStatus" + }, + { + "id": "Condition.category", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Condition.category" + }, + { + "id": "Condition.code", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Condition.code" + }, + { + "id": "Condition.subject", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Condition.subject" + }, + { + "id": "Condition.onset[x]", + "path": "Condition.onset[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "Condition.onset[x]:onsetDateTime", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Condition.onset[x]", + "sliceName": "onsetDateTime", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mustSupport": true + }, + { + "id": "Condition.abatement[x]", + "path": "Condition.abatement[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "Condition.abatement[x]:abatementDateTime", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Condition.abatement[x]", + "sliceName": "abatementDateTime", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mustSupport": true + }, + { + "id": "Condition.note.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Condition.note.text", + "mustSupport": true + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCConditionPatch.json b/fsh-generated/resources/StructureDefinition-SHCConditionPatch.json new file mode 100644 index 00000000..7d31a9a5 --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCConditionPatch.json @@ -0,0 +1,1119 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCConditionPatch", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCConditionPatch", + "name": "SmartHealthChecksConditionPatch", + "title": "Smart Health Checks Condition Patch", + "status": "draft", + "description": "This profile sets the expectations for a Parameters resource when used to patch Condition resources within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Parameters", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Parameters.parameter", + "path": "Parameters.parameter", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "part" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1 + }, + { + "id": "Parameters.parameter:clinicalStatus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter", + "sliceName": "clinicalStatus", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.name", + "short": "Parameters for clinicalStatus patching", + "fixedString": "operation", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part", + "path": "Parameters.parameter.part", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "name" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 3 + }, + { + "id": "Parameters.parameter:clinicalStatus.part:type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "type", + "short": "Patch operation to perform", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:type.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "type", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:type.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "replace", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:path", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "path", + "short": "Where to perform the operation", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:path.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "path", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:path.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "fixedString": "Condition.clinicalStatus", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:value", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "value", + "short": "Replacement value", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:value.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "value", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:value.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical" + } + }, + { + "id": "Parameters.parameter:clinicalStatus.part:value.value[x].coding", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x].coding", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:pathLabel", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "pathLabel", + "short": "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:pathLabel.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "pathLabel", + "mustSupport": true + }, + { + "id": "Parameters.parameter:clinicalStatus.part:pathLabel.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "fixedString": "Clinical status", + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter", + "sliceName": "abatementDate", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.name", + "short": "Parameters for abatement patching", + "fixedString": "operation", + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate.part", + "path": "Parameters.parameter.part", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "name" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 3 + }, + { + "id": "Parameters.parameter:abatementDate.part:type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "type", + "short": "Patch operation to perform", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate.part:type.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "type", + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate.part:type.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "replace", + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate.part:path", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "path", + "short": "Where to perform the operation", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate.part:path.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "path", + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate.part:path.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "fixedString": "Condition.abatement", + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate.part:value", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "value", + "short": "Replacement value", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate.part:value.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "value", + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate.part:value.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "dateTime" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate.part:pathLabel", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "pathLabel", + "short": "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate.part:pathLabel.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "pathLabel", + "mustSupport": true + }, + { + "id": "Parameters.parameter:abatementDate.part:pathLabel.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "fixedString": "Abatement date", + "mustSupport": true + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCEncounter.json b/fsh-generated/resources/StructureDefinition-SHCEncounter.json new file mode 100644 index 00000000..c69f3b53 --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCEncounter.json @@ -0,0 +1,52 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCEncounter", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCEncounter", + "name": "SmartHealthChecksEncounter", + "title": "Smart Health Checks Encounter", + "status": "draft", + "description": "This profile sets the minimum expectations for a Encounter resource to search and retrieve encounter information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Encounter", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Encounter.id", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Encounter.id", + "mustSupport": true + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCExtractBundle.json b/fsh-generated/resources/StructureDefinition-SHCExtractBundle.json new file mode 100644 index 00000000..005386f0 --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCExtractBundle.json @@ -0,0 +1,563 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCExtractBundle", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCExtractBundle", + "name": "SmartHealthChecksExtractBundle", + "title": "Smart Health Checks Extract Bundle", + "status": "draft", + "description": "This profile sets the expectations for a Bundle resource when used to represent a transaction bundle of resources extracted by the SHC App following the completion of a Smart Health Checks Questionnaire. This bundle is used to write patient information to the SHC Host FHIR server.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Bundle", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Bundle.type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.type", + "fixedCode": "transaction", + "mustSupport": true + }, + { + "id": "Bundle.timestamp", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.timestamp", + "min": 1, + "mustSupport": true + }, + { + "id": "Bundle.entry", + "path": "Bundle.entry", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "request.method" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1 + }, + { + "id": "Bundle.entry:post", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.entry", + "sliceName": "post", + "short": "Entries for creating new resources", + "min": 0, + "max": "*", + "mustSupport": true + }, + { + "id": "Bundle.entry:post.fullUrl", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.entry.fullUrl", + "min": 1, + "mustSupport": true + }, + { + "id": "Bundle.entry:post.resource", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.entry.resource", + "min": 1, + "type": [ + { + "code": "AllergyIntolerance", + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerance" + ] + }, + { + "code": "Condition", + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCCondition" + ] + }, + { + "code": "Immunization", + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCImmunization" + ] + }, + { + "code": "MedicationStatement", + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatement" + ] + }, + { + "code": "Observation", + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCBloodPressure", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyHeight", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyWeight", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRate", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRhythm", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCSmokingStatus", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCWaistCircumference", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeadCircumference" + ] + } + ], + "mustSupport": true + }, + { + "id": "Bundle.entry:post.request", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.entry.request", + "min": 1, + "mustSupport": true + }, + { + "id": "Bundle.entry:post.request.method", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.entry.request.method", + "fixedCode": "POST", + "mustSupport": true + }, + { + "id": "Bundle.entry:post.request.url", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.entry.request.url", + "mustSupport": true + }, + { + "id": "Bundle.entry:patch", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.entry", + "sliceName": "patch", + "short": "Entries for patching existing resources", + "min": 0, + "max": "*", + "mustSupport": true + }, + { + "id": "Bundle.entry:patch.fullUrl", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.entry.fullUrl", + "min": 1, + "mustSupport": true + }, + { + "id": "Bundle.entry:patch.resource", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.entry.resource", + "min": 1, + "type": [ + { + "code": "Parameters", + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerancePatch", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCConditionPatch", + "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatementPatch" + ] + } + ], + "mustSupport": true + }, + { + "id": "Bundle.entry:patch.request", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.entry.request", + "min": 1, + "mustSupport": true + }, + { + "id": "Bundle.entry:patch.request.method", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.entry.request.method", + "fixedCode": "PATCH", + "mustSupport": true + }, + { + "id": "Bundle.entry:patch.request.url", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Bundle.entry.request.url", + "mustSupport": true + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCHeadCircumference.json b/fsh-generated/resources/StructureDefinition-SHCHeadCircumference.json new file mode 100644 index 00000000..7f368cb9 --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCHeadCircumference.json @@ -0,0 +1,446 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCHeadCircumference", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeadCircumference", + "name": "SmartHealthChecksHeadCircumference", + "title": "Smart Health Checks Head Circumference", + "status": "draft", + "description": "This profile sets the minimum expectations for a Head Circumference resource to record, search and save head circumference information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.status" + }, + { + "id": "Observation.category:VSCat", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.category", + "sliceName": "VSCat" + }, + { + "id": "Observation.code.coding:HeadCircumCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "HeadCircumCode", + "mustSupport": true + }, + { + "id": "Observation.code.coding:snomedHeadCircumCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "snomedHeadCircumCode", + "mustSupport": true + }, + { + "id": "Observation.code.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.text", + "mustSupport": true + }, + { + "id": "Observation.subject", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.subject" + }, + { + "id": "Observation.effective[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.effective[x]" + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "type": [ + { + "code": "Quantity" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].value" + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].unit" + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].system" + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].code" + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCHeartRate.json b/fsh-generated/resources/StructureDefinition-SHCHeartRate.json new file mode 100644 index 00000000..ffe121de --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCHeartRate.json @@ -0,0 +1,642 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCHeartRate", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRate", + "name": "SmartHealthChecksHeartRate", + "title": "Smart Health Checks Heart Rate", + "status": "draft", + "description": "This profile sets the minimum expectations for a Heart Rate resource to record, search and save heart rate information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-heartrate", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.status" + }, + { + "id": "Observation.category:VSCat", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.category", + "sliceName": "VSCat" + }, + { + "id": "Observation.code.coding:HeartRateCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "HeartRateCode", + "mustSupport": true + }, + { + "id": "Observation.code.coding:snomedHeartRateCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "snomedHeartRateCode", + "mustSupport": true + }, + { + "id": "Observation.code.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.text", + "mustSupport": true + }, + { + "id": "Observation.subject", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.subject" + }, + { + "id": "Observation.effective[x]", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.effective[x]" + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "type": [ + { + "code": "Quantity" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].value" + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].unit" + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].system" + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].code" + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCHeartRhythm.json b/fsh-generated/resources/StructureDefinition-SHCHeartRhythm.json new file mode 100644 index 00000000..9b49aa8a --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCHeartRhythm.json @@ -0,0 +1,458 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCHeartRhythm", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRhythm", + "name": "SmartHealthChecksHeartRhythm", + "title": "Smart Health Checks Heart Rhythm", + "status": "draft", + "description": "This profile sets the minimum expectations for an Observation resource to record heart rhythm observations. It is used to represent heart rhythm data captured during a First Nations Health Check that can be used to record the observation in a clinical record.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "Heart Rhythm", + "definition": "Measurement of a patient's heart rhythm at a point in time.", + "comment": "Heart rhythm observation using a LOINC code, a SNOMED CT code and a metric UCUM unit of measure.", + "constraint": [ + { + "key": "shc-heartrhythm-01", + "human": "At least value or data absent reason shall be present", + "source": "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRhythm", + "severity": "error", + "expression": "dataAbsentReason.exists() or value.exists()", + "xpath": "exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.status", + "mustSupport": true + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "mustSupport": true + }, + { + "id": "Observation.category:vitalSignsCategory", + "path": "Observation.category", + "sliceName": "vitalSignsCategory", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.category:vitalSignsCategory.coding", + "path": "Observation.category.coding", + "min": 1, + "mustSupport": true + }, + { + "id": "Observation.category:vitalSignsCategory.coding.system", + "path": "Observation.category.coding.system", + "min": 1, + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "mustSupport": true + }, + { + "id": "Observation.category:vitalSignsCategory.coding.code", + "path": "Observation.category.coding.code", + "min": 1, + "fixedCode": "vital-signs", + "mustSupport": true + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Heart Rhythm", + "definition": "Heart Rhythm.", + "mustSupport": true + }, + { + "id": "Observation.code.coding", + "path": "Observation.code.coding", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "code" + }, + { + "type": "value", + "path": "system" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 2, + "mustSupport": true + }, + { + "id": "Observation.code.coding:loincHeartRhythmCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "loincHeartRhythmCode", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.code.coding:loincHeartRhythmCode.system", + "path": "Observation.code.coding.system", + "min": 1, + "fixedUri": "http://loinc.org" + }, + { + "id": "Observation.code.coding:loincHeartRhythmCode.code", + "path": "Observation.code.coding.code", + "min": 1, + "fixedCode": "8884-9" + }, + { + "id": "Observation.code.coding:snomedHeartRhythmCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "snomedHeartRhythmCode", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.code.coding:snomedHeartRhythmCode.system", + "path": "Observation.code.coding.system", + "min": 1, + "fixedUri": "http://snomed.info/sct" + }, + { + "id": "Observation.code.coding:snomedHeartRhythmCode.code", + "path": "Observation.code.coding.code", + "min": 1, + "fixedCode": "364074009" + }, + { + "id": "Observation.code.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.text", + "mustSupport": true + }, + { + "id": "Observation.subject", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.subject", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "Observation.effective[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.effective[x]", + "short": "Date, and optionally time, the observation was performed", + "definition": "Date, and optionally time, the observation was performed.", + "min": 1, + "type": [ + { + "code": "dateTime" + } + ], + "condition": [ + "shc-heartrhythm-02" + ], + "constraint": [ + { + "key": "shc-heartrhythm-02", + "human": "Date shall be at least to day or, if not available, the Data Absent Reason extension shall be present", + "source": "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRhythm", + "severity": "error", + "expression": "(($this is dateTime implies $this.toString().length() >= 10) and extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').value.exists().not()) xor ($this is dateTime implies ($this.hasValue().not() and extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').value.exists()))", + "xpath": "((self::dateTime and string-length(.) >= 10 and not(extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])) xor (self::dateTime and not(.) and extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason']))" + } + ], + "mustSupport": true + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "shc-heartrhythm-01" + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "https://smartforms.csiro.au/ig/ValueSet/heart-rhythm-1" + } + }, + { + "id": "Observation.value[x].coding", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].coding", + "mustSupport": true + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "condition": [ + "shc-heartrhythm-01" + ], + "mustSupport": true + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCImmunization.json b/fsh-generated/resources/StructureDefinition-SHCImmunization.json new file mode 100644 index 00000000..96ee2dac --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCImmunization.json @@ -0,0 +1,447 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCImmunization", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCImmunization", + "name": "SmartHealthChecksImmunization", + "title": "Smart Health Checks Immunization", + "status": "draft", + "description": "This profile sets the minimum expectations for an Immunization resource to record, search and save immunization information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Immunization", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-immunization", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Immunization.status", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Immunization.status" + }, + { + "id": "Immunization.vaccineCode", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Immunization.vaccineCode" + }, + { + "id": "Immunization.vaccineCode.coding:amtVaccineCode", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Immunization.vaccineCode.coding", + "sliceName": "amtVaccineCode" + }, + { + "id": "Immunization.patient", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Immunization.patient" + }, + { + "id": "Immunization.occurrence[x]", + "path": "Immunization.occurrence[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "Immunization.occurrence[x]:occurrenceDateTime", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Immunization.occurrence[x]", + "sliceName": "occurrenceDateTime", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mustSupport": true + }, + { + "id": "Immunization.lotNumber", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Immunization.lotNumber", + "mustSupport": true + }, + { + "id": "Immunization.note.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Immunization.note.text", + "mustSupport": true + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCMedication.json b/fsh-generated/resources/StructureDefinition-SHCMedication.json new file mode 100644 index 00000000..aa599a25 --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCMedication.json @@ -0,0 +1,110 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCMedication", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedication", + "name": "SmartHealthChecksMedication", + "title": "Smart Health Checks Medication", + "status": "draft", + "description": "This profile sets the minimum expectations for a Medication resource to search and retrieve medication information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Medication", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Medication.id", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Medication.id", + "mustSupport": true + }, + { + "id": "Medication.code", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Medication.code" + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCMedicationStatement.json b/fsh-generated/resources/StructureDefinition-SHCMedicationStatement.json new file mode 100644 index 00000000..4ba15d76 --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCMedicationStatement.json @@ -0,0 +1,508 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCMedicationStatement", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatement", + "name": "SmartHealthChecksMedicationStatement", + "title": "Smart Health Checks MedicationStatement", + "status": "draft", + "description": "This profile sets the minimum expectations for a MedicationStatement resource to record, search and save medication information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "MedicationStatement", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationstatement", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "MedicationStatement.id", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "MedicationStatement.id", + "mustSupport": true + }, + { + "id": "MedicationStatement.status", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "MedicationStatement.status" + }, + { + "id": "MedicationStatement.medication[x]:medicationCodeableConcept", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "MedicationStatement.medication[x]", + "sliceName": "medicationCodeableConcept", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true + }, + { + "id": "MedicationStatement.medication[x]:medicationReference", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "MedicationStatement.medication[x]", + "sliceName": "medicationReference", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedication" + ] + } + ], + "mustSupport": true + }, + { + "id": "MedicationStatement.subject", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "MedicationStatement.subject" + }, + { + "id": "MedicationStatement.dateAsserted", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "MedicationStatement.dateAsserted" + }, + { + "id": "MedicationStatement.reasonCode", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "MedicationStatement.reasonCode" + }, + { + "id": "MedicationStatement.note", + "path": "MedicationStatement.note", + "max": "1", + "mustSupport": true + }, + { + "id": "MedicationStatement.note.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "MedicationStatement.note.text", + "mustSupport": true + }, + { + "id": "MedicationStatement.dosage", + "path": "MedicationStatement.dosage", + "max": "1" + }, + { + "id": "MedicationStatement.dosage.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "MedicationStatement.dosage.text", + "mustSupport": true + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCMedicationStatementPatch.json b/fsh-generated/resources/StructureDefinition-SHCMedicationStatementPatch.json new file mode 100644 index 00000000..a6971bb2 --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCMedicationStatementPatch.json @@ -0,0 +1,1642 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCMedicationStatementPatch", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatementPatch", + "name": "SmartHealthChecksMedicationStatementPatch", + "title": "Smart Health Checks MedicationStatement Patch", + "status": "draft", + "description": "This profile sets the expectations for a Parameters resource when used to patch MedicationStatement resources within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Parameters", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Parameters.parameter", + "path": "Parameters.parameter", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "part" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1 + }, + { + "id": "Parameters.parameter:status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter", + "sliceName": "status", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Parameters.parameter:status.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.name", + "short": "Parameters for status patching", + "fixedString": "operation", + "mustSupport": true + }, + { + "id": "Parameters.parameter:status.part", + "path": "Parameters.parameter.part", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "name" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 3 + }, + { + "id": "Parameters.parameter:status.part:type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "type", + "short": "Patch operation to perform", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:status.part:type.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "type", + "mustSupport": true + }, + { + "id": "Parameters.parameter:status.part:type.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "replace", + "mustSupport": true + }, + { + "id": "Parameters.parameter:status.part:path", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "path", + "short": "Where to perform the operation", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:status.part:path.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "path", + "mustSupport": true + }, + { + "id": "Parameters.parameter:status.part:path.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "fixedString": "MedicationStatement.status", + "mustSupport": true + }, + { + "id": "Parameters.parameter:status.part:value", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "value", + "short": "Replacement value", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:status.part:value.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "value", + "mustSupport": true + }, + { + "id": "Parameters.parameter:status.part:value.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "https://smartforms.csiro.au/ig/ValueSet/MedicationStatementStatusLimited" + } + }, + { + "id": "Parameters.parameter:status.part:value.value[x].coding", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x].coding", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Parameters.parameter:status.part:pathLabel", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "pathLabel", + "short": "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:status.part:pathLabel.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "pathLabel", + "mustSupport": true + }, + { + "id": "Parameters.parameter:status.part:pathLabel.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "fixedString": "Status", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter", + "sliceName": "comment", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.name", + "short": "Parameters for note.text patching", + "fixedString": "operation", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part", + "path": "Parameters.parameter.part", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "name" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 3 + }, + { + "id": "Parameters.parameter:comment.part:type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "type", + "short": "Patch operation to perform", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:type.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "type", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:type.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "replace", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:path", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "path", + "short": "Where to perform the operation", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:path.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "path", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:path.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "fixedString": "MedicationStatement.note[0].text", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:value", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "value", + "short": "Replacement value", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:value.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "value", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:value.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "markdown" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:pathLabel", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "pathLabel", + "short": "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:pathLabel.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "pathLabel", + "mustSupport": true + }, + { + "id": "Parameters.parameter:comment.part:pathLabel.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "fixedString": "Comment", + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter", + "sliceName": "dosage", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.name", + "short": "Parameters for dosage.text patching", + "fixedString": "operation", + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage.part", + "path": "Parameters.parameter.part", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "name" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 3 + }, + { + "id": "Parameters.parameter:dosage.part:type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "type", + "short": "Patch operation to perform", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage.part:type.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "type", + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage.part:type.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "replace", + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage.part:path", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "path", + "short": "Where to perform the operation", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage.part:path.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "path", + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage.part:path.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "fixedString": "MedicationStatement.dosage[0].text", + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage.part:value", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "value", + "short": "Replacement value", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage.part:value.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "value", + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage.part:value.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage.part:pathLabel", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part", + "sliceName": "pathLabel", + "short": "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage.part:pathLabel.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.name", + "fixedString": "pathLabel", + "mustSupport": true + }, + { + "id": "Parameters.parameter:dosage.part:pathLabel.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Parameters.parameter.part.value[x]", + "min": 1, + "type": [ + { + "code": "string" + } + ], + "fixedString": "Dosage", + "mustSupport": true + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCPathologyResult.json b/fsh-generated/resources/StructureDefinition-SHCPathologyResult.json new file mode 100644 index 00000000..b73d177f --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCPathologyResult.json @@ -0,0 +1,272 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCPathologyResult", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCPathologyResult", + "name": "SmartHealthChecksPathologyResult", + "title": "Smart Health Checks Pathology Result", + "status": "draft", + "description": "This profile sets the minimum expectations for an Observation resource to search and retrieve pathology result information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-diagnosticresult-path", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.status" + }, + { + "id": "Observation.code.coding", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "mustSupport": true + }, + { + "id": "Observation.subject", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + } + ], + "path": "Observation.subject" + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "Observation.effective[x]:effectiveDateTime", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.effective[x]", + "sliceName": "effectiveDateTime", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mustSupport": true + }, + { + "id": "Observation.value[x]", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + } + ], + "path": "Observation.value[x]" + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCPatient.json b/fsh-generated/resources/StructureDefinition-SHCPatient.json new file mode 100644 index 00000000..b7a4bf8a --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCPatient.json @@ -0,0 +1,1476 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCPatient", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatient", + "name": "SmartHealthChecksPatient", + "title": "Smart Health Checks Patient", + "status": "draft", + "description": "This profile sets the minimum expectations for a Patient resource to search and retrieve patient information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Patient", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Patient.extension:indigenousStatus", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.extension", + "sliceName": "indigenousStatus" + }, + { + "id": "Patient.extension:closingTheGapRegistration", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.extension", + "sliceName": "closingTheGapRegistration", + "mustSupport": true + }, + { + "id": "Patient.extension:genderIdentity", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.extension", + "sliceName": "genderIdentity" + }, + { + "id": "Patient.extension:individualPronouns", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.extension", + "sliceName": "individualPronouns" + }, + { + "id": "Patient.extension:recordedSexOrGender", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.extension", + "sliceName": "recordedSexOrGender", + "mustSupport": true + }, + { + "id": "Patient.identifier:medicare", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.identifier", + "sliceName": "medicare" + }, + { + "id": "Patient.identifier:pensionerCard", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + } + ], + "path": "Patient.identifier", + "sliceName": "pensionerCard", + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier", + "profile": [ + "http://hl7.org.au/fhir/StructureDefinition/au-pensionerconcessioncardnumber" + ] + } + ], + "mustSupport": true + }, + { + "id": "Patient.identifier:healthCareCard", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + } + ], + "path": "Patient.identifier", + "sliceName": "healthCareCard", + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier", + "profile": [ + "http://hl7.org.au/fhir/StructureDefinition/au-healthcarecardnumber" + ] + } + ], + "mustSupport": true + }, + { + "id": "Patient.name", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.name" + }, + { + "id": "Patient.name.use", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.name.use" + }, + { + "id": "Patient.name.text", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.name.text" + }, + { + "id": "Patient.name.family", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.name.family" + }, + { + "id": "Patient.name.given", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.name.given" + }, + { + "id": "Patient.name.prefix", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.name.prefix", + "mustSupport": true + }, + { + "id": "Patient.telecom", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.telecom" + }, + { + "id": "Patient.telecom.system", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.telecom.system", + "mustSupport": true + }, + { + "id": "Patient.telecom.value", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.telecom.value", + "mustSupport": true + }, + { + "id": "Patient.telecom.use", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.telecom.use", + "mustSupport": true + }, + { + "id": "Patient.gender", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.gender" + }, + { + "id": "Patient.birthDate", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.birthDate" + }, + { + "id": "Patient.address", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.address", + "type": [ + { + "code": "Address", + "profile": [ + "http://hl7.org.au/fhir/StructureDefinition/au-address" + ] + } + ] + }, + { + "id": "Patient.address.use", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.address.use", + "mustSupport": true + }, + { + "id": "Patient.address.type", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.address.type", + "mustSupport": true + }, + { + "id": "Patient.address.line", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.address.line", + "mustSupport": true + }, + { + "id": "Patient.address.city", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.address.city", + "mustSupport": true + }, + { + "id": "Patient.address.state", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.address.state", + "mustSupport": true + }, + { + "id": "Patient.address.postalCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.address.postalCode", + "mustSupport": true + }, + { + "id": "Patient.contact", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.contact", + "mustSupport": true + }, + { + "id": "Patient.contact.relationship", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.contact.relationship", + "mustSupport": true + }, + { + "id": "Patient.contact.name", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.contact.name", + "mustSupport": true + }, + { + "id": "Patient.contact.name.family", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.contact.name.family", + "mustSupport": true + }, + { + "id": "Patient.contact.name.given", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.contact.name.given", + "mustSupport": true + }, + { + "id": "Patient.contact.name.prefix", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.contact.name.prefix", + "mustSupport": true + }, + { + "id": "Patient.contact.telecom", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Patient.contact.telecom", + "mustSupport": true + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCPractitioner.json b/fsh-generated/resources/StructureDefinition-SHCPractitioner.json new file mode 100644 index 00000000..b3172668 --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCPractitioner.json @@ -0,0 +1,110 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCPractitioner", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCPractitioner", + "name": "SmartHealthChecksPractitioner", + "title": "Smart Health Checks Practitioner", + "status": "draft", + "description": "This profile sets the minimum expectations for a Practitioner resource to search and retrieve practitioner information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Practitioner", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Practitioner.id", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Practitioner.id", + "mustSupport": true + }, + { + "id": "Practitioner.name", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Practitioner.name" + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCQuestionnaireResponse.json b/fsh-generated/resources/StructureDefinition-SHCQuestionnaireResponse.json new file mode 100644 index 00000000..c3c532ef --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCQuestionnaireResponse.json @@ -0,0 +1,634 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCQuestionnaireResponse", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCQuestionnaireResponse", + "name": "SmartHealthChecksQuestionnaireResponse", + "title": "Smart Health Checks Questionnaire Response", + "status": "draft", + "description": "This profile sets the minimum expectations for a QuestionnaireResponse resource to record, search and save form information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "QuestionnaireResponse", + "baseDefinition": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "QuestionnaireResponse.id", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.id", + "min": 1, + "mustSupport": true + }, + { + "id": "QuestionnaireResponse.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.text", + "mustSupport": true + }, + { + "id": "QuestionnaireResponse.questionnaire", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.questionnaire" + }, + { + "id": "QuestionnaireResponse.questionnaire.extension:questionnaireDisplay", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.questionnaire.extension", + "sliceName": "questionnaireDisplay" + }, + { + "id": "QuestionnaireResponse.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.status" + }, + { + "id": "QuestionnaireResponse.subject", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.subject", + "min": 1 + }, + { + "id": "QuestionnaireResponse.encounter", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.encounter", + "mustSupport": true + }, + { + "id": "QuestionnaireResponse.authored", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.authored" + }, + { + "id": "QuestionnaireResponse.author", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.author", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner" + ] + } + ] + }, + { + "id": "QuestionnaireResponse.item", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.item" + }, + { + "id": "QuestionnaireResponse.item.linkId", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.item.linkId" + }, + { + "id": "QuestionnaireResponse.item.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.item.text" + }, + { + "id": "QuestionnaireResponse.item.answer", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.item.answer" + }, + { + "id": "QuestionnaireResponse.item.answer.value[x]", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.item.answer.value[x]" + }, + { + "id": "QuestionnaireResponse.item.item", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:persist" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "QuestionnaireResponse.item.item" + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCSmokingStatus.json b/fsh-generated/resources/StructureDefinition-SHCSmokingStatus.json new file mode 100644 index 00000000..35d94970 --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCSmokingStatus.json @@ -0,0 +1,391 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCSmokingStatus", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCSmokingStatus", + "name": "SmartHealthChecksSmokingStatus", + "title": "Smart Health Checks Smoking Status", + "status": "draft", + "description": "This profile sets the minimum expectations for a Smoking Status resource to record, search and save smoking status information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-smokingstatus", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.status" + }, + { + "id": "Observation.category:socialHistory", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.category", + "sliceName": "socialHistory", + "mustSupport": true + }, + { + "id": "Observation.code.coding", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "mustSupport": true + }, + { + "id": "Observation.code.coding:loincSmokingStatus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "loincSmokingStatus", + "mustSupport": true + }, + { + "id": "Observation.code.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.text", + "mustSupport": true + }, + { + "id": "Observation.subject", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.subject" + }, + { + "id": "Observation.effective[x]", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.effective[x]" + }, + { + "id": "Observation.value[x].coding", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].coding", + "mustSupport": true + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-SHCWaistCircumference.json b/fsh-generated/resources/StructureDefinition-SHCWaistCircumference.json new file mode 100644 index 00000000..d8f0270b --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-SHCWaistCircumference.json @@ -0,0 +1,554 @@ +{ + "resourceType": "StructureDefinition", + "id": "SHCWaistCircumference", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/SHCWaistCircumference", + "name": "SmartHealthChecksWaistCircumference", + "title": "Smart Health Checks Waist Circumference", + "status": "draft", + "description": "This profile sets the minimum expectations for a Waist Circumference resource to record, search and save waist circumference information when used within Smart Health Checks.", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-waistcircum", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.status" + }, + { + "id": "Observation.category:VSCat", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.category", + "sliceName": "VSCat" + }, + { + "id": "Observation.code.coding:loincWaistCircumCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "loincWaistCircumCode", + "mustSupport": true + }, + { + "id": "Observation.code.coding:snomedWaistCircumCode", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.coding", + "sliceName": "snomedWaistCircumCode", + "mustSupport": true + }, + { + "id": "Observation.code.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.code.text", + "mustSupport": true + }, + { + "id": "Observation.subject", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.subject" + }, + { + "id": "Observation.effective[x]", + "extension": [ + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "extension": [ + { + "url": "code", + "valueCode": "SHALL:no-error" + }, + { + "url": "actor", + "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/obligation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.effective[x]" + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "type": [ + { + "code": "Quantity" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].value", + "mustSupport": true + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].unit", + "mustSupport": true + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].system", + "mustSupport": true + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate-if-known" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/obligation", + "extension": [ + { + "url": "code", + "valueCode": "SHALL:populate" + }, + { + "url": "code", + "valueCode": "SHALL:process" + }, + { + "url": "actor", + "valueCanonical": "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + } + ] + } + ], + "path": "Observation.value[x].code", + "mustSupport": true + } + ] + } +} diff --git a/fsh-generated/resources/StructureDefinition-TemplateExtractExtensionExtended.json b/fsh-generated/resources/StructureDefinition-TemplateExtractExtensionExtended.json new file mode 100644 index 00000000..48c6b25a --- /dev/null +++ b/fsh-generated/resources/StructureDefinition-TemplateExtractExtensionExtended.json @@ -0,0 +1,68 @@ +{ + "resourceType": "StructureDefinition", + "id": "TemplateExtractExtensionExtended", + "url": "https://smartforms.csiro.au/ig/StructureDefinition/TemplateExtractExtensionExtended", + "name": "TemplateExtractExtensionExtended", + "title": "Template Extract Extension Extended", + "status": "draft", + "description": "This extension is used to extend the [Extract Template - Resource](https://build.fhir.org/ig/HL7/sdc/StructureDefinition-sdc-questionnaire-templateExtract.html) extension to include additional information that supports the extraction of a [Parameters](https://hl7.org/fhir/R4/parameters.html) resource to be used with the [FHIRPath patch](https://hl7.org/fhir/R4/fhirpatch.html) mechanism of updating resources. An additional subextension is included to specify the type of resource that is being patched, which is necessary for constructing the request URL of an entry in a transaction bundle.", + "fhirVersion": "4.0.1", + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Questionnaire" + }, + { + "type": "element", + "expression": "Questionnaire.item" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Template Extract Extension Extended", + "definition": "This extension is used to extend the [Extract Template - Resource](https://build.fhir.org/ig/HL7/sdc/StructureDefinition-sdc-questionnaire-templateExtract.html) extension to include additional information that supports the extraction of a [Parameters](https://hl7.org/fhir/R4/parameters.html) resource to be used with the [FHIRPath patch](https://hl7.org/fhir/R4/fhirpatch.html) mechanism of updating resources. An additional subextension is included to specify the type of resource that is being patched, which is necessary for constructing the request URL of an entry in a transaction bundle." + }, + { + "id": "Extension.extension:type", + "path": "Extension.extension", + "sliceName": "type", + "short": "Patch resource type", + "definition": "When templating a Parameters resource, this is the kind of resource to be patched. It is used to construct the request URL for the entry in a transaction bundle.", + "min": 0, + "max": "1" + }, + { + "id": "Extension.extension:type.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:type.url", + "path": "Extension.extension.url", + "fixedUri": "type" + }, + { + "id": "Extension.extension:type.value[x]", + "path": "Extension.extension.value[x]", + "min": 1, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/resource-types" + } + } + ] + } +} diff --git a/fsh-generated/resources/ValueSet-AboriginalTorresStraitIslander.json b/fsh-generated/resources/ValueSet-AboriginalTorresStraitIslander.json index ea62df1c..999dd88e 100644 --- a/fsh-generated/resources/ValueSet-AboriginalTorresStraitIslander.json +++ b/fsh-generated/resources/ValueSet-AboriginalTorresStraitIslander.json @@ -8,39 +8,47 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/AboriginalTorresStraitIslander", "experimental": false, "expansion": { - "identifier": "e2b013bd-1725-4299-a7a5-53635d42f1be", - "timestamp": "2022-10-20T11:38:45+10:00", + "identifier": "urn:uuid:eb422e76-71e8-48b0-a191-73285ddb91cc", + "timestamp": "2025-05-01T10:00:56+10:00", "total": 3, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.3" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.3" } ], "contains": [ { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "1", - "display": "Aboriginal but not Torres Strait Islander origin" + "display": "Aboriginal" }, { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "2", - "display": "Torres Strait Islander but not Aboriginal origin" + "display": "Torres Strait Islander" }, { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "3", - "display": "Both Aboriginal and Torres Strait Islander origin" + "display": "Aboriginal and Torres Strait Islander" } ] }, diff --git a/fsh-generated/resources/ValueSet-AllergyIntoleranceClinicalStatusMinimal.json b/fsh-generated/resources/ValueSet-AllergyIntoleranceClinicalStatusMinimal.json new file mode 100644 index 00000000..a24927bd --- /dev/null +++ b/fsh-generated/resources/ValueSet-AllergyIntoleranceClinicalStatusMinimal.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ValueSet", + "status": "draft", + "name": "AllergyIntoleranceClinicalStatusMinimal", + "id": "AllergyIntoleranceClinicalStatusMinimal", + "title": "Allergy Intolerance Clinical Status Minimal", + "description": "This value set includes the minimal set of codes to represent the clinical status of an allergy intolerance (i.e., active and inactive).", + "url": "https://smartforms.csiro.au/ig/ValueSet/AllergyIntoleranceClinicalStatusMinimal", + "experimental": false, + "expansion": { + "identifier": "urn:uuid:40f0c59e-9fa5-4322-bc1d-5fde644a076c", + "timestamp": "2025-08-25T15:52:50+10:00", + "total": 2, + "offset": 0, + "parameter": [ + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|1.0.0" + } + ], + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active", + "display": "Active" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "inactive", + "display": "Inactive" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "concept": [ + { + "code": "active" + }, + { + "code": "inactive" + } + ] + } + ] + } +} diff --git a/fsh-generated/resources/ValueSet-CervicalScreeningStatus-1.json b/fsh-generated/resources/ValueSet-CervicalScreeningStatus-1.json new file mode 100644 index 00000000..5fb24609 --- /dev/null +++ b/fsh-generated/resources/ValueSet-CervicalScreeningStatus-1.json @@ -0,0 +1,94 @@ +{ + "resourceType": "ValueSet", + "status": "draft", + "name": "CervicalScreeningStatus", + "id": "CervicalScreeningStatus-1", + "title": "Cervical Screening Status", + "description": "The Cervical Screening Status value set includes values that can be used to represent the status of an individual's participation in a cervical screening program.", + "url": "https://smartforms.csiro.au/ig/ValueSet/CervicalScreeningStatus-1", + "experimental": false, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + "valueCanonical": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + } + ], + "expansion": { + "identifier": "urn:uuid:3657ae6f-b206-482f-a745-0ff9c99358ef", + "timestamp": "2025-06-05T13:50:47+10:00", + "parameter": [ + { + "name": "used-supplement", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/ValueSet/CervicalScreeningStatus-1|0.3.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "736595007", + "display": "Declined" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "410527000", + "display": "Offered" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "171154002", + "display": "Not required" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "171155001", + "display": "Up to date" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "concept": [ + { + "code": "736595007", + "display": "Declined" + }, + { + "code": "410527000", + "display": "Offered" + }, + { + "code": "171154002", + "display": "Not required" + }, + { + "code": "171155001", + "display": "Up to date" + } + ] + } + ] + } +} diff --git a/fsh-generated/resources/ValueSet-MedicalHistory.json b/fsh-generated/resources/ValueSet-MedicalHistory.json deleted file mode 100644 index c58959ea..00000000 --- a/fsh-generated/resources/ValueSet-MedicalHistory.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "resourceType": "ValueSet", - "status": "draft", - "name": "MedicalHistory", - "id": "MedicalHistory", - "title": "Medical History", - "description": "The Medical History value set includes values that may be used to represent medical history, operations and hospital admissions.", - "url": "https://smartforms.csiro.au/ig/ValueSet/MedicalHistory", - "experimental": false, - "compose": { - "include": [ - { - "system": "http://snomed.info/sct", - "filter": [ - { - "property": "constraint", - "op": "=", - "value": "^32570581000036105|Problem/Diagnosis reference set| OR ^32570141000036105|Procedure foundation reference set|" - } - ] - } - ] - } -} diff --git a/fsh-generated/resources/ValueSet-MedicationStatementStatusLimited.json b/fsh-generated/resources/ValueSet-MedicationStatementStatusLimited.json new file mode 100644 index 00000000..e7cc1107 --- /dev/null +++ b/fsh-generated/resources/ValueSet-MedicationStatementStatusLimited.json @@ -0,0 +1,77 @@ +{ + "resourceType": "ValueSet", + "status": "draft", + "name": "MedicationStatementStatusLimited", + "id": "MedicationStatementStatusLimited", + "title": "Medication Statement Status Limited", + "description": "This value set includes the minimal set of codes to represent the status of a medication statement (i.e., active, completed, stopped and on-hold).", + "url": "https://smartforms.csiro.au/ig/ValueSet/MedicationStatementStatusLimited", + "experimental": false, + "expansion": { + "identifier": "urn:uuid:59fe5ac1-65bf-4606-8c2a-0a55fba1d064", + "timestamp": "2025-08-25T15:53:32+10:00", + "total": 4, + "offset": 0, + "parameter": [ + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://hl7.org/fhir/CodeSystem/medication-statement-status|4.0.1" + } + ], + "contains": [ + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "code": "active", + "display": "Active" + }, + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "code": "completed", + "display": "Completed" + }, + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "code": "stopped", + "display": "Stopped" + }, + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "code": "on-hold", + "display": "On Hold" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "concept": [ + { + "code": "active" + }, + { + "code": "completed" + }, + { + "code": "stopped" + }, + { + "code": "on-hold" + } + ] + } + ] + } +} diff --git a/fsh-generated/resources/ValueSet-PrimaryCarerParentGrandparent.json b/fsh-generated/resources/ValueSet-PrimaryCarerParentGrandparent.json index b4a0c2e1..d3ef75b2 100644 --- a/fsh-generated/resources/ValueSet-PrimaryCarerParentGrandparent.json +++ b/fsh-generated/resources/ValueSet-PrimaryCarerParentGrandparent.json @@ -8,50 +8,54 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/PrimaryCarerParentGrandparent", "experimental": false, "expansion": { - "identifier": "2809c2fa-28ec-4def-9b16-93a611d29da3", - "timestamp": "2022-10-20T11:42:30+10:00", + "identifier": "urn:uuid:f8e7efc2-94d6-403e-9e40-3a3a4e9fffb4", + "timestamp": "2025-05-01T10:00:56+10:00", "total": 4, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v3-RoleCode|2018-08-12" - }, - { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|2018-08-12" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/v3-RoleCode|3.0.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|3.0.0" } ], "contains": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "2018-08-12", "code": "MTH", "display": "mother" }, { "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "2018-08-12", "code": "FTH", "display": "father" }, { "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "2018-08-12", "code": "GRPRN", "display": "grandparent" }, { "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", - "version": "2018-08-12", "code": "NA", "display": "not applicable" } diff --git a/fsh-generated/resources/ValueSet-SmokingQuitStatus-1.json b/fsh-generated/resources/ValueSet-SmokingQuitStatus-1.json new file mode 100644 index 00000000..2d4a6d6a --- /dev/null +++ b/fsh-generated/resources/ValueSet-SmokingQuitStatus-1.json @@ -0,0 +1,74 @@ +{ + "resourceType": "ValueSet", + "status": "draft", + "name": "SmokingQuitStatus", + "id": "SmokingQuitStatus-1", + "title": "Smoking Quit Status", + "description": "The Smoking Quit Status value set includes values that can indicate how long ago an individual quit smoking.", + "url": "https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1", + "experimental": false, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + "valueCanonical": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + } + ], + "expansion": { + "identifier": "urn:uuid:93600010-14a0-4d6e-a82f-15283d13a2cb", + "timestamp": "2025-05-01T11:41:24+10:00", + "parameter": [ + { + "name": "used-supplement", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1|0.3.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "48031000119106", + "display": "Quit >12 months" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "735128000", + "display": "Quit <12 months" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "concept": [ + { + "code": "48031000119106", + "display": "Quit >12 months" + }, + { + "code": "735128000", + "display": "Quit <12 months" + } + ] + } + ] + } +} diff --git a/fsh-generated/resources/ValueSet-TobaccoUseStatus-1.json b/fsh-generated/resources/ValueSet-TobaccoUseStatus-1.json new file mode 100644 index 00000000..6155fb59 --- /dev/null +++ b/fsh-generated/resources/ValueSet-TobaccoUseStatus-1.json @@ -0,0 +1,114 @@ +{ + "resourceType": "ValueSet", + "status": "draft", + "name": "TobaccoUseStatus", + "id": "TobaccoUseStatus-1", + "title": "Tobacco Use Status", + "description": "The Tobacco Use Status value set includes values that may be used to represent an individual's current tobacco use and exposure status.", + "url": "https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1", + "experimental": false, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + "valueCanonical": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + } + ], + "expansion": { + "identifier": "urn:uuid:e7e976ca-5eb9-41da-9ca8-2c795c5e2dd2", + "timestamp": "2025-05-01T11:43:41+10:00", + "parameter": [ + { + "name": "used-supplement", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1|0.3.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "266919005", + "display": "Never smoked" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "77176002", + "display": "Current smoker" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "8517006", + "display": "Ex-smoker" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "16090371000119103", + "display": "Exposure to second hand tobacco smoke" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "394872000", + "display": "Wants to quit" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "713914004", + "display": "Other tobacco use" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "concept": [ + { + "code": "266919005", + "display": "Never smoked" + }, + { + "code": "77176002", + "display": "Current smoker" + }, + { + "code": "8517006", + "display": "Ex-smoker" + }, + { + "code": "16090371000119103", + "display": "Exposure to second hand tobacco smoke" + }, + { + "code": "394872000", + "display": "Wants to quit" + }, + { + "code": "713914004", + "display": "Other tobacco use" + } + ] + } + ] + } +} diff --git a/fsh-generated/resources/ValueSet-YesNo.json b/fsh-generated/resources/ValueSet-YesNo.json index 33b297cf..83455c60 100644 --- a/fsh-generated/resources/ValueSet-YesNo.json +++ b/fsh-generated/resources/ValueSet-YesNo.json @@ -8,13 +8,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", "experimental": false, "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", "total": 2, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", diff --git a/fsh-generated/resources/ValueSet-YesNoNA.json b/fsh-generated/resources/ValueSet-YesNoNA.json index 9d692ab6..480639c0 100644 --- a/fsh-generated/resources/ValueSet-YesNoNA.json +++ b/fsh-generated/resources/ValueSet-YesNoNA.json @@ -8,13 +8,26 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNoNA", "experimental": false, "expansion": { - "identifier": "urn:uuid:5baa5444-e553-4412-a08c-9ce93d3271e0", - "timestamp": "2023-09-01T11:16:50+10:00", + "identifier": "urn:uuid:7fce8cc7-b936-4258-921d-923629b04439", + "timestamp": "2025-05-01T10:00:47+10:00", "total": 3, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", diff --git a/fsh-generated/resources/ValueSet-YesNoNotAskedDeclined.json b/fsh-generated/resources/ValueSet-YesNoNotAskedDeclined.json index 5af1dfc4..a435cc45 100644 --- a/fsh-generated/resources/ValueSet-YesNoNotAskedDeclined.json +++ b/fsh-generated/resources/ValueSet-YesNoNotAskedDeclined.json @@ -8,49 +8,54 @@ "url": "https://smartforms.csiro.au/ig/ValueSet/YesNoNotAskedDeclined", "experimental": false, "expansion": { - "identifier": "urn:uuid:8eda7c3c-cc35-49fa-ac6c-c0e4f0a4e203", - "timestamp": "2023-09-01T11:17:57+10:00", + "identifier": "urn:uuid:20552db7-8def-4e55-a0d2-cb446651929c", + "timestamp": "2025-05-01T10:00:51+10:00", "total": 4, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" + "name": "displayLanguage", + "valueCode": "en-US" }, { - "name": "used-codesystem", - "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" + "name": "count", + "valueInteger": 1000 }, { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" } ], "contains": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "version": "2.1.0", "code": "Y", "display": "Yes" }, { "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "version": "2.1.0", "code": "N", "display": "No" }, { "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "version": "2.1.0", "code": "NASK", "display": "Not Asked" }, { "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", - "version": "5.0.0-ballot", "code": "asked-declined", "display": "Asked But Declined" } diff --git a/fsh-generated/resources/ValueSet-administrative-gender.json b/fsh-generated/resources/ValueSet-administrative-gender.json new file mode 100644 index 00000000..63af60ee --- /dev/null +++ b/fsh-generated/resources/ValueSet-administrative-gender.json @@ -0,0 +1,115 @@ +{ + "resourceType": "ValueSet", + "status": "active", + "name": "AdministrativeGender", + "id": "administrative-gender", + "title": "AdministrativeGender", + "description": "The gender of a person used for administrative purposes.", + "url": "http://hl7.org/fhir/ValueSet/administrative-gender", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + }, + { + "system": "email", + "value": "fhir@lists.hl7.org" + } + ] + } + ], + "copyright": "Copyright © 2011+ HL7. Licensed under Creative Commons \"No Rights Reserved\".", + "date": "2019-11-01T09:29:23+11:00", + "experimental": false, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", + "valueCode": "pa" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", + "valueInteger": 5 + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.3.1" + } + ], + "immutable": true, + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "publisher": "HL7 (FHIR Project)", + "version": "4.0.1", + "expansion": { + "identifier": "urn:uuid:31c9098a-778c-4de6-9c2b-4f1e2db26179", + "timestamp": "2025-05-01T10:00:55+10:00", + "total": 4, + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://hl7.org/fhir/administrative-gender|4.0.1" + } + ], + "contains": [ + { + "system": "http://hl7.org/fhir/administrative-gender", + "code": "male", + "display": "Male" + }, + { + "system": "http://hl7.org/fhir/administrative-gender", + "code": "female", + "display": "Female" + }, + { + "system": "http://hl7.org/fhir/administrative-gender", + "code": "other", + "display": "Other" + }, + { + "system": "http://hl7.org/fhir/administrative-gender", + "code": "unknown", + "display": "Unknown" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/administrative-gender" + } + ] + } +} diff --git a/fsh-generated/resources/ValueSet-amt-vaccine-1.json b/fsh-generated/resources/ValueSet-amt-vaccine-1.json new file mode 100644 index 00000000..ccee4a9b --- /dev/null +++ b/fsh-generated/resources/ValueSet-amt-vaccine-1.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ValueSet", + "status": "active", + "name": "AustralianMedicinesTerminologyVaccine", + "id": "amt-vaccine-1", + "title": "Australian Medicines Terminology Vaccine", + "description": "The Australian Medicines Terminology (AMT) Vaccine value set includes AMT product concepts that may be used to record a vaccine product.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/amt-vaccine-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10042" + } + ], + "version": "1.0.2", + "experimental": false, + "date": "2020-05-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "copyright": "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\n This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "in", + "value": "1156291000168106" + } + ] + } + ] + } +} diff --git a/fsh-generated/resources/ValueSet-australian-pronouns-1.json b/fsh-generated/resources/ValueSet-australian-pronouns-1.json new file mode 100644 index 00000000..dfa7c62d --- /dev/null +++ b/fsh-generated/resources/ValueSet-australian-pronouns-1.json @@ -0,0 +1,145 @@ +{ + "resourceType": "ValueSet", + "status": "active", + "name": "AustralianPronouns", + "id": "australian-pronouns-1", + "title": "Australian Pronouns", + "description": "The Australian Pronouns value set includes values that indicate the pronouns to be used when communicating with or about an individual.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10284" + } + ], + "version": "1.0.0", + "experimental": false, + "date": "2024-02-29", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "copyright": "Copyright © 2024 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis material contains content from LOINC (http://loinc.org). LOINC is copyright 1995-2024, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc.\n\nThis material contains information which is protected by copyright. You may download, display, print and reproduce any material for your personal, non-commercial use or use within your organisation subject to the following terms and conditions: \n\nThis resource also includes all or a portion of material from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.", + "expansion": { + "identifier": "urn:uuid:1bc98e8c-511f-4014-a4d9-a48a8db0923d", + "timestamp": "2025-05-01T10:00:56+10:00", + "total": 7, + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" + }, + { + "name": "used-codesystem", + "valueUri": "http://loinc.org|2.80" + }, + { + "name": "version", + "valueUri": "http://loinc.org|2.80" + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" + } + ], + "contains": [ + { + "system": "http://loinc.org", + "code": "LA29518-0", + "display": "he/him/his/his/himself" + }, + { + "system": "http://loinc.org", + "code": "LA29519-8", + "display": "she/her/her/hers/herself" + }, + { + "system": "http://loinc.org", + "code": "LA29520-6", + "display": "they/them/their/theirs/themselves" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "unknown", + "display": "Unknown" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "asked-declined", + "display": "Asked But Declined" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "not-asked", + "display": "Not Asked" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "asked-unknown", + "display": "Asked But Unknown" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "LA29518-0", + "display": "he/him/his/his/himself" + }, + { + "code": "LA29519-8", + "display": "she/her/her/hers/herself" + }, + { + "code": "LA29520-6", + "display": "they/them/their/theirs/themselves" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "concept": [ + { + "code": "unknown" + }, + { + "code": "asked-declined" + }, + { + "code": "not-asked" + }, + { + "code": "asked-unknown" + } + ] + } + ] + } +} diff --git a/fsh-generated/resources/ValueSet-australian-states-territories-2.json b/fsh-generated/resources/ValueSet-australian-states-territories-2.json index 363aee25..e7a278bf 100644 --- a/fsh-generated/resources/ValueSet-australian-states-territories-2.json +++ b/fsh-generated/resources/ValueSet-australian-states-territories-2.json @@ -34,22 +34,30 @@ ], "copyright": "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", "expansion": { - "identifier": "e9439195-c1d8-4069-a349-98c1d552a351", - "timestamp": "2023-06-20T04:20:58+00:00", + "identifier": "urn:uuid:148e9412-a321-4a6f-b911-7e7908be82af", + "timestamp": "2025-05-01T10:00:57+10:00", "total": 9, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1|1.1.3" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1|1.1.3" } ], "contains": [ diff --git a/fsh-generated/resources/ValueSet-biological-sex-1.json b/fsh-generated/resources/ValueSet-biological-sex-1.json index e1f6bf75..a1de7edf 100644 --- a/fsh-generated/resources/ValueSet-biological-sex-1.json +++ b/fsh-generated/resources/ValueSet-biological-sex-1.json @@ -34,17 +34,37 @@ ], "copyright": "Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", "expansion": { - "identifier": "urn:uuid:e9cff1c2-8743-48cb-9bde-8f4af914544b", - "timestamp": "2023-08-30T10:41:59+10:00", - "total": 4, + "identifier": "urn:uuid:9a0c2291-6dd8-4778-9099-4622f64fa897", + "timestamp": "2025-05-01T10:00:49+10:00", + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20230831" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" }, { "name": "used-codesystem", - "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20230831" + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" } ], "contains": [ @@ -78,7 +98,7 @@ { "property": "constraint", "op": "=", - "value": "^ 32570631000036107|Sex reference set|" + "value": "^32570631000036107|Sex reference set|" } ] } diff --git a/fsh-generated/resources/ValueSet-clinical-condition-1.json b/fsh-generated/resources/ValueSet-clinical-condition-1.json new file mode 100644 index 00000000..59e94cad --- /dev/null +++ b/fsh-generated/resources/ValueSet-clinical-condition-1.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ValueSet", + "status": "active", + "name": "ClinicalCondition", + "id": "clinical-condition-1", + "title": "Clinical Condition", + "description": "The Clinical Condition value set includes values that cover a broad range of clinical concepts to support the representation of conditions, including problems, diagnoses and disorders.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10035" + } + ], + "version": "1.0.2", + "experimental": false, + "date": "2020-05-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "copyright": "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "in", + "value": "32570581000036105" + } + ] + } + ] + } +} diff --git a/fsh-generated/resources/ValueSet-condition-clinical.json b/fsh-generated/resources/ValueSet-condition-clinical.json index 19f83ded..e35a6f0b 100644 --- a/fsh-generated/resources/ValueSet-condition-clinical.json +++ b/fsh-generated/resources/ValueSet-condition-clinical.json @@ -6,11 +6,6 @@ "title": "Condition Clinical Status Codes", "description": "Preferred value set for Condition Clinical Status.", "url": "http://hl7.org/fhir/ValueSet/condition-clinical", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/shareablevalueset" - ] - }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", @@ -31,7 +26,7 @@ "value": "urn:oid:2.16.840.1.113883.4.642.3.164" } ], - "version": "4.3.0", + "version": "4.0.1", "experimental": false, "publisher": "FHIR Project team", "contact": [ @@ -44,56 +39,74 @@ ] } ], - "copyright": "Copyright © 2011+ HL7. Creative Commons 'No Rights Reserved' (CC0)", + "copyright": "Copyright © 2011+ HL7. Licensed under Creative Commons \"No Rights Reserved\".", + "date": "2019-11-01T09:29:23+11:00", "expansion": { - "identifier": "5d4bed14-061a-42c4-853d-e6a624c4f483", - "timestamp": "2022-10-20T09:32:48+10:00", - "total": 6, + "identifier": "urn:uuid:7b100d21-fde9-4fd8-bded-80f345db777d", + "timestamp": "2025-05-01T10:00:56+10:00", + "total": 7, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/condition-clinical|4.0.1" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/condition-clinical|3.0.0" } ], "contains": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", "code": "active", - "display": "Active" + "display": "Active", + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "recurrence", + "display": "Recurrence" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "relapse", + "display": "Relapse" + } + ] }, { "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", "code": "inactive", - "display": "Inactive" - }, - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "recurrence", - "display": "Recurrence" - }, - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "relapse", - "display": "Relapse" - }, - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "remission", - "display": "Remission" + "display": "Inactive", + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "remission", + "display": "Remission" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "resolved", + "display": "Resolved" + } + ] }, { "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "resolved", - "display": "Resolved" + "code": "unknown", + "display": "Unknown" } ] }, diff --git a/fsh-generated/resources/ValueSet-gender-identity-response-1.json b/fsh-generated/resources/ValueSet-gender-identity-response-1.json index 7865e4b7..fcdd43b6 100644 --- a/fsh-generated/resources/ValueSet-gender-identity-response-1.json +++ b/fsh-generated/resources/ValueSet-gender-identity-response-1.json @@ -4,23 +4,17 @@ "name": "GenderIdentityResponse", "id": "gender-identity-response-1", "title": "Gender Identity Response", - "description": "The Gender Identity Response value set includes values that may be used to represent a response for an individual’s gender. A person's gender is a social and cultural identity, expression and experience.", + "description": "The Gender Identity Response value set includes values that may be used to represent a response for an individual's gender. A person's gender is a social and cultural identity, expression and experience.", "url": "https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/shareablevalueset", - "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" - ] - }, "identifier": [ { "system": "urn:ietf:rfc:3986", "value": "urn:oid:1.2.36.1.2001.1004.201.10271" } ], - "version": "1.0.0", + "version": "1.1.0", "experimental": false, - "date": "2022-09-30", + "date": "2024-02-29", "publisher": "Australian Digital Health Agency", "contact": [ { @@ -32,59 +26,75 @@ ] } ], - "copyright": "Copyright © 2022 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.n\n\"This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. This resource includes material that is based on Australian Bureau of Statistics data.", + "copyright": "Copyright © 2022 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.\n\n\"This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. This resource includes material that is based on Australian Bureau of Statistics data. \n\nThis resource also includes all or a portion of material from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.", "expansion": { - "identifier": "urn:uuid:85c2e561-69ac-41f6-8e9e-07b3072ef48f", - "timestamp": "2023-08-30T10:18:47+10:00", - "total": 5, + "identifier": "urn:uuid:81810018-2ec2-4e42-adcc-6aab69e7750c", + "timestamp": "2025-05-01T10:00:58+10:00", + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" }, { "name": "used-codesystem", - "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" }, { "name": "version", - "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20230831" + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" }, { "name": "used-codesystem", - "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20230831" + "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" } ], "contains": [ { "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/32506021000036107/version/20230831", "code": "446151000124109", "display": "Identifies as male gender" }, { "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/32506021000036107/version/20230831", "code": "446141000124107", "display": "Identifies as female gender" }, { "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/32506021000036107/version/20230831", "code": "33791000087105", "display": "Identifies as nonbinary gender" }, { "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", - "version": "5.0.0-ballot", "code": "unknown", "display": "Unknown" }, { "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", - "version": "5.0.0-ballot", "code": "asked-declined", "display": "Asked But Declined" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "not-asked", + "display": "Not Asked" } ] }, @@ -112,6 +122,9 @@ }, { "code": "asked-declined" + }, + { + "code": "not-asked" } ] } diff --git a/fsh-generated/resources/ValueSet-heart-rhythm-1.json b/fsh-generated/resources/ValueSet-heart-rhythm-1.json new file mode 100644 index 00000000..eed74d5c --- /dev/null +++ b/fsh-generated/resources/ValueSet-heart-rhythm-1.json @@ -0,0 +1,74 @@ +{ + "resourceType": "ValueSet", + "status": "draft", + "name": "HeartRhythm", + "id": "heart-rhythm-1", + "title": "Heart Rhythm", + "description": "The Heart Rhythm value set includes values that may be used to represent the heart rhythm of an individual.", + "url": "https://smartforms.csiro.au/ig/ValueSet/heart-rhythm-1", + "experimental": false, + "expansion": { + "identifier": "urn:uuid:b12cc8bf-25b0-49a8-8ee1-f641fd89cfa7", + "timestamp": "2025-06-27T12:16:28+10:00", + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250630" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250630" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "code": "933506231000036108", + "display": "Regular heart rhythm" + }, + { + "system": "http://snomed.info/sct", + "code": "361137007", + "display": "Irregular heart rhythm" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "933506231000036108", + "display": "Regular heart rhythm" + }, + { + "code": "361137007", + "display": "Irregular heart rhythm" + } + ] + } + ] + } +} diff --git a/fsh-generated/resources/ValueSet-medication-reason-taken-1.json b/fsh-generated/resources/ValueSet-medication-reason-taken-1.json new file mode 100644 index 00000000..15d86a83 --- /dev/null +++ b/fsh-generated/resources/ValueSet-medication-reason-taken-1.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ValueSet", + "status": "active", + "name": "MedicationReasonTaken", + "id": "medication-reason-taken-1", + "title": "Medication Reason Taken", + "description": "The Medication Reason Taken value set includes values that identify a reason why a medication has been or is being taken.", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/medication-reason-taken-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10048" + } + ], + "version": "1.1.0", + "experimental": false, + "date": "2020-07-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "copyright": "Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted.\n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "constraint", + "op": "=", + "value": "^32570581000036105|Problem/Diagnosis reference set| OR ^1184831000168105|Drug prophylaxis reference set| OR <<399097000|Administration of anaesthesia| OR 169443000|Preventive procedure|" + } + ] + } + ] + } +} diff --git a/fsh-generated/resources/ValueSet-pronouns.json b/fsh-generated/resources/ValueSet-pronouns.json deleted file mode 100644 index 32345635..00000000 --- a/fsh-generated/resources/ValueSet-pronouns.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "resourceType": "ValueSet", - "status": "active", - "name": "PersonalPronouns", - "id": "pronouns", - "title": "Personal Pronouns", - "description": "Codes that indicate the pronouns to be used when communicating with or about an individual.", - "url": "http://terminology.hl7.org/ValueSet/pronouns", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/shareablevalueset" - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", - "valueCode": "pa" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", - "valueCode": "trial-use" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", - "valueInteger": 1 - } - ], - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:oid:2.16.840.1.113883.4.642.3.3290" - } - ], - "version": "1.0.0", - "experimental": false, - "date": "2023-07-17T22:16:15-06:00", - "publisher": "FHIR Project team", - "contact": [ - { - "telecom": [ - { - "system": "url", - "value": "http://hl7.org/fhir" - } - ] - } - ], - "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", - "expansion": { - "identifier": "urn:uuid:220b830c-6a1b-43e7-81e0-ccf92485fcdf", - "timestamp": "2023-10-17T10:42:37+10:00", - "total": 3, - "parameter": [ - { - "name": "version", - "valueUri": "http://loinc.org|2.76" - }, - { - "name": "used-codesystem", - "valueUri": "http://loinc.org|2.76" - } - ], - "contains": [ - { - "system": "http://loinc.org", - "code": "LA29518-0", - "display": "he/him/his/his/himself" - }, - { - "system": "http://loinc.org", - "code": "LA29519-8", - "display": "she/her/her/hers/herself" - }, - { - "system": "http://loinc.org", - "code": "LA29520-6", - "display": "they/them/their/theirs/themselves" - } - ] - }, - "compose": { - "include": [ - { - "system": "http://loinc.org", - "concept": [ - { - "code": "LA29518-0", - "display": "he/him/his/his/himself" - }, - { - "code": "LA29519-8", - "display": "she/her/her/hers/herself" - }, - { - "code": "LA29520-6", - "display": "they/them/their/theirs/themselves" - } - ] - } - ] - } -} diff --git a/fsh-generated/resources/ValueSet-smart-health-checks-medicine-products.json b/fsh-generated/resources/ValueSet-smart-health-checks-medicine-products.json new file mode 100644 index 00000000..e3900bab --- /dev/null +++ b/fsh-generated/resources/ValueSet-smart-health-checks-medicine-products.json @@ -0,0 +1,25 @@ +{ + "resourceType": "ValueSet", + "status": "draft", + "name": "SmartHealthChecksMedicineProducts", + "id": "smart-health-checks-medicine-products", + "title": "Smart Health Checks Medicine Products", + "description": "The Smart Health Checks Medicine Products value set includes Australian Medicines Terminology (AMT) product concepts that may be used for the identification of a medicine with form, ingredient and unit of measure details.", + "url": "https://smartforms.csiro.au/ig/ValueSet/smart-health-checks-medicine-products", + "experimental": false, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107", + "filter": [ + { + "property": "constraint", + "op": "=", + "value": "^ 929360081000036101|Medicinal product pack reference set| OR ^ 929360071000036103|Medicinal product unit of use reference set| OR ^ 929360041000036105|Trade product pack reference set| OR ^ 929360031000036100|Trade product unit of use reference set| OR ^ 929360051000036108|Containered trade product pack reference set|" + } + ] + } + ] + } +} diff --git a/input/examples/AllergyIntolerance-604a-pat-sf.json b/input/examples/AllergyIntolerance-604a-pat-sf.json new file mode 100644 index 00000000..7b31d506 --- /dev/null +++ b/input/examples/AllergyIntolerance-604a-pat-sf.json @@ -0,0 +1,51 @@ +{ + "resourceType": "AllergyIntolerance", + "id": "604a-pat-sf", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerance" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "412583005", + "display": "Bee pollen" + } + ], + "text": "Bee pollen" + }, + "patient": { + "reference": "Patient/pat-sf" + }, + "note": [ + { + "text": "comment" + } + ], + "reaction": [ + { + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "271807003", + "display": "Rash" + } + ], + "text": "Rash" + } + ] + } + ] +} \ No newline at end of file diff --git a/input/examples/Bundle-sdc-template-extract-928bbdd27d15.json b/input/examples/Bundle-sdc-template-extract-928bbdd27d15.json new file mode 100644 index 00000000..44838437 --- /dev/null +++ b/input/examples/Bundle-sdc-template-extract-928bbdd27d15.json @@ -0,0 +1,824 @@ +{ + "resourceType": "Bundle", + "id": "sdc-template-extract-928bbdd27d15", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCExtractBundle" + ], + "tag": [ + { + "code": "@aehrc/sdc-template-extract-v0.1.0:generated" + } + ] + }, + "type": "transaction", + "timestamp": "2025-08-15T00:08:34.723Z", + "entry": [ + { + "fullUrl": "urn:uuid:c618ee3d-b07b-4711-90f5-56d934b906de", + "resource": { + "resourceType": "Condition", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCCondition" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "195967001", + "display": "Asthma" + } + ] + }, + "subject": { + "reference": "Patient/pat-sf" + }, + "onsetDateTime": "2025-07-01", + "note": [ + { + "text": "Difficulty breathing" + } + ] + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:81c413e3-46e4-4f9f-96f5-c71983f6ffcd", + "resource": { + "resourceType": "Condition", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCCondition" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item" + } + ] + } + ], + "code": { + "text": "Really bad pain" + }, + "subject": { + "reference": "Patient/pat-sf" + }, + "onsetDateTime": "2025-08-13" + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:ffb87c39-5fa8-4ea7-92c1-83911ecf33a7", + "resource": { + "resourceType": "Parameters", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCConditionPatch" + ] + }, + "parameter": [ + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "Condition.clinicalStatus" + }, + { + "name": "value", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "inactive", + "display": "Inactive" + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Clinical status" + } + ] + }, + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "Condition.abatement" + }, + { + "name": "value", + "valueDateTime": "2025-08-15" + }, + { + "name": "pathLabel", + "valueString": "Abatement date" + } + ] + } + ] + }, + "request": { + "method": "PATCH", + "url": "Condition/fever-pat-sf" + } + }, + { + "fullUrl": "urn:uuid:f23b4046-2326-4c86-b4f6-1e8b6f6f7321", + "resource": { + "resourceType": "MedicationStatement", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatement" + ] + }, + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "85332011000036101", + "display": "Coveram 10 mg/10 mg (perindopril arginine/amlodipine) tablet" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "38341003", + "display": "Hypertension" + } + ] + } + ], + "dosage": [ + { + "text": "One tablet daily" + } + ], + "subject": { + "reference": "Patient/pat-sf" + }, + "dateAsserted": "2025-08-15T10:08:34.551+10:00", + "note": [ + { + "text": "Review regularly" + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationStatement" + } + }, + { + "fullUrl": "urn:uuid:c8a97d6f-d0d5-4561-ab83-2607b3bb072f", + "resource": { + "resourceType": "Parameters", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatementPatch" + ] + }, + "parameter": [ + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "MedicationStatement.status" + }, + { + "name": "value", + "valueCode": "completed" + }, + { + "name": "pathLabel", + "valueString": "Status" + } + ] + }, + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "MedicationStatement.note[0].text" + }, + { + "name": "value", + "valueMarkdown": "Worked effectively." + }, + { + "name": "pathLabel", + "valueString": "Comment" + } + ] + } + ] + }, + "request": { + "method": "PATCH", + "url": "MedicationStatement/chloramphenicol-pat-sf" + } + }, + { + "fullUrl": "urn:uuid:e1f31c73-cb18-4ddd-aacb-26d59de074ba", + "resource": { + "resourceType": "AllergyIntolerance", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerance" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "387458008", + "display": "Aspirin" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "126485001", + "display": "Urticaria" + } + ] + } + ] + } + ], + "patient": { + "reference": "Patient/pat-sf" + }, + "note": [ + { + "text": "Moderate reaction" + } + ] + }, + "request": { + "method": "POST", + "url": "AllergyIntolerance" + } + }, + { + "fullUrl": "urn:uuid:346d80b8-9aef-42eb-a794-bbb74774ff7f", + "resource": { + "resourceType": "Parameters", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerancePatch" + ] + }, + "parameter": [ + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "AllergyIntolerance.clinicalStatus" + }, + { + "name": "value", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "inactive", + "display": "Inactive" + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Clinical status" + } + ] + }, + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "AllergyIntolerance.note[0].text" + }, + { + "name": "value", + "valueMarkdown": "Duplicated allergy in record. Removed." + }, + { + "name": "pathLabel", + "valueString": "Comment" + } + ] + } + ] + }, + "request": { + "method": "PATCH", + "url": "AllergyIntolerance/604a-pat-sf" + } + }, + { + "fullUrl": "urn:uuid:29c3f6e2-4789-4114-8faf-95d250fc1986", + "resource": { + "resourceType": "Observation", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCSmokingStatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1747861000168109" + }, + { + "system": "http://loinc.org", + "code": "72166-2" + } + ], + "text": "Smoking status" + }, + "subject": { + "reference": "Patient/pat-sf" + }, + "effectiveDateTime": "2025-08-15", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "8517006", + "display": "Ex-smoker" + } + ] + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:9c321cfb-0218-455e-a44b-4c6c65afc40e", + "resource": { + "resourceType": "Immunization", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCImmunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "884862121000036103", + "display": "Fluquadri 2025" + } + ] + }, + "patient": { + "reference": "Patient/pat-sf" + }, + "occurrenceDateTime": "2025-08-15", + "lotNumber": "123" + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:559e4dda-ee0d-46c2-9f32-0bb66d9ae5e2", + "resource": { + "resourceType": "Observation", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyHeight" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2" + }, + { + "system": "http://snomed.info/sct", + "code": "50373000" + } + ], + "text": "Height" + }, + "valueQuantity": { + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm", + "value": 164 + }, + "subject": { + "reference": "Patient/pat-sf" + }, + "effectiveDateTime": "2025-08-15" + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:20e79d0a-17cc-4e0a-9507-b441815ec266", + "resource": { + "resourceType": "Observation", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyWeight" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7" + }, + { + "system": "http://snomed.info/sct", + "code": "27113001" + } + ], + "text": "Weight" + }, + "valueQuantity": { + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg", + "value": 80 + }, + "subject": { + "reference": "Patient/pat-sf" + }, + "effectiveDateTime": "2025-08-15" + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:553b15aa-fa22-4290-bcfb-f683ad6d6674", + "resource": { + "resourceType": "Observation", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCWaistCircumference" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8280-0" + }, + { + "system": "http://snomed.info/sct", + "code": "276361009" + } + ], + "text": "Waist circumference" + }, + "valueQuantity": { + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm", + "value": 90 + }, + "subject": { + "reference": "Patient/pat-sf" + }, + "effectiveDateTime": "2025-08-15" + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:1d0cce77-432d-42d7-a9be-5711972e7953", + "resource": { + "resourceType": "Observation", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRate" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4" + }, + { + "system": "http://snomed.info/sct", + "code": "364075005" + } + ], + "text": "Heart rate" + }, + "valueQuantity": { + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min", + "value": 75 + }, + "subject": { + "reference": "Patient/pat-sf" + }, + "effectiveDateTime": "2025-08-15" + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3583d16f-a22f-4f03-8251-1d5d04ea87de", + "resource": { + "resourceType": "Observation", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRhythm" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8884-9" + }, + { + "system": "http://snomed.info/sct", + "code": "364074009" + } + ], + "text": "Heart rhythm" + }, + "subject": { + "reference": "Patient/pat-sf" + }, + "effectiveDateTime": "2025-08-15", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "933506231000036108", + "display": "Regular heart rhythm" + } + ] + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:37e726d5-6ccd-4c81-ad8f-abc3460a645f", + "resource": { + "resourceType": "Observation", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCBloodPressure" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9" + }, + { + "system": "http://snomed.info/sct", + "code": "75367002" + } + ], + "text": "Blood pressure" + }, + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6" + }, + { + "system": "http://snomed.info/sct", + "code": "271649006" + } + ], + "text": "Systolic" + }, + "valueQuantity": { + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]", + "value": 170 + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4" + }, + { + "system": "http://snomed.info/sct", + "code": "271650006" + } + ], + "text": "Diastolic" + }, + "valueQuantity": { + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]", + "value": 90 + } + } + ], + "subject": { + "reference": "Patient/pat-sf" + }, + "effectiveDateTime": "2025-08-15" + }, + "request": { + "method": "POST", + "url": "Observation" + } + } + ] +} \ No newline at end of file diff --git a/input/examples/Condition-fever-pat-sf.json b/input/examples/Condition-fever-pat-sf.json new file mode 100644 index 00000000..1bad3cf9 --- /dev/null +++ b/input/examples/Condition-fever-pat-sf.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Condition", + "id": "fever-pat-sf", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCCondition" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active", + "display": "Active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item" + } + ] + } + ], + "severity": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "6736007", + "display": "Moderate" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "63993003", + "display": "Remittent fever" + } + ], + "text": "Remittent fever" + }, + "subject": { + "reference": "Patient/pat-sf" + }, + "onsetDateTime": "2015-02-11T00:00:00.000Z", + "recordedDate": "2015-02-12", + "recorder": { + "reference": "Practitioner/primary-peter" + } +} \ No newline at end of file diff --git a/input/examples/MedicationStatement-chloramphenicol-pat-sf.json b/input/examples/MedicationStatement-chloramphenicol-pat-sf.json new file mode 100644 index 00000000..c8cd20b5 --- /dev/null +++ b/input/examples/MedicationStatement-chloramphenicol-pat-sf.json @@ -0,0 +1,40 @@ +{ + "resourceType": "MedicationStatement", + "id": "chloramphenicol-pat-sf", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatement" + ] + }, + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "22717011000036101", + "display": "Chloramphenicol 1% eye ointment" + } + ], + "text": "Chloramphenicol 1% eye ointment" + }, + "subject": { + "reference": "Patient/pat-sf" + }, + "dateAsserted": "2024-02-05", + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "128350005" + } + ], + "text": "Bacterial conjunctivitis" + } + ], + "dosage": [ + { + "text": "Apply 1 drop to each eye every 2 hours for 7 days" + } + ] +} \ No newline at end of file diff --git a/input/examples/Patient-pat-sf.json b/input/examples/Patient-pat-sf.json new file mode 100644 index 00000000..93ac09ad --- /dev/null +++ b/input/examples/Patient-pat-sf.json @@ -0,0 +1,282 @@ +{ + "resourceType": "Patient", + "id": "pat-sf", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatient" + ] + }, + "extension": [ + { + "url": "http://hl7.org.au/fhir/StructureDefinition/indigenous-status", + "valueCoding": { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", + "code": "1", + "display": "Aboriginal but not Torres Strait Islander origin" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity", + "extension": [ + { + "url": "value", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "446141000124107", + "display": "Identifies as female gender" + } + ] + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/individual-pronouns", + "extension": [ + { + "url": "value", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "LA29520-6", + "display": "they/them/their/theirs/themselves" + } + ] + } + }, + { + "url": "period", + "valuePeriod": { + "start": "2018-02", + "end": "2022-06" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/individual-pronouns", + "extension": [ + { + "url": "value", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "LA29519-8", + "display": "she/her/her/hers/herself" + } + ] + } + }, + { + "url": "period", + "valuePeriod": { + "start": "2022-06" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender", + "extension": [ + { + "url": "value", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "248152002", + "display": "Female" + } + ], + "text": "Female" + } + }, + { + "url": "type", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1515311000168102", + "display": "Biological sex at birth" + } + ], + "text": "Sex at Birth" + } + }, + { + "url": "effectivePeriod", + "valuePeriod": { + "start": "2022-06" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender", + "extension": [ + { + "url": "value", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "32570681000036106", + "display": "Indeterminate sex" + } + ], + "text": "Indeterminate sex" + } + }, + { + "url": "type", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1515311000168102", + "display": "Biological sex at birth" + } + ], + "text": "Sex at Birth" + } + }, + { + "url": "effectivePeriod", + "valuePeriod": { + "start": "2018-02", + "end": "2022-06" + } + } + ] + } + ], + "identifier": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MC" + } + ], + "text": "Medicare Number" + }, + "system": "http://ns.electronichealth.net.au/id/medicare-number", + "value": "69514496771", + "period": { + "end": "2024-08" + } + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "NI", + "display": "National unique individual identifier" + } + ], + "text": "IHI" + }, + "system": "http://ns.electronichealth.net.au/id/hi/ihi/1.0", + "value": "8003608833357361" + } + ], + "name": [ + { + "use": "official", + "text": "Mrs. Smart Form", + "family": "Form", + "given": [ + "Smart" + ], + "prefix": [ + "Mrs" + ] + }, + { + "use": "usual", + "text": "Clever Form" + } + ], + "telecom": [ + { + "system": "phone", + "value": "0491 572 665", + "use": "mobile" + }, + { + "system": "phone", + "value": "0123456879", + "use": "home" + } + ], + "gender": "female", + "birthDate": "1968-10-11", + "address": [ + { + "use": "home", + "type": "physical", + "line": [ + "4 Brisbane Street" + ], + "city": "Brisbane", + "state": "QLD", + "postalCode": "4112", + "country": "AU" + }, + { + "use": "temp", + "type": "postal", + "line": [ + "PO Box Number" + ], + "city": "Brisbane", + "state": "QLD", + "postalCode": "4112", + "country": "AU" + } + ], + "contact": [ + { + "relationship": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "code": "C" + } + ] + } + ], + "name": { + "use": "usual", + "text": "Ms Phone A Friend" + }, + "telecom": [ + { + "system": "phone", + "value": "0987654321" + } + ] + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "system": "urn:ietf:bcp:47", + "code": "yub" + } + ], + "text": "Yugambal" + } + } + ] +} \ No newline at end of file diff --git a/input/examples/Practitioner-primary-peter.json b/input/examples/Practitioner-primary-peter.json new file mode 100644 index 00000000..375904dc --- /dev/null +++ b/input/examples/Practitioner-primary-peter.json @@ -0,0 +1,37 @@ +{ + "resourceType": "Practitioner", + "id": "primary-peter", + "meta": { + "profile": [ + "https://smartforms.csiro.au/ig/StructureDefinition/SHCPractitioner" + ] + }, + "identifier": [ + { + "system": "http://www.acme.org/practitioners", + "value": "25456" + } + ], + "name": [ + { + "family": "Primary", + "given": [ + "Peter" + ], + "prefix": [ + "Dr" + ] + } + ], + "address": [ + { + "use": "work", + "line": [ + "310 Hay St" + ], + "city": "East Perth", + "state": "WA", + "postalCode": "6004" + } + ] +} \ No newline at end of file diff --git a/input/fsh/715-AboutTheHealthCheck.fsh b/input/fsh/715-AboutTheHealthCheck.fsh index 024046bf..5989371e 100644 --- a/input/fsh/715-AboutTheHealthCheck.fsh +++ b/input/fsh/715-AboutTheHealthCheck.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: AboutTheHealthCheck InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - About The Health Check" Description: "About The Health Check sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -43,6 +43,17 @@ Description: "About The Health Check sub-questionnaire for Aboriginal and Torres * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //fhir query variables * extension[+] @@ -58,6 +69,13 @@ Description: "About The Health Check sub-questionnaire for Aboriginal and Torres * language = #application/x-fhir-query * expression = "QuestionnaireResponse?_count=1&_sort=-authored&patient={{%patient.id}}" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" @@ -67,7 +85,7 @@ Description: "About The Health Check sub-questionnaire for Aboriginal and Torres * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -86,36 +104,18 @@ Description: "About The Health Check sub-questionnaire for Aboriginal and Torres * type = #display * enableWhen[+] * question = "MarkComplete-1" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-1" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-1" // Section complete item * operator = #= * answerBoolean = true - /* * item[+] //alert - * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display - * linkId = "3be16eaa-737b-48f5-b0d2-f0c785946e13" - * text = "Alert" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" - * type = #display - * enableWhen[+] - * question = "820f5b73-3539-44d2-8e8f-c485cf443839" // BMI item - * operator = #>= - * answerDecimal = 25 -*/ - * item[+] - * linkId = "RecordUpdate-About" - * text = "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first." - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
- Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first. -
" - * type = #display * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button * extension[questionnaire-choiceOrientation].valueCode = #horizontal @@ -144,7 +144,7 @@ Description: "About The Health Check sub-questionnaire for Aboriginal and Torres * expression = "%QuestionnaireResponseLatestCompleted.entry.resource.authored" * linkId = "01418489-1ec4-4c3b-b96a-7c14c3e21cfe" * text = "Date of last completed health check" - * type = #date + * type = #dateTime * repeats = false * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression @@ -154,11 +154,10 @@ Description: "About The Health Check sub-questionnaire for Aboriginal and Torres * text = "Date this health check commenced" * type = #date * repeats = false - * item[+] * linkId = "MarkComplete-1" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean * repeats = false diff --git a/input/fsh/715-AssemblyInstructions.fsh b/input/fsh/715-AssemblyInstructions.fsh index 997aca66..6d1db298 100644 --- a/input/fsh/715-AssemblyInstructions.fsh +++ b/input/fsh/715-AssemblyInstructions.fsh @@ -4,26 +4,25 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: AssemblyInstructions InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check" Description: "Aboriginal and Torres Strait Islander Health Check assessment form." -//* contained[+] = PrePopQuery * contained[+] = YesNo * contained[+] = YesNoNA * contained[+] = YesNoNotAskedDeclined -* contained[+] = MedicalHistory -/** contained[+] = MedicalHistoryShortListInfants -* contained[+] = MedicalHistoryShortListPrimarySchool -* contained[+] = MedicalHistoryShortListAdolescents -* contained[+] = MedicalHistoryShortListAdultsAndOlderPeople*/ +* contained[+] = clinical-condition-1 +* contained[+] = administrative-gender * contained[+] = condition-clinical * contained[+] = AboriginalTorresStraitIslander * contained[+] = PrimaryCarerParentGrandparent -* contained[+] = pronouns +* contained[+] = australian-pronouns-1 * contained[+] = australian-states-territories-2 * contained[+] = gender-identity-response-1 * contained[+] = biological-sex-1 +* contained[+] = SmokingQuitStatus-1 +* contained[+] = TobaccoUseStatus-1 +* contained[+] = CervicalScreeningStatus-1 //assemble expectation * extension[+] @@ -53,9 +52,17 @@ Description: "Aboriginal and Torres Strait Islander Health Check assessment form * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" - -//Prepop query -//* extension[sdc-questionnaire-sourceQueries].valueReference = Reference(PrePopQuery) +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //fhir query variables * extension[+] @@ -63,15 +70,47 @@ Description: "Aboriginal and Torres Strait Islander Health Check assessment form * valueExpression * name = "Condition" * language = #application/x-fhir-query - * expression = "Condition?patient={{%patient.id}}" + * expression = "Condition?patient={{%patient.id}}&category=http://terminology.hl7.org/CodeSystem/condition-category|problem-list-item" * extension[+] * url = "http://hl7.org/fhir/StructureDefinition/variable" * valueExpression * name = "ObsBloodPressure" * language = #application/x-fhir-query - * expression = "Observation?code=85354-9&_count=1&_sort=-date&patient={{%patient.id}}" + * expression = "Observation?code=85354-9&_sort=-date&patient={{%patient.id}}" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsTobaccoSmokingStatus" + * language = #application/x-fhir-query + * expression = "Observation?code=72166-2&_sort=-date&patient={{%patient.id}}" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "SexAtBirthCoding" + * language = #text/fhirpath + * expression = "%patient.extension.where(exists(url='http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender' and extension.where(exists(url='type' and value.coding.code='1515311000168102')) and extension.where(url='effectivePeriod').value.end.empty())).extension.where(url='value').value.coding" + +//client side filtering on Observations +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsBloodPressureLatest" + * language = #text/fhirpath + * expression = "%ObsBloodPressure.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsTobaccoSmokingStatusLatest" + * language = #text/fhirpath + * expression = "%ObsTobaccoSmokingStatus.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver //workaround to stop server stripping of value sets referenced as canonical * extension[+] @@ -85,19 +124,10 @@ Description: "Aboriginal and Torres Strait Islander Health Check assessment form * valueReference.reference = "#YesNoNotAskedDeclined" * extension[+] * url = "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference" - * valueReference.reference = "#MedicalHistory" -/** extension[+] - * url = "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference" - * valueReference.reference = "#MedicalHistoryShortListInfants" -* extension[+] - * url = "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference" - * valueReference.reference = "#MedicalHistoryShortListPrimarySchool" -* extension[+] - * url = "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference" - * valueReference.reference = "#MedicalHistoryShortListAdolescents" + * valueReference.reference = "#clinical-condition-1" * extension[+] * url = "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference" - * valueReference.reference = "#MedicalHistoryShortListAdultsAndOlderPeople"*/ + * valueReference.reference = "#administrative-gender" * extension[+] * url = "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference" * valueReference.reference = "#condition-clinical" @@ -109,7 +139,7 @@ Description: "Aboriginal and Torres Strait Islander Health Check assessment form * valueReference.reference = "#PrimaryCarerParentGrandparent" * extension[+] * url = "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference" - * valueReference.reference = "#pronouns" + * valueReference.reference = "#australian-pronouns-1" * extension[+] * url = "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference" * valueReference.reference = "#australian-states-territories-2" @@ -119,134 +149,41 @@ Description: "Aboriginal and Torres Strait Islander Health Check assessment form * extension[+] * url = "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference" * valueReference.reference = "#biological-sex-1" +* extension[+] + * url = "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference" + * valueReference.reference = "#SmokingQuitStatus-1" +* extension[+] + * url = "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference" + * valueReference.reference = "#TobaccoUseStatus-1" +* extension[+] + * url = "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference" + * valueReference.reference = "#CervicalScreeningStatus-1" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715" -* version = "0.1.0" * name = "AboriginalTorresStraitIslanderHealthCheck" * title = "Aboriginal and Torres Strait Islander Health Check" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU // Root * item[+] * linkId = "fd5af92e-c248-497a-8007-ee0952ccd4d9" * type = #group - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl][+].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control|1.0.0#tab-container + * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl][+].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#tab-container //fhirpath variables * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression * name = "age" * language = #text/fhirpath * expression = "item.where(linkId='5b224753-9365-44e3-823b-9c17e7394005').item.where(linkId='e2a16e4d-2765-4b61-b286-82cfc6356b30').answer.value" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "sex" - * language = #text/fhirpath - * expression = "item.where(linkId='5b224753-9365-44e3-823b-9c17e7394005').item.where(linkId='56ef44bb-3d1d-4972-aad1-834b69185d61').answer.value" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "smoker" - * language = #text/fhirpath - * expression = "item.where(linkId='14a9fb5f-5b0e-4862-b143-08a11cd3ebf0').item.where(linkId='515eda6e-973a-4b10-910a-0d4bf4f2efff').item.where(linkId='b639a3a8-f476-4cc8-b5c7-f5d2abb23511').answer.value" * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression * name = "postcode" * language = #text/fhirpath * expression = "item.where(linkId='5b224753-9365-44e3-823b-9c17e7394005').item.where(linkId='f1262ade-843c-4eba-a86d-51a9c97d134b').item.where(linkId='4e0dc185-f83e-4027-b7a8-ecb543d42c6d').item.where(linkId='3f61a1ea-1c74-4f52-8519-432ce861a74f').answer.value" - - /* Deprecated CVD risk algorithm - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "systolicBP" - * language = #text/fhirpath - * expression = "item.where(linkId='d95abe99-8ef2-4b97-bc88-a2901e2ebc9c').item.where(linkId='4b98f514-2f6a-41f3-ad9d-185abc68ae34').answer.value" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "smoker" - * language = #text/fhirpath - * expression = "iif(item.where(linkId='14a9fb5f-5b0e-4862-b143-08a11cd3ebf0').item.where(linkId='515eda6e-973a-4b10-910a-0d4bf4f2efff').item.where(linkId='b639a3a8-f476-4cc8-b5c7-f5d2abb23511').answer.value.code='77176002', 1, 0)" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "totalCh" - * language = #text/fhirpath - * expression = "item.where(linkId='d95abe99-8ef2-4b97-bc88-a2901e2ebc9c').item.where(linkId='f11feebc-fc4a-40d5-8481-b87d9f5a89aa').answer.value" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "hdl" - * language = #text/fhirpath - * expression = "item.where(linkId='d95abe99-8ef2-4b97-bc88-a2901e2ebc9c').item.where(linkId='c47a7fae-0c60-40f8-8426-1019b1f0dd8f').answer.value" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "diabetes" - * language = #text/fhirpath - * expression = "iif(item.where(linkId='d95abe99-8ef2-4b97-bc88-a2901e2ebc9c').item.where(linkId='e8fed84e-6c15-4f62-bc95-cd08033af3f7').answer.value = true,1,0)" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "female" - * language = #text/fhirpath - * expression = "iif(item.where(linkId='5b224753-9365-44e3-823b-9c17e7394005').item.where(linkId='56ef44bb-3d1d-4972-aad1-834b69185d61').answer.value.code='248152002', 1, 0)" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cvdAge" - * language = #text/fhirpath - * expression = "iif(%age > 74, 74, iif(%age < 35, 35, %age))" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "ecgLvh" - * language = #text/fhirpath - * expression = "iif(item.where(linkId='d95abe99-8ef2-4b97-bc88-a2901e2ebc9c').item.where(linkId='b980624c-e91a-44d4-80ba-a9f34c0e1188').answer.value = true,1,0)" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cBase" - * language = #text/fhirpath - * expression = "18.8144" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cFemale" - * language = #text/fhirpath - * expression = "%female * -1.2146" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cAge" - * language = #text/fhirpath - * expression = "%cvdAge.ln() * -1.8443" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cAgeFemale" - * language = #text/fhirpath - * expression = "%female * %cvdAge.ln() * 0.3668" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cSBP" - * language = #text/fhirpath - * expression = "%systolicBP.ln() * -1.4032" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cSmoker" - * language = #text/fhirpath - * expression = "%smoker * -0.3899" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cTcHdl" - * language = #text/fhirpath - * expression = "(%totalCh / %hdl).ln() * -0.539" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cDiabetes" - * language = #text/fhirpath - * expression = "%diabetes * -0.3036" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cDiabetesFemale" - * language = #text/fhirpath - * expression = "%female * %diabetes * -0.1697" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cEcgLvh" - * language = #text/fhirpath - * expression = "%ecgLvh * -0.3362" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "sumOfCoeffs" - * language = #text/fhirpath - * expression = "%cBase + %cFemale + %cAge + %cAgeFemale + %cSBP + %cSmoker + %cTcHdl + %cDiabetes + %cDiabetesFemale + %cEcgLvh" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cvdScale" - * language = #text/fhirpath - * expression = "(0.6536 + (%sumOfCoeffs * -0.2402)).exp()" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cvdU" - * language = #text/fhirpath - * expression = "(5.ln()-%sumOfCoeffs)/%cvdScale" - * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression - * name = "cvdScore" - * language = #text/fhirpath - * expression = "(1 - (%cvdU.exp()*-1).exp()) * 100" - */ // Health priorities summary variables * extension[http://hl7.org/fhir/StructureDefinition/variable][+].valueExpression * name = "HealthPrioritiesSummaryCurrentPriorities" @@ -372,207 +309,203 @@ Description: "Aboriginal and Torres Strait Islander Health Check assessment form * name = "HealthPrioritiesSummaryInvestigations" * language = #text/fhirpath * expression = "item.where(linkId='918f7f32-cdaf-4742-b33a-8254eda2d8bd').item.where(linkId='96a8d946-6078-4c85-9de8-3bf18d2c8150').answer.value" - - - // end variables - + // Subquestionnnaire inputs // About The Health Check * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/AboutTheHealthCheck|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/AboutTheHealthCheck|0.3.0" * linkId = "cd3303a6-e3b6-4732-80e8-54d2bd740beb" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/AboutTheHealthCheck|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/AboutTheHealthCheck|0.3.0] not available. Unable to display all questions." * type = #display // Consent * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Consent|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Consent|0.3.0" * linkId = "fab52f87-22a6-4a54-9797-0bb6b0f5d2a2" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Consent|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Consent|0.3.0] not available. Unable to display all questions." * type = #display // Patient Details * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/PatientDetails|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/PatientDetails|0.3.0" * linkId = "1d10910d-c195-4964-bdc6-98310a44719e" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/PatientDetails|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/PatientDetails|0.3.0] not available. Unable to display all questions." * type = #display // Current Priorities * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/CurrentPriorities|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/CurrentPriorities|0.3.0" * linkId = "7692f28c-7c0a-48ea-b27d-a8489974377d" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/CurrentPriorities|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/CurrentPriorities|0.3.0] not available. Unable to display all questions." * type = #display // Medical History and Current Problems * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/MedicalHistoryCurrentProblems|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/MedicalHistoryCurrentProblems|0.3.0" * linkId = "15f83d80-f49a-4852-a20f-18db9b951e53" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/MedicalHistory|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/MedicalHistory|0.3.0] not available. Unable to display all questions." * type = #display // Regular Medications * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/RegularMedications|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/RegularMedications|0.3.0" * linkId = "3a7151ef-d63b-4818-8367-03d394383a61" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/RegularMedications|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/RegularMedications|0.3.0] not available. Unable to display all questions." * type = #display // Allergies Adverse Reactions * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/AllergiesAdverseReactions|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/AllergiesAdverseReactions|0.3.0" * linkId = "334853dc-88d4-4cb1-a119-bb0ff6ea0516" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/AllergiesAdverseReactions|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/AllergiesAdverseReactions|0.3.0] not available. Unable to display all questions." * type = #display // Family History * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/FamilyHistory|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/FamilyHistory|0.3.0" * linkId = "1ab9b519-85ce-48ee-a408-8f0b9b74d112" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/FamilyHistory|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/FamilyHistory|0.3.0] not available. Unable to display all questions." * type = #display // Social And Emotional Wellbeing * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/SocialAndEmotionalWellbeing|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/SocialAndEmotionalWellbeing|0.3.0" * linkId = "228b8d31-21e3-49a6-b802-984135908dca" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SocialAndEmotionalWellbeing|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SocialAndEmotionalWellbeing|0.3.0] not available. Unable to display all questions." * type = #display // Social History Child * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/SocialHistoryChild|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/SocialHistoryChild|0.3.0" * linkId = "a43517f9-538e-4a4d-8789-b6c3d44206ba" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SocialHistoryChild|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SocialHistoryChild|0.3.0] not available. Unable to display all questions." * type = #display // Home And Family * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/HomeAndFamily|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/HomeAndFamily|0.3.0" * linkId = "8decf7bf-e24c-4d3d-815c-c53e269f004b" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/HomeAndFamily|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/HomeAndFamily|0.3.0] not available. Unable to display all questions." * type = #display // Learning And Development * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/LearningAndDevelopment|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/LearningAndDevelopment|0.3.0" * linkId = "3f554c37-7d0e-4b14-8f7f-a9ec665cc0a6" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/LearningAndDevelopment|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/LearningAndDevelopment|0.3.0] not available. Unable to display all questions." * type = #display // Learning And Work * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/LearningAndWork|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/LearningAndWork|0.3.0" * linkId = "362bf381-23e5-4eee-963a-3de73e584da5" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/LearningAndWork|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/LearningAndWork|0.3.0] not available. Unable to display all questions." * type = #display // Mood * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Mood|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Mood|0.3.0" * linkId = "51a545fa-907f-40f0-9304-36bcab5a16b8" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Mood|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Mood|0.3.0] not available. Unable to display all questions." * type = #display // Memory And Thinking * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/MemoryAndThinking|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/MemoryAndThinking|0.3.0" * linkId = "4217646d-e8e4-4ac5-baa7-fae28937cda7" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/MemoryAndThinking|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/MemoryAndThinking|0.3.0] not available. Unable to display all questions." * type = #display // Chronic Disease Ageing * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/ChronicDiseaseAgeing|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/ChronicDiseaseAgeing|0.3.0" * linkId = "070eadcf-9e93-499e-8615-61991ab35b32" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/ChronicDiseaseAgeing|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/ChronicDiseaseAgeing|0.3.0] not available. Unable to display all questions." * type = #display // Screening Programs * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/ScreeningPrograms|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/ScreeningPrograms|0.3.0" * linkId = "56d4bc0b-3bf1-4d47-ac34-5a1de0902de1" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/ScreeningPrograms|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/ScreeningPrograms|0.3.0] not available. Unable to display all questions." * type = #display // Healthy Eating * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/HealthyEating|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/HealthyEating|0.3.0" * linkId = "e0962739-c506-41d4-afd7-ab1b90db9cb4" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/HealthyEating|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/HealthyEating|0.3.0] not available. Unable to display all questions." * type = #display // Physical Activity And Screen Time * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/PhysicalActivityAndScreenTime|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/PhysicalActivityAndScreenTime|0.3.0" * linkId = "63cfb279-cd7d-41ed-a54b-0c17b6efe609" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/PhysicalActivityAndScreenTime|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/PhysicalActivityAndScreenTime|0.3.0] not available. Unable to display all questions." * type = #display // Red Flags Early Identification Guide For Children * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/RedFlagsEarlyIdentificationGuide|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/RedFlagsEarlyIdentificationGuide|0.3.0" * linkId = "db70690e-2199-495a-9919-53697efaf913" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/RedFlagsEarlyIdentificationGuide|0.1.0] not available. Unable to display all questions." - * type = #display - + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/RedFlagsEarlyIdentificationGuide|0.3.0] not available. Unable to display all questions." + * type = #display // Substance Use * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/SubstanceUse|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/SubstanceUse|0.3.0" * linkId = "d1f66f56-75fa-4498-9c51-eb98e1644243" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SubstanceUse|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SubstanceUse|0.3.0] not available. Unable to display all questions." * type = #display // Gambling * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Gambling|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Gambling|0.3.0" * linkId = "ea748251-bf77-4085-b912-e9002dfa02ca" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Gambling|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Gambling|0.3.0] not available. Unable to display all questions." * type = #display // SexualHealth * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/SexualHealth|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/SexualHealth|0.3.0" * linkId = "84bd802b-b3e1-4098-aa2c-2133f0e252f4" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SexualHealth|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/SexualHealth|0.3.0] not available. Unable to display all questions." * type = #display // Eye Health * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/EyeHealth|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/EyeHealth|0.3.0" * linkId = "56ad8128-0e12-4779-8ff4-47dcff6b29b5" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/EyeHealth|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/EyeHealth|0.3.0] not available. Unable to display all questions." * type = #display // Ear Health And Hearing * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/EarHealthAndHearing|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/EarHealthAndHearing|0.3.0" * linkId = "a8161e91-7cff-403f-85e6-982a9bc8fca6" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/EarHealthAndHearing|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/EarHealthAndHearing|0.3.0] not available. Unable to display all questions." * type = #display // Oral And Dental Health * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/OralAndDentalHealth|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/OralAndDentalHealth|0.3.0" * linkId = "fe05d868-aaed-4921-9d49-4e7746bbe143" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/OralAndDentalHealth|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/OralAndDentalHealth|0.3.0] not available. Unable to display all questions." * type = #display // Skin * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Skin|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Skin|0.3.0" * linkId = "64ec4c1c-0824-4b84-8d3f-40f6e066cb80" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Skin|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Skin|0.3.0] not available. Unable to display all questions." * type = #display // Immunisation * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Immunisation|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Immunisation|0.3.0" * linkId = "595737cd-3a94-442b-8be6-ab461c3181d2" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Immunisation|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Immunisation|0.3.0] not available. Unable to display all questions." * type = #display // Examination * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Examination|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Examination|0.3.0" * linkId = "3263611d-5813-4393-a660-d10166acd728" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Examination|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Examination|0.3.0] not available. Unable to display all questions." * type = #display // Absolute CVD Risk Calculation * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation|0.3.0" * linkId = "3a3b0810-e091-48ad-af50-913b0deaf663" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation|0.3.0] not available. Unable to display all questions." * type = #display // Investigations * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Investigations|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/Investigations|0.3.0" * linkId = "302d9437-25b9-41e3-9d66-138c352d32a8" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Investigations|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/Investigations|0.3.0] not available. Unable to display all questions." * type = #display // Health Priorities Summary * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/HealthPrioritiesSummary|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/HealthPrioritiesSummary|0.3.0" * linkId = "ada45623-5e86-49ea-a00b-be0699364281" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/HealthPrioritiesSummary|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/HealthPrioritiesSummary|0.3.0] not available. Unable to display all questions." * type = #display // Finalising Health Check * item[+] - * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/FinalisingHealthCheck|0.1.0" + * extension[sdc-questionnaire-subQuestionnaire].valueCanonical = "http://www.health.gov.au/assessments/mbs/715/FinalisingHealthCheck|0.3.0" * linkId = "a6395946-872a-4f2e-b697-c74aa1ab9b8d" - * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/FinalisingHealthCheck|0.1.0] not available. Unable to display all questions." + * text = "Sub-questionnaire [http://www.health.gov.au/assessments/mbs/715/FinalisingHealthCheck|0.3.0] not available. Unable to display all questions." * type = #display \ No newline at end of file diff --git a/input/fsh/715-Assessment-AbsoluteCVDRiskCalculation.fsh b/input/fsh/715-Assessment-AbsoluteCVDRiskCalculation.fsh index 556e41b9..f3daa4aa 100644 --- a/input/fsh/715-Assessment-AbsoluteCVDRiskCalculation.fsh +++ b/input/fsh/715-Assessment-AbsoluteCVDRiskCalculation.fsh @@ -4,11 +4,14 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: AbsoluteCVDRiskCalculation InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Absolute Cardiovascular Disease Risk Calculation" Description: "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." +* contained[+] = biological-sex-1 + + //assemble expectation * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation" @@ -37,6 +40,17 @@ Description: "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] @@ -50,10 +64,16 @@ Description: "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire * valueString = "ObsBloodPressure" * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" - * valueString = "sex" + * valueString = "ObsBloodPressureLatest" * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" - * valueString = "smoker" + * valueString = "SexAtBirthCoding" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" + * valueString = "ObsTobaccoSmokingStatus" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" + * valueString = "ObsTobaccoSmokingStatusLatest" * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "postcode" @@ -64,24 +84,96 @@ Description: "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire * valueExpression * name = "ObsTotalCholesterol" * language = #application/x-fhir-query - * expression = "Observation?code=14647-2&_count=1&_sort=-date&patient={{%patient.id}}" + * expression = "Observation?code=14647-2&_sort=-date&patient={{%patient.id}}" * extension[+] * url = "http://hl7.org/fhir/StructureDefinition/variable" * valueExpression * name = "ObsHDLCholesterol" * language = #application/x-fhir-query - * expression = "Observation?code=14646-4&_count=1&_sort=-date&patient={{%patient.id}}" + * expression = "Observation?code=14646-4&_sort=-date&patient={{%patient.id}}" +//client side filtering on Observations +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsTotalCholesterolLatest" + * language = #text/fhirpath + * expression = "%ObsTotalCholesterol.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHDLCholesterolLatest" + * language = #text/fhirpath + * expression = "%ObsHDLCholesterol.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" +//Previous CVD risk result variables +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "CVDRiskResult" + * language = #application/x-fhir-query + * expression = "Observation?code=441829007&_sort=-date&patient={{%patient.id}}" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "CVDRiskResultLatest" + * language = #text/fhirpath + * expression = "%CVDRiskResult.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "CVDRiskResultValue" + * language = #text/fhirpath + * expression = "%CVDRiskResultLatest.select((((value.ofType(Quantity).comparator + value.ofType(Quantity).value.toString() + value.ofType(Quantity).unit | value.ofType(Quantity).value.toString() + value.ofType(Quantity).unit).first() | (value.ofType(Range).low.value.toString() + ' - ' + value.ofType(Range).high.value.toString() + value.ofType(Range).high.unit)).first()) + ' ' + interpretation.coding.display)" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "CVDRiskResultDateString" + * language = #text/fhirpath + * expression = "%CVDRiskResultLatest.effective.toString()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "CVDRiskResultDateFormatted" + * language = #text/fhirpath + * expression = "%CVDRiskResultDateString.substring(8,2).toInteger().toString() + ' ' + %CVDRiskResultDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %CVDRiskResultDateString.substring(0,4)" + + +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "NewAssessmentQuestionAnswer" + * language = #text/fhirpath + * expression = "repeat(item).where(linkId='cvdrisk-newassessmentquestion').answer.value" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "AusCVDRiskiAccessAnswer" + * language = #text/fhirpath + * expression = "repeat(item).where(linkId='cvdrisk-auscvdriskiaccess').answer.value" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "RepopulateOverrideAnswer" + * language = #text/fhirpath + * expression = "repeat(item).where(linkId='cvdrisk-repopulateoverride').answer.value" + +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" +* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave" * url = "http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation" * name = "AbsoluteCVDRiskCalculation" * title = "Aboriginal and Torres Strait Islander Health Check - Absolute Cardiovascular Disease Risk Calculation" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU @@ -101,40 +193,117 @@ Description: "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire * type = #display * enableWhen[+] * question = "MarkComplete-2" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-2" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-2" // Section complete item * operator = #= * answerBoolean = true - * item[+] - * linkId = "RecordUpdate-CVDRisk" - * text = "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there." - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
- Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first. -
" - * type = #display * item[+] * linkId = "Guidance-CVDRisk" - * text = "Australian CVD risk calculator - https://www.cvdcheck.org.au/calculator" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
-

The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the online Australian CVD risk calculator.

-

The items included in this section are a subset of variables that can be used as inputs for the online calculator.

-

The final CVD risk result can be entered in the item at the bottom of this section.

-
" + * text = "The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the Aus CVD Risk calculator." + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "

The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the Aus CVD Risk calculator.

" * type = #display + * item[+] + * linkId = "dabdc7b4-51db-44a0-9d59-77a88587cbe9" + * text = "CVD risk result" + * type = #group + * repeats = false + * item[+] + * extension[sdc-questionnaire-initialExpression].valueExpression + * language = #text/fhirpath + * expression = "iif(%CVDRiskResultValue.exists() and %CVDRiskResultDateFormatted.exists(), %CVDRiskResultValue + ' ( ' + %CVDRiskResultDateFormatted + ' )', 'Not available')" + * linkId = "cvdrisk-latestresult" + * text = "Latest available result" + * type = #string + * repeats = false + * readOnly = true + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression + * language = #text/fhirpath + * expression = "%CVDRiskResultValue.exists() and %CVDRiskResultDateFormatted.exists()" + * linkId = "cvdrisk-newassessmentquestion" + * text = "A previous CVD risk result has been found. Do you want to perform a new assessment?" + * type = #boolean + * repeats = false + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression + * language = #text/fhirpath + * expression = "%NewAssessmentQuestionAnswer = true or %CVDRiskResultValue.empty() or %CVDRiskResultDateFormatted.empty()" + * linkId = "cvdrisk-auscvdriskiaccess" + * text = "Do you have access to the Aus CVD Risk-i application from your clinical system?" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "

Do you have access to the Aus CVD Risk‑i application from your clinical system?

" + * type = #boolean + * repeats = false + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression + * language = #text/fhirpath + * expression = "%AusCVDRiskiAccessAnswer = true" + * linkId = "cvdrisk-auscvdriskiguidance" + * text = "Using the Aus CVD Risk-i application, calculate the CVD risk result and save it to the patient record. This form can then be repopulated to retrieve and include the result above." + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "

Using the Aus CVD Risk‑i application, calculate the CVD risk result and save it to the patient record. This form can then be repopulated to retrieve and include the result above.

" + * type = #display + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression + * language = #text/fhirpath + * expression = "%AusCVDRiskiAccessAnswer = true" + * linkId = "cvdrisk-repopulateoverride" + * text = "Do you need to manually enter a new CVD risk result instead of repopulating?" + * type = #boolean + * repeats = false + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression + * language = #text/fhirpath + * expression = "%AusCVDRiskiAccessAnswer != true or %RepopulateOverrideAnswer = true" + * linkId = "cvdrisk-cvdriskresultgroup" + * text = "New CVD risk result" + * type = #group + * repeats = false + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression + * language = #text/fhirpath + * expression = "%AusCVDRiskiAccessAnswer != true" + * linkId = "cvdrisk-onlincecalculatorguidance" + * text = "Use the online Australian CVD risk calculator - https://www.cvdcheck.org.au/calculator" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "

The Australian CVD risk calculator on the Aus CVD Risk website should be used. Below is a read only view of a subset of variables that can be used as inputs for the online calculator. The calculated CVD risk result can be entered here.

" + * type = #display + * item[+] + * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#% + * linkId = "4c52fcec-0695-4916-b185-24a5c2711631" + * text = "Risk result score" + * type = #integer + * repeats = false + * item[+] + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit + * linkId = "0162854e-c124-4b58-acd9-93c17562d407" + * text = "%" + * type = #display + * item[+] + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button + * linkId = "28ff9463-b77f-435d-9ba7-427682a61f96" + * text = "Assessed risk category" + * type = #choice + * repeats = false + * answerOption[+].valueString = "High Risk" + * answerOption[+].valueString = "Intermediate Risk" + * answerOption[+].valueString = "Low Risk" +//Online calculator variables view * item[+] * linkId = "8d02ef36-3f48-4912-b001-e9fec6aa7101" * text = "CVD risk calculator variables" * type = #group * repeats = false * readOnly = true + * enableWhen[+] + * question = "cvdrisk-auscvdriskiaccess" + * operator = #= + * answerBoolean = false * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * description = "CVD Risk Age" @@ -153,34 +322,48 @@ Description: "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * description = "CVD Risk Sex At Birth" * language = #text/fhirpath - * expression = "%sex" + * expression = "%SexAtBirthCoding" * linkId = "3dbb0e63-3b28-4567-8ef3-bac242fd95f6" * text = "Sex at birth" * type = #choice * repeats = false - * answerValueSet = "https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1" - * item[+] - * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression - * description = "CVD Risk Smoking Status" - * language = #text/fhirpath - * expression = "%smoker" - * linkId = "bac0f824-3784-400e-80f9-ad18d46bd8cb" - * text = "Smoking status" - * type = #choice - * repeats = false - // better as a standard answerValueSet when missing concepts are available - * answerOption[+].valueCoding = http://snomed.info/sct#266919005 "Never smoked" - * answerOption[+].valueCoding = http://snomed.info/sct#77176002 "Smoker" - * answerOption[+].valueCoding = http://snomed.info/sct#8517006 "Ex-Smoker" - * answerOption[+].valueCoding = http://snomed.info/sct#16090371000119103 "Environmental exposure to tobacco smoke (home, car, etc)" - * answerOption[+].valueString = "Wants to quit" - * answerOption[+].valueString = "Other tobacco use" - + * answerValueSet = "#biological-sex-1" * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control|1.0.0#grid + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#grid * linkId = "fe9feec6-593a-4106-8a7d-f9965a632ea2" + * text = "Observation values" + * extension[+] + * url = "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden" + * valueBoolean = true * type = #group * repeats = false + * item[+] + * linkId = "bac0f824-3784-400e-80f9-ad18d46bd8cb" + * text = "Smoking status" + * type = #group + * repeats = false + * item[+] + * extension[sdc-questionnaire-initialExpression].valueExpression + * language = #text/fhirpath + * expression = "%ObsTobaccoSmokingStatusLatest.value.coding.where(system='http://snomed.info/sct').first()" + * linkId = "333007c7-47a9-482b-af11-e55484abf2ae" + * text = "Value" + * type = #choice + * repeats = false + * answerOption[+].valueCoding = http://snomed.info/sct#266919005 "Lifetime non-smoker" + * answerOption[+].valueCoding = http://snomed.info/sct#77176002 "Current smoker" + * answerOption[+].valueCoding = http://snomed.info/sct#8517006 "Ex-smoker" + * answerOption[+].valueCoding = http://snomed.info/sct#16090371000119103 "Exposure to second hand tobacco smoke" + * answerOption[+].valueString = "Wants to quit" + * answerOption[+].valueString = "Other tobacco use" + * item[+] + * extension[sdc-questionnaire-initialExpression].valueExpression + * language = #text/fhirpath + * expression = "%ObsTobaccoSmokingStatusLatest.effective" + * linkId = "cvdrisk-smokingstatus-date" + * text = "Date performed" + * type = #date + * repeats = false * item[+] * linkId = "fa4f73a3-7633-410c-9177-8aa43b117122" * text = "Systolic Blood Pressure" @@ -189,7 +372,7 @@ Description: "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsBloodPressure.entry.resource.component.where(code.coding.exists(code='8480-6')).value.value" + * expression = "%ObsBloodPressureLatest.component.where(code.coding.exists(code='8480-6')).value.value" * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#mm[Hg] * linkId = "818ce640-c8dd-457d-b607-3aaa8da38524" * text = "Value" @@ -203,7 +386,7 @@ Description: "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsBloodPressure.entry.resource.effective" + * expression = "%ObsBloodPressureLatest.effective" * linkId = "85d8faf7-ddb0-446c-b489-28d786d6de50" * text = "Date performed" * type = #date @@ -216,7 +399,7 @@ Description: "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsTotalCholesterol.entry.resource.value.value" + * expression = "%ObsTotalCholesterolLatest.value.value" * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#mmol/L * linkId = "99932a93-8135-47b2-933b-fd751b34b7af" * text = "Value" @@ -230,7 +413,7 @@ Description: "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsTotalCholesterol.entry.resource.effective" + * expression = "%ObsTotalCholesterolLatest.effective" * linkId = "16cbe87b-5c8d-4385-b7d9-da3f07f63f8a" * text = "Date performed" * type = #date @@ -243,7 +426,7 @@ Description: "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsHDLCholesterol.entry.resource.value.value" + * expression = "%ObsHDLCholesterolLatest.value.value" * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#mmol/L * linkId = "c14b4513-1e20-461d-97f4-4631711adc65" * text = "Value" @@ -257,7 +440,7 @@ Description: "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsHDLCholesterol.entry.resource.effective" + * expression = "%ObsHDLCholesterolLatest.effective" * linkId = "6407e0a7-c416-4a75-933b-904c0dcf88ca" * text = "Date performed" * type = #date @@ -271,145 +454,20 @@ Description: "Absolute Cardiovascular Disease Risk Calculation sub-questionnaire * text = "Postcode" * type = #string * item[+] - * extension[+][sdc-questionnaire-initialExpression].valueExpression + * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath * expression = "%Condition.entry.resource.code.coding.where(system='http://snomed.info/sct' and code='44054006').exists()" //type 2 diabetes * linkId = "1c1eea28-6c82-4b7b-aaa3-8655ce70f2fd" * text = "Type 2 diabetes mellitus" * type = #boolean * repeats = false - - * item[+] - * linkId = "dabdc7b4-51db-44a0-9d59-77a88587cbe9" - * text = "CVD risk result" - * type = #group - * repeats = false - * item[+] - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#% - * linkId = "4c52fcec-0695-4916-b185-24a5c2711631" - * text = "Calculated risk" - * type = #integer - * repeats = false - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "0162854e-c124-4b58-acd9-93c17562d407" - * text = "%" - * type = #display - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button - * linkId = "28ff9463-b77f-435d-9ba7-427682a61f96" - * text = "Assessed risk category" - * type = #choice - * repeats = false - * answerOption[+].valueString = "High Risk" - * answerOption[+].valueString = "Intermediate Risk" - * answerOption[+].valueString = "Low Risk" - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button - * linkId = "041a589e-7bb5-441d-a4ba-a22db8040b3f" - * text = "Reclassification decision" - * type = #choice - * repeats = false - * answerOption[+].valueString = "Reclassified up" - * answerOption[+].valueString = "Reclassified down" - * answerOption[+].valueString = "Did not reclassify" - -/* Deprecated CVD Risk calculator - * item[+] - * extension[+][sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ObsBloodPressure.entry.resource.component.where(code.coding.where(code='8480-6')).value.value" - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#mm[Hg] - * linkId = "4b98f514-2f6a-41f3-ad9d-185abc68ae34" - * text = "Systolic Blood Pressure" - * type = #integer - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#prompt - * linkId = "1624394a-1777-4692-b304-03cd42de4c27" - * text = "75 or more" - * type = #display - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "414f230f-7b33-4e55-b323-724206f6825e" - * text = "mm Hg" - * type = #display - * item[+] - * extension[+][sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ObsTotalCholesterol.entry.resource.value.value" - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#mmol/L - * linkId = "f11feebc-fc4a-40d5-8481-b87d9f5a89aa" - * text = "Total Cholesterol" - * type = #decimal - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#prompt - * linkId = "0f260464-fcfc-46d1-b04b-c8fb061b781e" - * text = "2 or more" - * type = #display - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "d5a18260-0376-4c73-97a9-a23198bccce1" - * text = "mmol/L" - * type = #display - * item[+] - * extension[+][sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ObsHDLCholesterol.entry.resource.value.value" - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#mmol/L - * linkId = "c47a7fae-0c60-40f8-8426-1019b1f0dd8f" - * text = "HDL Cholesterol" - * type = #decimal - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#prompt - * linkId = "9b05a756-40f6-4ae4-9ec9-179e55685531" - * text = "Between 0.2 - 5" - * type = #display - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "28576058-6a24-4516-900a-42c9452722d3" - * text = "mmol/L" - * type = #display - * item[+] - * extension[+][sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%Condition.entry.resource.code.coding.where(system='http://snomed.info/sct' and code='44054006').exists()" //type 2 diabetes - * linkId = "e8fed84e-6c15-4f62-bc95-cd08033af3f7" - * text = "Diabetes" - * type = #boolean - * repeats = false - * item[+] - * linkId = "b980624c-e91a-44d4-80ba-a9f34c0e1188" - * text = "ECG LVH" - * type = #boolean - * repeats = false - * item[+] - * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression - * description = "CVD Risk Score" - * language = #text/fhirpath - * expression = "%cvdScore.round(0)" - * linkId = "ca830916-e2ee-4b24-a4c1-13eee23f8733" - * text = "Cardiovascular disease risk calculated result" - // * code = $SCT#827181004 "Risk of cardiovascular disease" - * type = #integer - * repeats = false - * readOnly = true - * item[+] - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory].valueCodeableConcept = http://hl7.org/fhir/questionnaire-display-category#instructions - * linkId = "1d0b746d-70a3-4c09-a33b-f67fd6db63a0" - * text = "https://auscvdrisk.com.au/risk-calculator" - * type = #display -*/ - - * item[+] * linkId = "f8022f3f-21fe-42c0-8abd-95f24e2e37e5" * text = "Health priorities, actions and follow-up" * type = #text - * repeats = false - - + * repeats = false * item[+] * linkId = "MarkComplete-2" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-AllergiesAdverseReactions.fsh b/input/fsh/715-Assessment-AllergiesAdverseReactions.fsh index a29be3ce..0b065f73 100644 --- a/input/fsh/715-Assessment-AllergiesAdverseReactions.fsh +++ b/input/fsh/715-Assessment-AllergiesAdverseReactions.fsh @@ -4,10 +4,14 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: AllergiesAdverseReactions InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Allergies/Adverse Reactions" Description: "Allergies/Adverse Reactions sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." +* contained[+] = AllergyIntoleranceTemplate +* contained[+] = AllergyIntolerancePatchTemplate +* contained[+] = AllergyIntoleranceClinicalStatusMinimal + //assemble expectation * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation" @@ -36,29 +40,56 @@ Description: "Allergies/Adverse Reactions sub-questionnaire for Aboriginal and T * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" - +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" + //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//fhir query variables +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "AllergyIntolerance" + * language = #application/x-fhir-query + * expression = "AllergyIntolerance?patient={{%patient.id}}" + +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" +* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template" * url = "http://www.health.gov.au/assessments/mbs/715/AllergiesAdverseReactions" * name = "AllergiesAdverseReactions" * title = "Aboriginal and Torres Strait Islander Health Check - Allergies/Adverse Reactions" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath * expression = "%age.exists()" - * linkId = "d4e4db07-a795-4a30-bd0f-9c109f96a22b" + * linkId = "allergy" * text = "Allergies/adverse reactions" * type = #group * repeats = false @@ -70,34 +101,127 @@ Description: "Allergies/Adverse Reactions sub-questionnaire for Aboriginal and T * type = #display * enableWhen[+] * question = "MarkComplete-3" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-3" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-3" // Section complete item * operator = #= * answerBoolean = true + + // Adverse reaction risk summary * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#check-box - * linkId = "8a1d70bf-a68b-4b7b-be73-ba6956fccc78" - * text = "Up to date in the health record?" - * type = #boolean - * repeats = false - * item[+] - * linkId = "3e689aeb-69a1-4a9b-93bd-50377511dd9b" - * text = "Health priorities, actions and follow-up" - * type = #text - * repeats = false + * linkId = "allergyinstruction" + * text = "Adverse reaction risk summary" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+

Adverse reaction risk summary

+

This section includes a list of existing items from the patient record.
Update these items here or update the patient record and repopulate the form.
Add new items at the bottom.

+
" + * type = #group +//existing adverse reactions +* item[=].item[=].item[+].extension[sdc-questionnaire-itemPopulationContext][+].valueExpression[+].name = "AllergyIntoleranceRepeat" +* item[=].item[=].item[=].extension[sdc-questionnaire-itemPopulationContext][=].valueExpression[=].language = #text/fhirpath +* item[=].item[=].item[=].extension[sdc-questionnaire-itemPopulationContext][=].valueExpression[=].expression = "%AllergyIntolerance.entry.resource.where(clinicalStatus.coding.exists(code='active')).where(verificationStatus.coding.all(code.empty() or code='confirmed'))" +* item[=].item[=].item[=].extension[TemplateExtractExtensionExtended][+].extension[template][+].valueReference = Reference(AllergyIntolerancePatchTemplate) +* item[=].item[=].item[=].extension[TemplateExtractExtensionExtended][=].extension[resourceId][+].valueString = "item.where(linkId='allergyIntoleranceId').answer.value" +* item[=].item[=].item[=].extension[TemplateExtractExtensionExtended][=].extension[type][+].valueCode = #AllergyIntolerance +* item[=].item[=].item[=].extension[https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton][+].valueBoolean = true +* item[=].item[=].item[=].linkId = "allergysummary" +* item[=].item[=].item[=].text = "Adverse reaction risk summary" +* item[=].item[=].item[=].text.extension[+].url = "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden" +* item[=].item[=].item[=].text.extension[=].valueBoolean = true +* item[=].item[=].item[=].type = #group +* item[=].item[=].item[=].repeats = true +* item[=].item[=].item[=].item[0].extension[questionnaire-hidden].valueBoolean = true +* item[=].item[=].item[=].item[=].extension[sdc-questionnaire-initialExpression][+].valueExpression.language = #text/fhirpath +* item[=].item[=].item[=].item[=].extension[sdc-questionnaire-initialExpression][=].valueExpression.expression = "%AllergyIntoleranceRepeat.id" +* item[=].item[=].item[=].item[=].linkId = "allergyIntoleranceId" +* item[=].item[=].item[=].item[=].type = #string +* item[=].item[=].item[=].item[+].extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression" +* item[=].item[=].item[=].item[=].extension[=].valueExpression[+].language = #text/fhirpath +* item[=].item[=].item[=].item[=].extension[=].valueExpression[=].expression = "%AllergyIntoleranceRepeat.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" +* item[=].item[=].item[=].item[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" +* item[=].item[=].item[=].item[=].extension[=].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete +* item[=].item[=].item[=].item[=].linkId = "allergysummary-substance" +* item[=].item[=].item[=].item[=].text = "Substance" +* item[=].item[=].item[=].item[=].type = #open-choice +* item[=].item[=].item[=].item[=].repeats = false +* item[=].item[=].item[=].item[=].readOnly = true +* item[=].item[=].item[=].item[=].answerValueSet = "https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-agent-1" +* item[=].item[=].item[=].item[+].extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression" +* item[=].item[=].item[=].item[=].extension[=].valueExpression[+].language = #text/fhirpath +* item[=].item[=].item[=].item[=].extension[=].valueExpression[=].expression = "%AllergyIntoleranceRepeat.clinicalStatus.coding" +* item[=].item[=].item[=].item[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" +* item[=].item[=].item[=].item[=].extension[=].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#drop-down +* item[=].item[=].item[=].item[=].linkId = "allergysummary-status" +* item[=].item[=].item[=].item[=].text = "Status" +* item[=].item[=].item[=].item[=].type = #choice +* item[=].item[=].item[=].item[=].repeats = false +* item[=].item[=].item[=].item[=].answerValueSet = "#AllergyIntoleranceClinicalStatusMinimal" +* item[=].item[=].item[=].item[+].extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression" +* item[=].item[=].item[=].item[=].extension[=].valueExpression[+].language = #text/fhirpath +* item[=].item[=].item[=].item[=].extension[=].valueExpression[=].expression = "%AllergyIntoleranceRepeat.reaction.manifestation.coding" +* item[=].item[=].item[=].item[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" +* item[=].item[=].item[=].item[=].extension[=].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete +* item[=].item[=].item[=].item[=].linkId = "allergysummary-manifestation" +* item[=].item[=].item[=].item[=].text = "Manifestation" +* item[=].item[=].item[=].item[=].type = #open-choice +* item[=].item[=].item[=].item[=].repeats = true +* item[=].item[=].item[=].item[=].readOnly = true +* item[=].item[=].item[=].item[=].answerValueSet = "https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1" +// manifestation value set +// * item[=].item[=].item[=].item[=].answerValueSet = "http://snomed.info/sct/32506021000036107?fhir_vs=refset/142341000036103" +* item[=].item[=].item[=].item[+].extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression" +* item[=].item[=].item[=].item[=].extension[=].valueExpression[+].language = #text/fhirpath +* item[=].item[=].item[=].item[=].extension[=].valueExpression[=].expression = "%AllergyIntoleranceRepeat.note[0].text" +* item[=].item[=].item[=].item[=].linkId = "allergysummary-comment" +* item[=].item[=].item[=].item[=].text = "Comment" +* item[=].item[=].item[=].item[=].type = #text +* item[=].item[=].item[=].item[=].repeats = false +//new adverse reactions +* item[=].item[=].item[+].extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" +* item[=].item[=].item[=].extension[=].extension.url = "template" +* item[=].item[=].item[=].extension[=].extension.valueReference = Reference(AllergyIntoleranceTemplate) +* item[=].item[=].item[=].linkId = "allergynew" +* item[=].item[=].item[=].text = "New adverse reaction risks" +* item[=].item[=].item[=].text.extension[+].url = "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden" +* item[=].item[=].item[=].text.extension[=].valueBoolean = true +* item[=].item[=].item[=].type = #group +* item[=].item[=].item[=].repeats = true +* item[=].item[=].item[=].item[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" +* item[=].item[=].item[=].item[=].extension[=].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete +* item[=].item[=].item[=].item[=].linkId = "allergynew-substance" +* item[=].item[=].item[=].item[=].text = "Substance" +* item[=].item[=].item[=].item[=].type = #open-choice +* item[=].item[=].item[=].item[=].repeats = false +* item[=].item[=].item[=].item[=].required = true +* item[=].item[=].item[=].item[=].answerValueSet = "https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-agent-1" +* item[=].item[=].item[=].item[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" +* item[=].item[=].item[=].item[=].extension[=].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete +* item[=].item[=].item[=].item[=].linkId = "allergynew-manifestation" +* item[=].item[=].item[=].item[=].text = "Manifestation" +* item[=].item[=].item[=].item[=].type = #open-choice +* item[=].item[=].item[=].item[=].repeats = true +* item[=].item[=].item[=].item[=].answerValueSet = "https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1" +// manifestation value set +// * item[=].item[=].item[=].item[=].answerValueSet = "http://snomed.info/sct/32506021000036107?fhir_vs=refset/142341000036103" +* item[=].item[=].item[=].item[+].linkId = "allergynew-comment" +* item[=].item[=].item[=].item[=].text = "Comment" +* item[=].item[=].item[=].item[=].type = #text +* item[=].item[=].item[=].item[=].repeats = false - * item[+] - * linkId = "MarkComplete-3" - * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" - * type = #boolean - * repeats = false \ No newline at end of file +* item[=].item[+].linkId = "3e689aeb-69a1-4a9b-93bd-50377511dd9b" +* item[=].item[=].text = "Health priorities, actions and follow-up" +* item[=].item[=].type = #text +* item[=].item[=].repeats = false +* item[=].item[+].linkId = "MarkComplete-3" +* item[=].item[=].text = "Mark section as complete" +* item[=].item[=].text.extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" +* item[=].item[=].type = #boolean +* item[=].item[=].repeats = false diff --git a/input/fsh/715-Assessment-ChronicDiseaseAgeing.fsh b/input/fsh/715-Assessment-ChronicDiseaseAgeing.fsh index 78b9443f..c2fcd732 100644 --- a/input/fsh/715-Assessment-ChronicDiseaseAgeing.fsh +++ b/input/fsh/715-Assessment-ChronicDiseaseAgeing.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: ChronicDiseaseAgeing InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Chronic Disease Ageing" Description: "Chronic Disease Ageing sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -37,6 +37,24 @@ Description: "Chronic Disease Ageing sub-questionnaire for Aboriginal and Torres * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" + +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver //assemble context * extension[+] @@ -45,14 +63,13 @@ Description: "Chronic Disease Ageing sub-questionnaire for Aboriginal and Torres * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/ChronicDiseaseAgeing" * name = "ChronicDiseaseAgeing" * title = "Aboriginal and Torres Strait Islander Health Check - Chronic Disease Ageing" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -71,13 +88,13 @@ Description: "Chronic Disease Ageing sub-questionnaire for Aboriginal and Torres * type = #display * enableWhen[+] * question = "MarkComplete-4" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-4" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-4" // Section complete item @@ -85,7 +102,9 @@ Description: "Chronic Disease Ageing sub-questionnaire for Aboriginal and Torres * answerBoolean = true * item[+] * extension[sdc-questionnaire-shortText].valueString = "Assessment of chronic disease associated with ageing" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+ * linkId = "12e244c0-2887-4230-8792-9521d4f1ab33" + * text = "For older people with chronic disease and/or conditions associated with ageing, consider assessing: Osteoporosis risk; Falls risk; Balance, coordination and mobility; Pain; Nutrition; Regularity of chronic disease management and review" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
For older people with chronic disease and/or conditions associated with ageing, consider assessing:
" - * linkId = "12e244c0-2887-4230-8792-9521d4f1ab33" - * text = "For older people with chronic disease and/or conditions associated with ageing, consider assessing: Osteoporosis risk; Falls risk; Balance, coordination and mobility; Pain; Nutrition; Regularity of chronic disease management and review" * type = #text * repeats = false * item[+] @@ -110,11 +127,10 @@ Description: "Chronic Disease Ageing sub-questionnaire for Aboriginal and Torres * linkId = "7292070b-8944-4a40-bcf6-9aaf1721e986" * text = "Health priorities, actions and follow-up" * type = #text - * repeats = false - + * repeats = false * item[+] * linkId = "MarkComplete-4" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-CurrentPriorities.fsh b/input/fsh/715-Assessment-CurrentPriorities.fsh index 6b716c6c..45eb6f86 100644 --- a/input/fsh/715-Assessment-CurrentPriorities.fsh +++ b/input/fsh/715-Assessment-CurrentPriorities.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: CurrentPriorities InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Current Priorities" Description: "Current Priorities sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -38,22 +38,39 @@ Description: "Current Priorities sub-questionnaire for Aboriginal and Torres Str * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/CurrentPriorities" * name = "CurrentPriorities" * title = "Aboriginal and Torres Strait Islander Health Check - Current Priorities" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -73,13 +90,13 @@ Description: "Current Priorities sub-questionnaire for Aboriginal and Torres Str * type = #display * enableWhen[+] * question = "MarkComplete-5" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-5" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-5" // Section complete item @@ -150,8 +167,6 @@ Description: "Current Priorities sub-questionnaire for Aboriginal and Torres Str * question = "2655e0e1-fe4b-431e-87af-30d4ff1aca76" * operator = #= * answerCoding = http://terminology.hl7.org/CodeSystem/v2-0136#Y - - * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression @@ -171,12 +186,11 @@ Description: "Current Priorities sub-questionnaire for Aboriginal and Torres Str * linkId = "7cd424e5-7672-4e99-8a99-30b1fb3043fd" * text = "Health priorities, actions and follow-up" * type = #text - * repeats = false - + * repeats = false * item[+] * linkId = "MarkComplete-5" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-EarHealthAndHearing.fsh b/input/fsh/715-Assessment-EarHealthAndHearing.fsh index 477952bc..973b65d8 100644 --- a/input/fsh/715-Assessment-EarHealthAndHearing.fsh +++ b/input/fsh/715-Assessment-EarHealthAndHearing.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: EarHealthAndHearing InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Ear Health And Hearing" Description: "Ear Health And Hearing sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -38,22 +38,39 @@ Description: "Ear Health And Hearing sub-questionnaire for Aboriginal and Torres * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/EarHealthAndHearing" * name = "EarHealthAndHearing" * title = "Aboriginal and Torres Strait Islander Health Check - Ear Health And Hearing" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -72,13 +89,13 @@ Description: "Ear Health And Hearing sub-questionnaire for Aboriginal and Torres * type = #display * enableWhen[+] * question = "MarkComplete-6" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-6" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-6" // Section complete item @@ -205,14 +222,15 @@ Description: "Ear Health And Hearing sub-questionnaire for Aboriginal and Torres * language = #text/fhirpath * expression = "%age <= 12" * linkId = "fe96046a-a202-4c22-ad3e-00419e717185" - * text = "Video otoscopy procedure recommended where possible as it allows for parental education and for images to be saved for tracking over time" - * type = #display + * text = "Video otoscopy procedure recommended where possible as it allows for parental education and for images to be saved for tracking over time." + * type = #display + //Children group * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath * expression = "%age <= 12" * linkId = "2841915f-c8d2-4edb-8bc7-39b63385a2fb" - * text = "Otoscopy findings" //children + * text = "Otoscopy findings" * type = #group * repeats = false * item[+] @@ -251,12 +269,13 @@ Description: "Ear Health And Hearing sub-questionnaire for Aboriginal and Torres * answerOption[+].valueString = "Grommet in eardrum" * answerOption[+].valueString = "Perforation" * answerOption[+].valueString = "Red/bulging" + //Adolescents group * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath * expression = "%age > 12" * linkId = "361b3c80-375b-423e-bb61-5732826bc2f0" - * text = "Otoscopy findings" //adolescents + + * text = "Otoscopy findings" * type = #group * repeats = false * item[+] @@ -287,10 +306,11 @@ Description: "Ear Health And Hearing sub-questionnaire for Aboriginal and Torres * answerOption[+].valueString = "Retracted" * answerOption[+].valueString = "Unable to view eardrum" * answerOption[+].valueString = "Wax" - * item[+] // this group needs better modelling. The template is ambiguous so not properly represented. + // this group needs better modelling. The template is ambiguous so not properly represented. + * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age > 5).intersect(%age <= 12)" + * expression = "(%age > 5) and (%age <= 12)" * linkId = "972afa06-9649-43d9-b8ce-c802f7f27e39" * text = "Tympanometry" * type = #group @@ -311,11 +331,10 @@ Description: "Ear Health And Hearing sub-questionnaire for Aboriginal and Torres * text = "Health priorities, actions and follow-up" * type = #text * repeats = false - * item[+] * linkId = "MarkComplete-6" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-Examination.fsh b/input/fsh/715-Assessment-Examination.fsh index 9e9654f6..1897f234 100644 --- a/input/fsh/715-Assessment-Examination.fsh +++ b/input/fsh/715-Assessment-Examination.fsh @@ -4,10 +4,19 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: Examination InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Examination" Description: "Examination sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." +* contained[+] = heart-rhythm-1 +* contained[+] = BodyHeightTemplate +* contained[+] = BodyHeightLengthTemplate +* contained[+] = BodyWeightTemplate +* contained[+] = WaistCircumferenceTemplate +* contained[+] = HeadCircumferenceTemplate +* contained[+] = HeartRateTemplate +* contained[+] = HeartRhythmTemplate +* contained[+] = BloodPressureTemplate //assemble expectation * extension[+] @@ -37,75 +46,267 @@ Description: "Examination sub-questionnaire for Aboriginal and Torres Strait Isl * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "ObsBloodPressure" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" + * valueString = "ObsBloodPressureLatest" * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" //fhir query variables - * extension[+] * url = "http://hl7.org/fhir/StructureDefinition/variable" * valueExpression * name = "ObsWaistCircumference" * language = #application/x-fhir-query - * expression = "Observation?code=8280-0&_count=1&_sort=-date&patient={{%patient.id}}" + * expression = "Observation?code=8280-0&_sort=-date&patient={{%patient.id}}" * extension[+] * url = "http://hl7.org/fhir/StructureDefinition/variable" * valueExpression * name = "ObsHeartRate" * language = #application/x-fhir-query - * expression = "Observation?code=8867-4&_count=1&_sort=-date&patient={{%patient.id}}" + * expression = "Observation?code=8867-4&_sort=-date&patient={{%patient.id}}" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHeartRhythm" + * language = #application/x-fhir-query + * expression = "Observation?code=364074009&_sort=-date&patient={{%patient.id}}" * extension[+] * url = "http://hl7.org/fhir/StructureDefinition/variable" * valueExpression * name = "ObsBodyHeight" * language = #application/x-fhir-query - * expression = "Observation?code=8302-2&_count=1&_sort=-date&patient={{%patient.id}}" + * expression = "Observation?code=8302-2&_sort=-date&patient={{%patient.id}}" * extension[+] * url = "http://hl7.org/fhir/StructureDefinition/variable" * valueExpression * name = "ObsBodyWeight" * language = #application/x-fhir-query - * expression = "Observation?code=29463-7&_count=1&_sort=-date&patient={{%patient.id}}" + * expression = "Observation?code=29463-7&_sort=-date&patient={{%patient.id}}" * extension[+] * url = "http://hl7.org/fhir/StructureDefinition/variable" * valueExpression * name = "ObsHeadCircumference" * language = #application/x-fhir-query - * expression = "Observation?code=9843-4&_count=1&_sort=-date&patient={{%patient.id}}" - + * expression = "Observation?code=9843-4&_sort=-date&patient={{%patient.id}}" +//client side filtering on Observations +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsWaistCircumferenceLatest" + * language = #text/fhirpath + * expression = "%ObsWaistCircumference.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHeartRateLatest" + * language = #text/fhirpath + * expression = "%ObsHeartRate.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHeartRhythmLatest" + * language = #text/fhirpath + * expression = "%ObsHeartRhythm.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsBodyHeightLatest" + * language = #text/fhirpath + * expression = "%ObsBodyHeight.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsBodyWeightLatest" + * language = #text/fhirpath + * expression = "%ObsBodyWeight.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHeadCircumferenceLatest" + * language = #text/fhirpath + * expression = "%ObsHeadCircumference.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" //fhirpath variables +//Previous examination results variables +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsBodyHeightValue" + * language = #text/fhirpath + * expression = "%ObsBodyHeightLatest.value.value" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsBodyHeightDateString" + * language = #text/fhirpath + * expression = "%ObsBodyHeightLatest.effective.toDate().toString()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsBodyHeightDateFormatted" + * language = #text/fhirpath + * expression = "%ObsBodyHeightDateString.substring(8,2).toInteger().toString() + ' ' + %ObsBodyHeightDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsBodyHeightDateString.substring(0,4)" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsBodyWeightValue" + * language = #text/fhirpath + * expression = "%ObsBodyWeightLatest.value.value" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsBodyWeightDateString" + * language = #text/fhirpath + * expression = "%ObsBodyWeightLatest.effective.toDate().toString()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsBodyWeightDateFormatted" + * language = #text/fhirpath + * expression = "%ObsBodyWeightDateString.substring(8,2).toInteger().toString() + ' ' + %ObsBodyWeightDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsBodyWeightDateString.substring(0,4)" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHeadCircumferenceValue" + * language = #text/fhirpath + * expression = "%ObsHeadCircumferenceLatest.value.value" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHeadCircumferenceDateString" + * language = #text/fhirpath + * expression = "%ObsHeadCircumferenceLatest.effective.toDate().toString()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHeadCircumferenceDateFormatted" + * language = #text/fhirpath + * expression = "%ObsHeadCircumferenceDateString.substring(8,2).toInteger().toString() + ' ' + %ObsHeadCircumferenceDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsHeadCircumferenceDateString.substring(0,4)" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsWaistCircumferenceValue" + * language = #text/fhirpath + * expression = "%ObsWaistCircumferenceLatest.value.value" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsWaistCircumferenceDateString" + * language = #text/fhirpath + * expression = "%ObsWaistCircumferenceLatest.effective.toDate().toString()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsWaistCircumferenceDateFormatted" + * language = #text/fhirpath + * expression = "%ObsWaistCircumferenceDateString.substring(8,2).toInteger().toString() + ' ' + %ObsWaistCircumferenceDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsWaistCircumferenceDateString.substring(0,4)" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHeartRateValue" + * language = #text/fhirpath + * expression = "%ObsHeartRateLatest.value.value" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHeartRateDateString" + * language = #text/fhirpath + * expression = "%ObsHeartRateLatest.effective.toDate().toString()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHeartRateDateFormatted" + * language = #text/fhirpath + * expression = "%ObsHeartRateDateString.substring(8,2).toInteger().toString() + ' ' + %ObsHeartRateDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsHeartRateDateString.substring(0,4)" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHeartRhythmValue" + * language = #text/fhirpath + * expression = "%ObsHeartRhythmLatest.value.coding.where(system='http://snomed.info/sct').first()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHeartRhythmDateString" + * language = #text/fhirpath + * expression = "%ObsHeartRhythmLatest.effective.toDate().toString()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsHeartRhythmDateFormatted" + * language = #text/fhirpath + * expression = "%ObsHeartRhythmDateString.substring(8,2).toInteger().toString() + ' ' + %ObsHeartRhythmDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsHeartRhythmDateString.substring(0,4)" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsBloodPressureValue" + * language = #text/fhirpath + * expression = "%ObsBloodPressureLatest.component.where(code.coding.exists(code='8480-6')).value.value.round(0).toString() + ' / ' + %ObsBloodPressureLatest.component.where(code.coding.exists(code='8462-4')).value.value.round(0).toString()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsBloodPressureDateString" + * language = #text/fhirpath + * expression = "%ObsBloodPressureLatest.effective.toDate().toString()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsBloodPressureDateFormatted" + * language = #text/fhirpath + * expression = "%ObsBloodPressureDateString.substring(8,2).toInteger().toString() + ' ' + %ObsBloodPressureDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsBloodPressureDateString.substring(0,4)" + +//BMI calculation variables * extension[+] * url = "http://hl7.org/fhir/StructureDefinition/variable" * valueExpression * name = "weight" * language = #text/fhirpath - * expression = "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='97ed4c86-8820-4e4d-9234-0e0e8b6ca44a').item.where(linkId='443bd584-684a-449c-ab6e-9d07da4df9fa').answer.value" + * expression = "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='97ed4c86-8820-4e4d-9234-0e0e8b6ca44a').item.where(linkId='obs-weight-newresult').answer.value" * extension[+] * url = "http://hl7.org/fhir/StructureDefinition/variable" * valueExpression * name = "height" * language = #text/fhirpath - * expression = "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='6226a5c5-b5c3-4ebb-a689-2b286322cfe0').item.where(linkId='7035c7e7-ada3-4c6b-9ea8-f39666f5d4ea').answer.value" + * expression = "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='6226a5c5-b5c3-4ebb-a689-2b286322cfe0').item.where(linkId='obs-height-newresult').answer.value" + +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" +* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave" +* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template" * url = "http://www.health.gov.au/assessments/mbs/715/Examination" * name = "Examination" * title = "Aboriginal and Torres Strait Islander Health Check - Examination" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU @@ -125,25 +326,19 @@ Description: "Examination sub-questionnaire for Aboriginal and Torres Strait Isl * type = #display * enableWhen[+] * question = "MarkComplete-7" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-7" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-7" // Section complete item * operator = #= * answerBoolean = true - * item[+] - * linkId = "RecordUpdate-Exam" - * text = "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first." - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
- Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first. -
" - * type = #display + * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath @@ -154,8 +349,10 @@ Description: "Examination sub-questionnaire for Aboriginal and Torres Strait Isl // Observations table with dates * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control|1.0.0#grid - * linkId = "53d5d5a6-3198-4bec-92ac-03fe7d77fb68" + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#grid + * linkId = "53d5d5a6-3198-4bec-92ac-03fe7d77fb68" + * text = "The tabled observations will display the most recent results available from the patient record. New observations may be added." + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "

The tabled observations will display the most recent results available from the patient record. New observations may be added.

" * type = #group * repeats = false * item[+] @@ -167,25 +364,31 @@ Description: "Examination sub-questionnaire for Aboriginal and Torres Strait Isl * type = #group * repeats = false * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ObsBodyHeight.entry.resource.value.value" - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#cm * linkId = "837cd0ce-4a9e-4c8b-8679-007ed961f121" - * text = "Value" + * text = "Last result" + * extension[http://hl7.org/fhir/StructureDefinition/cqf-expression].valueExpression + * language = #text/fhirpath + * expression = "iif(%ObsBodyHeightValue.exists() and %ObsBodyHeightDateFormatted.exists(), %ObsBodyHeightValue.round(0).toString() + ' cm ( ' + %ObsBodyHeightDateFormatted + ' )', 'Not available')" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-style].valueString = "text-align: left;" + * type = #display + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract].extension[template].valueReference.reference = "#BodyHeightLengthTemplate" + * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#cm + * linkId = "obs-lengthheight-newresult" + * text = "New result" * type = #decimal * repeats = false * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "e73c3643-8898-4ef8-8bc9-b4b3826ab790" + * linkId = "obslengthheight-newresult-unit" * text = "cm" * type = #display * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsBodyHeight.entry.resource.effective" - * linkId = "b9faf79e-b5f7-443a-9203-67532e3a381f" - * text = "Date performed" + * expression = "iif(%resource.repeat(item).where(linkId='obs-lengthheight-newresult').answer.value.exists(), today())" + * linkId = "obs-lengthheight-newdate" + * text = "New result date" * type = #date * repeats = false * item[+] @@ -197,25 +400,31 @@ Description: "Examination sub-questionnaire for Aboriginal and Torres Strait Isl * type = #group * repeats = false * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ObsBodyHeight.entry.resource.value.value" - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#cm * linkId = "7035c7e7-ada3-4c6b-9ea8-f39666f5d4ea" - * text = "Value" + * text = "Last result" + * extension[http://hl7.org/fhir/StructureDefinition/cqf-expression].valueExpression + * language = #text/fhirpath + * expression = "iif(%ObsBodyHeightValue.exists() and %ObsBodyHeightDateFormatted.exists(), %ObsBodyHeightValue.round(0).toString() + ' cm ( ' + %ObsBodyHeightDateFormatted + ' )', 'Not available')" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-style].valueString = "text-align: left;" + * type = #display + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract].extension[template].valueReference.reference = "#BodyHeightTemplate" + * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#cm + * linkId = "obs-height-newresult" + * text = "New result" * type = #decimal * repeats = false * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "387c95f0-8b54-4ad7-992d-8ab26a34fd77" + * linkId = "obs-height-newresult-unit" * text = "cm" * type = #display * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsBodyHeight.entry.resource.effective" - * linkId = "c666ac96-1e64-40e2-8e0b-7d0187bb3e50" - * text = "Date performed" + * expression = "iif(%resource.repeat(item).where(linkId='obs-height-newresult').answer.value.exists(), today())" + * linkId = "obs-height-newdate" + * text = "New result date" * type = #date * repeats = false * item[+] @@ -224,25 +433,31 @@ Description: "Examination sub-questionnaire for Aboriginal and Torres Strait Isl * type = #group * repeats = false * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ObsBodyWeight.entry.resource.value.value" - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#kg * linkId = "443bd584-684a-449c-ab6e-9d07da4df9fa" - * text = "Value" + * text = "Last result" + * extension[http://hl7.org/fhir/StructureDefinition/cqf-expression].valueExpression + * language = #text/fhirpath + * expression = "iif(%ObsBodyWeightValue.exists() and %ObsBodyWeightDateFormatted.exists(), %ObsBodyWeightValue.round(1).toString() + ' kg ( ' + %ObsBodyWeightDateFormatted + ' )', 'Not available')" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-style].valueString = "text-align: left;" + * type = #display + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract].extension[template].valueReference.reference = "#BodyWeightTemplate" + * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#kg + * linkId = "obs-weight-newresult" + * text = "New result" * type = #decimal * repeats = false * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "5ba0d699-bc2a-45d0-8f40-f53cb21dc911" + * linkId = "obs-weight-newresult-unit" * text = "kg" * type = #display * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsBodyWeight.entry.resource.effective" - * linkId = "92cdc1c7-eb6c-4f6d-9bd9-ae726a0e0d3d" - * text = "Date performed" + * expression = "iif(%resource.repeat(item).where(linkId='obs-weight-newresult').answer.value.exists(), today())" + * linkId = "obs-weight-newdate" + * text = "New result date" * type = #date * repeats = false * item[+] @@ -250,23 +465,32 @@ Description: "Examination sub-questionnaire for Aboriginal and Torres Strait Isl * language = #text/fhirpath * expression = "%age > 12" * linkId = "bc209c5e-ed28-48e3-b1a1-55cb7e435d8b" - * text = "BMI" + * text = "BMI (calculated)" * type = #group * repeats = false + * item[+] + * linkId = "2ada6633-03c6-4b05-bc23-18dec84ec150" + * text = "Last result" + * extension[http://hl7.org/fhir/StructureDefinition/cqf-expression].valueExpression + * language = #text/fhirpath + * expression = "iif(%ObsBodyWeightValue.exists() and %ObsBodyHeightValue.exists(), (%ObsBodyWeightValue/((%ObsBodyHeightValue/100).power(2))).round(1).toString() + ' kg/m2', 'Not available')" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-style].valueString = "text-align: left;" + * type = #display * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * description = "BMI calculation" * language = #text/fhirpath * expression = "(%weight/((%height/100).power(2))).round(1)" * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#kg/m2 - * linkId = "2ada6633-03c6-4b05-bc23-18dec84ec150" - * text = "Value" + * linkId = "obs-bmi-newresult" + * text = "New result" * type = #decimal * repeats = false + // BMI is calculated from height and weight, so this field is read-only and cannot be edited directly. * readOnly = true * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "a709b8ec-9e65-40f0-a781-500cb3e56f3c" + * linkId = "obs-bmi-newresult-unit" * text = "kg/m2" * type = #display * item[+] @@ -278,25 +502,31 @@ Description: "Examination sub-questionnaire for Aboriginal and Torres Strait Isl * type = #group * repeats = false * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ObsHeadCircumference.entry.resource.value.value" - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#cm * linkId = "7a4a6aac-558e-4bec-86c5-326ae07e37d6" - * text = "Value" + * text = "Last result" + * extension[http://hl7.org/fhir/StructureDefinition/cqf-expression].valueExpression + * language = #text/fhirpath + * expression = "iif(%ObsHeadCircumferenceValue.exists() and %ObsHeadCircumferenceDateFormatted.exists(), %ObsHeadCircumferenceValue.round(0).toString() + ' cm ( ' + %ObsHeadCircumferenceDateFormatted + ' )', 'Not available')" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-style].valueString = "text-align: left;" + * type = #display + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract].extension[template].valueReference.reference = "#HeadCircumferenceTemplate" + * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#cm + * linkId = "obs-headcircumference-newresult" + * text = "New result" * type = #decimal * repeats = false * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "73937983-65a0-4d40-8600-de7ca3277d5e" + * linkId = "obs-headcircumference-newresult-unit" * text = "cm" * type = #display * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsHeadCircumference.entry.resource.effective" - * linkId = "b8da15e7-8648-492b-9e82-ad5ab7cad179" - * text = "Date performed" + * expression = "iif(%resource.repeat(item).where(linkId='obs-headcircumference-newresult').answer.value.exists(), today())" + * linkId = "obs-headcircumference-newdate" + * text = "New result date" * type = #date * repeats = false * item[+] @@ -308,25 +538,30 @@ Description: "Examination sub-questionnaire for Aboriginal and Torres Strait Isl * type = #group * repeats = false * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ObsWaistCircumference.entry.resource.value.value" - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#cm * linkId = "8df0f5d8-821d-4f71-b3c1-d164616ea2f5" - * text = "Value" + * text = "Last result" + * extension[http://hl7.org/fhir/StructureDefinition/cqf-expression].valueExpression + * language = #text/fhirpath + * expression = "iif(%ObsWaistCircumferenceValue.exists() and %ObsWaistCircumferenceDateFormatted.exists(), %ObsWaistCircumferenceValue.round(0).toString() + ' cm ( ' + %ObsWaistCircumferenceDateFormatted + ' )', 'Not available')" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-style].valueString = "text-align: left;" + * type = #display + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract].extension[template].valueReference.reference = "#WaistCircumferenceTemplate" + * linkId = "obs-waistcircumference-newresult" + * text = "New result" * type = #decimal * repeats = false * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "19aeb0ab-7494-4bac-8b2d-d7d2527c1f4a" + * linkId = "obs-waistcircumference-newresult-unit" * text = "cm" * type = #display * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsWaistCircumference.entry.resource.effective" - * linkId = "3eb3b929-e67a-4331-8949-b8447b66a4c7" - * text = "Date performed" + * expression = "iif(%resource.repeat(item).where(linkId='obs-waistcircumference-newresult').answer.value.exists(), today())" + * linkId = "obs-waistcircumference-newdate" + * text = "New result date" * type = #date * repeats = false * item[+] @@ -335,25 +570,31 @@ Description: "Examination sub-questionnaire for Aboriginal and Torres Strait Isl * type = #group * repeats = false * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ObsHeartRate.entry.resource.value.value" - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#/min * linkId = "49029ef0-eaa8-44f8-b26a-177820c82dfd" - * text = "Value" + * text = "Last result" + * extension[http://hl7.org/fhir/StructureDefinition/cqf-expression].valueExpression + * language = #text/fhirpath + * expression = "iif(%ObsHeartRateValue.exists() and %ObsHeartRateDateFormatted.exists(), %ObsHeartRateValue.round(0).toString() + ' /min ( ' + %ObsHeartRateDateFormatted + ' )', 'Not available')" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-style].valueString = "text-align: left;" + * type = #display + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract].extension[template].valueReference.reference = "#HeartRateTemplate" + * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#/min + * linkId = "obs-heartrate-newresult" + * text = "New result" * type = #integer * repeats = false * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "090964b9-be33-438b-8465-2a2a09632fde" + * linkId = "obs-heartrate-newresult-unit" * text = "/min" * type = #display * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsHeartRate.entry.resource.effective" - * linkId = "feeac08f-2ba6-4048-80a2-10b3f90cf5e3" - * text = "Date performed" + * expression = "iif(%resource.repeat(item).where(linkId='obs-heartrate-newresult').answer.value.exists(), today())" + * linkId = "obs-heartrate-newdate" + * text = "New result date" * type = #date * repeats = false * item[+] @@ -361,92 +602,90 @@ Description: "Examination sub-questionnaire for Aboriginal and Torres Strait Isl * text = "Heart rhythm" * type = #group * repeats = false + * item[+] + * linkId = "99a8eb6f-a36a-4daf-99d7-27bfde0d4bb1" + * text = "Last result" + * extension[http://hl7.org/fhir/StructureDefinition/cqf-expression].valueExpression + * language = #text/fhirpath + * expression = "iif(%ObsHeartRhythmValue.exists() and %ObsHeartRhythmDateFormatted.exists(), %ObsHeartRhythmValue.display + ' ( ' + %ObsHeartRhythmDateFormatted + ' )', 'Not available')" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-style].valueString = "text-align: left;" + * type = #display * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract].extension[template].valueReference.reference = "#HeartRhythmTemplate" * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button - * linkId = "99a8eb6f-a36a-4daf-99d7-27bfde0d4bb1" - * text = "Value" + * linkId = "obs-heartrhythm-newresult" + * text = "New result" * type = #choice - * repeats = false - * answerOption[+].valueCoding = $SCT#271636001 "Pulse Regular" - * answerOption[+].valueCoding = $SCT#61086009 "Pulse Irregular" + * repeats = false + * answerValueSet = "#heart-rhythm-1" * item[+] - * linkId = "eeb56682-0eae-4428-9c37-0e63852026c0" - * text = "Date performed" + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression + * language = #text/fhirpath + * expression = "iif(%resource.repeat(item).where(linkId='obs-heartrhythm-newresult').answer.value.exists(), today())" + * linkId = "obs-heartrhythm-newdate" + * text = "New result date" * type = #date * repeats = false // Blood pressure observations table with dates * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control|1.0.0#grid + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression + * language = #text/fhirpath + * expression = "%age > 12" + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#grid * linkId = "3639c586-9576-48d3-a52b-e91fd2138581" - * type = #group + * text = "Blood pressure" + * extension[+] + * url = "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden" + * valueBoolean = true + * type = #group * repeats = false * item[+] - * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression - * language = #text/fhirpath - * expression = "%age > 12" * linkId = "705f6d04-acab-4d14-baab-98f9bfc4808e" * text = "Blood pressure" * type = #group * repeats = false * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ObsBloodPressure.entry.resource.component.where(code.coding.exists(code='8480-6')).value.value" + * linkId = "bp-bp-lastresult" + * text = "Last result" + * extension[http://hl7.org/fhir/StructureDefinition/cqf-expression].valueExpression + * language = #text/fhirpath + * expression = "iif(%ObsBloodPressureValue.exists() and %ObsBloodPressureDateFormatted.exists(), %ObsBloodPressureValue + ' mm Hg ( ' + %ObsBloodPressureDateFormatted + ' )', 'Not available')" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-style].valueString = "text-align: left;" + * type = #display + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract].extension[template].valueReference.reference = "#BloodPressureTemplate" * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#mm[Hg] - * linkId = "e68b660d-cfd2-4b89-957a-c96a4c73a5fd" + * linkId = "bp-newbp-systolic" * text = "Systolic" * type = #integer * repeats = false * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "197d212d-72cc-4c85-91dc-2f030d384391" + * linkId = "bp-newbp-systolic-unit" * text = "mm Hg" * type = #display * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ObsBloodPressure.entry.resource.component.where(code.coding.exists(code='8462-4')).value.value" * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#mm[Hg] - * linkId = "867b0022-f812-4f80-b287-79686c972b15" + * linkId = "bp-newbp-diastolic" * text = "Diastolic" * type = #integer * repeats = false * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "416ee494-4fa2-4b29-af0b-3d022f686e39" + * linkId = "bp-newbp-diastolic-unit" * text = "mm Hg" * type = #display * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsBloodPressure.entry.resource.effective" - * linkId = "a005050c-ed79-46ed-ac14-2fc1496059a5" + * expression = "iif(%resource.repeat(item).where(linkId='bp-newbp-systolic').answer.value.exists() or %resource.repeat(item).where(linkId='bp-newbp-diastolic').answer.value.exists(), today())" + * linkId = "bp-newbp-date" * text = "Date performed" * type = #date * repeats = false -/* - * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ObsBloodPressure.entry.resource.select(component[0].value.select(value.toString()) + '/' + component[1].value.select(value.toString()) )" - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#mm[Hg] - * linkId = "15200593-ab79-47ec-babe-4fdcb2327737" - * text = "Blood pressure" - * type = #string - * repeats = false - * enableWhen[+] - * question = "e2a16e4d-2765-4b61-b286-82cfc6356b30" // age item which has initial population from variable - * operator = #> - * answerInteger = 12 - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "eb022a99-7bd0-4635-aaad-04ac0d0334c8" - * text = "mm Hg" - * type = #display -*/ // needs assessment for potentional coded response * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression @@ -501,4 +740,4 @@ Description: "Examination sub-questionnaire for Aboriginal and Torres Strait Isl * text = "Mark section as complete" * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-EyeHealth.fsh b/input/fsh/715-Assessment-EyeHealth.fsh index 8b6c689a..e6ad8781 100644 --- a/input/fsh/715-Assessment-EyeHealth.fsh +++ b/input/fsh/715-Assessment-EyeHealth.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: EyeHealth InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Eye Health" Description: "Eye Health sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -38,22 +38,39 @@ Description: "Eye Health sub-questionnaire for Aboriginal and Torres Strait Isla * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/EyeHealth" * name = "EyeHealth" * title = "Aboriginal and Torres Strait Islander Health Check - Eye Health" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -72,13 +89,13 @@ Description: "Eye Health sub-questionnaire for Aboriginal and Torres Strait Isla * type = #display * enableWhen[+] * question = "MarkComplete-8" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-8" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-8" // Section complete item @@ -128,7 +145,7 @@ Description: "Eye Health sub-questionnaire for Aboriginal and Torres Strait Isla // table * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control|1.0.0#grid + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#grid * linkId = "25d3e4b6-8c71-4c17-8f5a-aca90e232ed2" * text = "Eye examination" * type = #group @@ -202,7 +219,7 @@ Description: "Eye Health sub-questionnaire for Aboriginal and Torres Strait Isla * type = #choice * repeats = false * answerOption[+].valueCoding = $SCT#60332004 "Trichiasis" - * answerOption[+].valueCoding = $SCT#95726001 "Corneal scarring" + * answerOption[+].valueCoding = $SCT#95726001 "Corneal scar" * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#check-box * linkId = "6ae69487-345e-46a0-a8db-b1356671ee59" @@ -210,8 +227,7 @@ Description: "Eye Health sub-questionnaire for Aboriginal and Torres Strait Isla * type = #choice * repeats = false * answerOption[+].valueCoding = $SCT#60332004 "Trichiasis" - * answerOption[+].valueCoding = $SCT#95726001 "Corneal scarring" - + * answerOption[+].valueCoding = $SCT#95726001 "Corneal scar" * item[+] * linkId = "8dcdc04c-7655-4b47-88eb-8425f0cdc0d0" @@ -219,10 +235,9 @@ Description: "Eye Health sub-questionnaire for Aboriginal and Torres Strait Isla * type = #text * repeats = false - * item[+] * linkId = "MarkComplete-8" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-FamilyHistory.fsh b/input/fsh/715-Assessment-FamilyHistory.fsh index 092059f3..cdef52b8 100644 --- a/input/fsh/715-Assessment-FamilyHistory.fsh +++ b/input/fsh/715-Assessment-FamilyHistory.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: FamilyHistory InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Family History" Description: "Family History sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -37,22 +37,39 @@ Description: "Family History sub-questionnaire for Aboriginal and Torres Strait * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/FamilyHistory" * name = "FamilyHistory" * title = "Aboriginal and Torres Strait Islander Health Check - Family History" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -71,13 +88,13 @@ Description: "Family History sub-questionnaire for Aboriginal and Torres Strait * type = #display * enableWhen[+] * question = "MarkComplete-9" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-9" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-9" // Section complete item @@ -121,6 +138,6 @@ Description: "Family History sub-questionnaire for Aboriginal and Torres Strait * item[+] * linkId = "MarkComplete-9" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-Gambling.fsh b/input/fsh/715-Assessment-Gambling.fsh index c92a93d1..2eaf1008 100644 --- a/input/fsh/715-Assessment-Gambling.fsh +++ b/input/fsh/715-Assessment-Gambling.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: Gambling InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Gambling" Description: "Gambling sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -38,22 +38,39 @@ Description: "Gambling sub-questionnaire for Aboriginal and Torres Strait Island * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/Gambling" * name = "Gambling" * title = "Aboriginal and Torres Strait Islander Health Check - Gambling" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -72,13 +89,13 @@ Description: "Gambling sub-questionnaire for Aboriginal and Torres Strait Island * type = #display * enableWhen[+] * question = "MarkComplete-10" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-10" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-10" // Section complete item @@ -117,6 +134,6 @@ Description: "Gambling sub-questionnaire for Aboriginal and Torres Strait Island * item[+] * linkId = "MarkComplete-10" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-HealthyEating.fsh b/input/fsh/715-Assessment-HealthyEating.fsh index 06b6bd98..806d0105 100644 --- a/input/fsh/715-Assessment-HealthyEating.fsh +++ b/input/fsh/715-Assessment-HealthyEating.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: HealthyEating InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Healthy Eating" Description: "Healthy Eating sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -38,22 +38,39 @@ Description: "Healthy Eating sub-questionnaire for Aboriginal and Torres Strait * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/HealthyEating" * name = "HealthyEating" * title = "Aboriginal and Torres Strait Islander Health Check - Healthy Eating" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU @@ -73,13 +90,13 @@ Description: "Healthy Eating sub-questionnaire for Aboriginal and Torres Strait * type = #display * enableWhen[+] * question = "MarkComplete-11" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-11" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-11" // Section complete item @@ -210,7 +227,9 @@ Description: "Healthy Eating sub-questionnaire for Aboriginal and Torres Strait * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath * expression = "%age <= 5" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+ * linkId = "9f6adf74-f240-41a2-a509-d216d5308911" + * text = "Document conversation about age-appropriate healthy eating, which could include: current diet; transition to solids; dietary recommendations re fruit and vegetable intake, iron-rich foods, avoiding sugary drinks" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
Document conversation about age-appropriate healthy eating, which could include:
  • current diet
  • @@ -218,8 +237,6 @@ Description: "Healthy Eating sub-questionnaire for Aboriginal and Torres Strait
  • dietary recommendations re fruit and vegetable intake, iron-rich foods, avoiding sugary drinks
" - * linkId = "9f6adf74-f240-41a2-a509-d216d5308911" - * text = "Document conversation about age-appropriate healthy eating, which could include: current diet; transition to solids; dietary recommendations re fruit and vegetable intake, iron-rich foods, avoiding sugary drinks" * type = #text * repeats = false * item[+] @@ -231,15 +248,15 @@ Description: "Healthy Eating sub-questionnaire for Aboriginal and Torres Strait * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath * expression = "%age > 5" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
-
Document conversation about health eating which could include:
+ * linkId = "7a22a4c4-6611-4687-af00-37c80c3f8fc0" + * text = "Document conversation about healthy eating which could include: current diet including food and drinks; recommendations about fruit and vegetable intake, water as the main drink, avoiding sugary drinks, avoiding highly processed foods (including supermarket-bought and take-away like KFC, Maccas, etc)" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+
Document conversation about healthy eating which could include:
  • current diet including food and drinks
  • recommendations about fruit and vegetable intake, water as the main drink, avoiding sugary drinks, avoiding highly processed foods (including supermarket-bought and take-away like KFC, Maccas, etc)
" - * linkId = "7a22a4c4-6611-4687-af00-37c80c3f8fc0" - * text = "Document conversation about health eating which could include: current diet including food and drinks; recommendations about fruit and vegetable intake, water as the main drink, avoiding sugary drinks, avoiding highly processed foods (including supermarket-bought and take-away like KFC, Maccas, etc)" * type = #text * repeats = false * item[+] @@ -280,6 +297,6 @@ Description: "Healthy Eating sub-questionnaire for Aboriginal and Torres Strait * item[+] * linkId = "MarkComplete-11" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-HomeAndFamily.fsh b/input/fsh/715-Assessment-HomeAndFamily.fsh index a6bb9395..3ebec7af 100644 --- a/input/fsh/715-Assessment-HomeAndFamily.fsh +++ b/input/fsh/715-Assessment-HomeAndFamily.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: HomeAndFamily InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Home And Family" Description: "Home And Family sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -38,22 +38,39 @@ Description: "Home And Family sub-questionnaire for Aboriginal and Torres Strait * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/HomeAndFamily" * name = "HomeAndFamily" * title = "Aboriginal and Torres Strait Islander Health Check - Home And Family" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU // for adolescents and up @@ -73,13 +90,13 @@ Description: "Home And Family sub-questionnaire for Aboriginal and Torres Strait * type = #display * enableWhen[+] * question = "MarkComplete-12" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-12" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-12" // Section complete item @@ -150,6 +167,6 @@ Description: "Home And Family sub-questionnaire for Aboriginal and Torres Strait * item[+] * linkId = "MarkComplete-12" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-Immunisation.fsh b/input/fsh/715-Assessment-Immunisation.fsh index 2fa9ec27..e755d66e 100644 --- a/input/fsh/715-Assessment-Immunisation.fsh +++ b/input/fsh/715-Assessment-Immunisation.fsh @@ -4,11 +4,13 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: Immunisation InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Immunisation" Description: "Immunisation sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." * contained[+] = YesNo +* contained[+] = amt-vaccine-1 +* contained[+] = ImmunizationTemplate //assemble expectation * extension[+] @@ -38,22 +40,49 @@ Description: "Immunisation sub-questionnaire for Aboriginal and Torres Strait Is * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//fhir query variables +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "Immunization" + * language = #application/x-fhir-query + * expression = "Immunization?patient={{%patient.id}}&status=completed" + +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" +* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template" * url = "http://www.health.gov.au/assessments/mbs/715/Immunisation" * name = "Immunisation" * title = "Aboriginal and Torres Strait Islander Health Check - Immunisation" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -72,13 +101,13 @@ Description: "Immunisation sub-questionnaire for Aboriginal and Torres Strait Is * type = #display * enableWhen[+] * question = "MarkComplete-13" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-13" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-13" // Section complete item @@ -90,6 +119,9 @@ Description: "Immunisation sub-questionnaire for Aboriginal and Torres Strait Is * expression = "%age <= 12" * linkId = "54de7714-b917-4426-acb4-29d48648a2d8" * text = "Check Child Health Record/Book and Australian Immunisation Register" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+

Check Child Health Record/Book and Australian Immunisation Register

+
" * type = #display * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression @@ -97,67 +129,134 @@ Description: "Immunisation sub-questionnaire for Aboriginal and Torres Strait Is * expression = "%age > 12" * linkId = "d77c527d-6fde-4ed7-97b9-c71acf817f39" * text = "Eligibility for funded vaccines may vary across jurisdictions" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+

Eligibility for funded vaccines may vary across jurisdictions

+
" * type = #display * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age > 12).intersect(%age <= 24)" + * expression = "(%age > 12) and (%age <= 24)" * linkId = "77d87581-d4d7-4267-9f3c-ad6541ad0f46" * text = "Check Australian Immunisation Register" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+

Check Australian Immunisation Register

+
" * type = #display * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age > 24).intersect(%age <= 49)" + * expression = "(%age > 24) and (%age <= 49)" * linkId = "a2631d2c-2b5c-4147-9aca-05ae655a56a5" * text = "Check recommended primary vaccinations completed and provide catch-up if required" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+

Check recommended primary vaccinations completed and provide catch-up if required

+
" * type = #display + + * item[+] + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#gtable + * extension[sdc-questionnaire-itemPopulationContext].valueExpression + * name = "ImmunizationRepeat" + * language = #text/fhirpath + * expression = "%Immunization.entry.resource" + * linkId = "vaccinesprevious" + * text = "Vaccines previously given" + * type = #group + * repeats = true + * readOnly = true + * item[+] + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete + * extension[sdc-questionnaire-initialExpression].valueExpression + * language = #text/fhirpath + * expression = "%ImmunizationRepeat.vaccineCode.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" + * linkId = "vaccinesprevious-vaccine" + * text = "Vaccine" + * type = #open-choice + * answerValueSet = "#amt-vaccine-1" + * item[+] + * extension[sdc-questionnaire-initialExpression].valueExpression + * language = #text/fhirpath + * expression = "%ImmunizationRepeat.lotNumber" + * linkId = "vaccinesprevious-batch" + * text = "Batch number" + * type = #string + * item[+] + * extension[sdc-questionnaire-initialExpression].valueExpression + * language = #text/fhirpath + * expression = "%ImmunizationRepeat.occurrence.ofType(dateTime).toDate()" + * linkId = "vaccinesprevious-date" + * text = "Administration date" + * type = #date + * item[+] + * extension[sdc-questionnaire-initialExpression].valueExpression + * language = #text/fhirpath + * expression = "%ImmunizationRepeat.note.text.first()" + * linkId = "vaccinesprevious-comment" + * text = "Comment" + * type = #string + * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button * extension[questionnaire-choiceOrientation].valueCode = #horizontal - * linkId = "69a4a459-196b-4931-8336-ea76ab3fccd1" - * text = "Immunisations up to date and recorded on Australian Immunisation Register (as per Australian immunisation handbook)?" + * linkId = "vaccinesair" + * text = "Immunisations are up to date?" * type = #choice * repeats = false - * answerValueSet = "#YesNo" + * answerValueSet = "#YesNo" * item[+] - * linkId = "08e8ca54-9af8-4028-be83-aab20bccecc3" + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete + * linkId = "vaccinesdue" * text = "Immunisations due" - * type = #string + * type = #open-choice + * answerValueSet = "#amt-vaccine-1" * repeats = true + + * item[+] - * linkId = "cc522cb1-b553-48c7-9028-61d15dd60845" + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#gtable + * extension[sdc-questionnaire-templateExtract].extension[template].valueReference = Reference(ImmunizationTemplate) + * linkId = "vaccinestoday" * text = "Vaccines given today" * type = #group - * repeats = false + * repeats = true + * item[+] + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete + * linkId = "vaccinestoday-vaccine" + * text = "Vaccine" + * type = #open-choice + * answerValueSet = "#amt-vaccine-1" + * item[+] + * linkId = "vaccinestoday-batch" + * text = "Batch number" + * type = #string * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button - * extension[questionnaire-choiceOrientation].valueCode = #horizontal - * linkId = "9f5787e6-8ece-46a4-8d67-e7c3e14daf18" - * text = "Vaccines recorded on Australian Immunisation Register?" - * type = #choice - * repeats = false - * answerValueSet = "#YesNo" + * linkId = "vaccinestoday-date" + * text = "Administration date" + * type = #date * item[+] - * linkId = "c8da01ec-de58-46e3-81a1-2c49aed8c28e" - * text = "Details" - * type = #text - * repeats = false - * enableWhen[+] - * question = "9f5787e6-8ece-46a4-8d67-e7c3e14daf18" - * operator = #= - * answerCoding = http://terminology.hl7.org/CodeSystem/v2-0136#Y + * linkId = "vaccinestoday-comment" + * text = "Comment" + * type = #string + + * item[+] + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button + * extension[questionnaire-choiceOrientation].valueCode = #horizontal + * linkId = "vaccinesrecorded" + * text = "Have all vaccines been recorded on the Australian Immunisation Register?" + * type = #choice + * repeats = false + * answerValueSet = "#YesNo" * item[+] * linkId = "bcd1c9f2-889e-41e5-8c2b-a70221c5cec5" * text = "Health priorities, actions and follow-up" * type = #text * repeats = false - * item[+] * linkId = "MarkComplete-13" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-Investigations.fsh b/input/fsh/715-Assessment-Investigations.fsh index 0acce3f1..df3f48d7 100644 --- a/input/fsh/715-Assessment-Investigations.fsh +++ b/input/fsh/715-Assessment-Investigations.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: Investigations InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Investigations" Description: "Investigations sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -37,22 +37,39 @@ Description: "Investigations sub-questionnaire for Aboriginal and Torres Strait * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/Investigations" * name = "Investigations" * title = "Aboriginal and Torres Strait Islander Health Check - Investigations" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU @@ -73,13 +90,13 @@ Description: "Investigations sub-questionnaire for Aboriginal and Torres Strait * type = #display * enableWhen[+] * question = "MarkComplete-14" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-14" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-14" // Section complete item @@ -128,6 +145,6 @@ Description: "Investigations sub-questionnaire for Aboriginal and Torres Strait * item[+] * linkId = "MarkComplete-14" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-LearningAndDevelopment.fsh b/input/fsh/715-Assessment-LearningAndDevelopment.fsh index 46899d26..bd1c0ebe 100644 --- a/input/fsh/715-Assessment-LearningAndDevelopment.fsh +++ b/input/fsh/715-Assessment-LearningAndDevelopment.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: LearningAndDevelopment InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Learning And Development" Description: "Learning And Development sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -36,22 +36,39 @@ Description: "Learning And Development sub-questionnaire for Aboriginal and Torr * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/LearningAndDevelopment" * name = "LearningAndDevelopment" * title = "Aboriginal and Torres Strait Islander Health Check - Learning And Development" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU // This questionnaire attempts to somewhat harmonise the infant and adolescent templates but there are differences that will require confirmation. @@ -71,13 +88,13 @@ Description: "Learning And Development sub-questionnaire for Aboriginal and Torr * type = #display * enableWhen[+] * question = "MarkComplete-15" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-15" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-15" // Section complete item @@ -140,7 +157,7 @@ Description: "Learning And Development sub-questionnaire for Aboriginal and Torr * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#prompt * linkId = "20ae39db-7bb5-4af4-ac59-3298d20719d8" - * text = "details" + * text = "Details" * type = #display * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression @@ -153,7 +170,7 @@ Description: "Learning And Development sub-questionnaire for Aboriginal and Torr * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#prompt * linkId = "61ff302c-9ef0-414c-a9f8-e2b8d119373c" - * text = "details" + * text = "Details" * type = #display * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression @@ -166,7 +183,7 @@ Description: "Learning And Development sub-questionnaire for Aboriginal and Torr * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#prompt * linkId = "520a4544-a48b-4864-8cfd-6af263756f1b" - * text = "details" + * text = "Details" * type = #display * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression @@ -179,7 +196,7 @@ Description: "Learning And Development sub-questionnaire for Aboriginal and Torr * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#prompt * linkId = "2e24a8de-c23d-409a-a5d6-96345177e105" - * text = "details" + * text = "Details" * type = #display * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression @@ -192,33 +209,31 @@ Description: "Learning And Development sub-questionnaire for Aboriginal and Torr * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#prompt * linkId = "f95dd477-98a2-4534-b8ab-5a74d1b46502" - * text = "details" + * text = "Details" * type = #display * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath * expression = "%age > 5" * linkId = "9371dddc-49f4-4a8f-a9dc-a0e128f99636" - * text = "Are there any other concerns about your child's learning and development" + * text = "Are there any other concerns about your child's learning and development?" * type = #text * repeats = false * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#prompt * linkId = "f513b077-5714-4b14-b44f-30a979509651" - * text = "details" + * text = "Details" * type = #display - * item[+] * linkId = "5ab80929-5901-431d-bf68-67d532f5fa58" * text = "Health priorities, actions and follow-up" * type = #text * repeats = false - * item[+] * linkId = "MarkComplete-15" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-LearningAndWork.fsh b/input/fsh/715-Assessment-LearningAndWork.fsh index ef7ba752..9df69523 100644 --- a/input/fsh/715-Assessment-LearningAndWork.fsh +++ b/input/fsh/715-Assessment-LearningAndWork.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: LearningAndWork InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Learning And Work" Description: "Learning And Work sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -39,29 +39,46 @@ Description: "Learning And Work sub-questionnaire for Aboriginal and Torres Stra * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/LearningAndWork" * name = "LearningAndWork" * title = "Aboriginal and Torres Strait Islander Health Check - Learning And Work" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU // adolescents and adults * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age > 12).intersect(%age < 50)" + * expression = "(%age > 12) and (%age < 50)" * linkId = "5437e30d-8a0a-4785-974e-00a10d2a1df0" * text = "Learning and work" * type = #group @@ -74,13 +91,13 @@ Description: "Learning And Work sub-questionnaire for Aboriginal and Torres Stra * type = #display * enableWhen[+] * question = "MarkComplete-33" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-33" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-33" // Section complete item @@ -159,7 +176,7 @@ Description: "Learning And Work sub-questionnaire for Aboriginal and Torres Stra * item[+] * linkId = "MarkComplete-33" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean * repeats = false @@ -180,13 +197,13 @@ Description: "Learning And Work sub-questionnaire for Aboriginal and Torres Stra * type = #display * enableWhen[+] * question = "MarkComplete-16" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-16" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-16" // Section complete item @@ -218,10 +235,9 @@ Description: "Learning And Work sub-questionnaire for Aboriginal and Torres Stra * type = #text * repeats = false - - * item[+] + * item[+] * linkId = "MarkComplete-16" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-MedicalHistoryCurrentProblems.fsh b/input/fsh/715-Assessment-MedicalHistoryCurrentProblems.fsh index a778de43..0b0d76b4 100644 --- a/input/fsh/715-Assessment-MedicalHistoryCurrentProblems.fsh +++ b/input/fsh/715-Assessment-MedicalHistoryCurrentProblems.fsh @@ -4,18 +4,14 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: MedicalHistoryCurrentProblems InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Medical History" Description: "Medical History sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." -* contained[+] = MedicalHistory -/* -* contained[+] = MedicalHistoryShortListInfants -* contained[+] = MedicalHistoryShortListPrimarySchool -* contained[+] = MedicalHistoryShortListAdolescents -* contained[+] = MedicalHistoryShortListAdultsAndOlderPeople -*/ * contained[+] = condition-clinical +* contained[+] = clinical-condition-1 +* contained[+] = ConditionTemplate +* contained[+] = ConditionPatchTemplate //assemble expectation * extension[+] @@ -45,6 +41,17 @@ Description: "Medical History sub-questionnaire for Aboriginal and Torres Strait * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] @@ -54,16 +61,24 @@ Description: "Medical History sub-questionnaire for Aboriginal and Torres Strait * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "Condition" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" +* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template" * url = "http://www.health.gov.au/assessments/mbs/715/MedicalHistoryCurrentProblems" * name = "MedicalHistoryCurrentProblems" -* title = "Aboriginal and Torres Strait Islander Health Check - Medical History And Current Problems" +* title = "Aboriginal and Torres Strait Islander Health Check - Medical History" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -82,210 +97,147 @@ Description: "Medical History sub-questionnaire for Aboriginal and Torres Strait * type = #display * enableWhen[+] * question = "MarkComplete-17" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-17" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-17" // Section complete item * operator = #= * answerBoolean = true - * item[+] - * linkId = "RecordUpdate-MedHistory" - * text = "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first." - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
- Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first. -
" - * type = #display +//Birth history * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath * expression = "%age <= 5" - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#wk - * linkId = "a10a7375-e9d3-4e71-a47a-282e9ba38ec1" - * text = "Gestation at birth" - * type = #decimal + * linkId = "b9de2b58-55e2-436d-95ab-49600508cdf7" + * text = "Birth history" + * type = #group * repeats = false * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "f3899852-36c4-441f-9a7d-544ef1617f08" - * text = "weeks" - * type = #display - * item[+] - * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression - * language = #text/fhirpath - * expression = "%age <= 5" - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#kg - * linkId = "29b6d8ea-23b2-4a69-98d9-899198692de7" - * text = "Birth weight" - * type = #decimal - * repeats = false + * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#wk + * linkId = "a10a7375-e9d3-4e71-a47a-282e9ba38ec1" + * text = "Gestation at birth" + * type = #decimal + * repeats = false + * item[+] + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit + * linkId = "f3899852-36c4-441f-9a7d-544ef1617f08" + * text = "weeks" + * type = #display * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit - * linkId = "87cf1ecd-6d1b-4de1-894d-58bd77dcfde1" - * text = "kg" - * type = #display - - /* Agreed to replace this section with medical history table. Commenting out for now. - // for infants 0-5 - * item[+] - * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression - * language = #text/fhirpath - * expression = "%age <= 5" - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#check-box - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%Condition.entry.resource.code.select(coding.where(system='http://snomed.info/sct').first())" - * linkId = "033db7b3-80da-43e2-9838-88f3d51e5913" - * text = "Problems" - * type = #choice - * repeats = true - * answerValueSet = "#MedicalHistoryShortListInfants" - - // for Primary School Children 5-12 - * item[+] - * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression - * language = #text/fhirpath - * expression = "(%age > 5).intersect(%age <= 12)" - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#check-box - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%Condition.entry.resource.code.select(coding.where(system='http://snomed.info/sct').first())" - * linkId = "384ab440-10ed-4ac1-89da-cd7d24f87a95" - * text = "Problems" - * type = #choice - * repeats = true - * answerValueSet = "#MedicalHistoryShortListPrimarySchool" - - // for adolescents 12-24 - * item[+] - * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression - * language = #text/fhirpath - * expression = "(%age > 12).intersect(%age <= 24)" - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#check-box - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%Condition.entry.resource.code.select(coding.where(system='http://snomed.info/sct').first())" - * linkId = "c24ae0d2-8932-4b87-9b7e-a644b5eb2874" - * text = "Problems" - * type = #choice - * repeats = true - * answerValueSet = "#MedicalHistoryShortListAdolescents" - - // for adults and older >24 - * item[+] - * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression - * language = #text/fhirpath - * expression = "%age > 24" - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#check-box - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%Condition.entry.resource.code.select(coding.where(system='http://snomed.info/sct').first())" - * linkId = "bba27ef5-05c5-4e9c-bc9f-cf42091e99cb" - * text = "Problems" - * type = #choice - * repeats = true - * answerValueSet = "#MedicalHistoryShortListAdultsAndOlderPeople" - -//continue - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%Condition.entry.resource.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" - * linkId = "736f2a51-e04d-4e7f-aef1-c47f3a1f4e3c" - * text = "Other relevant medical history, operations, hospital admissions, etc" - * extension[sdc-questionnaire-shortText].valueString = "Other relevant medical history" - * type = #open-choice - * repeats = true - * answerValueSet = "#MedicalHistory" - * item[+] - * linkId = "f00def30-35dd-401a-9a38-12602bd3b8b1" - * text = "Provide details of identified problems" - * type = #text - * repeats = false - -*/ - + * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-unit].valueCoding = $UCUM#kg + * linkId = "29b6d8ea-23b2-4a69-98d9-899198692de7" + * text = "Birth weight" + * type = #decimal + * repeats = false + * item[+] + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#unit + * linkId = "87cf1ecd-6d1b-4de1-894d-58bd77dcfde1" + * text = "kg" + * type = #display + // table of medical history + * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#gtable - * extension[sdc-questionnaire-itemPopulationContext].valueExpression - * name = "ConditionRepeat" - * language = #text/fhirpath - * expression = "%Condition.entry.resource.where(category.coding.exists(code='problem-list-item'))" - * linkId = "92bd7d05-9b5e-4cf9-900b-703f361dad9d" - * text = "Medical history and current problems list" + * linkId = "medicalhistorysummary" + * text = "Medical history summary" * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
-

Medical history and current problems list

-

This list includes items from the clinical record. If you wish to enter additional diagnoses, either update the clinical record and repopulate this form or add them to the \"New diagnoses list\" below and later update the clinical record as required.

+

Medical history summary

+

This section includes a list of existing items from the patient record.
Update these items here or update the patient record and repopulate the form.
Add new items at the bottom.

" - * type = #group - * repeats = true - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ConditionRepeat.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" - * linkId = "59b1900a-4f85-4a8c-b9cd-3fe2fd76f27e" - * text = "Condition" - * type = #open-choice - * answerValueSet = "#MedicalHistory" - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#drop-down - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ConditionRepeat.clinicalStatus.coding" - * linkId = "88bcfad7-386b-4d87-b34b-2e50482e4d2c" - * text = "Clinical Status" - * type = #choice - * answerValueSet = "http://hl7.org/fhir/ValueSet/condition-clinical" + * type = #group * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression + * extension[https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton][+].valueBoolean = true + * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl][+].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#gtable + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext][+].valueExpression + * name = "ConditionRepeat" * language = #text/fhirpath - * expression = "%ConditionRepeat.onset.ofType(dateTime)" - * linkId = "6ae641ad-95bb-4cdc-8910-5a52077e492c" - * text = "Onset Date" - * type = #date - * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ConditionRepeat.recordedDate" - * linkId = "18b9e159-2ed7-4047-82b7-deb2a171de4f" - * text = "Recorded Date" - * type = #date + * expression = "%Condition.entry.resource.where(verificationStatus.coding.all(code.empty() or code='confirmed'))" + * extension[TemplateExtractExtensionExtended][+] + * extension[template][+].valueReference = Reference(ConditionPatchTemplate) + * extension[resourceId][+].valueString = "item.where(linkId='conditionId').answer.value" + * extension[type][+].valueCode = #Condition + * linkId = "92bd7d05-9b5e-4cf9-900b-703f361dad9d" + * text = "Medical history summary" + * extension[+] + * url = "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden" + * valueBoolean = true + * type = #group + * repeats = true + * item[+] + * extension[questionnaire-hidden].valueBoolean = true + * extension[sdc-questionnaire-initialExpression].valueExpression + * language = #text/fhirpath + * expression = "%ConditionRepeat.id" + * linkId = "conditionId" + * type = #string + * item[+] + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete + * extension[sdc-questionnaire-initialExpression].valueExpression + * language = #text/fhirpath + * expression = "%ConditionRepeat.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" + * linkId = "59b1900a-4f85-4a8c-b9cd-3fe2fd76f27e" + * text = "Condition" + * type = #open-choice + * answerValueSet = "#clinical-condition-1" + * readOnly = true + * item[+] + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#drop-down + * extension[sdc-questionnaire-initialExpression].valueExpression + * language = #text/fhirpath + * expression = "%ConditionRepeat.clinicalStatus.coding" + * linkId = "88bcfad7-386b-4d87-b34b-2e50482e4d2c" + * text = "Clinical status" + * type = #choice + * answerValueSet = "#condition-clinical" + * item[+] + * extension[sdc-questionnaire-initialExpression].valueExpression + * language = #text/fhirpath + * expression = "%ConditionRepeat.onset.ofType(dateTime).toDate()" + * linkId = "6ae641ad-95bb-4cdc-8910-5a52077e492c" + * text = "Onset date" + * type = #date + * readOnly = true + * item[+] + * extension[sdc-questionnaire-initialExpression].valueExpression + * language = #text/fhirpath + * expression = "%ConditionRepeat.abatement.ofType(dateTime).toDate()" + * linkId = "e4524654-f6de-4717-b288-34919394d46b" + * text = "Abatement date" + * type = #date // table for new diagnoses - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#gtable - * linkId = "4484cacd-a260-4e5f-83c1-168ca2396c04" - * text = "New diagnoses list" - * type = #group - * repeats = true - * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete - * linkId = "2da85994-2d5e-42f1-8a81-abf44f397468" - * text = "Condition" - * type = #open-choice - * answerValueSet = "#MedicalHistory" * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#drop-down - * linkId = "a7e056be-fb6f-4f7f-b04d-5b809e1e18e3" - * text = "Clinical Status" - * type = #choice - * answerValueSet = "http://hl7.org/fhir/ValueSet/condition-clinical" - * item[+] - * linkId = "e4524654-f6de-4717-b288-34919394d46b" - * text = "Onset Date" - * type = #date - * item[+] - * linkId = "5bc1d8f4-6e8c-4695-916c-1ef767306e46" - * text = "Recorded Date" - * type = #date + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#gtable + * extension[sdc-questionnaire-templateExtract] + * extension[template].valueReference = Reference(ConditionTemplate) + * linkId = "newdiagnosis" + * text = "New diagnosis" + * extension[+] + * url = "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden" + * valueBoolean = true + * type = #group + * repeats = true + * item[+] + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete + * linkId = "2da85994-2d5e-42f1-8a81-abf44f397468" + * text = "Condition" + * type = #open-choice + * answerValueSet = "#clinical-condition-1" + * item[+] + * linkId = "4d55bffb-3286-4a23-a785-3b9c346d464d" + * text = "Onset date" + * type = #date + * item[+] + * linkId = "newdiagnosis-comment" + * text = "Comment" + * type = #string + * item[+] * linkId = "62774152-8a6e-4449-af9f-87bdce8b9bf5" @@ -296,6 +248,6 @@ Description: "Medical History sub-questionnaire for Aboriginal and Torres Strait * item[+] * linkId = "MarkComplete-17" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-MemoryAndThinking.fsh b/input/fsh/715-Assessment-MemoryAndThinking.fsh index f1a551eb..392d2dd5 100644 --- a/input/fsh/715-Assessment-MemoryAndThinking.fsh +++ b/input/fsh/715-Assessment-MemoryAndThinking.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: MemoryAndThinking InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Memory And Thinking" Description: "Memory And Thinking sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -38,22 +38,39 @@ Description: "Memory And Thinking sub-questionnaire for Aboriginal and Torres St * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/MemoryAndThinking" * name = "MemoryAndThinking" * title = "Aboriginal and Torres Strait Islander Health Check - Memory And Thinking" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -72,13 +89,13 @@ Description: "Memory And Thinking sub-questionnaire for Aboriginal and Torres St * type = #display * enableWhen[+] * question = "MarkComplete-18" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-18" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-18" // Section complete item @@ -150,6 +167,6 @@ Description: "Memory And Thinking sub-questionnaire for Aboriginal and Torres St * item[+] * linkId = "MarkComplete-18" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-Mood.fsh b/input/fsh/715-Assessment-Mood.fsh index edf6874f..8dc8ff38 100644 --- a/input/fsh/715-Assessment-Mood.fsh +++ b/input/fsh/715-Assessment-Mood.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: Mood InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Mood" Description: "Mood sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -37,22 +37,39 @@ Description: "Mood sub-questionnaire for Aboriginal and Torres Strait Islander H * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/Mood" * name = "Mood" * title = "Aboriginal and Torres Strait Islander Health Check - Mood" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -71,13 +88,13 @@ Description: "Mood sub-questionnaire for Aboriginal and Torres Strait Islander H * type = #display * enableWhen[+] * question = "MarkComplete-19" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-19" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-19" // Section complete item @@ -125,6 +142,6 @@ Description: "Mood sub-questionnaire for Aboriginal and Torres Strait Islander H * item[+] * linkId = "MarkComplete-19" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-OralAndDentalHealth.fsh b/input/fsh/715-Assessment-OralAndDentalHealth.fsh index e1ef634a..91261f23 100644 --- a/input/fsh/715-Assessment-OralAndDentalHealth.fsh +++ b/input/fsh/715-Assessment-OralAndDentalHealth.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: OralAndDentalHealth InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Oral And Dental Health" Description: "Oral And Dental Health sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -38,22 +38,39 @@ Description: "Oral And Dental Health sub-questionnaire for Aboriginal and Torres * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/OralAndDentalHealth" * name = "OralAndDentalHealth" * title = "Aboriginal and Torres Strait Islander Health Check - Oral And Dental Health" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -72,13 +89,13 @@ Description: "Oral And Dental Health sub-questionnaire for Aboriginal and Torres * type = #display * enableWhen[+] * question = "MarkComplete-20" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-20" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-20" // Section complete item @@ -172,6 +189,6 @@ Description: "Oral And Dental Health sub-questionnaire for Aboriginal and Torres * item[+] * linkId = "MarkComplete-20" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-PhysicalActivityAndScreenTime.fsh b/input/fsh/715-Assessment-PhysicalActivityAndScreenTime.fsh index 8b910709..4f502612 100644 --- a/input/fsh/715-Assessment-PhysicalActivityAndScreenTime.fsh +++ b/input/fsh/715-Assessment-PhysicalActivityAndScreenTime.fsh @@ -4,8 +4,8 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: PhysicalActivityAndScreenTime InstanceOf: Questionnaire -Usage: #definition -Title: "Physical Activity And Screen Time" +Usage: #example +Title: "Aboriginal and Torres Strait Islander Health Check - Physical Activity And Screen Time" Description: "Physical Activity And Screen Time sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." * contained[+] = YesNo @@ -38,22 +38,39 @@ Description: "Physical Activity And Screen Time sub-questionnaire for Aboriginal * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/PhysicalActivityAndScreenTime" * name = "PhysicalActivityAndScreenTime" * title = "Aboriginal and Torres Strait Islander Health Check - Physical Activity And Screen Time" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU @@ -74,13 +91,13 @@ Description: "Physical Activity And Screen Time sub-questionnaire for Aboriginal * type = #display * enableWhen[+] * question = "MarkComplete-34" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-34" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-34" // Section complete item @@ -114,7 +131,7 @@ Description: "Physical Activity And Screen Time sub-questionnaire for Aboriginal * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "%age <= 12" + * expression = "%age <= 12" * linkId = "e24d487b-3dd4-4a6d-a58e-85dfa8ce3f36" * text = "Screen time concerns" * type = #group @@ -174,7 +191,7 @@ Description: "Physical Activity And Screen Time sub-questionnaire for Aboriginal * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age > 12).intersect(%age <= 24)" + * expression = "(%age > 12) and (%age <= 24)" * linkId = "b2269be8-3ea5-494c-9368-06912b629789" * text = "Document conversation about social connection, which could include questions about sports/hobbies/clubs/other activities" * type = #text @@ -195,7 +212,7 @@ Description: "Physical Activity And Screen Time sub-questionnaire for Aboriginal * item[+] * linkId = "MarkComplete-34" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean * repeats = false @@ -216,13 +233,13 @@ Description: "Physical Activity And Screen Time sub-questionnaire for Aboriginal * type = #display * enableWhen[+] * question = "MarkComplete-21" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-21" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-21" // Section complete item @@ -271,6 +288,6 @@ Description: "Physical Activity And Screen Time sub-questionnaire for Aboriginal * item[+] * linkId = "MarkComplete-21" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-RedFlagsEarlyIdentificationGuide.fsh b/input/fsh/715-Assessment-RedFlagsEarlyIdentificationGuide.fsh index cbc52456..055e1f0b 100644 --- a/input/fsh/715-Assessment-RedFlagsEarlyIdentificationGuide.fsh +++ b/input/fsh/715-Assessment-RedFlagsEarlyIdentificationGuide.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: RedFlagsEarlyIdentificationGuide InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Red Flags Early Identification Guide For Children" Description: "Red Flags Early Identification Guide For Children sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -36,22 +36,39 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/RedFlagsEarlyIdentificationGuide" * name = "RedFlagsEarlyIdentificationGuideForChildren" * title = "Aboriginal and Torres Strait Islander Health Check - Red Flags Early Identification Guide For Children" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -70,13 +87,13 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * type = #display * enableWhen[+] * question = "MarkComplete-22" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-22" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-22" // Section complete item @@ -89,7 +106,7 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#check-box * linkId = "0b520b20-98df-4024-b25d-2986f6b96e77" - * text = "What age group is the child closet to?" + * text = "What age group is the child closest to?" * type = #choice * repeats = false * answerOption[+].valueString = "6 months" @@ -135,7 +152,7 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * type = #choice * repeats = true * answerOption[+].valueString = "Does not notice someone new" - * answerOption[+].valueString = "Does not pay early turn taking games (eg peekaboo, rolling a ball)" + * answerOption[+].valueString = "Does not play early turn taking games (e.g. peekaboo, rolling a ball)" * enableWhen[+] * question = "0b520b20-98df-4024-b25d-2986f6b96e77" * operator = #= @@ -157,7 +174,7 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * text = "Social Emotional" * type = #choice * repeats = true - * answerOption[+].valueString = "When playing with toys tends to bang, drop, or throw them rather than use them for their purpose (eg Cuddle doll, build blocks)" + * answerOption[+].valueString = "When playing with toys tends to bang, drop, or throw them rather than use them for their purpose (e.g. cuddle doll, build blocks)" * enableWhen[+] * question = "0b520b20-98df-4024-b25d-2986f6b96e77" * operator = #= @@ -204,7 +221,7 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * text = "Communication" * type = #choice * repeats = true - * answerOption[+].valueString = "Not starting to babble (eg aahh, oohh)" + * answerOption[+].valueString = "Not starting to babble (e.g. aahh, oohh)" * enableWhen[+] * question = "0b520b20-98df-4024-b25d-2986f6b96e77" * operator = #= @@ -215,8 +232,8 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * text = "Communication" * type = #choice * repeats = true - * answerOption[+].valueString = "Not using gestures (eg pointing, showing, waving)" - * answerOption[+].valueString = "Not using two part babble (eg bubu, dada)" + * answerOption[+].valueString = "Not using gestures (e.g. pointing, showing, waving)" + * answerOption[+].valueString = "Not using two part babble (e.g. bubu, dada)" * enableWhen[+] * question = "0b520b20-98df-4024-b25d-2986f6b96e77" * operator = #= @@ -228,7 +245,7 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * type = #choice * repeats = true * answerOption[+].valueString = "No babbled phrases that sound like talking" - * answerOption[+].valueString = "No response to familiar words (eg bottle, daddy)" + * answerOption[+].valueString = "No response to familiar words (e.g. bottle, daddy)" * enableWhen[+] * question = "0b520b20-98df-4024-b25d-2986f6b96e77" * operator = #= @@ -240,7 +257,7 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * type = #choice * repeats = true * answerOption[+].valueString = "No clear words" - * answerOption[+].valueString = "Cannot understand short requests (eg 'Where is the ball?')" + * answerOption[+].valueString = "Cannot understand short requests (e.g. 'Where is the ball?')" * enableWhen[+] * question = "0b520b20-98df-4024-b25d-2986f6b96e77" * operator = #= @@ -252,7 +269,7 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * type = #choice * repeats = true * answerOption[+].valueString = "Not learning new words" - * answerOption[+].valueString = "Not putting words together (eg 'push car')" + * answerOption[+].valueString = "Not putting words together (e.g. 'push car')" * enableWhen[+] * question = "0b520b20-98df-4024-b25d-2986f6b96e77" * operator = #= @@ -264,7 +281,7 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * type = #choice * repeats = true * answerOption[+].valueString = "Speech is difficult for familiar people to understand" - * answerOption[+].valueString = "Not using simple sentences (eg big car go)" + * answerOption[+].valueString = "Not using simple sentences (e.g. big car go)" * enableWhen[+] * question = "0b520b20-98df-4024-b25d-2986f6b96e77" * operator = #= @@ -276,7 +293,7 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * type = #choice * repeats = true * answerOption[+].valueString = "Speech difficult to understand" - * answerOption[+].valueString = "Not able to follow directions with two steps (eg 'Put your bag away and then go play')" + * answerOption[+].valueString = "Not able to follow directions with two steps (e.g. 'Put your bag away and then go play')" * enableWhen[+] * question = "0b520b20-98df-4024-b25d-2986f6b96e77" * operator = #= @@ -288,7 +305,7 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * type = #choice * repeats = true * answerOption[+].valueString = "Difficulty telling a parent what is wrong" - * answerOption[+].valueString = "Not able to answer questions in a simple conversation (eg What's your name? Who is your family?)" + * answerOption[+].valueString = "Not able to answer questions in a simple conversation (e.g. What's your name? Who is your family?)" * enableWhen[+] * question = "0b520b20-98df-4024-b25d-2986f6b96e77" * operator = #= @@ -364,7 +381,7 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * type = #choice * repeats = true * answerOption[+].valueString = "Does not attempt everyday care skills (such as feeding or dressing)" - * answerOption[+].valueString = "Difficulty in manipulating small objects (eg threading beads)" + * answerOption[+].valueString = "Difficulty in manipulating small objects (e.g. threading beads)" * enableWhen[+] * question = "0b520b20-98df-4024-b25d-2986f6b96e77" * operator = #= @@ -389,7 +406,7 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * repeats = true * answerOption[+].valueString = "Concerns from teacher about school readiness" * answerOption[+].valueString = "Not independently able to complete everyday routines such as feeding and dressing" - * answerOption[+].valueString = "Cannot draw simple pictures (eg stick person)" + * answerOption[+].valueString = "Cannot draw simple pictures (e.g. stick person)" * enableWhen[+] * question = "0b520b20-98df-4024-b25d-2986f6b96e77" * operator = #= @@ -428,7 +445,7 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * text = "Gross motor" * type = #choice * repeats = true - * answerOption[+].valueString = "No form of independent mobility (eg crawling, commando crawling, bottom shuffle)" + * answerOption[+].valueString = "No form of independent mobility (e.g. crawling, commando crawling, bottom shuffle)" * answerOption[+].valueString = "Not pulling to stand independently and holding on for support" * enableWhen[+] * question = "0b520b20-98df-4024-b25d-2986f6b96e77" @@ -513,6 +530,6 @@ Description: "Red Flags Early Identification Guide For Children sub-questionnair * item[+] * linkId = "MarkComplete-22" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-RegularMedications.fsh b/input/fsh/715-Assessment-RegularMedications.fsh index b5c34b39..7888b0da 100644 --- a/input/fsh/715-Assessment-RegularMedications.fsh +++ b/input/fsh/715-Assessment-RegularMedications.fsh @@ -4,154 +4,312 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: RegularMedications InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Regular Medications" Description: "Regular Medications sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." * contained[+] = YesNo +* contained[+] = smart-health-checks-medicine-products +* contained[+] = medication-reason-taken-1 +* contained[+] = MedicationStatementTemplate +* contained[+] = MedicationStatementPatchTemplate +* contained[+] = MedicationStatementStatusLimited -//assemble expectation -* extension[+] - * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation" - * valueCode = #assemble-child - -//launch context -* extension[+] - * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" - * extension[+] - * url = "name" - * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#patient - * extension[+] - * url = "type" - * valueCode = #Patient - * extension[+] - * url = "description" - * valueString = "The patient that is to be used to pre-populate the form" -* extension[+] - * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" - * extension[+] - * url = "name" - * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#user - * extension[+] - * url = "type" - * valueCode = #Practitioner - * extension[+] - * url = "description" - * valueString = "The practitioner user that is to be used to pre-populate the form" - -//assemble context -* extension[+] - * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" - * valueString = "age" +* extension[0].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation" +* extension[=].valueCode = #assemble-child + +* extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" +* extension[=].extension[0].url = "name" +* extension[=].extension[=].valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#patient +* extension[=].extension[+].url = "type" +* extension[=].extension[=].valueCode = #Patient +* extension[=].extension[+].url = "description" +* extension[=].extension[=].valueString = "The patient that is to be used to pre-populate the form" +* extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" +* extension[=].extension[0].url = "name" +* extension[=].extension[=].valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#user +* extension[=].extension[+].url = "type" +* extension[=].extension[=].valueCode = #Practitioner +* extension[=].extension[+].url = "description" +* extension[=].extension[=].valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" +* extension[=].extension[0].url = "name" +* extension[=].extension[=].valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter +* extension[=].extension[+].url = "type" +* extension[=].extension[=].valueCode = #Encounter +* extension[=].extension[+].url = "description" +* extension[=].extension[=].valueString = "The encounter that is to be used to pre-populate the form" + +* extension[+].url = "http://hl7.org/fhir/StructureDefinition/variable" +* extension[=].valueExpression.name = "MedicationStatement" +* extension[=].valueExpression.language = #application/x-fhir-query +* extension[=].valueExpression.expression = "MedicationStatement?patient={{%patient.id}}&status=active&_include=MedicationStatement:medication" + +* extension[+].url = "http://hl7.org/fhir/StructureDefinition/variable" +* extension[=].valueExpression.name = "medicationsFromContained" +* extension[=].valueExpression.language = #text/fhirpath +* extension[=].valueExpression.expression = "%MedicationStatement.entry.resource.contained.ofType(Medication).where(id in %MedicationStatement.entry.resource.medication.select(reference.replace('#', '')))" + +* extension[+].url = "http://hl7.org/fhir/StructureDefinition/variable" +* extension[=].valueExpression.name = "medicationsFromRef" +* extension[=].valueExpression.language = #text/fhirpath +* extension[=].valueExpression.expression = "%MedicationStatement.entry.resource.ofType(Medication).where(id in %MedicationStatement.entry.resource.medication.select(reference.replace('Medication/', '')))" + +* extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" +* extension[=].valueString = "age" + +//R5 preadoption extensions +* extension[+].url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" +* extension[=].valueCoding.system = "http://hl7.org/fhir/version-algorithm" +* extension[=].valueCoding.code = #semver * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" +* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template" * url = "http://www.health.gov.au/assessments/mbs/715/RegularMedications" * name = "RegularMedications" * title = "Aboriginal and Torres Strait Islander Health Check - Regular Medications" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU -* item[+] - * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression - * language = #text/fhirpath - * expression = "%age.exists()" - * linkId = "7dfe7c6a-ca7f-4ddf-9241-a7b918a9695a" - * text = "Regular medications: check if still required, appropriate dose, understanding of medication and adherence" - * extension[sdc-questionnaire-shortText].valueString = "Regular medications" - * type = #group - * repeats = false - * item[+] //in-progress - * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display - * linkId = "CD-in-progress-23" - * text = "In progress" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" - * type = #display - * enableWhen[+] - * question = "MarkComplete-23" // Section complete item - * operator = #= - * answerBoolean = false - * item[+] //complete - * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display - * linkId = "CD-complete-23" - * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" - * type = #display - * enableWhen[+] - * question = "MarkComplete-23" // Section complete item - * operator = #= - * answerBoolean = true - * item[+] - * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression - * language = #text/fhirpath - * expression = "%age <= 12" - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button - * extension[questionnaire-choiceOrientation].valueCode = #horizontal - * linkId = "6eb59145-ed9a-4184-af83-3506d47e4d4e" - * text = "Does your child take any regular medications (prescribed, over-the-counter, traditional, complementary and alternative)?" - * extension[sdc-questionnaire-shortText].valueString = "Does your child take any regular medications?" - * type = #choice - * repeats = false - * answerValueSet = "#YesNo" - * item[+] - * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression - * language = #text/fhirpath - * expression = "%age > 12" - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button - * extension[questionnaire-choiceOrientation].valueCode = #horizontal - * linkId = "3a2d27b6-e918-4df5-aca9-b374fcf9faad" - * text = "Do you take any regular medications (prescribed, over-the-counter, traditional, complementary and alternative)?" - * extension[sdc-questionnaire-shortText].valueString = "Do you take any regular medications?" - * type = #choice - * repeats = false - * answerValueSet = "#YesNo" - * item[+] - * linkId = "874ec8db-95c9-4cc0-95db-e45edaa3cd12" - * text = "Up to date in the health record?" - * type = #boolean - * repeats = false - * required = true - * enableWhen[+] - * question = "6eb59145-ed9a-4184-af83-3506d47e4d4e" - * operator = #= - * answerCoding = http://terminology.hl7.org/CodeSystem/v2-0136#Y - * enableWhen[+] - * question = "3a2d27b6-e918-4df5-aca9-b374fcf9faad" - * operator = #= - * answerCoding = http://terminology.hl7.org/CodeSystem/v2-0136#Y - * enableBehavior = #any - * item[+] - * linkId = "36290837-ad70-48b2-9c66-31533fec918b" - * text = "Medication understanding and adherence has been checked with patient" - * extension[sdc-questionnaire-shortText].valueString = "Understanding and adherence checked" - * type = #boolean - * repeats = false - * required = true - * enableWhen[+] - * question = "6eb59145-ed9a-4184-af83-3506d47e4d4e" - * operator = #= - * answerCoding = http://terminology.hl7.org/CodeSystem/v2-0136#Y - * enableWhen[+] - * question = "3a2d27b6-e918-4df5-aca9-b374fcf9faad" - * operator = #= - * answerCoding = http://terminology.hl7.org/CodeSystem/v2-0136#Y - * enableBehavior = #any - - - * item[+] - * linkId = "aa9ff2ed-bcd2-406d-a9ff-89c201df2605" - * text = "Health priorities, actions and follow-up" - * type = #text - * repeats = false - - - * item[+] - * linkId = "MarkComplete-23" - * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" - * type = #boolean - * repeats = false \ No newline at end of file +* item.linkId = "7dfe7c6a-ca7f-4ddf-9241-a7b918a9695a" +* item.extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression.language = #text/fhirpath +* item.extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression.expression = "%age.exists()" +* item.text = "Regular medications" +* item.type = #group +* item.repeats = false +* item.item[+] //in-progress +* item.item[=].extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display +* item.item[=].linkId = "CD-in-progress-23" +* item.item[=].text = "In progress" +* item.item[=].text.extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" +* item.item[=].type = #display +* item.item[=].enableWhen[+].question = "MarkComplete-23" // Section complete item +* item.item[=].enableWhen[=].operator = #!= +* item.item[=].enableWhen[=].answerBoolean = true +* item.item[+] //complete +* item.item[=].extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display +* item.item[=].linkId = "CD-complete-23" +* item.item[=].text = "Complete" +* item.item[=].text.extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" +* item.item[=].type = #display +* item.item[=].enableWhen[+].question = "MarkComplete-23" // Section complete item +* item.item[=].enableWhen[=].operator = #= +* item.item[=].enableWhen[=].answerBoolean = true + +* item.item[+].linkId = "regularmedications-instruction" +* item.item[=].text = "Check medications are still required, appropriate dose, understanding of medication and adherence" +* item.item[=].text.extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+ Check medications are still required, appropriate dose, understanding of medication and adherence +
" +* item.item[=].type = #display + +* item.item[+].linkId = "regularmedications-summary" +* item.item[=].text = "Medication summary" +* item.item[=].text.extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+

Medication summary

+

This section includes a list of existing items from the patient record.
Update these items here or update the patient record and repopulate the form.
Add new items at the bottom.

+
" +* item.item[=].type = #group +* item.item[=].repeats = false + +// Current medications +* item.item[=].item[0].extension[sdc-questionnaire-itemPopulationContext][+].valueExpression[+].name = "MedicationStatementRepeat" +* item.item[=].item[=].extension[sdc-questionnaire-itemPopulationContext][=].valueExpression[=].language = #text/fhirpath +* item.item[=].item[=].extension[sdc-questionnaire-itemPopulationContext][=].valueExpression[=].expression = "%MedicationStatement.entry.resource.ofType(MedicationStatement)" +* item.item[=].item[=].extension[TemplateExtractExtensionExtended][+].extension[template][+].valueReference = Reference(MedicationStatementPatchTemplate) +* item.item[=].item[=].extension[TemplateExtractExtensionExtended][=].extension[resourceId][+].valueString = "item.where(linkId='medicationStatementId').answer.value" +* item.item[=].item[=].extension[TemplateExtractExtensionExtended][=].extension[type][+].valueCode = #MedicationStatement +* item.item[=].item[=].extension[https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton][+].valueBoolean = true +* item.item[=].item[=].linkId = "regularmedications-summary-current" +* item.item[=].item[=].text = "Current medications" +* item.item[=].item[=].text.extension[+].url = "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden" +* item.item[=].item[=].text.extension[=].valueBoolean = true +* item.item[=].item[=].type = #group +* item.item[=].item[=].repeats = true +* item.item[=].item[=].item[0].extension[questionnaire-hidden].valueBoolean = true +* item.item[=].item[=].item[=].extension[sdc-questionnaire-initialExpression][+].valueExpression.language = #text/fhirpath +* item.item[=].item[=].item[=].extension[sdc-questionnaire-initialExpression][=].valueExpression.expression = "%MedicationStatementRepeat.id" +* item.item[=].item[=].item[=].linkId = "medicationStatementId" +* item.item[=].item[=].item[=].type = #string +* item.item[=].item[=].item[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" +* item.item[=].item[=].item[=].extension[=].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete +* item.item[=].item[=].item[=].extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression" +* item.item[=].item[=].item[=].extension[=].valueExpression[+].language = #text/fhirpath +/* + This expression selects the SNOMED coding from MedicationStatements. + In some cases, medication.reference may be a reference to a contained Medication resource or an external Medication resource. + %medicationsFromContained and %medicationsFromRef contains a list of contained Medication resources and externally referenced Medication resources respectively. + + Step 1: Check if the medication.reference is a contained resource (starts with '#') and if its ID is in %medicationsFromContained. + Step 2: If it is, use the ID to find the corresponding Medication resource in %medicationsFromContained and select its SNOMED coding. + Step 3: Otherwise, check if the medication.reference is an external resource (starts with 'Medication/') and if its ID is in %medicationsFromRef. + Step 4: If it is, use the ID to find the corresponding Medication resource in %medicationsFromRef and select its SNOMED coding. + Step 5: Otherwise, use the SNOMED coding from MedicationStatement.medication (medicationCodeableConcept to be specific). +*/ +* item.item[=].item[=].item[=].extension[=].valueExpression[=].expression = "iif(%MedicationStatementRepeat.medication.reference.replace('#', '') in %medicationsFromContained.id, %medicationsFromContained.where(id = %MedicationStatementRepeat.medication.reference.replace('#', '')).code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first()), iif(%MedicationStatementRepeat.medication.reference.replace('Medication/', '') in %medicationsFromRef.id , %medicationsFromRef.where(id = %MedicationStatementRepeat.medication.reference.replace('Medication/', '')).code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first()) ,%MedicationStatementRepeat.medication.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())))" +* item.item[=].item[=].item[=].linkId = "regularmedications-summary-current-medication" +* item.item[=].item[=].item[=].text = "Medication" +* item.item[=].item[=].item[=].type = #open-choice +* item.item[=].item[=].item[=].repeats = false +* item.item[=].item[=].item[=].readOnly = true +* item.item[=].item[=].item[=].answerValueSet = "#smart-health-checks-medicine-products" +/* +* item.item[=].item[=].item[+].extension.url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" +* item.item[=].item[=].item[=].extension.valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete +* item.item[=].item[=].item[=].linkId = "regularmedications-summary-current-form" +* item.item[=].item[=].item[=].text = "Form" +* item.item[=].item[=].item[=].type = #open-choice +* item.item[=].item[=].item[=].repeats = false +* item.item[=].item[=].item[=].answerValueSet = "https://healthterminologies.gov.au/fhir/ValueSet/medication-form-1" +* item.item[=].item[=].item[+].extension.url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" +* item.item[=].item[=].item[=].extension.valueCodeableConcept = $questionnaire-item-control#autocomplete +* item.item[=].item[=].item[=].linkId = "regularmedications-summary-current-route" +* item.item[=].item[=].item[=].text = "Route of administration" +* item.item[=].item[=].item[=].type = #open-choice +* item.item[=].item[=].item[=].repeats = false +* item.item[=].item[=].item[=].answerValueSet = "https://healthterminologies.gov.au/fhir/ValueSet/route-of-administration-1" +* item.item[=].item[=].item[+].linkId = "regularmedications-summary-current-doseamount" +* item.item[=].item[=].item[=].text = "Dose amount" +* item.item[=].item[=].item[=].type = #decimal +* item.item[=].item[=].item[=].repeats = false +* item.item[=].item[=].item[=].item.extension.url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" +* item.item[=].item[=].item[=].item.extension.valueCodeableConcept = $questionnaire-item-control#unit +* item.item[=].item[=].item[=].item.linkId = "regularmedications-summary-current-doseamount-unit" +* item.item[=].item[=].item[=].item.type = #choice +* item.item[=].item[=].item[=].item.answerOption[0].valueCoding = $UCUM#mg "mg" +* item.item[=].item[=].item[=].item.answerOption[+].valueCoding = $unitsofmeasure#ml "ml" +* item.item[=].item[=].item[+].extension.url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" +* item.item[=].item[=].item[=].extension.valueCodeableConcept = $questionnaire-item-control#drop-down +* item.item[=].item[=].item[=].linkId = "regularmedications-summary-current-dosetiming" +* item.item[=].item[=].item[=].text = "Dose timing" +* item.item[=].item[=].item[=].type = #open-choice +* item.item[=].item[=].item[=].repeats = false +* item.item[=].item[=].item[=].answerValueSet = "http://hl7.org/fhir/ValueSet/timing-abbreviation" +*/ + +* item.item[=].item[=].item[+].extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression" +* item.item[=].item[=].item[=].extension[=].valueExpression[+].language = #text/fhirpath +* item.item[=].item[=].item[=].extension[=].valueExpression[=].expression = "%MedicationStatementRepeat.status" +* item.item[=].item[=].item[=].linkId = "regularmedications-summary-current-status" +* item.item[=].item[=].item[=].text = "Status" +* item.item[=].item[=].item[=].type = #choice +* item.item[=].item[=].item[=].repeats = false +* item.item[=].item[=].item[=].answerValueSet = "#MedicationStatementStatusLimited" + +* item.item[=].item[=].item[+].extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression" +* item.item[=].item[=].item[=].extension[=].valueExpression[+].language = #text/fhirpath +* item.item[=].item[=].item[=].extension[=].valueExpression[=].expression = "%MedicationStatementRepeat.dosage.text" +* item.item[=].item[=].item[=].linkId = "regularmedications-summary-current-dosage" +* item.item[=].item[=].item[=].text = "Dosage" +* item.item[=].item[=].item[=].type = #text +* item.item[=].item[=].item[=].repeats = false + +* item.item[=].item[=].item[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" +* item.item[=].item[=].item[=].extension[=].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete +* item.item[=].item[=].item[=].extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression" +* item.item[=].item[=].item[=].extension[=].valueExpression[+].language = #text/fhirpath +* item.item[=].item[=].item[=].extension[=].valueExpression[=].expression = "%MedicationStatementRepeat.reasonCode.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" +* item.item[=].item[=].item[=].linkId = "regularmedications-summary-current-reasoncode" +* item.item[=].item[=].item[=].text = "Clinical indication" +* item.item[=].item[=].item[=].type = #open-choice +* item.item[=].item[=].item[=].repeats = true +* item.item[=].item[=].item[=].readOnly = true +* item.item[=].item[=].item[=].answerValueSet = "#medication-reason-taken-1" + +* item.item[=].item[=].item[+].extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression" +* item.item[=].item[=].item[=].extension[=].valueExpression[+].language = #text/fhirpath +* item.item[=].item[=].item[=].extension[=].valueExpression[=].expression = "%MedicationStatementRepeat.note.text" +* item.item[=].item[=].item[=].linkId = "regularmedications-summary-current-comment" +* item.item[=].item[=].item[=].text = "Comment" +* item.item[=].item[=].item[=].type = #text +* item.item[=].item[=].item[=].repeats = false + +// New medications +* item.item[=].item[+].extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract" +* item.item[=].item[=].extension[=].extension.url = "template" +* item.item[=].item[=].extension[=].extension.valueReference = Reference(MedicationStatementTemplate) +* item.item[=].item[=].linkId = "regularmedications-summary-new" +* item.item[=].item[=].text = "New medications" +* item.item[=].item[=].text.extension[+].url = "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden" +* item.item[=].item[=].text.extension[=].valueBoolean = true +* item.item[=].item[=].type = #group +* item.item[=].item[=].repeats = true +* item.item[=].item[=].item[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" +* item.item[=].item[=].item[=].extension[=].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete +* item.item[=].item[=].item[=].linkId = "regularmedications-summary-new-medication" +* item.item[=].item[=].item[=].text = "Medication" +* item.item[=].item[=].item[=].type = #open-choice +* item.item[=].item[=].item[=].repeats = false +* item.item[=].item[=].item[=].answerValueSet = "#smart-health-checks-medicine-products" + +* item.item[=].item[=].item[+].linkId = "regularmedications-summary-new-dosage" +* item.item[=].item[=].item[=].text = "Dosage" +* item.item[=].item[=].item[=].type = #text +* item.item[=].item[=].item[=].repeats = false + +* item.item[=].item[=].item[+].extension.url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" +* item.item[=].item[=].item[=].extension.valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#autocomplete +* item.item[=].item[=].item[=].linkId = "regularmedications-summary-new-reasoncode" +* item.item[=].item[=].item[=].text = "Clinical indication" +* item.item[=].item[=].item[=].type = #open-choice +* item.item[=].item[=].item[=].repeats = true +* item.item[=].item[=].item[=].answerValueSet = "#medication-reason-taken-1" + +* item.item[=].item[=].item[+].linkId = "regularmedications-summary-new-comment" +* item.item[=].item[=].item[=].text = "Comment" +* item.item[=].item[=].item[=].type = #text +* item.item[=].item[=].item[=].repeats = false + +* item.item[+].extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression.language = #text/fhirpath +* item.item[=].extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression.expression = "%age <= 12" +* item.item[=].extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button +* item.item[=].extension[questionnaire-choiceOrientation].valueCode = #horizontal +* item.item[=].linkId = "6eb59145-ed9a-4184-af83-3506d47e4d4e" +* item.item[=].text = "Does your child take any regular medications (prescribed, over-the-counter, traditional, complementary and alternative)?" +* item.item[=].extension[sdc-questionnaire-shortText].valueString = "Does your child take any regular medications?" +* item.item[=].type = #choice +* item.item[=].repeats = false +* item.item[=].answerValueSet = "#YesNo" +* item.item[+].extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression.language = #text/fhirpath +* item.item[=].extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression.expression = "%age > 12" +* item.item[=].extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button +* item.item[=].extension[questionnaire-choiceOrientation].valueCode = #horizontal +* item.item[=].linkId = "3a2d27b6-e918-4df5-aca9-b374fcf9faad" +* item.item[=].text = "Do you take any regular medications (prescribed, over-the-counter, traditional, complementary and alternative)?" +* item.item[=].extension[sdc-questionnaire-shortText].valueString = "Do you take any regular medications?" +* item.item[=].type = #choice +* item.item[=].repeats = false +* item.item[=].answerValueSet = "#YesNo" + +* item.item[+].linkId = "874ec8db-95c9-4cc0-95db-e45edaa3cd12" +* item.item[=].text = "Check the health record is up to date" +* item.item[=].type = #boolean +* item.item[=].repeats = false +* item.item[+].linkId = "36290837-ad70-48b2-9c66-31533fec918b" +* item.item[=].text = "Check medication understanding and adherence with patient" +* item.item[=].extension[sdc-questionnaire-shortText].valueString = "Understanding and adherence checked" +* item.item[=].type = #boolean +* item.item[=].repeats = false +* item.item[=].enableWhen[+].question = "6eb59145-ed9a-4184-af83-3506d47e4d4e" +* item.item[=].enableWhen[=].operator = #= +* item.item[=].enableWhen[=].answerCoding = http://terminology.hl7.org/CodeSystem/v2-0136#Y +* item.item[=].enableWhen[+].question = "3a2d27b6-e918-4df5-aca9-b374fcf9faad" +* item.item[=].enableWhen[=].operator = #= +* item.item[=].enableWhen[=].answerCoding = http://terminology.hl7.org/CodeSystem/v2-0136#Y +* item.item[=].enableBehavior = #any + +* item.item[+].linkId = "aa9ff2ed-bcd2-406d-a9ff-89c201df2605" +* item.item[=].text = "Health priorities, actions and follow-up" +* item.item[=].type = #text +* item.item[=].repeats = false + +* item.item[+].linkId = "MarkComplete-23" +* item.item[=].text = "Mark section as complete" +* item.item[=].text.extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" +* item.item[=].type = #boolean +* item.item[=].repeats = false diff --git a/input/fsh/715-Assessment-ScreeningPrograms.fsh b/input/fsh/715-Assessment-ScreeningPrograms.fsh index 611da9d2..5f87582f 100644 --- a/input/fsh/715-Assessment-ScreeningPrograms.fsh +++ b/input/fsh/715-Assessment-ScreeningPrograms.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: ScreeningPrograms InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Screening Programs" Description: "Screening Programs sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -36,30 +36,46 @@ Description: "Screening Programs sub-questionnaire for Aboriginal and Torres Str * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/ScreeningPrograms" * name = "ScreeningPrograms" * title = "Aboriginal and Torres Strait Islander Health Check - Screening Programs" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU -// should this group be only for >=74? * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age >= 50).intersect(%age <= 74)" + * expression = "(%age >= 50) and (%age <= 74)" * linkId = "9674ffa0-2ad9-4ca3-80e6-e8bb0670a802" * text = "Participation in screening programs" * type = #group @@ -72,25 +88,18 @@ Description: "Screening Programs sub-questionnaire for Aboriginal and Torres Str * type = #display * enableWhen[+] * question = "MarkComplete-24" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-24" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-24" // Section complete item * operator = #= * answerBoolean = true - * item[+] - * linkId = "RecordUpdate-ScreeningPrograms" - * text = "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first." - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
- Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first. -
" - * type = #display // following items require coded answers. Either <|Context values for actions (qualifier value)| or <|Chronic disease monitoring status (finding)| * item[+] * linkId = "ed15e82b-803a-4d21-9344-9110b57b2313" @@ -171,17 +180,15 @@ Description: "Screening Programs sub-questionnaire for Aboriginal and Torres Str * type = #text * repeats = false - * item[+] * linkId = "70f82c4b-d1f9-44d5-9903-bd7097799c05" * text = "Health priorities, actions and follow-up" * type = #text * repeats = false - * item[+] * linkId = "MarkComplete-24" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-SexualHealth.fsh b/input/fsh/715-Assessment-SexualHealth.fsh index 369e054a..ebcb627e 100644 --- a/input/fsh/715-Assessment-SexualHealth.fsh +++ b/input/fsh/715-Assessment-SexualHealth.fsh @@ -4,12 +4,13 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: SexualHealth InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Sexual Health" Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." * contained[+] = YesNo * contained[+] = YesNoNotAskedDeclined +* contained[+] = CervicalScreeningStatus-1 //assemble expectation * extension[+] @@ -39,29 +40,46 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/SexualHealth" * name = "SexualHealth" * title = "Aboriginal and Torres Strait Islander Health Check - Sexual Health" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU // Adolescents * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age > 12).intersect(%age <= 24)" + * expression = "(%age > 12) and (%age <= 24)" * extension[sdc-questionnaire-shortText].valueString = "Sexual health" * linkId = "4b49c291-6e93-4b7e-be3b-15ef8bc207ad" * text = "Sexual health (sexual activity, contraception, safe sex/protection, sexual orientation, gender identity, pressure to have sex, STIs)" @@ -75,13 +93,13 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I * type = #display * enableWhen[+] * question = "MarkComplete-36" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-36" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-36" // Section complete item @@ -125,7 +143,10 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I * operator = #= * answerCoding = http://terminology.hl7.org/CodeSystem/v2-0136#Y * item[+] - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+ * extension[sdc-questionnaire-shortText].valueString = "Consider discussing items relevant to age/sex/gender" + * linkId = "0fba3972-faa3-4f40-940c-c2f1c9b55329" + * text = "Consider discussing as relevant to age/sex/gender: menstruation (including risk of anaemia); current sexual activity; contraception; safe sex practice (eg use of condoms); sexually transmitted infection symptoms and screening; blood-borne virus screening" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
Consider discussing as relevant to age/sex/gender:
  • menstruation (including risk of anaemia)
  • @@ -136,9 +157,6 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I
  • blood-borne virus screening
" - * extension[sdc-questionnaire-shortText].valueString = "Consider discussing items relevant to age/sex/gender" - * linkId = "0fba3972-faa3-4f40-940c-c2f1c9b55329" - * text = "Consider discussing as relevant to age/sex/gender: menstruation (including risk of anaemia); current sexual activity; contraception; safe sex practice (eg use of condoms); sexually transmitted infection symptoms and screening; blood-borne virus screening" * type = #text * repeats = false @@ -153,7 +171,7 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I * item[+] * linkId = "MarkComplete-36" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean * repeats = false @@ -161,7 +179,7 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age > 24).intersect(%age <= 49)" + * expression = "(%age > 24) and (%age <= 49)" * linkId = "589b53a4-ceb2-41c0-850a-69438f9fd1cc" * text = "Genitourinary and sexual health" * type = #group @@ -174,13 +192,13 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I * type = #display * enableWhen[+] * question = "MarkComplete-35" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-35" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-35" // Section complete item @@ -219,10 +237,7 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I * text = "Cervical screening status" * type = #choice * repeats = false - * answerOption[+].valueCoding = $SCT#736595007 "Declined" - * answerOption[+].valueCoding = http://snomed.info/sct#410527000 "Offered" // a better concept is required - * answerOption[+].valueCoding = $SCT#171154002 "Not required" - * answerOption[+].valueCoding = $SCT#171155001 "Up to date" + * answerValueSet = "#CervicalScreeningStatus-1" * item[+] * linkId = "f93eb998-1502-4d8a-88a4-986117a387c5" * text = "Next due" @@ -234,7 +249,10 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I * type = #text * repeats = false * item[+] - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+ * extension[sdc-questionnaire-shortText].valueString = "Consider discussing items relevant to age/sex/gender" + * linkId = "39b02169-ea34-4af9-aa35-1c47f7f39333" + * text = "Consider discussing as relevant to age/sex/gender: contraception; menstruation; sexually transmitted infection symptoms and screening; blood-borne virus screening; continence; menopause; erectile dysfunction" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
Consider discussing as relevant to age/sex/gender:
  • contraception
  • @@ -246,9 +264,6 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I
  • erectile dysfunction
" - * extension[sdc-questionnaire-shortText].valueString = "Consider discussing items relevant to age/sex/gender" - * linkId = "39b02169-ea34-4af9-aa35-1c47f7f39333" - * text = "Consider discussing as relevant to age/sex/gender: contraception; menstruation; sexually transmitted infection symptoms and screening; blood-borne virus screening; continence; menopause; erectile dysfunction" * type = #text * repeats = false @@ -263,7 +278,7 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I * item[+] * linkId = "MarkComplete-35" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean * repeats = false @@ -284,13 +299,13 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I * type = #display * enableWhen[+] * question = "MarkComplete-25" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-25" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-25" // Section complete item @@ -341,7 +356,10 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I * operator = #= * answerCoding = http://terminology.hl7.org/CodeSystem/v2-0136#Y * item[+] - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+ * extension[sdc-questionnaire-shortText].valueString = "Consider discussing items relevant to age/sex/gender" + * linkId = "8d75d1f1-290b-41fc-8e32-ad0681c650bb" + * text = "Consider discussing as relevant to age/sex/gender: menopause; erectile dysfunction; prostatic symptoms" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
Consider discussing as relevant to age/sex/gender:
  • menopause
  • @@ -349,9 +367,6 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I
  • prostatic symptoms
" - * extension[sdc-questionnaire-shortText].valueString = "Consider discussing items relevant to age/sex/gender" - * linkId = "8d75d1f1-290b-41fc-8e32-ad0681c650bb" - * text = "Consider discussing as relevant to age/sex/gender: menopause; erectile dysfunction; prostatic symptoms" * type = #text * repeats = false @@ -365,7 +380,7 @@ Description: "Sexual Health sub-questionnaire for Aboriginal and Torres Strait I * item[+] * linkId = "MarkComplete-25" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean * repeats = false diff --git a/input/fsh/715-Assessment-Skin.fsh b/input/fsh/715-Assessment-Skin.fsh index 4e0a6ec4..e424c636 100644 --- a/input/fsh/715-Assessment-Skin.fsh +++ b/input/fsh/715-Assessment-Skin.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: Skin InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Skin" Description: "Skin sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -38,22 +38,39 @@ Description: "Skin sub-questionnaire for Aboriginal and Torres Strait Islander H * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/Skin" * name = "Skin" * title = "Aboriginal and Torres Strait Islander Health Check - Skin" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU @@ -73,13 +90,13 @@ Description: "Skin sub-questionnaire for Aboriginal and Torres Strait Islander H * type = #display * enableWhen[+] * question = "MarkComplete-26" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-26" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-26" // Section complete item @@ -159,10 +176,9 @@ Description: "Skin sub-questionnaire for Aboriginal and Torres Strait Islander H * type = #text * repeats = false - * item[+] * linkId = "MarkComplete-26" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-SocialAndEmotionalWellbeing.fsh b/input/fsh/715-Assessment-SocialAndEmotionalWellbeing.fsh index 6d4d362b..56884feb 100644 --- a/input/fsh/715-Assessment-SocialAndEmotionalWellbeing.fsh +++ b/input/fsh/715-Assessment-SocialAndEmotionalWellbeing.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: SocialAndEmotionalWellbeing InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Social And Emotional Wellbeing" Description: "Social And Emotional Wellbeing sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -38,22 +38,39 @@ Description: "Social And Emotional Wellbeing sub-questionnaire for Aboriginal an * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/SocialAndEmotionalWellbeing" * name = "SocialAndEmotionalWellbeing" * title = "Aboriginal and Torres Strait Islander Health Check - Social And Emotional Wellbeing" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -72,13 +89,13 @@ Description: "Social And Emotional Wellbeing sub-questionnaire for Aboriginal an * type = #display * enableWhen[+] * question = "MarkComplete-27" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-27" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-27" // Section complete item @@ -133,10 +150,9 @@ Description: "Social And Emotional Wellbeing sub-questionnaire for Aboriginal an * type = #text * repeats = false - * item[+] * linkId = "MarkComplete-27" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-SocialHistoryChild.fsh b/input/fsh/715-Assessment-SocialHistoryChild.fsh index b41ecc6c..10e97d61 100644 --- a/input/fsh/715-Assessment-SocialHistoryChild.fsh +++ b/input/fsh/715-Assessment-SocialHistoryChild.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: SocialHistoryChild InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Social History Child" Description: "Social History Child sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -38,22 +38,39 @@ Description: "Social History Child sub-questionnaire for Aboriginal and Torres S * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/SocialHistoryChild" * name = "SocialHistoryChild" * title = "Aboriginal and Torres Strait Islander Health Check - Social History Child" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -73,13 +90,13 @@ Description: "Social History Child sub-questionnaire for Aboriginal and Torres S * type = #display * enableWhen[+] * question = "MarkComplete-28" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-28" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-28" // Section complete item @@ -137,10 +154,9 @@ Description: "Social History Child sub-questionnaire for Aboriginal and Torres S * type = #text * repeats = false - * item[+] * linkId = "MarkComplete-28" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-Assessment-SubstanceUse.fsh b/input/fsh/715-Assessment-SubstanceUse.fsh index 1e4e9b0e..1881e070 100644 --- a/input/fsh/715-Assessment-SubstanceUse.fsh +++ b/input/fsh/715-Assessment-SubstanceUse.fsh @@ -4,10 +4,13 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: SubstanceUse InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Substance Use" Description: "Substance Use sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." +* contained[+] = SmokingStatusTemplate +* contained[+] = SmokingQuitStatus-1 +* contained[+] = TobaccoUseStatus-1 //assemble expectation * extension[+] @@ -37,30 +40,69 @@ Description: "Substance Use sub-questionnaire for Aboriginal and Torres Strait I * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" - -//fhir query variables +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" + * valueString = "ObsTobaccoSmokingStatus" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" + * valueString = "ObsTobaccoSmokingStatusLatest" + +//fhirpath variables +//Previous examination results variables +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsTobaccoSmokingStatusValue" + * language = #text/fhirpath + * expression = "%ObsTobaccoSmokingStatusLatest.value.coding.where(system='http://snomed.info/sct').first()" * extension[+] * url = "http://hl7.org/fhir/StructureDefinition/variable" * valueExpression - * name = "ObsTobaccoSmokingStatus" - * language = #application/x-fhir-query - * expression = "Observation?code=72166-2&_count=1&_sort=-date&patient={{%patient.id}}" + * name = "ObsTobaccoSmokingStatusDateString" + * language = #text/fhirpath + * expression = "%ObsTobaccoSmokingStatusLatest.effective.toDate().toString()" +* extension[+] + * url = "http://hl7.org/fhir/StructureDefinition/variable" + * valueExpression + * name = "ObsTobaccoSmokingStatusDateFormatted" + * language = #text/fhirpath + * expression = "%ObsTobaccoSmokingStatusDateString.substring(8,2).toInteger().toString() + ' ' + %ObsTobaccoSmokingStatusDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsTobaccoSmokingStatusDateString.substring(0,4)" + + +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" +* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave" +* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-template" * url = "http://www.health.gov.au/assessments/mbs/715/SubstanceUse" * name = "SubstanceUse" * title = "Aboriginal and Torres Strait Islander Health Check - Substance Use" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU // some linkIds maintained from full assessment questionnaire @@ -80,46 +122,57 @@ Description: "Substance Use sub-questionnaire for Aboriginal and Torres Strait I * type = #display * enableWhen[+] * question = "MarkComplete-29" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-29" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-29" // Section complete item * operator = #= - * answerBoolean = true - * item[+] - * linkId = "RecordUpdate-SubstanceUse" - * text = "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first." - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
- Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first. -
" - * type = #display + * answerBoolean = true * item[+] - * linkId = "515eda6e-973a-4b10-910a-0d4bf4f2efff" + * linkId = "substanceuse-smoking" * text = "Smoking" * type = #group * repeats = false * item[+] - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%ObsTobaccoSmokingStatus.entry.resource.value.coding.where(system='http://snomed.info/sct')" - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button - * linkId = "b639a3a8-f476-4cc8-b5c7-f5d2abb23511" + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#grid + * linkId = "substanceuse-smoking-smokingstatus" * text = "Smoking status" - * type = #choice + * extension[+] + * url = "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden" + * valueBoolean = true + * type = #group * repeats = false - // better as a standard answerValueSet when missing concepts are available or national standard adoption - * answerOption[+].valueCoding = http://snomed.info/sct#266919005 "Never smoked" - * answerOption[+].valueCoding = http://snomed.info/sct#77176002 "Smoker" - * answerOption[+].valueCoding = http://snomed.info/sct#8517006 "Ex-Smoker" - * answerOption[+].valueCoding = http://snomed.info/sct#16090371000119103 "Environmental exposure to tobacco smoke (home, car, etc)" - * answerOption[+].valueString = "Wants to quit" - * answerOption[+].valueString = "Other tobacco use" + * item[+] + * linkId = "substanceuse-smoking-smokingstatus-group" + * text = "Smoking status" + * type = #group + * repeats = false + * item[+] + * linkId = "substanceuse-smoking-smokingstatus-group-laststatus" + * text = "Last status" + * extension[http://hl7.org/fhir/StructureDefinition/cqf-expression].valueExpression + * language = #text/fhirpath + * expression = "iif(%ObsTobaccoSmokingStatusValue.exists() and %ObsTobaccoSmokingStatusDateFormatted.exists(), %ObsTobaccoSmokingStatusValue.display + ' ( ' + %ObsTobaccoSmokingStatusDateFormatted + ' )', 'Not available')" + * type = #display + * item[+] + * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract].extension[template].valueReference.reference = "#SmokingStatusTemplate" + * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#drop-down + * linkId = "b639a3a8-f476-4cc8-b5c7-f5d2abb23511" + * text = "New status" + * type = #choice + * repeats = false + * answerValueSet = "#TobaccoUseStatus-1" + * item[+] + * linkId = "substanceuse-smoking-smokingstatus-group-newdate" + * text = "New date" + * type = #date + * repeats = false * item[+] * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button * linkId = "96dc7c22-d003-459c-8a56-f6cd182fc077" @@ -130,9 +183,7 @@ Description: "Substance Use sub-questionnaire for Aboriginal and Torres Strait I * question = "b639a3a8-f476-4cc8-b5c7-f5d2abb23511" * operator = #= * answerCoding = http://snomed.info/sct#8517006 - * answerOption[+].valueCoding = http://snomed.info/sct#48031000119106 "Quit >=12 months" - * answerOption[+].valueCoding = http://snomed.info/sct#735128000 "Quit <12 months" - + * answerValueSet = "#SmokingQuitStatus-1" * item[+] * linkId = "9e86387d-1be4-4c26-9047-9dd6b03e1ee0" * text = "How many?" @@ -149,7 +200,7 @@ Description: "Substance Use sub-questionnaire for Aboriginal and Torres Strait I * enableWhen[+] * question = "b639a3a8-f476-4cc8-b5c7-f5d2abb23511" * operator = #= - * answerString = "Wants to quit" + * answerCoding = http://snomed.info/sct#394872000 * enableBehavior = #any * item[+] * linkId = "32e71641-f660-4ca2-af99-dff8917f07be" @@ -166,7 +217,7 @@ Description: "Substance Use sub-questionnaire for Aboriginal and Torres Strait I * enableWhen[+] * question = "b639a3a8-f476-4cc8-b5c7-f5d2abb23511" * operator = #= - * answerString = "Wants to quit" + * answerCoding = http://snomed.info/sct#394872000 * enableBehavior = #any * item[+] * linkId = "34feaee8-8088-43ee-991d-9729990b5550" @@ -174,7 +225,10 @@ Description: "Substance Use sub-questionnaire for Aboriginal and Torres Strait I * type = #group * repeats = false * item[+] - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
+ * extension[sdc-questionnaire-shortText].valueString = "Quantity and frequency of substance use" + * linkId = "ea73d52c-f831-46be-a45d-2c42250a5210" + * text = "Quantity and frequency of: alcohol; caffeine (coffee, soft drinks, iced coffee); cannabis/yarndi/gunja; other substance use: IVDU, methamphetamine, opiates, solvents, other" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
Quantity and frequency of:
  • alcohol
  • @@ -183,9 +237,6 @@ Description: "Substance Use sub-questionnaire for Aboriginal and Torres Strait I
  • other substance use: IVDU, methamphetamine, opiates, solvents, other
" - * extension[sdc-questionnaire-shortText].valueString = "Quantity and frequency of substance use" - * linkId = "ea73d52c-f831-46be-a45d-2c42250a5210" - * text = "Quantity and frequency of: alcohol; caffeine (coffee, soft drinks, iced coffee); cannabis/yarndi/gunja; other substance use: IVDU, methamphetamine, opiates, solvents, other" * type = #text * repeats = false * item[+] @@ -199,11 +250,9 @@ Description: "Substance Use sub-questionnaire for Aboriginal and Torres Strait I * type = #text * repeats = false - - * item[+] * linkId = "MarkComplete-29" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean * repeats = false diff --git a/input/fsh/715-Consent.fsh b/input/fsh/715-Consent.fsh index 5d7b99f3..1b5cf174 100644 --- a/input/fsh/715-Consent.fsh +++ b/input/fsh/715-Consent.fsh @@ -1,12 +1,10 @@ -// Conditional questions supporting all age groups - Alias: $LNC = http://loinc.org Alias: $SCT = http://snomed.info/sct Alias: $UCUM = http://unitsofmeasure.org Instance: Consent InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Consent" Description: "Consent sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -40,12 +38,30 @@ Description: "Consent sub-questionnaire for Aboriginal and Torres Strait Islande * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" @@ -55,7 +71,7 @@ Description: "Consent sub-questionnaire for Aboriginal and Torres Strait Islande * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -74,13 +90,13 @@ Description: "Consent sub-questionnaire for Aboriginal and Torres Strait Islande * type = #display * enableWhen[+] * question = "MarkComplete-30" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-30" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-30" // Section complete item @@ -163,7 +179,6 @@ Description: "Consent sub-questionnaire for Aboriginal and Torres Strait Islande * text = "Date" * type = #date * repeats = false - * required = true * item[+] * linkId = "0f92eb2d-4629-4215-96f8-46722a2efa73" * text = "Doctor" @@ -204,14 +219,12 @@ Description: "Consent sub-questionnaire for Aboriginal and Torres Strait Islande * repeats = false * answerOption[+].valueCoding = $SCT#257585005 "Clinic" * answerOption[+].valueCoding = $SCT#264362003 "Home" - * answerOption[+].valueCoding = $SCT#413817003 "Early learning centre" //concept id for child day care. Would be better with a new specific SCTAU concept. Could even remove conditional questioning and create a single value set to support the answer. - - + * answerOption[+].valueCoding = $SCT#224848004 "Early learning centre" * item[+] * linkId = "MarkComplete-30" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean * repeats = false diff --git a/input/fsh/715-FinalisingHealthCheck.fsh b/input/fsh/715-FinalisingHealthCheck.fsh index 99d8245e..02456b69 100644 --- a/input/fsh/715-FinalisingHealthCheck.fsh +++ b/input/fsh/715-FinalisingHealthCheck.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: FinalisingHealthCheck InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Finalising the Health Check" Description: "Finalising the Health Check sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -37,22 +37,39 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" * url = "http://www.health.gov.au/assessments/mbs/715/FinalisingHealthCheck" * name = "FinalisingHealthCheck" * title = "Aboriginal and Torres Strait Islander Health Check - Finalising the Health Check" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU @@ -72,13 +89,13 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * type = #display * enableWhen[+] * question = "MarkComplete-31" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-31" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-31" // Section complete item @@ -95,7 +112,7 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age <= 12).intersect(%age > 5)" + * expression = "(%age <= 12) and (%age > 5)" * linkId = "6aa0a113-4d33-4f6b-9899-fa249674075a" * text = "Patient priorities and goals: What does the parent/carer and child say are the important things that have come out of this health check?" * type = #text @@ -133,7 +150,7 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * item[+] //Primary school * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age <= 12).intersect(%age > 5)" + * expression = "(%age <= 12) and (%age > 5)" * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#check-box * extension[sdc-questionnaire-openLabel].valueString = "Other" * linkId = "0f70dec3-c1f2-4b36-b1f6-bd7f5743d5f8" @@ -152,7 +169,7 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * item[+] //Adolescent * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age <= 24).intersect(%age > 12)" + * expression = "(%age <= 24) and (%age > 12)" * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#check-box * extension[sdc-questionnaire-openLabel].valueString = "Other" * linkId = "eaed9770-95f4-4c6a-b06c-d573427a2616" @@ -173,7 +190,7 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * item[+] //Adult * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age <= 49).intersect(%age > 24)" + * expression = "(%age <= 49) and (%age > 24)" * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#check-box * extension[sdc-questionnaire-openLabel].valueString = "Other" * linkId = "25f27e83-fcf0-49c8-86c1-e285e201a043" @@ -225,7 +242,6 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * text = "Follow-up" * type = #group * repeats = false - // include these display sub-items using xhtml rendering * item[+] * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory].valueCodeableConcept = http://hl7.org/fhir/questionnaire-display-category#instructions * linkId = "b4110a63-8547-4aa2-84c6-c1f64f0d24da" @@ -246,7 +262,6 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * language = #text/fhirpath * expression = "%age <= 5" * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#drop-down - * extension[sdc-questionnaire-openLabel].valueString = "Other" * linkId = "4044d0b4-94b2-4a89-b826-a14614298511" * text = "Who" * type = #open-choice @@ -267,9 +282,8 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * item[+] //Primary School * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age <= 12).intersect(%age > 5)" + * expression = "(%age <= 12) and (%age > 5)" * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#drop-down - * extension[sdc-questionnaire-openLabel].valueString = "Other" * linkId = "f97f211a-ef2a-49a3-aef7-c4e9cd08aa2a" * text = "Who" * type = #open-choice @@ -288,9 +302,8 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * item[+] //Adolescent * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age <= 24).intersect(%age > 12)" + * expression = "(%age <= 24) and (%age > 12)" * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#drop-down - * extension[sdc-questionnaire-openLabel].valueString = "Other" * linkId = "07cfe077-ba93-4f93-b2a5-027023faa33b" * text = "Who" * type = #open-choice @@ -310,9 +323,8 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * item[+] //Adult * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age <= 49).intersect(%age > 24)" + * expression = "(%age <= 49) and (%age > 24)" * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#drop-down - * extension[sdc-questionnaire-openLabel].valueString = "Other" * linkId = "a525c370-d8c3-4764-ab3a-bf62081725e0" * text = "Who" * type = #open-choice @@ -336,7 +348,6 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * language = #text/fhirpath * expression = "%age > 49" * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#drop-down - * extension[sdc-questionnaire-openLabel].valueString = "Other" * linkId = "d68d9693-48d3-4663-9dbb-dd3a7aec5278" * text = "Who" * type = #open-choice @@ -386,24 +397,19 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * repeats = false * item[+] * linkId = "a400fe69-c99f-47ed-bee1-083c3e4be467" - * text = "Recalls entered (eg clinical review, investigations, influenza vaccination, asthma plan/cycle of care, diabetes cycle of care, care plan review, cervical screening, investigations)" + * text = "Recalls" * type = #group - * repeats = true - * item[+] //confirm this as a requirement - * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-hidden].valueBoolean = true - * extension[sdc-questionnaire-initialExpression].valueExpression - * language = #text/fhirpath - * expression = "%patient.id" - * linkId = "40e3933d-77bb-40f3-8609-0c38ebb4421e" - * definition = "http://aehrc.com/fhir/StructureDefinition/AUPrimaryCareFollowUp#CarePlan.subject.reference" - * text = "recall-subject" - * type = #string + * repeats = false + * item[+] + * extension[http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory].valueCodeableConcept = http://hl7.org/fhir/questionnaire-display-category#instructions + * linkId = "b0c69e16-5dc3-481f-8e8f-fc0a93627184" + * text = "e.g. clinical review, investigations, influenza vaccination, asthma plan/cycle of care, diabetes cycle of care, care plan review, cervical screening, investigations" + * type = #display * item[+] * linkId = "fece6a3c-f8f1-4592-a166-5ea5a3c60c8e" - * definition = "http://aehrc.com/fhir/StructureDefinition/AUPrimaryCareFollowUp#CarePlan.title" - * text = "Recall" - * type = #text - * repeats = false + * text = "Recall entered" + * type = #string + * repeats = true * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath @@ -415,7 +421,7 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age <= 12).intersect(%age > 5)" + * expression = "(%age <= 12) and (%age > 5)" * linkId = "cde03bf0-182a-4998-a37e-7b3f22786617" * text = "Parent/patient actions" * type = #text @@ -423,7 +429,7 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "%age >12" + * expression = "%age > 12" * linkId = "51ff0c15-312a-45ce-a25a-6c6a4bf0e17e" * text = "Patient actions" * type = #text @@ -432,17 +438,16 @@ Description: "Finalising the Health Check sub-questionnaire for Aboriginal and T * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button * extension[sdc-questionnaire-shortText].valueString = "Copy of health check" * linkId = "8176151f-6d86-45eb-91b1-12458d75a181" - * text = "A copy of this health check has been offerered - including details of follow-up and future appointments" + * text = "A copy of this health check has been offered - including details of follow-up and future appointments" * type = #choice * repeats = false * answerOption[+].valueString = "Yes, copy taken" * answerOption[+].valueString = "Yes, but declined" * answerOption[+].valueString = "Not offered. Plan to follow up and offer at a later date" - * item[+] * linkId = "MarkComplete-31" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean - * repeats = false \ No newline at end of file + * repeats = false diff --git a/input/fsh/715-HealthPrioritiesSummary.fsh b/input/fsh/715-HealthPrioritiesSummary.fsh index 01fb665b..855458c1 100644 --- a/input/fsh/715-HealthPrioritiesSummary.fsh +++ b/input/fsh/715-HealthPrioritiesSummary.fsh @@ -4,7 +4,7 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: HealthPrioritiesSummary InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Health Priorities, Actions And Follow-Up Summary" Description: "Health Priorities, Actions And Follow-Up Summary sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." @@ -37,6 +37,17 @@ Description: "Health Priorities, Actions And Follow-Up Summary sub-questionnaire * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] @@ -136,17 +147,24 @@ Description: "Health Priorities, Actions And Follow-Up Summary sub-questionnaire * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "HealthPrioritiesSummaryInvestigations" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" -* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" +* meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave" * url = "http://www.health.gov.au/assessments/mbs/715/HealthPrioritiesSummary" * name = "HealthPrioritiesActionsAndFollowUpSummary" * title = "Aboriginal and Torres Strait Islander Health Check - Health Priorities, Actions And Follow-Up Summary" * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU // some linkIds maintained from full assessment questionnaire @@ -283,7 +301,7 @@ Description: "Health Priorities, Actions And Follow-Up Summary sub-questionnaire * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age > 12).intersect(%age < 50) and %HealthPrioritiesSummaryLearningWorkAdults.exists()" + * expression = "(%age > 12) and (%age < 50) and %HealthPrioritiesSummaryLearningWorkAdults.exists()" * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * description = "Learning and work for adolescents and adults calculation" * language = #text/fhirpath @@ -348,7 +366,7 @@ Description: "Health Priorities, Actions And Follow-Up Summary sub-questionnaire * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age >= 50).intersect(%age <= 74) and %HealthPrioritiesSummaryScreeningPrograms.exists()" + * expression = "(%age >= 50) and (%age <= 74) and %HealthPrioritiesSummaryScreeningPrograms.exists()" * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * description = "Participation in screening programs calculation" * language = #text/fhirpath @@ -426,7 +444,7 @@ Description: "Health Priorities, Actions And Follow-Up Summary sub-questionnaire * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age > 12).intersect(%age <= 24) and %HealthPrioritiesSummarySexualHealthAdolescents.exists()" + * expression = "(%age > 12) and (%age <= 24) and %HealthPrioritiesSummarySexualHealthAdolescents.exists()" * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * description = "Sexual health calculation" * language = #text/fhirpath @@ -439,7 +457,7 @@ Description: "Health Priorities, Actions And Follow-Up Summary sub-questionnaire * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age > 24).intersect(%age <= 49) and %HealthPrioritiesSummarySexualHealthAdults.exists()" + * expression = "(%age > 24) and (%age <= 49) and %HealthPrioritiesSummarySexualHealthAdults.exists()" * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression].valueExpression * description = "Sexual health calculation" * language = #text/fhirpath diff --git a/input/fsh/715-PatientDetails.fsh b/input/fsh/715-PatientDetails.fsh index 278c154c..4d858e7b 100644 --- a/input/fsh/715-PatientDetails.fsh +++ b/input/fsh/715-PatientDetails.fsh @@ -4,13 +4,18 @@ Alias: $UCUM = http://unitsofmeasure.org Instance: PatientDetails InstanceOf: Questionnaire -Usage: #definition +Usage: #example Title: "Aboriginal and Torres Strait Islander Health Check - Patient Details" Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait Islander Health Check." * contained[+] = YesNoNA * contained[+] = AboriginalTorresStraitIslander * contained[+] = PrimaryCarerParentGrandparent +* contained[+] = administrative-gender +* contained[+] = australian-pronouns-1 +* contained[+] = gender-identity-response-1 +* contained[+] = biological-sex-1 +* contained[+] = australian-states-territories-2 //assemble expectation * extension[+] @@ -40,21 +45,26 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * extension[+] * url = "description" * valueString = "The practitioner user that is to be used to pre-populate the form" +* extension[+] + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext" + * extension[+] + * url = "name" + * valueCoding = http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext#encounter + * extension[+] + * url = "type" + * valueCode = #Encounter + * extension[+] + * url = "description" + * valueString = "The encounter that is to be used to pre-populate the form" //assemble context * extension[+] * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" * valueString = "age" - -//fhir query variables - * extension[+] - * url = "http://hl7.org/fhir/StructureDefinition/variable" - * valueExpression - * name = "ObsSex" - * language = #application/x-fhir-query - * expression = "Observation?code=1515311000168102&status=final&_count=1&_sort=-date&patient={{%patient.id}}" - + * url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext" + * valueString = "SexAtBirthCoding" + //fhirpath variables * extension[+] * url = "http://hl7.org/fhir/StructureDefinition/variable" @@ -63,6 +73,13 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * language = #text/fhirpath * expression = "%patient.address.where(type='postal')" +//R5 preadoption extensions +* extension[+] + * url = "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]" + * valueCoding + * system = "http://hl7.org/fhir/version-algorithm" + * code = #semver + * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" * meta.profile[+] = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp" @@ -72,7 +89,7 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * status = #draft * experimental = false * subjectType[+] = #Patient -* date = "2022-05-24" +* date = "2025-03-14" * jurisdiction.coding = urn:iso:std:iso:3166#AU * item[+] @@ -88,25 +105,23 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * type = #display * enableWhen[+] * question = "MarkComplete-32" // Section complete item - * operator = #= - * answerBoolean = false + * operator = #!= + * answerBoolean = true * item[+] //complete * extension[questionnaire-itemControl].valueCodeableConcept = https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended#context-display * linkId = "CD-complete-32" * text = "Complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" * type = #display * enableWhen[+] * question = "MarkComplete-32" // Section complete item * operator = #= * answerBoolean = true * item[+] - * linkId = "RecordUpdate-Patient" - * text = "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first." - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
- Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first. -
" - * type = #display + * linkId = "patientdetails-writebackinstruction" + * text = "This section contains several read only, non-editable items. Updates to these items will need to be done in the patient record. The form can be repopulated to include any updates." + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
This section contains several read only, non-editable items. Updates to these items will need to be done in the patient record. The form can be repopulated to include any updates.
" + * type = #display * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath @@ -128,25 +143,25 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath - * expression = "%patient.extension.where(url='http://hl7.org/fhir/StructureDefinition/individual-pronouns').extension.where(url='value').value.coding" + * expression = "%patient.extension.where(exists(url='http://hl7.org/fhir/StructureDefinition/individual-pronouns') and extension.where(url='period').value.end.empty()).extension.where(url='value').value.coding" * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#drop-down * linkId = "540b1034-7c9a-4aba-a9ef-afb77d445a58" * text = "Preferred pronouns" * type = #choice * repeats = false * readOnly = true - * answerValueSet = "http://terminology.hl7.org/ValueSet/pronouns" + * answerValueSet = "#australian-pronouns-1" * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath - * expression = "%patient.extension.where(url='http://hl7.org/fhir/StructureDefinition/patient-genderIdentity').value.coding" + * expression = "%patient.extension.where(exists(url='http://hl7.org/fhir/StructureDefinition/individual-genderIdentity') and extension.where(url='period').value.end.empty()).extension.where(url='value').value.coding" * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#drop-down * linkId = "f669a4fe-4818-429a-8847-d20da88d2bb3" * text = "Gender identity" * type = #choice * repeats = false * readOnly = true - * answerValueSet = "https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1" + * answerValueSet = "#gender-identity-response-1" * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath @@ -157,20 +172,18 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * text = "Administrative gender" * type = #choice * repeats = false - * answerValueSet = "http://hl7.org/fhir/ValueSet/administrative-gender" + * answerValueSet = "#administrative-gender" * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath - * expression = "%ObsSex.entry.resource.value.coding" + * expression = "%SexAtBirthCoding" * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#drop-down * linkId = "56ef44bb-3d1d-4972-aad1-834b69185d61" * text = "Sex assigned at birth" * type = #choice * repeats = false * readOnly = true - * answerValueSet = "https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1" - - + * answerValueSet = "#biological-sex-1" * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath @@ -199,7 +212,7 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * type = #choice * repeats = false * readOnly = true - * answerValueSet[+] = "#AboriginalTorresStraitIslander" + * answerValueSet = "#AboriginalTorresStraitIslander" * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath @@ -209,7 +222,7 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * text = "Parents/primary carer/s" * type = #choice * repeats = true - * answerValueSet[+] = "#PrimaryCarerParentGrandparent" + * answerValueSet = "#PrimaryCarerParentGrandparent" * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath @@ -258,11 +271,12 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * extension[sdc-questionnaire-itemPopulationContext].valueExpression * name = "HomeAddressRepeat" * language = #text/fhirpath - * expression = "%patient.address.where(use='home' and (type.empty() or type!='postal'))" + * expression = "%patient.address.where(all(use='home' and (type.empty() or type!='postal')))" * linkId = "f1262ade-843c-4eba-a86d-51a9c97d134b" * text = "Home address" * type = #group * repeats = false + * readOnly = true * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath @@ -275,6 +289,10 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * repeats = false * item[+] * linkId = "4e0dc185-f83e-4027-b7a8-ecb543d42c6d" + * text = "Home address" + * extension[+] + * url = "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden" + * valueBoolean = true * type = #group * repeats = true * enableWhen[+] @@ -308,7 +326,7 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * definition = "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.state" * text = "State" * type = #choice - * answerValueSet = "https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2" + * answerValueSet = "#australian-states-territories-2" * repeats = false * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression @@ -370,7 +388,7 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * definition = "http://hl7.org.au/fhir/StructureDefinition/au-address#Address.state" * text = "State" * type = #choice - * answerValueSet = "https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2" + * answerValueSet = "#australian-states-territories-2" * repeats = false * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression @@ -391,6 +409,7 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * text = "Home phone" * type = #string * repeats = true + * readOnly = true * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath @@ -399,15 +418,21 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * text = "Mobile phone" * type = #string * repeats = true + * readOnly = true * item[+] + * extension[sdc-questionnaire-itemPopulationContext].valueExpression + * name = "EmergencyContactRepeat" + * language = #text/fhirpath + * expression = "%patient.contact.where(relationship.coding.exists(code = 'C'))" * linkId = "c22390d3-1be6-4fd1-b775-6443b7239a6b" * text = "Emergency contact" * type = #group * repeats = true + * readOnly = true * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath - * expression = "%patient.contact.where(relationship.coding.exists(code = 'C')).name.select((family | (given | prefix).join(' ')).join(', ').where($this != '') | text)" + * expression = "%EmergencyContactRepeat.name.select((family | (given | prefix).join(' ')).join(', ').where($this != '') | text)" * linkId = "d7f2dd75-20c8-480f-8c22-71d604ebee8d" * text = "Name" * type = #string @@ -431,7 +456,7 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath - * expression = "%patient.contact.where(relationship.coding.exists(code = 'C')).telecom.value" + * expression = "%EmergencyContactRepeat.telecom.value" * linkId = "626e3723-6310-4b99-81c1-525676b027c8" * text = "Phone" * type = #string @@ -441,6 +466,7 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * text = "Medicare number" * type = #group * repeats = false + * readOnly = true * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression * language = #text/fhirpath @@ -475,6 +501,7 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * text = "Pensioner Card Number" * type = #string * repeats = false + * readOnly = true * maxLength = 10 * item[+] * extension[sdc-questionnaire-initialExpression].valueExpression @@ -484,15 +511,17 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * text = "Health Care Card Number" * type = #string * repeats = false + * readOnly = true * maxLength = 10 * item[+] - * extension[questionnaire-itemControl].valueCodeableConcept = http://hl7.org/fhir/questionnaire-item-control#radio-button - * extension[questionnaire-choiceOrientation].valueCode = #horizontal + * extension[sdc-questionnaire-initialExpression].valueExpression + * language = #text/fhirpath + * expression = "%patient.extension.where(url='http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration').value" * linkId = "83814495-3a81-43f4-88df-42186cce516a" * text = "Registered for Closing the Gap PBS Co-payment Measure (CTG)" - * type = #choice + * type = #boolean * repeats = false - * answerValueSet = "#YesNoNA" + * readOnly = true * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath @@ -554,7 +583,7 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * item[+] * extension[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression].valueExpression * language = #text/fhirpath - * expression = "(%age <= 49).intersect(%age > 12)" + * expression = "(%age <= 49) and (%age > 12)" * linkId = "9bc882bc-e989-4600-9587-8089fb757641" * text = "Children" * type = #group @@ -704,7 +733,7 @@ Description: "Patient Details sub-questionnaire for Aboriginal and Torres Strait * item[+] * linkId = "MarkComplete-32" * text = "Mark section as complete" - * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + * extension[http://hl7.org/fhir/StructureDefinition/rendering-xhtml].valueString = "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" * type = #boolean * repeats = false diff --git a/input/fsh/PrePopQuery.fsh b/input/fsh/PrePopQuery.fsh deleted file mode 100644 index c3eecf74..00000000 --- a/input/fsh/PrePopQuery.fsh +++ /dev/null @@ -1,108 +0,0 @@ -Instance: PrePopQuery -InstanceOf: Bundle -Usage: #inline -* type = #batch -// FamilyMemberHistorys for patient id -* entry[0].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52553" -* entry[=].request.method = #GET -* entry[=].request.url = "FamilyMemberHistory?patient={{%patient.id}}" -// Tobacco smoking status Observation latest -* entry[1].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52554" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=72166-2&_count=1&_sort=-date&patient={{%patient.id}}" -// Body height Observation latest -* entry[2].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52555" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=8302-2&_count=1&_sort=-date&patient={{%patient.id}}" -// Waist Circumference at umbilicus by Tape measure Observation latest -* entry[3].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52556" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=8280-0&_count=1&_sort=-date&patient={{%patient.id}}" -// Body weight Observation latest -* entry[4].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52557" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=29463-7&_count=1&_sort=-date&patient={{%patient.id}}" -// Heart rate Observation latest -* entry[5].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52558" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=8867-4&_count=1&_sort=-date&patient={{%patient.id}}" -// Body mass index (BMI) [Ratio] Observation latest -* entry[6].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52559" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=39156-5&_count=1&_sort=-date&patient={{%patient.id}}" -// Blood pressure panel with all children optional Observation latest -* entry[7].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52560" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=85354-9&_count=1&_sort=-date&patient={{%patient.id}}" -// *SAME AS ENTRY 1* Tobacco smoking status Observation latest -* entry[8].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52561" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=72166-2&_count=1&_sort=-date&patient={{%patient.id}}" -// Date ceased smoking Observation latest -* entry[9].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52562" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=160625004&_count=1&_sort=-date&patient={{%patient.id}}" -// smoking-date-started Observation latest -* entry[10].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52563" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=smoking-date-started&_count=1&_sort=-date&patient={{%patient.id}}" -// Tobacco use and exposure Observation latest -* entry[11].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52564" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=229819007&_count=1&_sort=-date&patient={{%patient.id}}" -// **INACTIVE association 897148007** Alcohol intake Observation latest -* entry[12].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52565" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=160573003&_count=1&_sort=-date&patient={{%patient.id}}" -// Pattern of drinking Observation latest -* entry[13].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52566" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=228308009&_count=1&_sort=-date&patient={{%patient.id}}" -// Date ceased drinking alcohol Observation latest -* entry[14].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52567" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=1373041000168105&_count=1&_sort=-date&patient={{%patient.id}}" -// *SAME AS ENTRY 12* **INACTIVE association 897148007** Alcohol intake Observation latest -* entry[15].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52568" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=160573003&_count=1&_sort=-date&patient={{%patient.id}}" -// Body mass index Observation latest -* entry[16].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52569" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=60621009&_count=1&_sort=-date&patient={{%patient.id}}" -// absolute-cvd-risk Observation latest -* entry[17].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52570" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=absolute-cvd-risk&_count=1&_sort=-date&patient={{%patient.id}}" -// Immunizations for patient id -* entry[18].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52571" -* entry[=].request.method = #GET -* entry[=].request.url = "Immunization?patient={{%patient.id}}" -// MedicationStatements for patient id -* entry[19].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52572" -* entry[=].request.method = #GET -* entry[=].request.url = "MedicationStatement?patient={{%patient.id}}" -// AllergyIntolerances for patient id -* entry[20].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52573" -* entry[=].request.method = #GET -* entry[=].request.url = "AllergyIntolerance?patient={{%patient.id}}" -// Conditions for patient id -* entry[21].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52575" -* entry[=].request.method = #GET -* entry[=].request.url = "Condition?patient={{%patient.id}}" -// DiagnosticReports for patient id -* entry[22].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52574" -* entry[=].request.method = #GET -* entry[=].request.url = "DiagnosticReport?patient={{%patient.id}}" -// Cholesterol [Moles/volume] in Serum or Plasma Observation latest -* entry[23].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52576" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=14647-2&_count=1&_sort=-date&patient={{%patient.id}}" -// Cholesterol in HDL [Moles/volume] in Serum or Plasma Observation latest -* entry[24].fullUrl = "urn:uuid:38a25157-b8e4-42e4-9525-7954fed52577" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=14646-4&_count=1&_sort=-date&patient={{%patient.id}}" -// Head Occipital-frontal circumference -* entry[25].fullUrl = "urn:uuid:12f24514-437e-40d8-b5c3-bfe8ecb4995d" -* entry[=].request.method = #GET -* entry[=].request.url = "Observation?code=9843-4&_count=1&_sort=-date&patient={{%patient.id}}" \ No newline at end of file diff --git a/input/fsh/actors.fsh b/input/fsh/actors.fsh new file mode 100644 index 00000000..d3f95203 --- /dev/null +++ b/input/fsh/actors.fsh @@ -0,0 +1,94 @@ +Instance: SHCApp +InstanceOf: ActorDefinition +Usage: #definition +Description: "The SHC App is a system that a SHC Host can launch allowing a user to fill out a health check form, prepopulated with patient health information retrieved from the SHC Host FHIR Server, and writeback data collected in the form." + +* name = "SHCApp" +* title = "SHC App" +* status = #draft +* experimental = false +* type = #system +* documentation = """The Smart Health Checks (SHC) App: +- **SHALL** accept [App Launch](https://hl7.org/fhir/smart-app-launch/app-launch.html#launch-app-ehr-launch) request +- **SHALL** invoke [SMART Authorization Configuration](https://hl7.org/fhir/smart-app-launch/app-launch.html#retrieve-well-knownsmart-configuration) request +- **SHALL** redirect to [Authorization Request](https://hl7.org/fhir/smart-app-launch/app-launch.html#obtain-authorization-code) +- **SHALL** accept Authorization Callback request +- **SHALL** invoke [Token Request](https://hl7.org/fhir/smart-app-launch/app-launch.html#obtain-access-token) +- **SHALL** authorise FHIR API requests using Bearer access token per [SMART APP Launch Access FHIR API](https://hl7.org/fhir/smart-app-launch/app-launch.html#access-fhir-api) +- **SHALL** invoke read Practitioner request +- **SHALL** invoke read Patient request +- **SHALL** invoke search QuestionnaireResponse request +- **SHALL** invoke read QuestionnaireResponse request +- **SHALL** invoke create and update QuestionnaireResponse request +- **SHALL** invoke search and read requests for resources required by this IG to pre-populate questionnaire response +- **SHALL** invoke create and patch requests in a transaction Bundle for resources required by this IG +""" +* capabilities = "https://smartforms.csiro.au/ig/CapabilityStatement/SHCAppCapabilityStatement" +* derivedFrom = "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" + +Instance: SHCHost +InstanceOf: ActorDefinition +Usage: #definition +Description: "The SHC Host is a system that allows a user to launch the SHC App within an embedded or externally launched web browser to fill out a health check form." + +* name = "SHCHost" +* title = "SHC Host" +* status = #draft +* experimental = false +* type = #system +* documentation = """The SHC Host: +- **SHALL** initiate [App Launch](https://hl7.org/fhir/smart-app-launch/app-launch.html#launch-app-ehr-launch) request +- **SHALL** support App launch context elements including: + - patient + - fhirUser + - fhirContext with following items: + - role: http://ns.electronichealth.net.au/smart/role/new, type: Questionnaire, canonical: https://example.org/Questionnaire/123/|v2023-05-03 + - ... +""" + +Instance: SHCHostAuthorizationServer +InstanceOf: ActorDefinition +Usage: #definition +Description: "The SHC Host Authorization Server allows the SHC App to request authorisation from the PMS user to access patient health information to prepopulate and write back health checks data using the PMS FHIR Server." + +* name = "SHCHostAuthorizationServer" +* title = "SHC Host Authorization Server" +* status = #draft +* experimental = false +* type = #system +* documentation = """The SHC Host Authorization Server: +- **SHALL** respond to [Authorization Request](https://hl7.org/fhir/smart-app-launch/app-launch.html#obtain-authorization-code) +- **SHALL** respond to [Token Request](https://hl7.org/fhir/smart-app-launch/app-launch.html#obtain-access-token) +- **SHALL** support SMART App Launch scopes: + - openid fhirUser + - launch + - user/Practitioner.r + - patient/Patient.r + - patient/*.rs + - user/QuestionnaireResponse.crus + - ... +""" + +Instance: SHCHostFHIRServer +InstanceOf: ActorDefinition +Usage: #definition +Description: "The SHC Host FHIR Server allows the SHC App to retrieve patient health information and writeback collected health check data." + +* name = "SHCHostFHIRServer" +* title = "SHC Host FHIR Server" +* status = #draft +* experimental = false +* type = #system +* documentation = """The SHC Host FHIR Server: +- **SHALL** respond to [SMART Authorization Configuration](https://hl7.org/fhir/smart-app-launch/app-launch.html#retrieve-well-knownsmart-configuration) request +- **SHALL** authorise FHIR API requests using Bearer access token per [SMART APP Launch Access FHIR API](https://hl7.org/fhir/smart-app-launch/app-launch.html#access-fhir-api) +- **SHALL** respond to read Practitioner request +- **SHALL** respond to read Patient request +- **SHALL** respond to search QuestionnaireResponse request +- **SHALL** respond to read QuestionnaireResponse request +- **SHALL** respond to create and update QuestionnaireResponse requests +- **SHALL** respond to search and read requests for resources required by this IG +- **SHALL** respond to create and patch requests in a transaction Bundle for resources required by this IG +""" +* capabilities = "https://smartforms.csiro.au/ig/CapabilityStatement/SHCHostFHIRServerCapabilityStatement" +* derivedFrom = "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" \ No newline at end of file diff --git a/input/fsh/capability.fsh b/input/fsh/capability.fsh index a6cc06c9..f997a037 100644 --- a/input/fsh/capability.fsh +++ b/input/fsh/capability.fsh @@ -1,34 +1,24 @@ -/* -Instance: SFLauncherServerAboriginalTorresStraitIslanderHealthCheck +Instance: SHCHostFHIRServerCapabilityStatement InstanceOf: CapabilityStatement Usage: #definition -* name = "SmartFormsLauncherServerAboriginalTorresStraitIslanderHealthCheck" -* title = "Smart Forms Launcher Server for the Aboriginal and Torres Strait Islander Health Check" -* description = "This CapabilityStatement describes the expected capabilities for systems to launch and exchange data with the [Smart Forms client application](CapabilityStatement-SmartFormsApplication.html) to support the [Aboriginal and Torres Strait Islander Health Check](Questionnaire-AboriginalTorresStraitIslanderHealthCheck.html). It lists the server's conformance expectations for the resource types required as a launch context, resource types required to support prepopulation of the form, and QuestionnaireResponse requirements for managing form responses. These expectations include supported FHIR profiles, RESTful operations, and search parameters." +* name = "SHCHostFHIRServer" +* title = "SHC Host FHIR Server" +* description = "This CapabilityStatement describes the expected capabilities for systems to launch and exchange data with the [SHC App](CapabilityStatement-SHCAppCapabilityStatement.html) to support the [Aboriginal and Torres Strait Islander Health Check](Questionnaire-AboriginalTorresStraitIslanderHealthCheck.html). It lists the server's conformance expectations for the resource types required as a launch context, resource types required to support prepopulation of the form, resource types required to support writing back to the patient record, and QuestionnaireResponse requirements for managing form responses. These expectations include supported FHIR profiles, RESTful operations, and search parameters." * status = #draft * experimental = false -* date = "2023-06-16" +* date = "2025-04-16" * publisher = "AEHRC CSIRO" * jurisdiction = urn:iso:std:iso:3166#AU * kind = #requirements - -* instantiates[+] = "http://hl7.org.au/fhir/core/CapabilityStatement/au-core-server" -* instantiates[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" -* instantiates[=].extension[0].valueCode = #SHALL -* instantiates[+] = "http://hl7.org/fhir/uv/sdc/CapabilityStatement/sdc-form-response-manager" -* instantiates[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" -* instantiates[=].extension[0].valueCode = #SHOULD -* instantiates[+] = "http://hl7.org/fhir/uv/sdc/CapabilityStatement/sdc-form-archiver" -* instantiates[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" -* instantiates[=].extension[0].valueCode = #SHOULD - * fhirVersion = #4.0.1 - * format[+] = #json * format[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * format[=].extension[0].valueCode = #SHALL +* patchFormat[+] = #application/fhir+json +* patchFormat[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* patchFormat[=].extension[0].valueCode = #SHALL -* implementationGuide[+] = "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch" +* implementationGuide[+] = "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch|2.2.0" * implementationGuide[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * implementationGuide[=].extension[0].valueCode = #SHALL * implementationGuide[+] = "http://hl7.org/fhir/uv/sdc/ImplementationGuide/hl7.fhir.uv.sdc" @@ -36,7 +26,23 @@ Usage: #definition * implementationGuide[=].extension[0].valueCode = #SHOULD * rest.mode = #server -* rest.documentation = "

A Smart Forms Launcher Server SHALL:

  1. Support the AU Core Patient resource profile.
  2. Support the AU Core Practitioner resource profile.
  3. Support the AU Core Encounter resource profile.
  4. Support the AU Core Condition resource profile.
  5. Support the AU Core Observation resource profiles.
  6. Implement the RESTful behavior according to the FHIR specification.
  7. Support JSON source formats for all interactions.
" +* rest.documentation = "Smart Forms Launcher Server **SHALL**: +1. Support the [Smart Health Checks AllergyIntolerance resource profile](StructureDefinition-SHCAllergyIntolerance.html) +1. Support the [Smart Health Checks AllergyIntolerance Patch resource profile](StructureDefinition-SHCAllergyIntolerancePatch.html) +1. Support the [Smart Health Checks Condition resource profile](StructureDefinition-SHCCondition.html) +1. Support the [Smart Health Checks Condition Patch resource profile](StructureDefinition-SHCConditionPatch.html) +1. Support the [Smart Health Checks Encounter resource profile](StructureDefinition-SHCEncounter.html) +1. Support the [Smart Health Checks Immunization resource profile](StructureDefinition-SHCImmunization.html) +1. Support the [Smart Health Checks Medication profile](StructureDefinition-SHCMedication.html) +1. Support the [Smart Health Checks MedicationStatement profile](StructureDefinition-SHCMedicationStatement.html) +1. Support the [Smart Health Checks MedicationStatement Patch profile](StructureDefinition-SHCMedicationStatementPatch.html) +1. Support the [Smart Health Checks Observation resource profiles](profiles-and-extensions.html#observation) +1. Support the [Smart Health Checks Patient resource profile](StructureDefinition-SHCPatient.html) +1. Support the [Smart Health Checks Practitioner resource profile](StructureDefinition-SHCPractitioner.html) +1. Support the [Smart Health Checks QuestionnaireResponse resource profile](StructureDefinition-SHCQuestionnaireResponse.html) +1. Support the [Smart Health Checks Extract Bundle resource profile](StructureDefinition-SHCExtractBundle.html) +1. Implement the RESTful behavior according to the FHIR specification +1. Support JSON source formats for all interactions" * rest.security.cors = true * rest.security.cors.extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" @@ -44,41 +50,101 @@ Usage: #definition * rest.security.service = http://terminology.hl7.org/CodeSystem/restful-security-service#SMART-on-FHIR * rest.security.service.extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.security.service.extension[0].valueCode = #SHALL -* rest.security.description = "

A Smart Forms Launcher Server SHALL:

  1. Support CORS headers
  2. Support SMART on FHIR security services

See the Structured Data Capture Security Details section for general considerations and recommendations.

" +* rest.security.description = "Smart Forms Launcher Server **SHALL**: +1. Support CORS headers +1. Support SMART on FHIR security services +Also see the [AU Core Security and Privacy](https://hl7.org.au/fhir/core/1.0.0/security.html) section for general considerations and recommendations." + +//AllergyIntolerance * rest.resource[+].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].extension[0].valueCode = #SHALL -* rest.resource[=].type = #Patient -* rest.resource[=].profile = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient" -* rest.resource[=].profile.extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" -* rest.resource[=].profile.extension[0].valueCode = #SHALL -* rest.resource[=].documentation = "

The server SHALL support the Patient resource, AU Core profile and the conformance expectations for the Patient resource.

" -* rest.resource[=].interaction[0].code = #read +* rest.resource[=].type = #AllergyIntolerance +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerance" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].documentation = "The server **SHALL** support the AllergyIntolerance resource, the Smart Health Checks profile and the conformance expectations for the AllergyIntolerance resource." +* rest.resource[=].interaction[0].code = #search-type * rest.resource[=].interaction[0].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].interaction[0].extension[0].valueCode = #SHALL +* rest.resource[=].interaction[+].code = #create +* rest.resource[=].interaction[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].interaction[=].extension[0].valueCode = #SHALL +* rest.resource[=].interaction[+].code = #patch +* rest.resource[=].interaction[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].interaction[=].extension[0].valueCode = #SHALL +* rest.resource[=].searchParam[+].name = "patient" +* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/clinical-patient" +* rest.resource[=].searchParam[=].type = #reference +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. +The server **SHALL** support both." +* rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL + +//Bundle +* rest.resource[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].extension[=].valueCode = #SHALL +* rest.resource[=].type = #Bundle +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCExtractBundle" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].documentation = "The server **SHALL** support the Bundle resource, the Smart Health Checks profile listed and the conformance expectations for the Bundle resource." + +//Condition * rest.resource[+].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].extension[0].valueCode = #SHALL -* rest.resource[=].type = #Practitioner -* rest.resource[=].profile = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner" -* rest.resource[=].profile.extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" -* rest.resource[=].profile.extension[0].valueCode = #SHALL -* rest.resource[=].documentation = "

The server SHALL support the Practitioner resource, AU Core profile and the conformance expectations for the Practitioner resource.

" -* rest.resource[=].interaction[0].code = #read +* rest.resource[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" +* rest.resource[=].extension[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].extension[=].extension[=].valueCode = #SHALL +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "patient" +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "category" +* rest.resource[=].type = #Condition +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCCondition" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].documentation = "The server **SHALL** support the Condition resource, the Smart Health Checks profile and the conformance expectations for the Condition resource." +* rest.resource[=].interaction[0].code = #search-type * rest.resource[=].interaction[0].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].interaction[0].extension[0].valueCode = #SHALL +* rest.resource[=].interaction[+].code = #create +* rest.resource[=].interaction[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].interaction[=].extension[0].valueCode = #SHALL +* rest.resource[=].interaction[+].code = #patch +* rest.resource[=].interaction[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].interaction[=].extension[0].valueCode = #SHALL +* rest.resource[=].searchParam[+].name = "patient" +* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/clinical-patient" +* rest.resource[=].searchParam[=].type = #reference +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. + +The server **SHALL** support both." +* rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL +* rest.resource[=].searchParam[+].name = "category" +* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/Condition-category" +* rest.resource[=].searchParam[=].type = #token +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values. +The server **SHALL** support both." +* rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL + +//Encounter * rest.resource[+].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].extension[0].valueCode = #SHALL * rest.resource[=].type = #Encounter -* rest.resource[=].profile = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter" -* rest.resource[=].profile.extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" -* rest.resource[=].profile.extension[0].valueCode = #SHALL -* rest.resource[=].documentation = "

The server SHALL support the Encounter resource, AU Core profile and the conformance expectations for the Encounter resource.

" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCEncounter" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].documentation = "The server **SHALL** support the Encounter resource, Smart Health Checks profile and the conformance expectations for the Encounter resource." * rest.resource[=].interaction[0].code = #read * rest.resource[=].interaction[0].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].interaction[0].extension[0].valueCode = #SHALL +//Immunization * rest.resource[+].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].extension[0].valueCode = #SHALL * rest.resource[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" @@ -87,28 +153,113 @@ Usage: #definition * rest.resource[=].extension[=].extension[+].url = "required" * rest.resource[=].extension[=].extension[=].valueString = "patient" * rest.resource[=].extension[=].extension[+].url = "required" -* rest.resource[=].extension[=].extension[=].valueString = "clinical-status" -* rest.resource[=].type = #Condition -* rest.resource[=].profile = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition" -* rest.resource[=].profile.extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" -* rest.resource[=].profile.extension[0].valueCode = #SHALL -* rest.resource[=].documentation = "

The server SHALL support the Condition resource, the AU Core profile and the conformance expectations for the Condition resource.

" +* rest.resource[=].extension[=].extension[=].valueString = "status" +* rest.resource[=].type = #Immunization +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCImmunization" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].documentation = "The server **SHALL** support the Immunization resource, the Smart Health Checks profile and the conformance expectations for the Immunization resource." * rest.resource[=].interaction[0].code = #search-type * rest.resource[=].interaction[0].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].interaction[0].extension[0].valueCode = #SHALL +* rest.resource[=].interaction[+].code = #create +* rest.resource[=].interaction[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].interaction[=].extension[0].valueCode = #SHALL * rest.resource[=].searchParam[+].name = "patient" * rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/clinical-patient" * rest.resource[=].searchParam[=].type = #reference -* rest.resource[=].searchParam[=].documentation = "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

" +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. + +The server **SHALL** support both." * rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL -* rest.resource[=].searchParam[+].name = "clinical-status" -* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/Condition-clinical-status" +* rest.resource[=].searchParam[+].name = "status" +* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/Immunization-status" * rest.resource[=].searchParam[=].type = #token -* rest.resource[=].searchParam[=].documentation = "

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

" +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values. + +The server **SHALL** support both." * rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL +//Medication +* rest.resource[+].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].extension[0].valueCode = #MAY +* rest.resource[=].type = #Medication +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedication" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].documentation = "If an external reference to a Medication resource is used in MedicationStatement, then the server **SHALL** support the Medication resource, the Smart Health Checks profile and the conformance expectations for the Medication resource." +* rest.resource[=].interaction[0].code = #read +* rest.resource[=].interaction[0].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].interaction[0].extension[0].valueCode = #SHALL + +//MedicationStatement +* rest.resource[+].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].extension[0].valueCode = #SHALL +* rest.resource[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" +* rest.resource[=].extension[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].extension[=].extension[=].valueCode = #SHALL +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "patient" +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "status" +* rest.resource[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" +* rest.resource[=].extension[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].extension[=].extension[=].valueCode = #MAY +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "patient" +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "status" +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "_include" +* rest.resource[=].type = #MedicationStatement +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatement" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].documentation = "The server **SHALL** support the MedicationStatement resource, the Smart Health Checks profile and the conformance expectations for the MedicationStatement resource. + +If a medication in a MedicationStatement resource is represented as an external Medication resource reference, the server **SHALL** support the `_include` parameter for searching this element (`MedicationStatement:medication`) +" +* rest.resource[=].interaction[0].code = #search-type +* rest.resource[=].interaction[0].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].interaction[0].extension[0].valueCode = #SHALL +* rest.resource[=].interaction[+].code = #create +* rest.resource[=].interaction[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].interaction[=].extension[0].valueCode = #SHALL +* rest.resource[=].interaction[+].code = #patch +* rest.resource[=].interaction[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].interaction[=].extension[0].valueCode = #SHALL +* rest.resource[=].searchInclude[+] = "MedicationStatement:medication" +* rest.resource[=].searchParam[+].name = "patient" +* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/clinical-patient" +* rest.resource[=].searchParam[=].type = #reference +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. + +The server **SHALL** support both." +* rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL +* rest.resource[=].searchParam[+].name = "status" +* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/medications-status" +* rest.resource[=].searchParam[=].type = #token +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values. + +The server **SHALL** support both. + +The client **SHALL** support `multipleOr`. + +The server **SHALL** support `multipleOr`." +* rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL +* rest.resource[=].searchParam[+].name = "_include" +* rest.resource[=].searchParam[=].type = #reference +* rest.resource[=].searchParam[=].documentation = "If a medication in a MedicationStatement resource is represented as an external Medication resource reference, the server **SHALL** support the `_include` parameter for searching this element (`MedicationStatement:medication`). + +The client **SHALL** support this method." +* rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].searchParam[=].extension[0].valueCode = #MAY + +//Observation * rest.resource[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].extension[=].valueCode = #SHALL * rest.resource[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" @@ -118,68 +269,116 @@ Usage: #definition * rest.resource[=].extension[=].extension[=].valueString = "patient" * rest.resource[=].extension[=].extension[+].url = "required" * rest.resource[=].extension[=].extension[=].valueString = "code" -* rest.resource[=].extension[=].extension[+].url = "required" -* rest.resource[=].extension[=].extension[=].valueString = "_count" +/** rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "_count"*/ * rest.resource[=].extension[=].extension[+].url = "required" * rest.resource[=].extension[=].extension[=].valueString = "_sort" + * rest.resource[=].type = #Observation -* rest.resource[=].profile = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-observation" -* rest.resource[=].profile.extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" -* rest.resource[=].profile.extension[0].valueCode = #SHALL -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-smokingstatus" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCBloodPressure" * rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyheight" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyHeight" * rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyweight" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyWeight" * rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bmi" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCPathologyResult" * rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeadCircumference" * rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-waistcircum" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRate" * rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bloodpressure" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRhythm" * rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-heartrate" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCWaistCircumference" * rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-lipid-result" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCSmokingStatus" * rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL -* rest.resource[=].documentation = "

The server SHALL support the Observation resource, the AU Core profiles listed and the conformance expectations for the Observation resource.

" +* rest.resource[=].documentation = "The server **SHALL** support the Observation resource, the Smart Health Checks profiles listed and the conformance expectations for the Observation resource." * rest.resource[=].interaction[0].code = #search-type * rest.resource[=].interaction[0].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].interaction[0].extension[0].valueCode = #SHALL +* rest.resource[=].interaction[+].code = #create +* rest.resource[=].interaction[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].interaction[=].extension[0].valueCode = #SHALL * rest.resource[=].searchParam[+].name = "patient" * rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/clinical-patient" * rest.resource[=].searchParam[=].type = #reference -* rest.resource[=].searchParam[=].documentation = "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

" +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. + +The server **SHALL** support both. " * rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL * rest.resource[=].searchParam[+].name = "code" * rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/clinical-code" * rest.resource[=].searchParam[=].type = #token -* rest.resource[=].searchParam[=].documentation = "

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

" +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a code value and **MAY** provide both the code and system values. + +The server **SHALL** support both." * rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL -* rest.resource[=].searchParam[+].name = "_count" +/** rest.resource[=].searchParam[+].name = "_count" * rest.resource[=].searchParam[=].type = #number -* rest.resource[=].searchParam[=].documentation = "

The client and server SHALL support search result limiting.

" +* rest.resource[=].searchParam[=].documentation = "The client and server **SHALL** support search result limiting." * rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" -* rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL +* rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL*/ * rest.resource[=].searchParam[+].name = "_sort" * rest.resource[=].searchParam[=].type = #string -* rest.resource[=].searchParam[=].documentation = "

The client and server SHALL support search result sorting by date and MAY support other values.

" +* rest.resource[=].searchParam[=].documentation = "The client and server **SHALL** support search result sorting by date and **MAY** support other values." * rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL +//Parameters +* rest.resource[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].extension[=].valueCode = #SHALL +* rest.resource[=].type = #Parameters +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerancePatch" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCConditionPatch" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatementPatch" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].documentation = "The server **SHALL** support the Parameters resource, the Smart Health Checks profiles listed and the conformance expectations for the Parameters resource." + +//Patient +* rest.resource[+].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].extension[0].valueCode = #SHALL +* rest.resource[=].type = #Patient +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatient" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].documentation = "The server **SHALL** support the Patient resource, Smart Health Checks profile and the conformance expectations for the Patient resource." +* rest.resource[=].interaction[0].code = #read +* rest.resource[=].interaction[0].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].interaction[0].extension[0].valueCode = #SHALL +* rest.resource[=].interaction[+].code = #patch +* rest.resource[=].interaction[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].interaction[=].extension[0].valueCode = #SHALL + +//Practitioner +* rest.resource[+].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].extension[0].valueCode = #SHALL +* rest.resource[=].type = #Practitioner +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCPractitioner" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].documentation = "The server **SHALL** support the Practitioner resource, Smart Health Checks profile and the conformance expectations for the Practitioner resource." +* rest.resource[=].interaction[0].code = #read +* rest.resource[=].interaction[0].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].interaction[0].extension[0].valueCode = #SHALL + +//QuestionnaireResponse * rest.resource[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].extension[=].valueCode = #SHALL * rest.resource[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" @@ -214,10 +413,10 @@ Usage: #definition * rest.resource[=].extension[=].extension[+].url = "required" * rest.resource[=].extension[=].extension[=].valueString = "status" * rest.resource[=].type = #QuestionnaireResponse -* rest.resource[=].profile = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" -* rest.resource[=].profile.extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" -* rest.resource[=].profile.extension[0].valueCode = #SHALL -* rest.resource[=].documentation = "

The server SHALL support the QuestionnaireResponse resource, Structured Data Capture profile and the conformance expectations for the QuestionnaireResponse resource.

" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCQuestionnaireResponse" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].documentation = "The server **SHALL** support the QuestionnaireResponse resource, Smart Health Checks profile and the conformance expectations for the QuestionnaireResponse resource." * rest.resource[=].interaction[+].code = #read * rest.resource[=].interaction[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].interaction[=].extension[0].valueCode = #SHALL @@ -230,42 +429,53 @@ Usage: #definition * rest.resource[=].interaction[+].code = #update * rest.resource[=].interaction[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].interaction[=].extension[0].valueCode = #SHALL - * rest.resource[=].versioning = #versioned-update * rest.resource[=].versioning.extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].versioning.extension[0].valueCode = #SHALL - * rest.resource[=].searchParam[+].name = "patient" * rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-patient" * rest.resource[=].searchParam[=].type = #reference -* rest.resource[=].searchParam[=].documentation = "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

" +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. + +The server **SHALL** support both. " * rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL * rest.resource[=].searchParam[+].name = "questionnaire" * rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-questionnaire" * rest.resource[=].searchParam[=].type = #reference -* rest.resource[=].searchParam[=].documentation = "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

The client and server SHALL support chained search questionnaire.title using the :contains modifier.

" +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. + +The server **SHALL** support both. + +The client and server **SHALL** support chained search questionnaire.title using the :contains modifier." * rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL * rest.resource[=].searchParam[+].name = "status" * rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-status" * rest.resource[=].searchParam[=].type = #token -* rest.resource[=].searchParam[=].documentation = "

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

" +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a code value and **MAY** provide both the code and system values. + +The server **SHALL** support both." * rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL * rest.resource[=].searchParam[+].name = "_count" * rest.resource[=].searchParam[=].type = #number -* rest.resource[=].searchParam[=].documentation = "

The client and server SHALL support search result limiting.

" +* rest.resource[=].searchParam[=].documentation = "The client and server **SHALL** support search result limiting." * rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL * rest.resource[=].searchParam[+].name = "_sort" * rest.resource[=].searchParam[=].type = #string -* rest.resource[=].searchParam[=].documentation = "

The client and server SHALL support search result sorting by authored and MAY support other values.

" +* rest.resource[=].searchParam[=].documentation = "The client and server **SHALL** support search result sorting by authored and **MAY** support other values." * rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" * rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL +* rest.interaction[+].code = #transaction +* rest.interaction[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.interaction[=].extension[0].valueCode = #SHALL +* rest.interaction[=].documentation = "The server **SHALL** support the transaction interaction for all resources." +/*Remove this role Instance: SmartFormsServer InstanceOf: CapabilityStatement Usage: #definition @@ -274,7 +484,7 @@ Usage: #definition * description = "This CapabilityStatement describes the capabilities of the Smart Forms Server. The Smart Forms Server provides a definitional repository of resources that a client application can retrieve for use in a Smart Forms context. The capabilities listed include supported FHIR profiles, RESTful operations, and search parameters." * status = #draft * experimental = false -* date = "2023-06-16" +* date = "2025-04-16" * publisher = "AEHRC CSIRO" * kind = #capability * instantiates[+] = "http://hl7.org/fhir/uv/sdc/CapabilityStatement/sdc-form-manager" @@ -320,112 +530,242 @@ Usage: #definition * rest.resource[=].searchParam[+].name = "title" * rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/Questionnaire-title" * rest.resource[=].searchParam[=].type = #string -* rest.resource[=].searchParam[=].documentation = "

The client supports search using the :contains modifier.

" +* rest.resource[=].searchParam[=].documentation = "The client supports search using the :contains modifier." * rest.resource[=].searchParam[+].name = "_count" * rest.resource[=].searchParam[=].type = #number -* rest.resource[=].searchParam[=].documentation = "

The server supports search result limiting.

" +* rest.resource[=].searchParam[=].documentation = "The server supports search result limiting." * rest.resource[=].searchParam[+].name = "_sort" * rest.resource[=].searchParam[=].type = #string -* rest.resource[=].searchParam[=].documentation = "

The server supports search result sorting by date and MAY support other values.

" +* rest.resource[=].searchParam[=].documentation = "The server supports search result sorting by date and **MAY** support other values." * rest.resource[=].operation[0].name = "assemble" * rest.resource[=].operation[0].definition = "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-assemble" +*/ - -Instance: SmartFormsApplication +Instance: SHCAppCapabilityStatement InstanceOf: CapabilityStatement Usage: #definition -* name = "SmartFormsApplication" -* title = "Smart Forms Application" -* description = "This CapabilityStatement describes the capabilities of the Smart Forms Application. These capabilities include supported FHIR profiles, RESTful operations, and search parameters. It covers supported tasks such as SMART App launch context, prepopulation and completion of forms." +* name = "SHCApp" +* title = "SHC App" +* description = "This CapabilityStatement describes the capabilities of the SHC App. These capabilities include supported FHIR profiles, RESTful operations, and search parameters. It covers supported tasks such as SMART App launch context, prepopulation, write-back of extracted resources and completion of forms." * status = #draft * experimental = false -* date = "2023-06-16" +* date = "2025-04-16" * publisher = "AEHRC CSIRO" * kind = #capability * instantiates[+] = "http://hl7.org/fhir/uv/sdc/CapabilityStatement/sdc-form-filler" -* software.name = "Smart Forms Application" +* instantiates[+] = "http://hl7.org.au/fhir/core/CapabilityStatement/au-core-requester" +* software.name = "Smart Health Checks Application" * fhirVersion = #4.0.1 * format[0] = #json -* implementationGuide[+] = "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch" +* patchFormat[0] = #application/fhir+json +* implementationGuide[+] = "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch|2.2.0" * rest.mode = #client -* rest.documentation = "The Smart Forms Application performs interactions to support SMART App Launch, form prepopulation and form filling. The interactions performed for prepopulation are not listed here as they can vary greatly and are defined in the Questionnaire instance." +* rest.documentation = "The SHC App performs interactions to support SMART App Launch, form prepopulation, write-back of extracted resources and form filling." * rest.security.cors = true * rest.security.service = http://terminology.hl7.org/CodeSystem/restful-security-service#SMART-on-FHIR * rest.security.description = "SMART App Launch supported to allow secure data exchange." -* rest.resource[+].type = #Patient -* rest.resource[=].profile = "http://hl7.org/fhir/StructureDefinition/Patient" -* rest.resource[=].supportedProfile = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient" -* rest.resource[=].interaction[0].code = #read +//AllergyIntolerance +* rest.resource[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "patient" +* rest.resource[=].type = #AllergyIntolerance +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerance" +* rest.resource[=].documentation = "The client supports the AllergyIntolerance resource, the Smart Health Checks profile and the conformance expectations for the AllergyIntolerance resource." +* rest.resource[=].interaction[0].code = #search-type +* rest.resource[=].interaction[+].code = #create +* rest.resource[=].interaction[+].code = #patch +* rest.resource[=].searchParam[+].name = "patient" +* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/clinical-patient" +* rest.resource[=].searchParam[=].type = #reference +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. -* rest.resource[+].type = #Practitioner -* rest.resource[=].profile = "http://hl7.org/fhir/StructureDefinition/Practitioner" -* rest.resource[=].supportedProfile = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner" -* rest.resource[=].interaction[0].code = #read +The server **SHALL** support both." + +//Bundle +* rest.resource[+].type = #Bundle +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCExtractBundle" +* rest.resource[=].documentation = "The client supports the Bundle resource, the Smart Health Checks profile listed and the conformance expectations for the Bundle resource." +//Condition +* rest.resource[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "patient" +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "category" +* rest.resource[=].type = #Condition +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCCondition" +* rest.resource[=].documentation = "The client supports the Condition resource, the Smart Health Checks and the conformance expectations for the Condition resource." +* rest.resource[=].interaction[0].code = #search-type +* rest.resource[=].interaction[+].code = #create +* rest.resource[=].interaction[+].code = #patch +* rest.resource[=].searchParam[+].name = "patient" +* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/clinical-patient" +* rest.resource[=].searchParam[=].type = #reference +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. + +The server **SHALL** support both." +* rest.resource[=].searchParam[+].name = "category" +* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/Condition-category" +* rest.resource[=].searchParam[=].type = #token +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values. + +The server **SHALL** support both." + +//Encounter * rest.resource[+].type = #Encounter -* rest.resource[=].profile = "http://hl7.org/fhir/StructureDefinition/Encounter" -* rest.resource[=].supportedProfile = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCEncounter" +* rest.resource[=].documentation = "The client supports the Encounter resource, the Smart Health Checks profile and the conformance expectations for the Encounter resource." * rest.resource[=].interaction[0].code = #read +//Immunization * rest.resource[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" * rest.resource[=].extension[=].extension[+].url = "required" * rest.resource[=].extension[=].extension[=].valueString = "patient" * rest.resource[=].extension[=].extension[+].url = "required" -* rest.resource[=].extension[=].extension[=].valueString = "clinical-status" -* rest.resource[=].type = #Condition -* rest.resource[=].profile = "http://hl7.org/fhir/StructureDefinition/Condition" -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition" +* rest.resource[=].extension[=].extension[=].valueString = "status" +* rest.resource[=].type = #Immunization +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCImmunization" +* rest.resource[=].documentation = "The client supports the Immunization resource, the Smart Health Checks profile and the conformance expectations for the Immunization resource." * rest.resource[=].interaction[0].code = #search-type -* rest.resource[=].searchParam[0].name = "patient" -* rest.resource[=].searchParam[0].definition = "http://hl7.org/fhir/SearchParameter/clinical-patient" -* rest.resource[=].searchParam[0].type = #reference -* rest.resource[=].searchParam[0].documentation = "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

" -* rest.resource[=].searchParam[+].name = "clinical-status" -* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/Condition-clinical-status" +* rest.resource[=].interaction[+].code = #create +* rest.resource[=].searchParam[+].name = "patient" +* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/clinical-patient" +* rest.resource[=].searchParam[=].type = #reference +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. + +The server **SHALL** support both." +* rest.resource[=].searchParam[+].name = "status" +* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/Immunization-status" * rest.resource[=].searchParam[=].type = #token -* rest.resource[=].searchParam[=].documentation = "

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

" +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values. + +The server **SHALL** support both." + +//Medication +* rest.resource[+].type = #Medication +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedication" +* rest.resource[=].documentation = "The client supports the Medication resource, the Smart Health Checks profile and the conformance expectations for the Medication resource." +* rest.resource[=].interaction[0].code = #read +//MedicationStatement * rest.resource[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" * rest.resource[=].extension[=].extension[+].url = "required" * rest.resource[=].extension[=].extension[=].valueString = "patient" * rest.resource[=].extension[=].extension[+].url = "required" -* rest.resource[=].extension[=].extension[=].valueString = "code" +* rest.resource[=].extension[=].extension[=].valueString = "status" +* rest.resource[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" * rest.resource[=].extension[=].extension[+].url = "required" -* rest.resource[=].extension[=].extension[=].valueString = "_count" +* rest.resource[=].extension[=].extension[=].valueString = "patient" +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "status" +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "_include" +* rest.resource[=].type = #MedicationStatement +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatement" +* rest.resource[=].documentation = "The client supports the MedicationStatement resource, the Smart Health Checks profile and the conformance expectations for the MedicationStatement resource." +* rest.resource[=].interaction[0].code = #search-type +* rest.resource[=].interaction[+].code = #create +* rest.resource[=].interaction[+].code = #patch +* rest.resource[=].searchInclude[+] = "MedicationStatement:medication" +* rest.resource[=].searchParam[+].name = "patient" +* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/clinical-patient" +* rest.resource[=].searchParam[=].type = #reference +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. + +The server **SHALL** support both." +* rest.resource[=].searchParam[+].name = "status" +* rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/medications-status" +* rest.resource[=].searchParam[=].type = #token +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values. + +The server **SHALL** support both. + +The client **SHALL** support `multipleOr`. + +The server **SHALL** support `multipleOr`." +* rest.resource[=].searchParam[+].name = "_include" +* rest.resource[=].searchParam[=].type = #reference +* rest.resource[=].searchParam[=].documentation = "If a medication in a MedicationStatement resource is represented as an external Medication resource reference, the server **SHALL** support the `_include` parameter for searching this element (`MedicationStatement:medication`). + +The client **SHALL** support this method." + +//Observation +* rest.resource[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "patient" +* rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "code" +/** rest.resource[=].extension[=].extension[+].url = "required" +* rest.resource[=].extension[=].extension[=].valueString = "_count"*/ * rest.resource[=].extension[=].extension[+].url = "required" * rest.resource[=].extension[=].extension[=].valueString = "_sort" + * rest.resource[=].type = #Observation -* rest.resource[=].profile = "http://hl7.org/fhir/StructureDefinition/Observation" -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-observation" -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-smokingstatus" -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyheight" -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyweight" -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bmi" -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum" -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-waistcircum" -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bloodpressure" -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-heartrate" -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-lipid-result" -* rest.resource[=].supportedProfile[+] = "http://hl7.org.au/fhir/core/StructureDefinition/au-core-sexassignedatbirth" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCBloodPressure" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyHeight" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCBodyWeight" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCPathologyResult" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeadCircumference" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRate" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCHeartRhythm" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCWaistCircumference" +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCSmokingStatus" +* rest.resource[=].documentation = "The client supports the Observation resource, the Smart Health Checks profiles listed and the conformance expectations for the Observation resource." * rest.resource[=].interaction[0].code = #search-type +* rest.resource[=].interaction[+].code = #create * rest.resource[=].searchParam[+].name = "patient" * rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/clinical-patient" * rest.resource[=].searchParam[=].type = #reference -* rest.resource[=].searchParam[=].documentation = "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

" +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. + +The server **SHALL** support both. " * rest.resource[=].searchParam[+].name = "code" * rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/clinical-code" * rest.resource[=].searchParam[=].type = #token -* rest.resource[=].searchParam[=].documentation = "

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

" -* rest.resource[=].searchParam[+].name = "_count" +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a code value and **MAY** provide both the code and system values. + +The server **SHALL** support both." +/** rest.resource[=].searchParam[+].name = "_count" * rest.resource[=].searchParam[=].type = #number -* rest.resource[=].searchParam[=].documentation = "

The client supports search result limiting.

" +* rest.resource[=].searchParam[=].documentation = "The client and server **SHALL** support search result limiting." +* rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL*/ * rest.resource[=].searchParam[+].name = "_sort" * rest.resource[=].searchParam[=].type = #string -* rest.resource[=].searchParam[=].documentation = "

The client supports search result sorting by date and MAY support other values.

" +* rest.resource[=].searchParam[=].documentation = "The client and server **SHALL** support search result sorting by date and **MAY** support other values." +* rest.resource[=].searchParam[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].searchParam[=].extension[0].valueCode = #SHALL + +//Parameters +* rest.resource[+].type = #Parameters +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCAllergyIntolerancePatch" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCConditionPatch" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCMedicationStatementPatch" +* rest.resource[=].supportedProfile[=].extension[0].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" +* rest.resource[=].supportedProfile[=].extension[0].valueCode = #SHALL +* rest.resource[=].documentation = "The client supports the Parameters resource, the Smart Health Checks profiles listed and the conformance expectations for the Parameters resource." + +//Patient +* rest.resource[+].type = #Patient +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCPatient" +* rest.resource[=].documentation = "The client supports the Patient resource, Smart Health Checks profile and the conformance expectations for the Patient resource." +* rest.resource[=].interaction[0].code = #read +* rest.resource[=].interaction[+].code = #patch + +//Practitioner +* rest.resource[+].type = #Practitioner +* rest.resource[=].supportedProfile[+] = "https://smartforms.csiro.au/ig/StructureDefinition/SHCPractitioner" +* rest.resource[=].documentation = "The client supports the Practitioner resource, Smart Health Checks profile and the conformance expectations for the Practitioner resource." +* rest.resource[=].interaction[0].code = #read +//Questionnaire * rest.resource[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" * rest.resource[=].extension[=].extension[+].url = "required" * rest.resource[=].extension[=].extension[=].valueString = "url" @@ -445,6 +785,8 @@ Usage: #definition * rest.resource[=].extension[=].extension[=].valueString = "_sort" * rest.resource[=].type = #Questionnaire * rest.resource[=].profile = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" +//Add more SDC profiles? +* rest.resource[=].documentation = "The client supports the Questionnaire resource, Structured Data Capture profile and the conformance expectations for the Questionnaire resource." * rest.resource[=].interaction[+].code = #search-type * rest.resource[=].interaction[+].code = #create * rest.resource[=].searchParam[+].name = "url" @@ -456,18 +798,19 @@ Usage: #definition * rest.resource[=].searchParam[+].name = "title" * rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/Questionnaire-title" * rest.resource[=].searchParam[=].type = #string -* rest.resource[=].searchParam[=].documentation = "

The client supports search using the :contains modifier.

" +* rest.resource[=].searchParam[=].documentation = "The client supports search using the :contains modifier." * rest.resource[=].searchParam[+].name = "_count" * rest.resource[=].searchParam[=].type = #number -* rest.resource[=].searchParam[=].documentation = "

The client supports search result limiting.

" +* rest.resource[=].searchParam[=].documentation = "The client supports search result limiting." * rest.resource[=].searchParam[+].name = "_sort" * rest.resource[=].searchParam[=].type = #string -* rest.resource[=].searchParam[=].documentation = "

The client supports search result sorting by date and MAY support other values.

" +* rest.resource[=].searchParam[=].documentation = "The client supports search result sorting by date and **MAY** support other values." * rest.resource[=].operation[+].name = "assemble" * rest.resource[=].operation[=].definition = "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-assemble" * rest.resource[=].operation[+].name = "populate" * rest.resource[=].operation[=].definition = "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-populate" +//QuestionnaireResponse * rest.resource[+].extension[+].url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" * rest.resource[=].extension[=].extension[+].url = "required" * rest.resource[=].extension[=].extension[=].valueString = "patient" @@ -494,38 +837,46 @@ Usage: #definition * rest.resource[=].extension[=].extension[+].url = "required" * rest.resource[=].extension[=].extension[=].valueString = "status" * rest.resource[=].type = #QuestionnaireResponse -* rest.resource[=].profile = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" +* rest.resource[=].profile = "https://smartforms.csiro.au/ig/StructureDefinition/SHCQuestionnaireResponse" +* rest.resource[=].documentation = "The client supports the QuestionnaireResponse resource, Smart Health Checks profile and the conformance expectations for the QuestionnaireResponse resource." * rest.resource[=].interaction[+].code = #read * rest.resource[=].interaction[+].code = #search-type * rest.resource[=].interaction[+].code = #create * rest.resource[=].interaction[+].code = #update +* rest.resource[=].versioning = #versioned-update * rest.resource[=].searchParam[+].name = "patient" * rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-patient" * rest.resource[=].searchParam[=].type = #reference -* rest.resource[=].searchParam[=].documentation = "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

" +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. + +The server **SHALL** support both. " * rest.resource[=].searchParam[+].name = "questionnaire" * rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-questionnaire" * rest.resource[=].searchParam[=].type = #reference -* rest.resource[=].searchParam[=].documentation = "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

The client and server SHALL support chained search questionnaire.title using the :contains modifier.

" +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values. + +The server **SHALL** support both. + +The client and server **SHALL** support chained search questionnaire.title using the :contains modifier." * rest.resource[=].searchParam[+].name = "status" * rest.resource[=].searchParam[=].definition = "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-status" * rest.resource[=].searchParam[=].type = #token -* rest.resource[=].searchParam[=].documentation = "

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

" +* rest.resource[=].searchParam[=].documentation = "The client **SHALL** provide at least a code value and **MAY** provide both the code and system values. + +The server **SHALL** support both." * rest.resource[=].searchParam[+].name = "_count" * rest.resource[=].searchParam[=].type = #number -* rest.resource[=].searchParam[=].documentation = "

The client supports search result limiting.

" +* rest.resource[=].searchParam[=].documentation = "The client and server **SHALL** support search result limiting." * rest.resource[=].searchParam[+].name = "_sort" * rest.resource[=].searchParam[=].type = #string -* rest.resource[=].searchParam[=].documentation = "

The client supports search result sorting by authored and MAY support other values.

" +* rest.resource[=].searchParam[=].documentation = "The client and server **SHALL** support search result sorting by authored and **MAY** support other values." +//ValueSet * rest.resource[+].type = #ValueSet -* rest.resource[=].profile = "http://hl7.org/fhir/StructureDefinition/ValueSet" +* rest.resource[=].documentation = "The client supports the ValueSet resource and the conformance expectations for the ValueSet resource." * rest.resource[=].operation[0].name = "expand" * rest.resource[=].operation[0].definition = "http://hl7.org/fhir/OperationDefinition/ValueSet-expand" - * rest.interaction[+].code = #transaction * rest.interaction[+].code = #batch - -*/ \ No newline at end of file diff --git a/input/fsh/extensions.fsh b/input/fsh/extensions.fsh index fafe05d9..83103c36 100644 --- a/input/fsh/extensions.fsh +++ b/input/fsh/extensions.fsh @@ -3,4 +3,55 @@ Id: ContainedResourceReference Title: "Contained Resource Reference" Description: "This extension is intended to be used as a work around to a known bug whereby contained resources that are not referenced with the type, 'Reference' are removed before a resource is created in a HAPI FHIR server. This is problematic when referencing with the type, 'canonical'. The extension can be used to reference contained resources so they are retained when added to a HAPI FHIR server." +* value[x] 1.. * value[x] only Reference + +Extension: TemplateExtractExtensionExtended +Parent: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract +Id: TemplateExtractExtensionExtended +Title: "Template Extract Extension Extended" +Description: "This extension is used to extend the [Extract Template - Resource](https://build.fhir.org/ig/HL7/sdc/StructureDefinition-sdc-questionnaire-templateExtract.html) extension to include additional information that supports the extraction of a [Parameters](https://hl7.org/fhir/R4/parameters.html) resource to be used with the [FHIRPath patch](https://hl7.org/fhir/R4/fhirpatch.html) mechanism of updating resources. An additional subextension is included to specify the type of resource that is being patched, which is necessary for constructing the request URL of an entry in a transaction bundle." + +* extension contains type 0..1 +* extension[type] ^short = "Patch resource type" +* extension[type] ^definition = "When templating a Parameters resource, this is the kind of resource to be patched. It is used to construct the request URL for the entry in a transaction bundle." +* extension[type].value[x] 1.. +* extension[type].value[x] only code +* extension[type].value[x] from ResourceType (required) + +Extension: QuestionnaireItemTextHidden +Id: QuestionnaireItemTextHidden +Title: "Questionnaire Item Text Hidden" +Description: "This custom extension is used to indicate that the text of a Questionnaire item should be hidden in the user interface. This is useful for items where the text is not intended to be displayed to the user but is still needed for other processes." +Context: Questionnaire.item.text + +* . 0..1 +* . ^short = "Don't display text to user" +* . ^definition = "If true, indicates that the text of an item should not be displayed to the user." +* value[x] 1.. +* value[x] only boolean + +Extension: GranularRepopulateSync +Id: GranularRepopulateSync +Title: "Granular Repopulate Sync" +Description: "This custom extension is used to add a UI component that allows a user to repopulate an individual Questionnaire item with the latest data from the FHIR server. This is useful for updating specific items without having to refresh the entire form." +Context: Questionnaire.item + +* . 0..1 +* . ^short = "Granular repopulate sync" +* . ^definition = "If true, the item will be able to be individually repopulated with the latest data from the FHIR server." +* value[x] 1.. +* value[x] only boolean + +Extension: GroupHideAddItemButton +Id: GroupHideAddItemButton +Title: "Group Hide Add Item Button" +Description: "This custom extension is used to hide the UI component that allows a user to add new items for repeating groups in a Questionnaire. This is useful for preventing users from adding additional groups when it is not appropriate to do so, such as when a group is intended to be prepopulated with existing data but no new ones added by the user." +Context: Questionnaire.item + +* ^contextInvariant = "type='group' and repeats=true" +* . 0..1 +* . ^short = "Group hide add item button" +* . ^definition = "If true, the UI component that allows a user to add new items will be hidden." +* value[x] 1.. +* value[x] only boolean \ No newline at end of file diff --git a/input/fsh/extract-templates.fsh b/input/fsh/extract-templates.fsh new file mode 100644 index 00000000..f4dc903f --- /dev/null +++ b/input/fsh/extract-templates.fsh @@ -0,0 +1,369 @@ +Alias: $LNC = http://loinc.org +Alias: $SCT = http://snomed.info/sct +Alias: $UCUM = http://unitsofmeasure.org + + +Alias: $sdc-questionnaire-templateExtractContext = http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext +Alias: $condition-category = http://terminology.hl7.org/CodeSystem/condition-category +Alias: $condition-clinical = http://terminology.hl7.org/CodeSystem/condition-clinical +Alias: $allergyintolerance-clinical = http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical + +Alias: $au-core-smokingstatus = http://hl7.org.au/fhir/core/StructureDefinition/au-core-smokingstatus +Alias: $au-core-bodyheight = http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyheight +Alias: $au-core-bodyweight = http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyweight +Alias: $au-core-headcircum = http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum +Alias: $au-core-waistcircum = http://hl7.org.au/fhir/core/StructureDefinition/au-core-waistcircum +Alias: $au-core-heartrate = http://hl7.org.au/fhir/core/StructureDefinition/au-core-heartrate +Alias: $au-core-bloodpressure = http://hl7.org.au/fhir/core/StructureDefinition/au-core-bloodpressure +Alias: $au-core-condition = http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition +Alias: $au-core-allergyintolerance = http://hl7.org.au/fhir/core/StructureDefinition/au-core-allergyintolerance +Alias: $au-core-immunization = http://hl7.org.au/fhir/core/StructureDefinition/au-core-immunization +Alias: $au-core-medicationstatement = http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationstatement + + +Alias: $observation-category = http://terminology.hl7.org/CodeSystem/observation-category + +Instance: SmokingStatusTemplate +InstanceOf: Observation +Usage: #inline +* status = #final +* category[+] = $observation-category#social-history +* code.coding[+] = $SCT#1747861000168109 +* code.coding[+] = $LNC#72166-2 +* code.text = "Smoking status" +* subject.reference.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* subject.reference.extension[=].valueString = "%resource.subject.reference" +* effectiveDateTime.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* effectiveDateTime.extension[=].valueString = "%resource.repeat(item).where(linkId='substanceuse-smoking-smokingstatus-group-newdate').answer.value.toDateTime()" +* valueCodeableConcept.coding.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* valueCodeableConcept.coding.extension[=].valueString = "$this.answer.value" + +Instance: BodyHeightLengthTemplate +InstanceOf: Observation +Usage: #inline +* status = #final +* category[+] = $observation-category#vital-signs +* code.coding[+] = $LNC#8302-2 +* code.coding[+] = $SCT#50373000 +* code.text = "Height" +* subject.reference.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* subject.reference.extension[=].valueString = "%resource.subject.reference" +* effectiveDateTime.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* effectiveDateTime.extension[=].valueString = "%resource.repeat(item).where(linkId='obs-lengthheight-newdate').answer.value.toDateTime()" +* valueQuantity.value.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* valueQuantity.value.extension[=].valueString = "$this.answer.value" +* valueQuantity.unit = "cm" +* valueQuantity.system = $UCUM +* valueQuantity.code = #cm + +Instance: BodyHeightTemplate +InstanceOf: Observation +Usage: #inline +* status = #final +* category[+] = $observation-category#vital-signs +* code.coding[+] = $LNC#8302-2 +* code.coding[+] = $SCT#50373000 +* code.text = "Height" +* subject.reference.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* subject.reference.extension[=].valueString = "%resource.subject.reference" +* effectiveDateTime.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* effectiveDateTime.extension[=].valueString = "%resource.repeat(item).where(linkId='obs-height-newdate').answer.value.toDateTime()" +* valueQuantity.value.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* valueQuantity.value.extension[=].valueString = "$this.answer.value" +//* valueQuantity.value.extension[=].valueString = "%resource.repeat(item).where(linkId='7035c7e7-ada3-4c6b-9ea8-f39666f5d4ea').answer.value" +* valueQuantity.unit = "cm" +* valueQuantity.system = $UCUM +* valueQuantity.code = #cm + +Instance: BodyWeightTemplate +InstanceOf: Observation +Usage: #inline +* status = #final +* category[+] = $observation-category#vital-signs +* code.coding[+] = $LNC#29463-7 +* code.coding[+] = $SCT#27113001 +* code.text = "Weight" +* subject.reference.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* subject.reference.extension[=].valueString = "%resource.subject.reference" +* effectiveDateTime.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* effectiveDateTime.extension[=].valueString = "%resource.repeat(item).where(linkId='obs-weight-newdate').answer.value.toDateTime()" +* valueQuantity.value.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* valueQuantity.value.extension[=].valueString = "$this.answer.value" +* valueQuantity.unit = "kg" +* valueQuantity.system = $UCUM +* valueQuantity.code = #kg + +Instance: HeadCircumferenceTemplate +InstanceOf: Observation +Usage: #inline +* status = #final +* category[+] = $observation-category#vital-signs +* code.coding[+] = $LNC#9843-4 +* code.coding[+] = $SCT#363812007 +* code.text = "Head circumference" +* subject.reference.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* subject.reference.extension[=].valueString = "%resource.subject.reference" +* effectiveDateTime.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* effectiveDateTime.extension[=].valueString = "%resource.repeat(item).where(linkId='obs-headcircumference-newdate').answer.value.toDateTime()" +* valueQuantity.value.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* valueQuantity.value.extension[=].valueString = "$this.answer.value" +* valueQuantity.unit = "cm" +* valueQuantity.system = $UCUM +* valueQuantity.code = #cm + +Instance: WaistCircumferenceTemplate +InstanceOf: Observation +Usage: #inline +* status = #final +* category[+] = $observation-category#vital-signs +* code.coding[+] = $LNC#8280-0 +* code.coding[+] = $SCT#276361009 +* code.text = "Waist circumference" +* subject.reference.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* subject.reference.extension[=].valueString = "%resource.subject.reference" +* effectiveDateTime.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* effectiveDateTime.extension[=].valueString = "%resource.repeat(item).where(linkId='obs-waistcircumference-newdate').answer.value.toDateTime()" +* valueQuantity.value.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* valueQuantity.value.extension[=].valueString = "$this.answer.value" +* valueQuantity.unit = "cm" +* valueQuantity.system = $UCUM +* valueQuantity.code = #cm + +Instance: HeartRateTemplate +InstanceOf: Observation +Usage: #inline +* status = #final +* category[+] = $observation-category#vital-signs +* code.coding[+] = $LNC#8867-4 +* code.coding[+] = $SCT#364075005 +* code.text = "Heart rate" +* subject.reference.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* subject.reference.extension[=].valueString = "%resource.subject.reference" +* effectiveDateTime.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* effectiveDateTime.extension[=].valueString = "%resource.repeat(item).where(linkId='obs-heartrate-newdate').answer.value.toDateTime()" +* valueQuantity.value.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* valueQuantity.value.extension[=].valueString = "$this.answer.value.toDecimal()" +* valueQuantity.unit = "/min" +* valueQuantity.system = $UCUM +* valueQuantity.code = #/min + +Instance: HeartRhythmTemplate +InstanceOf: Observation +Usage: #inline +* status = #final +* category[+] = $observation-category#vital-signs +* code.coding[+] = $LNC#8884-9 +* code.coding[+] = $SCT#364074009 +* code.text = "Heart rhythm" +* subject.reference.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* subject.reference.extension[=].valueString = "%resource.subject.reference" +* effectiveDateTime.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* effectiveDateTime.extension[=].valueString = "%resource.repeat(item).where(linkId='obs-heartrhythm-newdate').answer.value.toDateTime()" +* valueCodeableConcept.coding.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* valueCodeableConcept.coding.extension[=].valueString = "$this.answer.value" + +Instance: BloodPressureTemplate +InstanceOf: Observation +Usage: #inline +* status = #final +* category[+] = $observation-category#vital-signs +* code.coding[+] = $LNC#85354-9 +* code.coding[+] = $SCT#75367002 +* code.text = "Blood pressure" +* subject.reference.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* subject.reference.extension[=].valueString = "%resource.subject.reference" +* effectiveDateTime.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* effectiveDateTime.extension[=].valueString = "%resource.repeat(item).where(linkId='bp-newbp-date').answer.value.toDateTime()" +* component[+].code.coding[+] = $LNC#8480-6 +* component[=].code.coding[+] = $SCT#271649006 +* component[=].code.text = "Systolic" +* component[=].valueQuantity.value.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* component[=].valueQuantity.value.extension[=].valueString = "$this.answer.value.toDecimal()" +* component[=].valueQuantity.unit = "mm[Hg]" +* component[=].valueQuantity.system = $UCUM +* component[=].valueQuantity.code = #mm[Hg] +* component[+].code.coding[+] = $LNC#8462-4 +* component[=].code.coding[+] = $SCT#271650006 +* component[=].code.text = "Diastolic" +* component[=].valueQuantity.value.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* component[=].valueQuantity.value.extension[=].valueString = "%resource.repeat(item).where(linkId='bp-newbp-diastolic').answer.value.toDecimal()" +* component[=].valueQuantity.unit = "mm[Hg]" +* component[=].valueQuantity.system = $UCUM +* component[=].valueQuantity.code = #mm[Hg] + + + +Instance: AllergyIntoleranceTemplate +InstanceOf: AllergyIntolerance +Usage: #inline +* clinicalStatus.coding = $allergyintolerance-clinical#active +* code.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext" +* code.extension[=].valueString = "item.where(linkId='allergynew-substance').answer.value" +* code.coding.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* code.coding.extension[=].valueString = "ofType(Coding)" +* code.text.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* code.text.extension[=].valueString = "ofType(string)" +* patient.reference.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* patient.reference.extension[=].valueString = "%resource.subject.reference" +* note.text.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* note.text.extension[=].valueString = "item.where(linkId='allergynew-comment').answer.value" +* reaction.manifestation[+].extension.url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext" +* reaction.manifestation[=].extension.valueString = "item.where(linkId='allergynew-manifestation').answer.value.ofType(Coding)" +* reaction.manifestation[=].coding.extension.url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* reaction.manifestation[=].coding.extension.valueString = "$this" +* reaction.manifestation[+].extension.url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext" +* reaction.manifestation[=].extension.valueString = "item.where(linkId='allergynew-manifestation').answer.value.ofType(string)" +* reaction.manifestation[=].text.extension.url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* reaction.manifestation[=].text.extension.valueString = "$this" + + +Instance: AllergyIntolerancePatchTemplate +InstanceOf: Parameters +Usage: #inline +* parameter[+].name = "operation" +* parameter[=].part[+].name = "type" +* parameter[=].part[=].valueCode = #replace +* parameter[=].part[+].name = "path" +* parameter[=].part[=].valueString = "AllergyIntolerance.clinicalStatus" +* parameter[=].part[+].name = "value" +* parameter[=].part[=].valueCodeableConcept.coding.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* parameter[=].part[=].valueCodeableConcept.coding.extension[=].valueString = "item.where(linkId='allergysummary-status').answer.value.first()" +* parameter[=].part[+].name = "pathLabel" +* parameter[=].part[=].valueString = "Clinical status" +* parameter[+].name = "operation" +* parameter[=].part[+].name = "type" +* parameter[=].part[=].valueCode = #replace +* parameter[=].part[+].name = "path" +* parameter[=].part[=].valueString = "AllergyIntolerance.note[0].text" +* parameter[=].part[+].name = "value" +* parameter[=].part[=].valueMarkdown.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* parameter[=].part[=].valueMarkdown.extension[=].valueString = "item.where(linkId='allergysummary-comment').answer.value.first()" +* parameter[=].part[+].name = "pathLabel" +* parameter[=].part[=].valueString = "Comment" + +Instance: ImmunizationTemplate +InstanceOf: Immunization +Usage: #inline +* status = #completed +* vaccineCode.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext" +* vaccineCode.extension[=].valueString = "item.where(linkId='vaccinestoday-vaccine').answer.value" +* vaccineCode.coding.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* vaccineCode.coding.extension[=].valueString = "ofType(Coding)" +* vaccineCode.text.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* vaccineCode.text.extension[=].valueString = "ofType(string)" +* patient.reference.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* patient.reference.extension[=].valueString = "%resource.subject.reference" +* occurrenceDateTime.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* occurrenceDateTime.extension[=].valueString = "item.where(linkId='vaccinestoday-date').answer.value.toDateTime()" +* lotNumber.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* lotNumber.extension[=].valueString = "item.where(linkId='vaccinestoday-batch').answer.value" +* note.text.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* note.text.extension[=].valueString = "item.where(linkId='vaccinestoday-comment').answer.value" + +Instance: ConditionTemplate +InstanceOf: Condition +Usage: #inline +* clinicalStatus.coding = $condition-clinical#active +* category.coding = $condition-category#problem-list-item +* code.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext" +* code.extension[=].valueString = "item.where(linkId='2da85994-2d5e-42f1-8a81-abf44f397468').answer.value" +* code.coding.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* code.coding.extension[=].valueString = "ofType(Coding)" +* code.text.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* code.text.extension[=].valueString = "ofType(string)" +* subject.reference.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* subject.reference.extension[=].valueString = "%resource.subject.reference" +* onsetDateTime.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* onsetDateTime.extension[=].valueString = "item.where(linkId='4d55bffb-3286-4a23-a785-3b9c346d464d').answer.value.toDateTime()" +* note.text.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* note.text.extension[=].valueString = "item.where(linkId='newdiagnosis-comment').answer.value" + +Instance: ConditionPatchTemplate +InstanceOf: Parameters +Usage: #inline +* parameter[+].name = "operation" +* parameter[=].part[+].name = "type" +* parameter[=].part[=].valueCode = #replace +* parameter[=].part[+].name = "path" +* parameter[=].part[=].valueString = "Condition.clinicalStatus" +* parameter[=].part[+].name = "value" +* parameter[=].part[=].valueCodeableConcept.coding.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* parameter[=].part[=].valueCodeableConcept.coding.extension[=].valueString = "item.where(linkId='88bcfad7-386b-4d87-b34b-2e50482e4d2c').answer.value.first()" +* parameter[=].part[+].name = "pathLabel" +* parameter[=].part[=].valueString = "Clinical status" +* parameter[+].name = "operation" +* parameter[=].part[+].name = "type" +* parameter[=].part[=].valueCode = #replace +* parameter[=].part[+].name = "path" +* parameter[=].part[=].valueString = "Condition.abatement" +* parameter[=].part[+].name = "value" +* parameter[=].part[=].valueDateTime.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* parameter[=].part[=].valueDateTime.extension[=].valueString = "item.where(linkId='e4524654-f6de-4717-b288-34919394d46b').answer.value.toDateTime()" +* parameter[=].part[+].name = "pathLabel" +* parameter[=].part[=].valueString = "Abatement date" + + +Instance: MedicationStatementTemplate +InstanceOf: MedicationStatement +Usage: #inline +* status = #active +* medicationCodeableConcept.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext" +* medicationCodeableConcept.extension[=].valueString = "item.where(linkId='regularmedications-summary-new-medication').answer.value" +* medicationCodeableConcept.coding.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* medicationCodeableConcept.coding.extension[=].valueString = "ofType(Coding)" +* medicationCodeableConcept.text.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* medicationCodeableConcept.text.extension[=].valueString = "ofType(string)" +* subject.reference.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* subject.reference.extension[=].valueString = "%resource.subject.reference" +* dateAsserted.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* dateAsserted.extension[=].valueString = "now()" +* reasonCode[+].extension.url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext" +* reasonCode[=].extension.valueString = "item.where(linkId='regularmedications-summary-new-reasoncode').answer.value.ofType(Coding)" +* reasonCode[=].coding.extension.url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* reasonCode[=].coding.extension.valueString = "$this" +* reasonCode[+].extension.url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext" +* reasonCode[=].extension.valueString = "item.where(linkId='regularmedications-summary-new-reasoncode').answer.value.ofType(string)" +* reasonCode[=].text.extension.url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* reasonCode[=].text.extension.valueString = "$this" +* note.text.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* note.text.extension[=].valueString = "item.where(linkId='regularmedications-summary-new-comment').answer.value" +* dosage[+].extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext" +* dosage[=].extension[=].valueString = "item.where(linkId='regularmedications-summary-new-dosage').answer.value" +* dosage[=].text.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* dosage[=].text.extension[=].valueString = "$this" + +Instance: MedicationStatementPatchTemplate +InstanceOf: Parameters +Usage: #inline +* parameter[+].name = "operation" +* parameter[=].part[+].name = "type" +* parameter[=].part[=].valueCode = #replace +* parameter[=].part[+].name = "path" +* parameter[=].part[=].valueString = "MedicationStatement.status" +* parameter[=].part[+].name = "value" +* parameter[=].part[=].valueCode.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* parameter[=].part[=].valueCode.extension[=].valueString = "item.where(linkId='regularmedications-summary-current-status').answer.value.code" +* parameter[=].part[+].name = "pathLabel" +* parameter[=].part[=].valueString = "Status" +* parameter[+].name = "operation" +* parameter[=].part[+].name = "type" +* parameter[=].part[=].valueCode = #replace +* parameter[=].part[+].name = "path" +* parameter[=].part[=].valueString = "MedicationStatement.note[0].text" +* parameter[=].part[+].name = "value" +* parameter[=].part[=].valueMarkdown.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* parameter[=].part[=].valueMarkdown.extension[=].valueString = "item.where(linkId='regularmedications-summary-current-comment').answer.value.first()" +* parameter[=].part[+].name = "pathLabel" +* parameter[=].part[=].valueString = "Comment" +* parameter[+].name = "operation" +* parameter[=].part[+].name = "type" +* parameter[=].part[=].valueCode = #replace +* parameter[=].part[+].name = "path" +* parameter[=].part[=].valueString = "MedicationStatement.dosage[0].text" +* parameter[=].part[+].name = "value" +* parameter[=].part[=].valueString.extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue" +* parameter[=].part[=].valueString.extension[=].valueString = "item.where(linkId='regularmedications-summary-current-dosage').answer.value.first()" +* parameter[=].part[+].name = "pathLabel" +* parameter[=].part[=].valueString = "Dosage" + + diff --git a/input/fsh/profiles.fsh b/input/fsh/profiles.fsh new file mode 100644 index 00000000..98e9a190 --- /dev/null +++ b/input/fsh/profiles.fsh @@ -0,0 +1,1407 @@ + +Alias: $LNC = http://loinc.org +Alias: $SCT = http://snomed.info/sct +Alias: $UCUM = http://unitsofmeasure.org +Alias: $obligation = http://hl7.org/fhir/StructureDefinition/obligation + +Alias: $au-core-allergyintolerance = http://hl7.org.au/fhir/core/StructureDefinition/au-core-allergyintolerance +Alias: $au-core-condition = http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition +Alias: $au-core-encounter = http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter +Alias: $au-core-immunization = http://hl7.org.au/fhir/core/StructureDefinition/au-core-immunization +Alias: $au-core-medication = http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication +Alias: $au-core-medicationstatement = http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationstatement +Alias: $au-core-bloodpressure = http://hl7.org.au/fhir/core/StructureDefinition/au-core-bloodpressure +Alias: $au-core-bodyheight = http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyheight +Alias: $au-core-bodyweight = http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyweight +Alias: $au-core-diagnosticresult-path = http://hl7.org.au/fhir/core/StructureDefinition/au-core-diagnosticresult-path +Alias: $au-core-headcircum = http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum +Alias: $au-core-heartrate = http://hl7.org.au/fhir/core/StructureDefinition/au-core-heartrate +Alias: $au-core-waistcircum = http://hl7.org.au/fhir/core/StructureDefinition/au-core-waistcircum +Alias: $au-core-smokingstatus = http://hl7.org.au/fhir/core/StructureDefinition/au-core-smokingstatus +Alias: $au-core-patient = http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient +Alias: $au-core-practitioner = http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner +Alias: $sdc-questionnaireresponse = http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse + +Alias: $au-address = http://hl7.org.au/fhir/StructureDefinition/au-address +Alias: $au-pensionerconcessioncardnumber = http://hl7.org.au/fhir/StructureDefinition/au-pensionerconcessioncardnumber +Alias: $au-healthcarecardnumber = http://hl7.org.au/fhir/StructureDefinition/au-healthcarecardnumber + + + +/* Old RuleSets to be reinstated following SUSHI bug fix +RuleSet: obligationApp(index, appCode) +* ^extension[$obligation][{index}].extension[code].valueCode = #"{appCode}" +* ^extension[$obligation][=].extension[actor].valueCanonical = "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + +RuleSet: obligation2App(index, appCode1, appCode2) +* ^extension[$obligation][{index}].extension[code][+].valueCode = #"{appCode1}" +* ^extension[$obligation][=].extension[code][+].valueCode = #"{appCode2}" +* ^extension[$obligation][=].extension[actor].valueCanonical = "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + +RuleSet: obligationServer(index, serverCode) +* ^extension[$obligation][{index}].extension[code].valueCode = #"{serverCode}" +* ^extension[$obligation][=].extension[actor].valueCanonical = "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + +RuleSet: obligation2Server(index, serverCode1, serverCode2) +* ^extension[$obligation][{index}].extension[code][+].valueCode = #"{serverCode1}" +* ^extension[$obligation][=].extension[code][+].valueCode = #"{serverCode2}" +* ^extension[$obligation][=].extension[actor].valueCanonical = "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" +*/ + +RuleSet: obligationApp(index, appCode) +* ^extension[{index}].url = $obligation +* ^extension[=].extension[+].url = "code" +* ^extension[=].extension[=].valueCode = #"{appCode}" +* ^extension[=].extension[+].url = "actor" +* ^extension[=].extension[=].valueCanonical = "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + +RuleSet: obligation2App(index, appCode1, appCode2) +* ^extension[{index}].url = $obligation +* ^extension[=].extension[+].url = "code" +* ^extension[=].extension[=].valueCode = #"{appCode1}" +* ^extension[=].extension[+].url = "code" +* ^extension[=].extension[=].valueCode = #"{appCode2}" +* ^extension[=].extension[+].url = "actor" +* ^extension[=].extension[=].valueCanonical = "https://smartforms.csiro.au/ig/ActorDefinition/SHCApp" + +RuleSet: obligationServer(index, serverCode) +* ^extension[{index}].url = $obligation +* ^extension[=].extension[+].url = "code" +* ^extension[=].extension[=].valueCode = #"{serverCode}" +* ^extension[=].extension[+].url = "actor" +* ^extension[=].extension[=].valueCanonical = "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + +RuleSet: obligation2Server(index, serverCode1, serverCode2) +* ^extension[{index}].url = $obligation +* ^extension[=].extension[+].url = "code" +* ^extension[=].extension[=].valueCode = #"{serverCode1}" +* ^extension[=].extension[+].url = "code" +* ^extension[=].extension[=].valueCode = #"{serverCode2}" +* ^extension[=].extension[+].url = "actor" +* ^extension[=].extension[=].valueCanonical = "https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer" + + +Invariant: shc-heartrhythm-01 +Description: "At least value or data absent reason shall be present" +* severity = #error +* expression = "dataAbsentReason.exists() or value.exists()" +* xpath = "exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + +Invariant: shc-heartrhythm-02 +Description: "Date shall be at least to day or, if not available, the Data Absent Reason extension shall be present" +* severity = #error +* expression = "(($this is dateTime implies $this.toString().length() >= 10) and extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').value.exists().not()) xor ($this is dateTime implies ($this.hasValue().not() and extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').value.exists()))" +* xpath = "((self::dateTime and string-length(.) >= 10 and not(extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])) xor (self::dateTime and not(.) and extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason']))" + + + +Profile: SmartHealthChecksAllergyIntolerance +Parent: $au-core-allergyintolerance +Id: SHCAllergyIntolerance +Title: "Smart Health Checks AllergyIntolerance" +Description: "This profile sets the minimum expectations for an AllergyIntolerance resource to record, search and save allergy or intolerance information when used within Smart Health Checks." + +* id MS +* id insert obligationServer (0, SHALL:populate) +* id insert obligationApp (1, SHALL:process) +* patient MS +* patient insert obligation2Server (2, SHALL:populate, SHALL:process) +* patient insert obligationApp (3, SHALL:populate) +* clinicalStatus MS +* clinicalStatus insert obligation2Server (2, SHALL:populate, SHALL:process) +* clinicalStatus insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* verificationStatus MS +* verificationStatus insert obligationServer (2, SHALL:populate-if-known) +* verificationStatus insert obligationApp (3, SHALL:process) +* code MS +* code insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* code insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* note ..1 MS +* note.text MS +* note.text insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* note.text insert obligation2App (1, SHALL:populate-if-known, SHALL:process) +* reaction.manifestation MS +* reaction.manifestation insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* reaction.manifestation insert obligation2App (3, SHALL:populate-if-known, SHALL:process) + +Profile: SmartHealthChecksCondition +Parent: $au-core-condition +Id: SHCCondition +Title: "Smart Health Checks Condition" +Description: "This profile sets the minimum expectations for a Condition resource to record, search and save condition information when used within Smart Health Checks." + +* id MS +* id insert obligationServer (0, SHALL:populate) +* id insert obligationApp (1, SHALL:process) +* clinicalStatus MS +* clinicalStatus insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* clinicalStatus insert obligation2App (3, SHALL:populate, SHALL:process) +* verificationStatus MS +* verificationStatus insert obligationServer (2, SHALL:populate-if-known) +* verificationStatus insert obligationApp (3, SHALL:process) +* category MS +* category insert obligation2Server (2, SHALL:populate, SHALL:process) +* category insert obligationApp (3, SHALL:populate) +* code MS +* code insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* code insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* subject MS +* subject insert obligation2Server (2, SHALL:populate, SHALL:process) +* subject insert obligationApp (3, SHALL:populate) +* onsetDateTime MS +* onsetDateTime insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* onsetDateTime insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* abatementDateTime MS +* abatementDateTime insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* abatementDateTime insert obligationApp (3, SHALL:process) +* note.text MS +* note.text insert obligationServer (0, SHALL:process) +* note.text insert obligationApp (1, SHALL:populate-if-known) + +Profile: SmartHealthChecksImmunization +Parent: $au-core-immunization +Id: SHCImmunization +Title: "Smart Health Checks Immunization" +Description: "This profile sets the minimum expectations for an Immunization resource to record, search and save immunization information when used within Smart Health Checks." + +* status MS +* status insert obligation2Server (2, SHALL:populate, SHALL:process) +* status insert obligationApp (3, SHALL:populate) +* vaccineCode MS +* vaccineCode insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* vaccineCode insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* vaccineCode.coding[amtVaccineCode] MS +* vaccineCode.coding[amtVaccineCode] insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* vaccineCode.coding[amtVaccineCode] insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* patient MS +* patient insert obligation2Server (2, SHALL:populate, SHALL:process) +* patient insert obligationApp (3, SHALL:populate) +* occurrenceDateTime MS +* occurrenceDateTime insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* occurrenceDateTime insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* lotNumber MS +* lotNumber insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* lotNumber insert obligation2App (1, SHALL:populate-if-known, SHALL:process) +* note.text MS +* note.text insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* note.text insert obligation2App (1, SHALL:populate-if-known, SHALL:process) + +Profile: SmartHealthChecksMedicationStatement +Parent: $au-core-medicationstatement +Id: SHCMedicationStatement +Title: "Smart Health Checks MedicationStatement" +Description: "This profile sets the minimum expectations for a MedicationStatement resource to record, search and save medication information when used within Smart Health Checks." + +* id MS +* id insert obligationServer (0, SHALL:populate) +* id insert obligationApp (1, SHALL:process) +* status MS +* status insert obligation2Server (2, SHALL:populate, SHALL:process) +* status insert obligationApp (3, SHALL:populate) +* medication[x][medicationCodeableConcept] MS +* medication[x][medicationCodeableConcept] insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) // NOTE: When migrating to AU Core v2.0.0, update the extension array index from (0) to (2) for medication[x][medicationCodeableConcept] +* medication[x][medicationCodeableConcept] insert obligation2App (1, SHALL:populate-if-known, SHALL:process) // When upgrading to AU Core v2.0.0, update the extension array index from (1) to (3) for medication[x][medicationCodeableConcept] to match the new element order. +* medication[x][medicationReference] MS +* medication[x][medicationReference] only Reference(SHCMedication) +* medication[x][medicationReference] insert obligationServer (2, SHALL:populate-if-known) +* medication[x][medicationReference] insert obligationApp (3, SHALL:process) +* subject MS +* subject insert obligation2Server (2, SHALL:populate, SHALL:process) +* subject insert obligationApp (3, SHALL:populate) +* dateAsserted MS +* dateAsserted insert obligationServer (2, SHALL:process) +* dateAsserted insert obligationApp (3, SHALL:populate) +* reasonCode MS +* reasonCode insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* reasonCode insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* note ..1 MS +* note.text MS +* note.text insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* note.text insert obligation2App (1, SHALL:populate-if-known, SHALL:process) +* dosage ..1 MS +* dosage.text MS +* dosage.text insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* dosage.text insert obligation2App (1, SHALL:populate-if-known, SHALL:process) + +Profile: SmartHealthChecksMedication +Parent: $au-core-medication +Id: SHCMedication +Title: "Smart Health Checks Medication" +Description: "This profile sets the minimum expectations for a Medication resource to search and retrieve medication information when used within Smart Health Checks." + +* id MS +* id insert obligationServer (0, SHALL:populate) +* id insert obligationApp (1, SHALL:process) +* code MS +* code insert obligationServer (2, SHALL:populate-if-known) +* code insert obligationApp (3, SHALL:process) + +Profile: SmartHealthChecksPathologyResult +Parent: $au-core-diagnosticresult-path +Id: SHCPathologyResult +Title: "Smart Health Checks Pathology Result" +Description: "This profile sets the minimum expectations for an Observation resource to search and retrieve pathology result information when used within Smart Health Checks." + +* status MS +* status insert obligationServer (3, SHALL:populate) +* status insert obligationApp (4, SHALL:process) +* code.coding MS +* code.coding insert obligationServer (0, SHALL:populate) +* code.coding insert obligationApp (1, SHALL:process) +* subject MS +* subject insert obligationServer (2, SHALL:populate) +* effectiveDateTime MS +* effectiveDateTime insert obligationServer (2, SHALL:populate-if-known) +* effectiveDateTime insert obligationApp (3, SHALL:process) +* value[x] MS +* value[x] insert obligationServer (0, SHALL:populate-if-known) +* value[x] insert obligationApp (1, SHALL:process) + + +Profile: SmartHealthChecksPatient +Parent: $au-core-patient +Id: SHCPatient +Title: "Smart Health Checks Patient" +Description: "This profile sets the minimum expectations for a Patient resource to search and retrieve patient information when used within Smart Health Checks." + +* extension[indigenousStatus] MS +* extension[indigenousStatus] insert obligationServer (2, SHALL:populate-if-known) +* extension[indigenousStatus] insert obligationApp (3, SHALL:process) +* extension[closingTheGapRegistration] MS +* extension[closingTheGapRegistration] insert obligationServer (0, SHALL:populate-if-known) +* extension[closingTheGapRegistration] insert obligationApp (1, SHALL:process) +* extension[genderIdentity] MS +* extension[genderIdentity] insert obligationServer (2, SHALL:populate-if-known) +* extension[genderIdentity] insert obligationApp (3, SHALL:process) +* extension[individualPronouns] MS +* extension[individualPronouns] insert obligationServer (2, SHALL:populate-if-known) +* extension[individualPronouns] insert obligationApp (3, SHALL:process) +* extension[recordedSexOrGender] MS +* extension[recordedSexOrGender] insert obligationServer (0, SHALL:populate-if-known) +* extension[recordedSexOrGender] insert obligationApp (1, SHALL:process) +* identifier contains + pensionerCard ..1 MS and + healthCareCard ..1 MS +* identifier[pensionerCard] only $au-pensionerconcessioncardnumber +* identifier[pensionerCard] insert obligationServer (0, SHALL:populate-if-known) +* identifier[pensionerCard] insert obligationApp (1, SHALL:process) +* identifier[healthCareCard] only $au-healthcarecardnumber +* identifier[healthCareCard] insert obligationServer (0, SHALL:populate-if-known) +* identifier[healthCareCard] insert obligationApp (1, SHALL:process) +* identifier[medicare] MS +* identifier[medicare] insert obligationServer (2, SHALL:populate-if-known) +* identifier[medicare] insert obligationApp (3, SHALL:process) +* name MS +* name insert obligationServer (2, SHALL:populate-if-known) +* name insert obligationApp (3, SHALL:process) +* name.use MS +* name.use insert obligationServer (2, SHALL:populate-if-known) +* name.use insert obligationApp (3, SHALL:process) +* name.text MS +* name.text insert obligationServer (2, SHALL:populate-if-known) +* name.text insert obligationApp (3, SHALL:process) +* name.family MS +* name.family insert obligationServer (2, SHALL:populate-if-known) +* name.family insert obligationApp (3, SHALL:process) +* name.given MS +* name.given insert obligationServer (2, SHALL:populate-if-known) +* name.given insert obligationApp (3, SHALL:process) +* name.prefix MS +* name.prefix insert obligationApp (0, SHALL:process) +* telecom MS +* telecom insert obligationServer (2, SHALL:populate-if-known) +* telecom insert obligationApp (3, SHALL:process) +* telecom.system MS +* telecom.system insert obligationServer (0, SHALL:populate-if-known) +* telecom.system insert obligationApp (1, SHALL:process) +* telecom.value MS +* telecom.value insert obligationServer (0, SHALL:populate-if-known) +* telecom.value insert obligationApp (1, SHALL:process) +* telecom.use MS +* telecom.use insert obligationServer (0, SHALL:populate-if-known) +* telecom.use insert obligationApp (1, SHALL:process) +* gender MS +* gender insert obligationServer (2, SHALL:populate-if-known) +* gender insert obligationApp (3, SHALL:process) +* birthDate MS +* birthDate insert obligationServer (2, SHALL:populate) +* birthDate insert obligationApp (3, SHALL:process) +* address MS +* address only $au-address +* address insert obligationServer (2, SHALL:populate) +* address insert obligationApp (3, SHALL:process) +* address.use MS +* address.use insert obligationServer (0, SHALL:populate-if-known) +* address.use insert obligationApp (1, SHALL:process) +* address.type MS +* address.type insert obligationServer (0, SHALL:populate-if-known) +* address.type insert obligationApp (1, SHALL:process) +* address.line MS +* address.line insert obligationServer (0, SHALL:populate-if-known) +* address.line insert obligationApp (1, SHALL:process) +* address.city MS +* address.city insert obligationServer (0, SHALL:populate-if-known) +* address.city insert obligationApp (1, SHALL:process) +* address.state MS +* address.state insert obligationServer (0, SHALL:populate-if-known) +* address.state insert obligationApp (1, SHALL:process) +* address.postalCode MS +* address.postalCode insert obligationServer (0, SHALL:populate-if-known) +* address.postalCode insert obligationApp (1, SHALL:process) +* contact MS +* contact insert obligationServer (0, SHALL:populate-if-known) +* contact insert obligationApp (1, SHALL:process) +* contact.relationship MS +* contact.relationship insert obligationServer (0, SHALL:populate-if-known) +* contact.relationship insert obligationApp (1, SHALL:process) +* contact.name MS +* contact.name insert obligationServer (0, SHALL:populate-if-known) +* contact.name insert obligationApp (1, SHALL:process) +* contact.name.family MS +* contact.name.family insert obligationServer (0, SHALL:populate-if-known) +* contact.name.family insert obligationApp (1, SHALL:process) +* contact.name.given MS +* contact.name.given insert obligationServer (0, SHALL:populate-if-known) +* contact.name.given insert obligationApp (1, SHALL:process) +* contact.name.prefix MS +* contact.name.prefix insert obligationApp (0, SHALL:process) +* contact.telecom MS +* contact.telecom insert obligationServer (0, SHALL:populate-if-known) +* contact.telecom insert obligationApp (1, SHALL:process) + +Profile: SmartHealthChecksPractitioner +Parent: $au-core-practitioner +Id: SHCPractitioner +Title: "Smart Health Checks Practitioner" +Description: "This profile sets the minimum expectations for a Practitioner resource to search and retrieve practitioner information when used within Smart Health Checks." + +* id MS +* id insert obligationServer (0, SHALL:populate) +* id insert obligationApp (1, SHALL:process) +* name MS +* name insert obligationServer (2, SHALL:populate-if-known) +* name insert obligationApp (3, SHALL:process) + +Profile: SmartHealthChecksEncounter +Parent: $au-core-encounter +Id: SHCEncounter +Title: "Smart Health Checks Encounter" +Description: "This profile sets the minimum expectations for a Encounter resource to search and retrieve encounter information when used within Smart Health Checks." + +* id MS +* id insert obligationServer (0, SHALL:populate) +* id insert obligationApp (1, SHALL:process) + + +Profile: SmartHealthChecksQuestionnaireResponse +Parent: $sdc-questionnaireresponse +Id: SHCQuestionnaireResponse +Title: "Smart Health Checks Questionnaire Response" +Description: "This profile sets the minimum expectations for a QuestionnaireResponse resource to record, search and save form information when used within Smart Health Checks." + +* id 1.. MS +* id insert obligation2Server (0, SHALL:populate, SHALL:persist) +* id insert obligation2App (1, SHALL:populate, SHALL:process) +* text MS +* text insert obligation2Server (0, SHALL:populate-if-known, SHALL:persist) +* text insert obligation2App (1, SHALL:populate, SHALL:process) +* questionnaire MS +* questionnaire insert obligation2Server (0, SHALL:populate-if-known, SHALL:persist) +* questionnaire insert obligation2App (1, SHALL:populate, SHALL:process) +* questionnaire.extension[questionnaireDisplay] MS +* questionnaire.extension[questionnaireDisplay] insert obligation2Server (0, SHALL:populate-if-known, SHALL:persist) +* questionnaire.extension[questionnaireDisplay] insert obligation2App (1, SHALL:populate, SHALL:process) +* status MS +* status insert obligation2Server (0, SHALL:populate, SHALL:persist) +* status insert obligation2App (1, SHALL:populate, SHALL:process) +* subject 1.. MS +* subject insert obligation2Server (0, SHALL:populate, SHALL:persist) +* subject insert obligation2App (1, SHALL:populate, SHALL:process) +* encounter MS +* encounter insert obligation2Server (0, SHALL:populate-if-known, SHALL:persist) +* encounter insert obligation2App (1, SHALL:populate-if-known, SHALL:process) +* authored MS +* authored insert obligation2Server (0, SHALL:populate, SHALL:persist) +* authored insert obligation2App (1, SHALL:populate, SHALL:process) +* author 1.. MS +* author insert obligation2Server (0, SHALL:populate, SHALL:persist) +* author insert obligation2App (1, SHALL:populate, SHALL:process) +* author only Reference(Practitioner) +* item MS +* item insert obligation2Server (0, SHALL:populate-if-known, SHALL:persist) +* item insert obligation2App (1, SHALL:populate-if-known, SHALL:process) +* item.linkId MS +* item.linkId insert obligation2Server (0, SHALL:populate-if-known, SHALL:persist) +* item.linkId insert obligation2App (1, SHALL:populate-if-known, SHALL:process) +* item.text MS +* item.text insert obligation2Server (0, SHALL:populate-if-known, SHALL:persist) +* item.text insert obligation2App (1, SHALL:populate-if-known, SHALL:process) +* item.answer MS +* item.answer insert obligation2Server (0, SHALL:populate-if-known, SHALL:persist) +* item.answer insert obligation2App (1, SHALL:populate-if-known, SHALL:process) +* item.answer.value[x] MS +* item.answer.value[x] insert obligation2Server (0, SHALL:populate-if-known, SHALL:persist) +* item.answer.value[x] insert obligation2App (1, SHALL:populate-if-known, SHALL:process) +* item.item MS +* item.item insert obligation2Server (0, SHALL:populate-if-known, SHALL:persist) +* item.item insert obligation2App (1, SHALL:populate-if-known, SHALL:process) + + +Profile: SmartHealthChecksHeartRhythm +Parent: Observation +Id: SHCHeartRhythm +Title: "Smart Health Checks Heart Rhythm" +Description: "This profile sets the minimum expectations for an Observation resource to record heart rhythm observations. It is used to represent heart rhythm data captured during a First Nations Health Check that can be used to record the observation in a clinical record." + +* . ^short = "Heart Rhythm" +* . ^definition = "Measurement of a patient's heart rhythm at a point in time." +* . ^comment = "Heart rhythm observation using a LOINC code, a SNOMED CT code and a metric UCUM unit of measure." +* obeys shc-heartrhythm-01 +* status MS +* status insert obligation2Server (1, SHALL:populate, SHALL:process) +* status insert obligation2App (2, SHALL:populate, SHALL:process) +* category MS +* category ^slicing.discriminator[0].type = #value +* category ^slicing.discriminator[=].path = "coding.code" +* category ^slicing.discriminator[+].type = #value +* category ^slicing.discriminator[=].path = "coding.system" +* category ^slicing.ordered = false +* category ^slicing.rules = #open +* category contains vitalSignsCategory 1..1 MS +* category[vitalSignsCategory].coding 1..* MS +* category[vitalSignsCategory].coding only Coding +* category[vitalSignsCategory].coding.system 1..1 MS +* category[vitalSignsCategory].coding.system only uri +* category[vitalSignsCategory].coding.system = "http://terminology.hl7.org/CodeSystem/observation-category" (exactly) +* category[vitalSignsCategory].coding.code 1..1 MS +* category[vitalSignsCategory].coding.code only code +* category[vitalSignsCategory].coding.code = #vital-signs (exactly) +/* +* category[vitalSignsCategory] = http://terminology.hl7.org/CodeSystem/observation-category#vital-signs (exactly) +* category[vitalSignsCategory] insert obligationServer (0, SHALL:process) +* category[vitalSignsCategory] insert obligationApp (1, SHALL:populate) +*/ +* code MS +* code ^short = "Heart Rhythm" +* code ^definition = "Heart Rhythm." +* code.coding MS +* code.coding ^slicing.discriminator[0].type = #value +* code.coding ^slicing.discriminator[=].path = "code" +* code.coding ^slicing.discriminator[+].type = #value +* code.coding ^slicing.discriminator[=].path = "system" +* code.coding ^slicing.ordered = false +* code.coding ^slicing.rules = #open +* code.coding contains loincHeartRhythmCode 1..1 MS and snomedHeartRhythmCode 1..1 MS +* code.coding[loincHeartRhythmCode] insert obligationServer (0, SHALL:process) +* code.coding[loincHeartRhythmCode] insert obligationApp (1, SHALL:populate) +* code.coding[loincHeartRhythmCode].system 1..1 +* code.coding[loincHeartRhythmCode].system = "http://loinc.org" (exactly) +* code.coding[loincHeartRhythmCode].code 1..1 +* code.coding[loincHeartRhythmCode].code = #8884-9 (exactly) +* code.coding[snomedHeartRhythmCode] insert obligation2Server (0, SHALL:populate, SHALL:process) +* code.coding[snomedHeartRhythmCode] insert obligation2App (1, SHALL:populate, SHALL:process) +* code.coding[snomedHeartRhythmCode].system 1..1 +* code.coding[snomedHeartRhythmCode].system = "http://snomed.info/sct" (exactly) +* code.coding[snomedHeartRhythmCode].code 1..1 +* code.coding[snomedHeartRhythmCode].code = #364074009 (exactly) +* code.text MS +* code.text insert obligationApp (1, SHALL:populate) +* subject 1.. MS +* subject only Reference($au-core-patient) +* subject insert obligation2Server (0, SHALL:populate, SHALL:process) +* subject insert obligationApp (1, SHALL:populate) +* effective[x] 1.. MS +* effective[x] only dateTime +* effective[x] obeys shc-heartrhythm-02 +* effective[x] ^short = "Date, and optionally time, the observation was performed" +* effective[x] ^definition = "Date, and optionally time, the observation was performed." +* effective[x] ^condition = "shc-heartrhythm-02" +* effectiveDateTime MS +* effectiveDateTime insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* effectiveDateTime insert obligation2App (1, SHALL:populate-if-known, SHALL:process) +* value[x] only CodeableConcept +* value[x] MS +* value[x] from HeartRhythm (extensible) +* value[x] ^condition = "shc-heartrhythm-01" +* valueCodeableConcept.coding MS +* valueCodeableConcept.coding insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* valueCodeableConcept.coding insert obligation2App (1, SHALL:populate, SHALL:process) +* dataAbsentReason MS +* dataAbsentReason ^condition = "shc-heartrhythm-01" + +Profile: SmartHealthChecksBloodPressure +Parent: $au-core-bloodpressure +Id: SHCBloodPressure +Title: "Smart Health Checks Blood Pressure" +Description: "This profile sets the minimum expectations for a Blood Pressure resource to record, search and save blood pressure information when used within Smart Health Checks." + +* status MS +* status insert obligation2Server (3, SHALL:populate, SHALL:process) +* status insert obligation2App (4, SHALL:populate, SHALL:process) +* category[VSCat] MS +* category[VSCat] insert obligationServer (2, SHALL:process) +* category[VSCat] insert obligationApp (3, SHALL:populate) +* code.coding[BPCode] MS +* code.coding[BPCode] insert obligation2Server (0, SHALL:populate, SHALL:process) +* code.coding[BPCode] insert obligation2App (1, SHALL:populate, SHALL:process) +* code.coding[snomedBPCode] MS +* code.coding[snomedBPCode] insert obligationServer (0, SHALL:process) +* code.coding[snomedBPCode] insert obligationApp (1, SHALL:populate) +* code.text MS +* code.text insert obligationApp (1, SHALL:populate) +* subject MS +* subject insert obligation2Server (2, SHALL:populate, SHALL:process) +* subject insert obligationApp (3, SHALL:populate) +* effectiveDateTime MS +* effectiveDateTime insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* effectiveDateTime insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* component[SystolicBP] MS +* component[SystolicBP] insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* component[SystolicBP] insert obligation2App (3, SHALL:populate, SHALL:process) +* component[DiastolicBP] MS +* component[DiastolicBP] insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* component[DiastolicBP] insert obligation2App (3, SHALL:populate-if-known, SHALL:process) + +Profile: SmartHealthChecksSmokingStatus +Parent: $au-core-smokingstatus +Id: SHCSmokingStatus +Title: "Smart Health Checks Smoking Status" +Description: "This profile sets the minimum expectations for a Smoking Status resource to record, search and save smoking status information when used within Smart Health Checks." + +* status MS +* status insert obligation2Server (3, SHALL:populate, SHALL:process) +* status insert obligation2App (4, SHALL:populate, SHALL:process) +* category[socialHistory] MS +* category[socialHistory] insert obligationServer (0, SHALL:process) +* category[socialHistory] insert obligationApp (1, SHALL:populate) +* code.coding MS +* code.coding insert obligationServer (0, SHALL:process) +* code.coding insert obligationApp (1, SHALL:populate) +* code.coding[loincSmokingStatus] MS +* code.coding[loincSmokingStatus] insert obligation2Server (0, SHALL:populate, SHALL:process) +* code.coding[loincSmokingStatus] insert obligation2App (1, SHALL:populate, SHALL:process) +* code.text MS +* code.text insert obligationApp (1, SHALL:populate) +* subject MS +* subject insert obligation2Server (2, SHALL:populate, SHALL:process) +* subject insert obligationApp (3, SHALL:populate) +* effectiveDateTime MS +* effectiveDateTime insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* effectiveDateTime insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* valueCodeableConcept.coding MS +* valueCodeableConcept.coding insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* valueCodeableConcept.coding insert obligation2App (1, SHALL:populate, SHALL:process) + +Profile: SmartHealthChecksBodyHeight +Parent: $au-core-bodyheight +Id: SHCBodyHeight +Title: "Smart Health Checks Body Height" +Description: "This profile sets the minimum expectations for a Body Height resource to record, search and save body height information when used within Smart Health Checks." + +* status MS +* status insert obligation2Server (3, SHALL:populate, SHALL:process) +* status insert obligation2App (4, SHALL:populate, SHALL:process) +* category[VSCat] MS +* category[VSCat] insert obligationServer (2, SHALL:process) +* category[VSCat] insert obligationApp (3, SHALL:populate) +* code.coding[BodyHeightCode] MS +* code.coding[BodyHeightCode] insert obligation2Server (0, SHALL:populate, SHALL:process) +* code.coding[BodyHeightCode] insert obligation2App (1, SHALL:populate, SHALL:process) +* code.coding[snomedBodyHeightCode] MS +* code.coding[snomedBodyHeightCode] insert obligationServer (0, SHALL:process) +* code.coding[snomedBodyHeightCode] insert obligationApp (1, SHALL:populate) +* code.text MS +* code.text insert obligationApp (1, SHALL:populate) +* subject MS +* subject insert obligation2Server (2, SHALL:populate, SHALL:process) +* subject insert obligationApp (3, SHALL:populate) +* effectiveDateTime MS +* effectiveDateTime insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* effectiveDateTime insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* valueQuantity.value MS +* valueQuantity.value insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* valueQuantity.value insert obligation2App (3, SHALL:populate, SHALL:process) +* valueQuantity.unit MS +* valueQuantity.unit insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* valueQuantity.unit insert obligation2App (3, SHALL:populate, SHALL:process) +* valueQuantity.system MS +* valueQuantity.system insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* valueQuantity.system insert obligation2App (3, SHALL:populate, SHALL:process) +* valueQuantity.code MS +* valueQuantity.code insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* valueQuantity.code insert obligation2App (3, SHALL:populate, SHALL:process) + +Profile: SmartHealthChecksBodyWeight +Parent: $au-core-bodyweight +Id: SHCBodyWeight +Title: "Smart Health Checks Body Weight" +Description: "This profile sets the minimum expectations for a Body Weight resource to record, search and save body weight information when used within Smart Health Checks." + +* status MS +* status insert obligation2Server (3, SHALL:populate, SHALL:process) +* status insert obligation2App (4, SHALL:populate, SHALL:process) +* category[VSCat] MS +* category[VSCat] insert obligationServer (2, SHALL:process) +* category[VSCat] insert obligationApp (3, SHALL:populate) +* code.coding[BodyWeightCode] MS +* code.coding[BodyWeightCode] insert obligation2Server (0, SHALL:populate, SHALL:process) +* code.coding[BodyWeightCode] insert obligation2App (1, SHALL:populate, SHALL:process) +* code.coding[snomedBodyWeightCode] MS +* code.coding[snomedBodyWeightCode] insert obligationServer (0, SHALL:process) +* code.coding[snomedBodyWeightCode] insert obligationApp (1, SHALL:populate) +* code.text MS +* code.text insert obligationApp (1, SHALL:populate) +* subject MS +* subject insert obligation2Server (2, SHALL:populate, SHALL:process) +* subject insert obligationApp (3, SHALL:populate) +* effectiveDateTime MS +* effectiveDateTime insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* effectiveDateTime insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* valueQuantity.value MS +* valueQuantity.value insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* valueQuantity.value insert obligation2App (3, SHALL:populate, SHALL:process) +* valueQuantity.unit MS +* valueQuantity.unit insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* valueQuantity.unit insert obligation2App (3, SHALL:populate, SHALL:process) +* valueQuantity.system MS +* valueQuantity.system insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* valueQuantity.system insert obligation2App (3, SHALL:populate, SHALL:process) +* valueQuantity.code MS +* valueQuantity.code insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* valueQuantity.code insert obligation2App (3, SHALL:populate, SHALL:process) + +Profile: SmartHealthChecksHeadCircumference +Parent: $au-core-headcircum +Id: SHCHeadCircumference +Title: "Smart Health Checks Head Circumference" +Description: "This profile sets the minimum expectations for a Head Circumference resource to record, search and save head circumference information when used within Smart Health Checks." + +* status MS +* status insert obligation2Server (1, SHALL:populate, SHALL:process) +* status insert obligation2App (2, SHALL:populate, SHALL:process) +* category[VSCat] MS +* category[VSCat] insert obligationServer (0, SHALL:process) +* category[VSCat] insert obligationApp (1, SHALL:populate) +* code.coding[HeadCircumCode] MS +* code.coding[HeadCircumCode] insert obligation2Server (0, SHALL:populate, SHALL:process) +* code.coding[HeadCircumCode] insert obligation2App (1, SHALL:populate, SHALL:process) +* code.coding[snomedHeadCircumCode] MS +* code.coding[snomedHeadCircumCode] insert obligationServer (0, SHALL:process) +* code.coding[snomedHeadCircumCode] insert obligationApp (1, SHALL:populate) +* code.text MS +* code.text insert obligationApp (1, SHALL:populate) +* subject MS +* subject insert obligation2Server (0, SHALL:populate, SHALL:process) +* subject insert obligationApp (1, SHALL:populate) +* effectiveDateTime MS +* effectiveDateTime insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* effectiveDateTime insert obligation2App (1, SHALL:populate-if-known, SHALL:process) +* valueQuantity.value MS +* valueQuantity.value insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* valueQuantity.value insert obligation2App (1, SHALL:populate, SHALL:process) +* valueQuantity.unit MS +* valueQuantity.unit insert obligation2Server (1, SHALL:populate-if-known, SHALL:process) +* valueQuantity.unit insert obligation2App (2, SHALL:populate, SHALL:process) +* valueQuantity.system MS +* valueQuantity.system insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* valueQuantity.system insert obligation2App (1, SHALL:populate, SHALL:process) +* valueQuantity.code MS +* valueQuantity.code insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* valueQuantity.code insert obligation2App (1, SHALL:populate, SHALL:process) + +Profile: SmartHealthChecksWaistCircumference +Parent: $au-core-waistcircum +Id: SHCWaistCircumference +Title: "Smart Health Checks Waist Circumference" +Description: "This profile sets the minimum expectations for a Waist Circumference resource to record, search and save waist circumference information when used within Smart Health Checks." + +* status MS +* status insert obligation2Server (3, SHALL:populate, SHALL:process) +* status insert obligation2App (4, SHALL:populate, SHALL:process) +* category[VSCat] MS +* category[VSCat] insert obligationServer (2, SHALL:process) +* category[VSCat] insert obligationApp (3, SHALL:populate) +* code.coding[loincWaistCircumCode] MS +* code.coding[loincWaistCircumCode] insert obligation2Server (0, SHALL:populate, SHALL:process) +* code.coding[loincWaistCircumCode] insert obligation2App (1, SHALL:populate, SHALL:process) +* code.coding[snomedWaistCircumCode] MS +* code.coding[snomedWaistCircumCode] insert obligationServer (0, SHALL:process) +* code.coding[snomedWaistCircumCode] insert obligationApp (1, SHALL:populate) +* code.text MS +* code.text insert obligationApp (1, SHALL:populate) +* subject MS +* subject insert obligation2Server (2, SHALL:populate, SHALL:process) +* subject insert obligationApp (3, SHALL:populate) +* effectiveDateTime MS +* effectiveDateTime insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* effectiveDateTime insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* valueQuantity.value MS +* valueQuantity.value insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* valueQuantity.value insert obligation2App (1, SHALL:populate, SHALL:process) +* valueQuantity.unit MS +* valueQuantity.unit insert obligation2Server (1, SHALL:populate-if-known, SHALL:process) +* valueQuantity.unit insert obligation2App (2, SHALL:populate, SHALL:process) +* valueQuantity.system MS +* valueQuantity.system insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* valueQuantity.system insert obligation2App (1, SHALL:populate, SHALL:process) +* valueQuantity.code MS +* valueQuantity.code insert obligation2Server (0, SHALL:populate-if-known, SHALL:process) +* valueQuantity.code insert obligation2App (1, SHALL:populate, SHALL:process) + +Profile: SmartHealthChecksHeartRate +Parent: $au-core-heartrate +Id: SHCHeartRate +Title: "Smart Health Checks Heart Rate" +Description: "This profile sets the minimum expectations for a Heart Rate resource to record, search and save heart rate information when used within Smart Health Checks." + +* status MS +* status insert obligation2Server (3, SHALL:populate, SHALL:process) +* status insert obligation2App (4, SHALL:populate, SHALL:process) +* category[VSCat] MS +* category[VSCat] insert obligationServer (2, SHALL:process) +* category[VSCat] insert obligationApp (3, SHALL:populate) +* code.coding[HeartRateCode] MS +* code.coding[HeartRateCode] insert obligation2Server (0, SHALL:populate, SHALL:process) +* code.coding[HeartRateCode] insert obligation2App (1, SHALL:populate, SHALL:process) +* code.coding[snomedHeartRateCode] MS +* code.coding[snomedHeartRateCode] insert obligationServer (0, SHALL:process) +* code.coding[snomedHeartRateCode] insert obligationApp (1, SHALL:populate) +* code.text MS +* code.text insert obligationApp (1, SHALL:populate) +* subject MS +* subject insert obligation2Server (2, SHALL:populate, SHALL:process) +* subject insert obligationApp (3, SHALL:populate) +* effectiveDateTime MS +* effectiveDateTime insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* effectiveDateTime insert obligation2App (3, SHALL:populate-if-known, SHALL:process) +* valueQuantity.value MS +* valueQuantity.value insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* valueQuantity.value insert obligation2App (3, SHALL:populate, SHALL:process) +* valueQuantity.unit MS +* valueQuantity.unit insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* valueQuantity.unit insert obligation2App (3, SHALL:populate, SHALL:process) +* valueQuantity.system MS +* valueQuantity.system insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* valueQuantity.system insert obligation2App (3, SHALL:populate, SHALL:process) +* valueQuantity.code MS +* valueQuantity.code insert obligation2Server (2, SHALL:populate-if-known, SHALL:process) +* valueQuantity.code insert obligation2App (3, SHALL:populate, SHALL:process) + +Profile: SmartHealthChecksConditionPatch +Parent: Parameters +Id: SHCConditionPatch +Title: "Smart Health Checks Condition Patch" +Description: "This profile sets the expectations for a Parameters resource when used to patch Condition resources within Smart Health Checks." + +* parameter 1.. +* parameter ^slicing.discriminator.type = #value +* parameter ^slicing.discriminator.path = "part" +* parameter ^slicing.ordered = false +* parameter ^slicing.rules = #open +* parameter contains + clinicalStatus 0..1 and + abatementDate 0..1 +* parameter[clinicalStatus] MS +* parameter[clinicalStatus] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus] insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].name ^short = "Parameters for clinicalStatus patching" +* parameter[clinicalStatus].name 1.. MS +* parameter[clinicalStatus].name insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].name insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].name = "operation" (exactly) +* parameter[clinicalStatus].part ^slicing.discriminator.type = #value +* parameter[clinicalStatus].part ^slicing.discriminator.path = "name" +* parameter[clinicalStatus].part ^slicing.ordered = false +* parameter[clinicalStatus].part ^slicing.rules = #open +* parameter[clinicalStatus].part contains + type 1..1 and + path 1..1 and + value 1..1 and + pathLabel 0..1 +* parameter[clinicalStatus].part[type] MS +* parameter[clinicalStatus].part[type] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[type] insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[type] ^short = "Patch operation to perform" +* parameter[clinicalStatus].part[type].name 1..1 MS +* parameter[clinicalStatus].part[type].name insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[type].name insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[type].name = "type" (exactly) +* parameter[clinicalStatus].part[type].value[x] 1..1 MS +* parameter[clinicalStatus].part[type].value[x] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[type].value[x] insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[type].value[x] only code +* parameter[clinicalStatus].part[type].value[x] = #replace (exactly) +* parameter[clinicalStatus].part[path] MS +* parameter[clinicalStatus].part[path] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[path] insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[path] ^short = "Where to perform the operation" +* parameter[clinicalStatus].part[path].name 1..1 MS +* parameter[clinicalStatus].part[path].name insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[path].name insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[path].name = "path" (exactly) +* parameter[clinicalStatus].part[path].value[x] 1..1 MS +* parameter[clinicalStatus].part[path].value[x] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[path].value[x] insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[path].value[x] only string +* parameter[clinicalStatus].part[path].value[x] = "Condition.clinicalStatus" (exactly) +* parameter[clinicalStatus].part[value] MS +* parameter[clinicalStatus].part[value] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[value] insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[value] ^short = "Replacement value" +* parameter[clinicalStatus].part[value].name 1..1 MS +* parameter[clinicalStatus].part[value].name insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[value].name insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[value].name = "value" (exactly) +* parameter[clinicalStatus].part[value].value[x] 1..1 MS +* parameter[clinicalStatus].part[value].value[x] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[value].value[x] insert obligationApp (1, SHALL:populate-if-known) +* parameter[clinicalStatus].part[value].value[x] only CodeableConcept +* parameter[clinicalStatus].part[value].value[x] from http://hl7.org/fhir/ValueSet/condition-clinical (required) +* parameter[clinicalStatus].part[value].value[x].coding 1..1 MS +* parameter[clinicalStatus].part[value].value[x].coding insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[value].value[x].coding insert obligationApp (1, SHALL:populate-if-known) +* parameter[clinicalStatus].part[pathLabel] MS +* parameter[clinicalStatus].part[pathLabel] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[pathLabel] insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[pathLabel] ^short = "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire." +* parameter[clinicalStatus].part[pathLabel].name 1..1 MS +* parameter[clinicalStatus].part[pathLabel].name insert obligationApp (0, SHALL:populate) +* parameter[clinicalStatus].part[pathLabel].name = "pathLabel" (exactly) +* parameter[clinicalStatus].part[pathLabel].value[x] 1..1 MS +* parameter[clinicalStatus].part[pathLabel].value[x] insert obligationApp (0, SHALL:populate) +* parameter[clinicalStatus].part[pathLabel].value[x] only string +* parameter[clinicalStatus].part[pathLabel].value[x] = "Clinical status" (exactly) +* parameter[abatementDate] MS +* parameter[abatementDate] insert obligationServer (0, SHALL:process) +* parameter[abatementDate] insert obligationApp (1, SHALL:populate) +* parameter[abatementDate].name ^short = "Parameters for abatement patching" +* parameter[abatementDate].name 1.. MS +* parameter[abatementDate].name insert obligationServer (0, SHALL:process) +* parameter[abatementDate].name insert obligationApp (1, SHALL:populate) +* parameter[abatementDate].name = "operation" (exactly) +* parameter[abatementDate].part ^slicing.discriminator.type = #value +* parameter[abatementDate].part ^slicing.discriminator.path = "name" +* parameter[abatementDate].part ^slicing.ordered = false +* parameter[abatementDate].part ^slicing.rules = #open +* parameter[abatementDate].part contains + type 1..1 and + path 1..1 and + value 1..1 and + pathLabel 0..1 +* parameter[abatementDate].part[type] MS +* parameter[abatementDate].part[type] insert obligationServer (0, SHALL:process) +* parameter[abatementDate].part[type] insert obligationApp (1, SHALL:populate) +* parameter[abatementDate].part[type] ^short = "Patch operation to perform" +* parameter[abatementDate].part[type].name 1..1 MS +* parameter[abatementDate].part[type].name insert obligationServer (0, SHALL:process) +* parameter[abatementDate].part[type].name insert obligationApp (1, SHALL:populate) +* parameter[abatementDate].part[type].name = "type" (exactly) +* parameter[abatementDate].part[type].value[x] 1..1 MS +* parameter[abatementDate].part[type].value[x] insert obligationServer (0, SHALL:process) +* parameter[abatementDate].part[type].value[x] insert obligationApp (1, SHALL:populate) +* parameter[abatementDate].part[type].value[x] only code +* parameter[abatementDate].part[type].value[x] = #replace (exactly) +* parameter[abatementDate].part[path] MS +* parameter[abatementDate].part[path] insert obligationServer (0, SHALL:process) +* parameter[abatementDate].part[path] insert obligationApp (1, SHALL:populate) +* parameter[abatementDate].part[path] ^short = "Where to perform the operation" +* parameter[abatementDate].part[path].name 1..1 MS +* parameter[abatementDate].part[path].name insert obligationServer (0, SHALL:process) +* parameter[abatementDate].part[path].name insert obligationApp (1, SHALL:populate) +* parameter[abatementDate].part[path].name = "path" (exactly) +* parameter[abatementDate].part[path].value[x] 1..1 MS +* parameter[abatementDate].part[path].value[x] insert obligationServer (0, SHALL:process) +* parameter[abatementDate].part[path].value[x] insert obligationApp (1, SHALL:populate) +* parameter[abatementDate].part[path].value[x] only string +* parameter[abatementDate].part[path].value[x] = "Condition.abatement" (exactly) +* parameter[abatementDate].part[value] MS +* parameter[abatementDate].part[value] insert obligationServer (0, SHALL:process) +* parameter[abatementDate].part[value] insert obligationApp (1, SHALL:populate) +* parameter[abatementDate].part[value] ^short = "Replacement value" +* parameter[abatementDate].part[value].name 1..1 MS +* parameter[abatementDate].part[value].name insert obligationServer (0, SHALL:process) +* parameter[abatementDate].part[value].name insert obligationApp (1, SHALL:populate) +* parameter[abatementDate].part[value].name = "value" (exactly) +* parameter[abatementDate].part[value].value[x] 1..1 MS +* parameter[abatementDate].part[value].value[x] insert obligationServer (0, SHALL:process) +* parameter[abatementDate].part[value].value[x] insert obligationApp (1, SHALL:populate-if-known) +* parameter[abatementDate].part[value].value[x] only dateTime +* parameter[abatementDate].part[pathLabel] MS +* parameter[abatementDate].part[pathLabel] insert obligationServer (0, SHALL:process) +* parameter[abatementDate].part[pathLabel] insert obligationApp (1, SHALL:populate) +* parameter[abatementDate].part[pathLabel] ^short = "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire." +* parameter[abatementDate].part[pathLabel].name 1..1 MS +* parameter[abatementDate].part[pathLabel].name insert obligationApp (0, SHALL:populate) +* parameter[abatementDate].part[pathLabel].name = "pathLabel" (exactly) +* parameter[abatementDate].part[pathLabel].value[x] 1..1 MS +* parameter[abatementDate].part[pathLabel].value[x] insert obligationApp (0, SHALL:populate) +* parameter[abatementDate].part[pathLabel].value[x] only string +* parameter[abatementDate].part[pathLabel].value[x] = "Abatement date" (exactly) + +Profile: SmartHealthChecksAllergyIntolerancePatch +Parent: Parameters +Id: SHCAllergyIntolerancePatch +Title: "Smart Health Checks AllergyIntolerance Patch" +Description: "This profile sets the expectations for a Parameters resource when used to patch AllergyIntolerance resources within Smart Health Checks." + +* parameter 1.. +* parameter ^slicing.discriminator.type = #pattern +* parameter ^slicing.discriminator.path = "$this" +* parameter ^slicing.ordered = false +* parameter ^slicing.rules = #open +* parameter contains + clinicalStatus 0..1 and + comment 0..1 +* parameter[clinicalStatus] MS +* parameter[clinicalStatus] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus] insert obligationApp (1, SHALL:populate) +/* +* parameter[clinicalStatus].pattern[x].name = "operation" +* parameter[clinicalStatus].pattern[x].part[+].name = "type" +* parameter[clinicalStatus].pattern[x].part[=].valueCode = #replace + +* parameter[clinicalStatus].pattern[x].part[+].name = "path" +* parameter[clinicalStatus].pattern[x].part[=].valueString = "AllergyIntolerance.clinicalStatus" +* + +* parameter[clinicalStatus].pattern[x].part[path].name = "path" +* parameter[clinicalStatus].pattern[x].part[path].valueString = "AllergyIntolerance.clinicalStatus" +*/ + +* parameter[clinicalStatus].name ^short = "Parameters for clinicalStatus patching" +* parameter[clinicalStatus].name 1.. MS +* parameter[clinicalStatus].name insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].name insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].name = "operation" //(exactly) +* parameter[clinicalStatus].part ^slicing.discriminator.type = #value +* parameter[clinicalStatus].part ^slicing.discriminator.path = "name" +* parameter[clinicalStatus].part ^slicing.ordered = false +* parameter[clinicalStatus].part ^slicing.rules = #open +* parameter[clinicalStatus].part contains + type 1..1 and + path 1..1 and + value 1..1 and + pathLabel 0..1 +* parameter[clinicalStatus].part[type] MS +* parameter[clinicalStatus].part[type] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[type] insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[type] ^short = "Patch operation to perform" +* parameter[clinicalStatus].part[type].name 1..1 MS +* parameter[clinicalStatus].part[type].name insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[type].name insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[type].name = "type" //(exactly) +* parameter[clinicalStatus].part[type].value[x] 1..1 MS +* parameter[clinicalStatus].part[type].value[x] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[type].value[x] insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[type].value[x] only code +* parameter[clinicalStatus].part[type].valueCode = #replace //(exactly) +* parameter[clinicalStatus].part[path] MS +* parameter[clinicalStatus].part[path] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[path] insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[path] ^short = "Where to perform the operation" +* parameter[clinicalStatus].part[path].name 1..1 MS +* parameter[clinicalStatus].part[path].name insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[path].name insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[path].name = "path" //(exactly) +* parameter[clinicalStatus].part[path].value[x] 1..1 MS +* parameter[clinicalStatus].part[path].value[x] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[path].value[x] insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[path].value[x] only string +* parameter[clinicalStatus].part[path].valueString = "AllergyIntolerance.clinicalStatus" //(exactly) +* parameter[clinicalStatus].part[value] MS +* parameter[clinicalStatus].part[value] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[value] insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[value] ^short = "Replacement value" +* parameter[clinicalStatus].part[value].name 1..1 MS +* parameter[clinicalStatus].part[value].name insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[value].name insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[value].name = "value" //(exactly) +* parameter[clinicalStatus].part[value].value[x] 1..1 MS +* parameter[clinicalStatus].part[value].value[x] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[value].value[x] insert obligationApp (1, SHALL:populate-if-known) +* parameter[clinicalStatus].part[value].value[x] only CodeableConcept +* parameter[clinicalStatus].part[value].valueCodeableConcept from AllergyIntoleranceClinicalStatusMinimal (required) +* parameter[clinicalStatus].part[value].valueCodeableConcept.coding 1..1 MS +* parameter[clinicalStatus].part[value].valueCodeableConcept.coding insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[value].valueCodeableConcept.coding insert obligationApp (1, SHALL:populate-if-known) +* parameter[clinicalStatus].part[pathLabel] MS +* parameter[clinicalStatus].part[pathLabel] insert obligationServer (0, SHALL:process) +* parameter[clinicalStatus].part[pathLabel] insert obligationApp (1, SHALL:populate) +* parameter[clinicalStatus].part[pathLabel] ^short = "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire." +* parameter[clinicalStatus].part[pathLabel].name 1..1 MS +* parameter[clinicalStatus].part[pathLabel].name insert obligationApp (0, SHALL:populate) +* parameter[clinicalStatus].part[pathLabel].name = "pathLabel" //(exactly) +* parameter[clinicalStatus].part[pathLabel].value[x] 1..1 MS +* parameter[clinicalStatus].part[pathLabel].value[x] insert obligationApp (0, SHALL:populate) +* parameter[clinicalStatus].part[pathLabel].value[x] only string +* parameter[clinicalStatus].part[pathLabel].valueString = "Clinical status" //(exactly) +* parameter[comment] MS +* parameter[comment] insert obligationServer (0, SHALL:process) +* parameter[comment] insert obligationApp (1, SHALL:populate) + + +* parameter[comment].name ^short = "Parameters for note.text patching" +* parameter[comment].name 1.. MS +* parameter[comment].name insert obligationServer (0, SHALL:process) +* parameter[comment].name insert obligationApp (1, SHALL:populate) +* parameter[comment].name = "operation" //(exactly) +* parameter[comment].part ^slicing.discriminator.type = #value +* parameter[comment].part ^slicing.discriminator.path = "name" +* parameter[comment].part ^slicing.ordered = false +* parameter[comment].part ^slicing.rules = #open +* parameter[comment].part contains + type 1..1 and + path 1..1 and + value 1..1 and + pathLabel 0..1 +* parameter[comment].part[type] MS +* parameter[comment].part[type] insert obligationServer (0, SHALL:process) +* parameter[comment].part[type] insert obligationApp (1, SHALL:populate) +* parameter[comment].part[type] ^short = "Patch operation to perform" +* parameter[comment].part[type].name 1..1 MS +* parameter[comment].part[type].name insert obligationServer (0, SHALL:process) +* parameter[comment].part[type].name insert obligationApp (1, SHALL:populate) +* parameter[comment].part[type].name = "type" //(exactly) +* parameter[comment].part[type].value[x] 1..1 MS +* parameter[comment].part[type].value[x] insert obligationServer (0, SHALL:process) +* parameter[comment].part[type].value[x] insert obligationApp (1, SHALL:populate) +* parameter[comment].part[type].value[x] only code +* parameter[comment].part[type].value[x] = #replace //(exactly) +* parameter[comment].part[path] MS +* parameter[comment].part[path] insert obligationServer (0, SHALL:process) +* parameter[comment].part[path] insert obligationApp (1, SHALL:populate) +* parameter[comment].part[path] ^short = "Where to perform the operation" +* parameter[comment].part[path].name 1..1 MS +* parameter[comment].part[path].name insert obligationServer (0, SHALL:process) +* parameter[comment].part[path].name insert obligationApp (1, SHALL:populate) +* parameter[comment].part[path].name = "path" //(exactly) +* parameter[comment].part[path].value[x] 1..1 MS +* parameter[comment].part[path].value[x] insert obligationServer (0, SHALL:process) +* parameter[comment].part[path].value[x] insert obligationApp (1, SHALL:populate) +* parameter[comment].part[path].value[x] only string +* parameter[comment].part[path].value[x] = "AllergyIntolerance.note[0].text" //(exactly) +* parameter[comment].part[value] MS +* parameter[comment].part[value] insert obligationServer (0, SHALL:process) +* parameter[comment].part[value] insert obligationApp (1, SHALL:populate) +* parameter[comment].part[value] ^short = "Replacement value" +* parameter[comment].part[value].name 1..1 MS +* parameter[comment].part[value].name insert obligationServer (0, SHALL:process) +* parameter[comment].part[value].name insert obligationApp (1, SHALL:populate) +* parameter[comment].part[value].name = "value" //(exactly) +* parameter[comment].part[value].value[x] 1..1 MS +* parameter[comment].part[value].value[x] insert obligationServer (0, SHALL:process) +* parameter[comment].part[value].value[x] insert obligationApp (1, SHALL:populate-if-known) +* parameter[comment].part[value].value[x] only markdown +* parameter[comment].part[pathLabel] MS +* parameter[comment].part[pathLabel] insert obligationServer (0, SHALL:process) +* parameter[comment].part[pathLabel] insert obligationApp (1, SHALL:populate) +* parameter[comment].part[pathLabel] ^short = "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire." +* parameter[comment].part[pathLabel].name 1..1 MS +* parameter[comment].part[pathLabel].name insert obligationApp (0, SHALL:populate) +* parameter[comment].part[pathLabel].name = "pathLabel" //(exactly) +* parameter[comment].part[pathLabel].value[x] 1..1 MS +* parameter[comment].part[pathLabel].value[x] insert obligationApp (0, SHALL:populate) +* parameter[comment].part[pathLabel].value[x] only string +* parameter[comment].part[pathLabel].value[x] = "Comment" //(exactly) + + +Profile: SmartHealthChecksMedicationStatementPatch +Parent: Parameters +Id: SHCMedicationStatementPatch +Title: "Smart Health Checks MedicationStatement Patch" +Description: "This profile sets the expectations for a Parameters resource when used to patch MedicationStatement resources within Smart Health Checks." + +* parameter 1.. +* parameter ^slicing.discriminator.type = #value +* parameter ^slicing.discriminator.path = "part" +* parameter ^slicing.ordered = false +* parameter ^slicing.rules = #open +* parameter contains + status 0..1 and + comment 0..1 and + dosage 0..1 +* parameter[status] MS +* parameter[status] insert obligationServer (0, SHALL:process) +* parameter[status] insert obligationApp (1, SHALL:populate) +* parameter[status].name ^short = "Parameters for status patching" +* parameter[status].name 1.. MS +* parameter[status].name insert obligationServer (0, SHALL:process) +* parameter[status].name insert obligationApp (1, SHALL:populate) +* parameter[status].name = "operation" (exactly) +* parameter[status].part ^slicing.discriminator.type = #value +* parameter[status].part ^slicing.discriminator.path = "name" +* parameter[status].part ^slicing.ordered = false +* parameter[status].part ^slicing.rules = #open +* parameter[status].part contains + type 1..1 and + path 1..1 and + value 1..1 and + pathLabel 0..1 +* parameter[status].part[type] MS +* parameter[status].part[type] insert obligationServer (0, SHALL:process) +* parameter[status].part[type] insert obligationApp (1, SHALL:populate) +* parameter[status].part[type] ^short = "Patch operation to perform" +* parameter[status].part[type].name 1..1 MS +* parameter[status].part[type].name insert obligationServer (0, SHALL:process) +* parameter[status].part[type].name insert obligationApp (1, SHALL:populate) +* parameter[status].part[type].name = "type" (exactly) +* parameter[status].part[type].value[x] 1..1 MS +* parameter[status].part[type].value[x] insert obligationServer (0, SHALL:process) +* parameter[status].part[type].value[x] insert obligationApp (1, SHALL:populate) +* parameter[status].part[type].value[x] only code +* parameter[status].part[type].value[x] = #replace (exactly) +* parameter[status].part[path] MS +* parameter[status].part[path] insert obligationServer (0, SHALL:process) +* parameter[status].part[path] insert obligationApp (1, SHALL:populate) +* parameter[status].part[path] ^short = "Where to perform the operation" +* parameter[status].part[path].name 1..1 MS +* parameter[status].part[path].name insert obligationServer (0, SHALL:process) +* parameter[status].part[path].name insert obligationApp (1, SHALL:populate) +* parameter[status].part[path].name = "path" (exactly) +* parameter[status].part[path].value[x] 1..1 MS +* parameter[status].part[path].value[x] insert obligationServer (0, SHALL:process) +* parameter[status].part[path].value[x] insert obligationApp (1, SHALL:populate) +* parameter[status].part[path].value[x] only string +* parameter[status].part[path].value[x] = "MedicationStatement.status" (exactly) +* parameter[status].part[value] MS +* parameter[status].part[value] insert obligationServer (0, SHALL:process) +* parameter[status].part[value] insert obligationApp (1, SHALL:populate) +* parameter[status].part[value] ^short = "Replacement value" +* parameter[status].part[value].name 1..1 MS +* parameter[status].part[value].name insert obligationServer (0, SHALL:process) +* parameter[status].part[value].name insert obligationApp (1, SHALL:populate) +* parameter[status].part[value].name = "value" (exactly) +* parameter[status].part[value].value[x] 1..1 MS +* parameter[status].part[value].value[x] insert obligationServer (0, SHALL:process) +* parameter[status].part[value].value[x] insert obligationApp (1, SHALL:populate-if-known) +* parameter[status].part[value].value[x] only CodeableConcept +* parameter[status].part[value].value[x] from MedicationStatementStatusLimited (required) +* parameter[status].part[value].value[x].coding 1..1 MS +* parameter[status].part[value].value[x].coding insert obligationServer (0, SHALL:process) +* parameter[status].part[value].value[x].coding insert obligationApp (1, SHALL:populate-if-known) +* parameter[status].part[pathLabel] MS +* parameter[status].part[pathLabel] insert obligationServer (0, SHALL:process) +* parameter[status].part[pathLabel] insert obligationApp (1, SHALL:populate) +* parameter[status].part[pathLabel] ^short = "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire." +* parameter[status].part[pathLabel].name 1..1 MS +* parameter[status].part[pathLabel].name insert obligationApp (0, SHALL:populate) +* parameter[status].part[pathLabel].name = "pathLabel" (exactly) +* parameter[status].part[pathLabel].value[x] 1..1 MS +* parameter[status].part[pathLabel].value[x] insert obligationApp (0, SHALL:populate) +* parameter[status].part[pathLabel].value[x] only string +* parameter[status].part[pathLabel].value[x] = "Status" (exactly) +* parameter[comment] MS +* parameter[comment] insert obligationServer (0, SHALL:process) +* parameter[comment] insert obligationApp (1, SHALL:populate) +* parameter[comment].name ^short = "Parameters for note.text patching" +* parameter[comment].name 1.. MS +* parameter[comment].name insert obligationServer (0, SHALL:process) +* parameter[comment].name insert obligationApp (1, SHALL:populate) +* parameter[comment].name = "operation" (exactly) +* parameter[comment].part ^slicing.discriminator.type = #value +* parameter[comment].part ^slicing.discriminator.path = "name" +* parameter[comment].part ^slicing.ordered = false +* parameter[comment].part ^slicing.rules = #open +* parameter[comment].part contains + type 1..1 and + path 1..1 and + value 1..1 and + pathLabel 0..1 +* parameter[comment].part[type] MS +* parameter[comment].part[type] insert obligationServer (0, SHALL:process) +* parameter[comment].part[type] insert obligationApp (1, SHALL:populate) +* parameter[comment].part[type] ^short = "Patch operation to perform" +* parameter[comment].part[type].name 1..1 MS +* parameter[comment].part[type].name insert obligationServer (0, SHALL:process) +* parameter[comment].part[type].name insert obligationApp (1, SHALL:populate) +* parameter[comment].part[type].name = "type" (exactly) +* parameter[comment].part[type].value[x] 1..1 MS +* parameter[comment].part[type].value[x] insert obligationServer (0, SHALL:process) +* parameter[comment].part[type].value[x] insert obligationApp (1, SHALL:populate) +* parameter[comment].part[type].value[x] only code +* parameter[comment].part[type].value[x] = #replace (exactly) +* parameter[comment].part[path] MS +* parameter[comment].part[path] insert obligationServer (0, SHALL:process) +* parameter[comment].part[path] insert obligationApp (1, SHALL:populate) +* parameter[comment].part[path] ^short = "Where to perform the operation" +* parameter[comment].part[path].name 1..1 MS +* parameter[comment].part[path].name insert obligationServer (0, SHALL:process) +* parameter[comment].part[path].name insert obligationApp (1, SHALL:populate) +* parameter[comment].part[path].name = "path" (exactly) +* parameter[comment].part[path].value[x] 1..1 MS +* parameter[comment].part[path].value[x] insert obligationServer (0, SHALL:process) +* parameter[comment].part[path].value[x] insert obligationApp (1, SHALL:populate) +* parameter[comment].part[path].value[x] only string +* parameter[comment].part[path].value[x] = "MedicationStatement.note[0].text" (exactly) +* parameter[comment].part[value] MS +* parameter[comment].part[value] insert obligationServer (0, SHALL:process) +* parameter[comment].part[value] insert obligationApp (1, SHALL:populate) +* parameter[comment].part[value] ^short = "Replacement value" +* parameter[comment].part[value].name 1..1 MS +* parameter[comment].part[value].name insert obligationServer (0, SHALL:process) +* parameter[comment].part[value].name insert obligationApp (1, SHALL:populate) +* parameter[comment].part[value].name = "value" (exactly) +* parameter[comment].part[value].value[x] 1..1 MS +* parameter[comment].part[value].value[x] insert obligationServer (0, SHALL:process) +* parameter[comment].part[value].value[x] insert obligationApp (1, SHALL:populate-if-known) +* parameter[comment].part[value].value[x] only markdown +* parameter[comment].part[pathLabel] MS +* parameter[comment].part[pathLabel] insert obligationServer (0, SHALL:process) +* parameter[comment].part[pathLabel] insert obligationApp (1, SHALL:populate) +* parameter[comment].part[pathLabel] ^short = "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire." +* parameter[comment].part[pathLabel].name 1..1 MS +* parameter[comment].part[pathLabel].name insert obligationApp (0, SHALL:populate) +* parameter[comment].part[pathLabel].name = "pathLabel" (exactly) +* parameter[comment].part[pathLabel].value[x] 1..1 MS +* parameter[comment].part[pathLabel].value[x] insert obligationApp (0, SHALL:populate) +* parameter[comment].part[pathLabel].value[x] only string +* parameter[comment].part[pathLabel].value[x] = "Comment" (exactly) +* parameter[dosage] MS +* parameter[dosage] insert obligationServer (0, SHALL:process) +* parameter[dosage] insert obligationApp (1, SHALL:populate) +* parameter[dosage].name ^short = "Parameters for dosage.text patching" +* parameter[dosage].name 1.. MS +* parameter[dosage].name insert obligationServer (0, SHALL:process) +* parameter[dosage].name insert obligationApp (1, SHALL:populate) +* parameter[dosage].name = "operation" (exactly) +* parameter[dosage].part ^slicing.discriminator.type = #value +* parameter[dosage].part ^slicing.discriminator.path = "name" +* parameter[dosage].part ^slicing.ordered = false +* parameter[dosage].part ^slicing.rules = #open +* parameter[dosage].part contains + type 1..1 and + path 1..1 and + value 1..1 and + pathLabel 0..1 +* parameter[dosage].part[type] MS +* parameter[dosage].part[type] insert obligationServer (0, SHALL:process) +* parameter[dosage].part[type] insert obligationApp (1, SHALL:populate) +* parameter[dosage].part[type] ^short = "Patch operation to perform" +* parameter[dosage].part[type].name 1..1 MS +* parameter[dosage].part[type].name insert obligationServer (0, SHALL:process) +* parameter[dosage].part[type].name insert obligationApp (1, SHALL:populate) +* parameter[dosage].part[type].name = "type" (exactly) +* parameter[dosage].part[type].value[x] 1..1 MS +* parameter[dosage].part[type].value[x] insert obligationServer (0, SHALL:process) +* parameter[dosage].part[type].value[x] insert obligationApp (1, SHALL:populate) +* parameter[dosage].part[type].value[x] only code +* parameter[dosage].part[type].value[x] = #replace (exactly) +* parameter[dosage].part[path] MS +* parameter[dosage].part[path] insert obligationServer (0, SHALL:process) +* parameter[dosage].part[path] insert obligationApp (1, SHALL:populate) +* parameter[dosage].part[path] ^short = "Where to perform the operation" +* parameter[dosage].part[path].name 1..1 MS +* parameter[dosage].part[path].name insert obligationServer (0, SHALL:process) +* parameter[dosage].part[path].name insert obligationApp (1, SHALL:populate) +* parameter[dosage].part[path].name = "path" (exactly) +* parameter[dosage].part[path].value[x] 1..1 MS +* parameter[dosage].part[path].value[x] insert obligationServer (0, SHALL:process) +* parameter[dosage].part[path].value[x] insert obligationApp (1, SHALL:populate) +* parameter[dosage].part[path].value[x] only string +* parameter[dosage].part[path].value[x] = "MedicationStatement.dosage[0].text" (exactly) +* parameter[dosage].part[value] MS +* parameter[dosage].part[value] insert obligationServer (0, SHALL:process) +* parameter[dosage].part[value] insert obligationApp (1, SHALL:populate) +* parameter[dosage].part[value] ^short = "Replacement value" +* parameter[dosage].part[value].name 1..1 MS +* parameter[dosage].part[value].name insert obligationServer (0, SHALL:process) +* parameter[dosage].part[value].name insert obligationApp (1, SHALL:populate) +* parameter[dosage].part[value].name = "value" (exactly) +* parameter[dosage].part[value].value[x] 1..1 MS +* parameter[dosage].part[value].value[x] insert obligationServer (0, SHALL:process) +* parameter[dosage].part[value].value[x] insert obligationApp (1, SHALL:populate-if-known) +* parameter[dosage].part[value].value[x] only string +* parameter[dosage].part[pathLabel] MS +* parameter[dosage].part[pathLabel] insert obligationServer (0, SHALL:process) +* parameter[dosage].part[pathLabel] insert obligationApp (1, SHALL:populate) +* parameter[dosage].part[pathLabel] ^short = "Human readable representation of the path. Typically this is the relevant item text from the Questionnaire." +* parameter[dosage].part[pathLabel].name 1..1 MS +* parameter[dosage].part[pathLabel].name insert obligationApp (0, SHALL:populate) +* parameter[dosage].part[pathLabel].name = "pathLabel" (exactly) +* parameter[dosage].part[pathLabel].value[x] 1..1 MS +* parameter[dosage].part[pathLabel].value[x] insert obligationApp (0, SHALL:populate) +* parameter[dosage].part[pathLabel].value[x] only string +* parameter[dosage].part[pathLabel].value[x] = "Dosage" (exactly) + +Profile: SmartHealthChecksExtractBundle +Parent: Bundle +Id: SHCExtractBundle +Title: "Smart Health Checks Extract Bundle" +Description: "This profile sets the expectations for a Bundle resource when used to represent a transaction bundle of resources extracted by the SHC App following the completion of a Smart Health Checks Questionnaire. This bundle is used to write patient information to the SHC Host FHIR server." + +* type MS +* type insert obligationServer (0, SHALL:process) +* type insert obligationApp (1, SHALL:populate) +* type = #transaction (exactly) +* timestamp 1.. MS +* timestamp insert obligationServer (0, SHALL:process) +* timestamp insert obligationApp (1, SHALL:populate) +* entry 1.. +* entry ^slicing.discriminator.type = #value +* entry ^slicing.discriminator.path = "request.method" +* entry ^slicing.ordered = false +* entry ^slicing.rules = #open +* entry contains + post 0..* and + patch 0..* +* entry[post] MS +* entry[post] insert obligationServer (0, SHALL:process) +* entry[post] insert obligationApp (1, SHALL:populate) +* entry[post] ^short = "Entries for creating new resources" +* entry[post].fullUrl 1.. MS +* entry[post].fullUrl insert obligationServer (0, SHALL:process) +* entry[post].fullUrl insert obligationApp (1, SHALL:populate) +* entry[post].resource 1.. MS +* entry[post].resource insert obligationServer (0, SHALL:persist) +* entry[post].resource insert obligationApp (1, SHALL:populate) +* entry[post].resource only + SHCAllergyIntolerance or + SHCCondition or + SHCImmunization or + SHCMedicationStatement or + SHCBloodPressure or + SHCBodyHeight or + SHCBodyWeight or + SHCHeartRate or + SHCHeartRhythm or + SHCSmokingStatus or + SHCWaistCircumference or + SHCHeadCircumference +* entry[post].request 1.. MS +* entry[post].request insert obligationServer (0, SHALL:process) +* entry[post].request insert obligationApp (1, SHALL:populate) +* entry[post].request.method MS +* entry[post].request.method insert obligationServer (0, SHALL:process) +* entry[post].request.method insert obligationApp (1, SHALL:populate) +* entry[post].request.method = #POST (exactly) +* entry[post].request.url MS +* entry[post].request.url insert obligationServer (0, SHALL:process) +* entry[post].request.url insert obligationApp (1, SHALL:populate) +* entry[patch] MS +* entry[patch] insert obligationServer (0, SHALL:process) +* entry[patch] insert obligationApp (1, SHALL:populate) +* entry[patch] ^short = "Entries for patching existing resources" +* entry[patch].fullUrl 1.. MS +* entry[patch].fullUrl insert obligationServer (0, SHALL:process) +* entry[patch].fullUrl insert obligationApp (1, SHALL:populate) +* entry[patch].resource 1.. MS +* entry[patch].resource insert obligationServer (0, SHALL:process) +* entry[patch].resource insert obligationApp (1, SHALL:populate) +* entry[patch].resource only + SHCAllergyIntolerancePatch or + SHCConditionPatch or + SHCMedicationStatementPatch +* entry[patch].request 1.. MS +* entry[patch].request insert obligationServer (0, SHALL:process) +* entry[patch].request insert obligationApp (1, SHALL:populate) +* entry[patch].request.method MS +* entry[patch].request.method insert obligationServer (0, SHALL:process) +* entry[patch].request.method insert obligationApp (1, SHALL:populate) +* entry[patch].request.method = #PATCH (exactly) +* entry[patch].request.url MS +* entry[patch].request.url insert obligationServer (0, SHALL:process) +* entry[patch].request.url insert obligationApp (1, SHALL:populate) + + + + diff --git a/input/fsh/terminology.fsh b/input/fsh/terminology.fsh index 3de8254c..9d69a968 100644 --- a/input/fsh/terminology.fsh +++ b/input/fsh/terminology.fsh @@ -11,38 +11,39 @@ Description: "The Questionnaire Item Control Extension code system defines conce * ^experimental = false * ^caseSensitive = true -* #context-display "context-display" "An display item rendered adjacent (horizontally or vertically) to the text of the parent item." +* #context-display "context-display" "Display item is rendered adjacent (horizontally or vertically) to the text of the parent item." ValueSet: YesNoNotAskedDeclined Id: YesNoNotAskedDeclined Title: "Yes/No/Not Asked/Asked But Declined" Description: "Concepts for Yes, No, Not Asked and Asked But Declined" * ^experimental = false -* ^expansion.identifier = "urn:uuid:8eda7c3c-cc35-49fa-ac6c-c0e4f0a4e203" -* ^expansion.timestamp = "2023-09-01T11:17:57+10:00" +* ^expansion.identifier = "urn:uuid:20552db7-8def-4e55-a0d2-cb446651929c" +* ^expansion.timestamp = "2025-05-01T10:00:51+10:00" * ^expansion.total = 4 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" +* ^expansion.offset = 0 +* ^expansion.parameter[0].name = "displayLanguage" +* ^expansion.parameter[=].valueCode = #en-US +* ^expansion.parameter[+].name = "count" +* ^expansion.parameter[=].valueInteger = 1000 +* ^expansion.parameter[+].name = "offset" +* ^expansion.parameter[=].valueInteger = 0 +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false * ^expansion.parameter[+].name = "used-codesystem" -* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" -* ^expansion.parameter[+].name = "version" * ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" * ^expansion.parameter[+].name = "used-codesystem" -* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" +* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" * ^expansion.contains[0].system = "http://terminology.hl7.org/CodeSystem/v2-0532" -* ^expansion.contains[=].version = "2.1.0" * ^expansion.contains[=].code = #Y * ^expansion.contains[=].display = "Yes" * ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/v2-0532" -* ^expansion.contains[=].version = "2.1.0" * ^expansion.contains[=].code = #N * ^expansion.contains[=].display = "No" * ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/v2-0532" -* ^expansion.contains[=].version = "2.1.0" * ^expansion.contains[=].code = #NASK * ^expansion.contains[=].display = "Not Asked" * ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/data-absent-reason" -* ^expansion.contains[=].version = "5.0.0-ballot" * ^expansion.contains[=].code = #asked-declined * ^expansion.contains[=].display = "Asked But Declined" * $v2-0532#Y "Yes" @@ -55,11 +56,19 @@ Id: YesNoNA Title: "Yes/No/NA" Description: "Concepts for Yes, No and Not applicable" * ^experimental = false -* ^expansion.identifier = "urn:uuid:5baa5444-e553-4412-a08c-9ce93d3271e0" -* ^expansion.timestamp = "2023-09-01T11:16:50+10:00" + +* ^expansion.identifier = "urn:uuid:7fce8cc7-b936-4258-921d-923629b04439" +* ^expansion.timestamp = "2025-05-01T10:00:47+10:00" * ^expansion.total = 3 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" +* ^expansion.offset = 0 +* ^expansion.parameter[0].name = "displayLanguage" +* ^expansion.parameter[=].valueCode = #en-US +* ^expansion.parameter[+].name = "count" +* ^expansion.parameter[=].valueInteger = 1000 +* ^expansion.parameter[+].name = "offset" +* ^expansion.parameter[=].valueInteger = 0 +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false * ^expansion.parameter[+].name = "used-codesystem" * ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" * ^expansion.contains[0].system = "http://terminology.hl7.org/CodeSystem/v2-0532" @@ -81,11 +90,19 @@ Id: YesNo Title: "Yes/No" Description: "Concepts for Yes and No" * ^experimental = false -* ^expansion.identifier = "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91" -* ^expansion.timestamp = "2023-09-01T11:15:01+10:00" + +* ^expansion.identifier = "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7" +* ^expansion.timestamp = "2025-05-01T10:00:50+10:00" * ^expansion.total = 2 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" +* ^expansion.offset = 0 +* ^expansion.parameter[0].name = "displayLanguage" +* ^expansion.parameter[=].valueCode = #en-US +* ^expansion.parameter[+].name = "count" +* ^expansion.parameter[=].valueInteger = 1000 +* ^expansion.parameter[+].name = "offset" +* ^expansion.parameter[=].valueInteger = 0 +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false * ^expansion.parameter[+].name = "used-codesystem" * ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" * ^expansion.contains[0].system = "http://terminology.hl7.org/CodeSystem/v2-0532" @@ -104,25 +121,30 @@ Id: AboriginalTorresStraitIslander Title: "Aboriginal and/or Torres Strait Islander" Description: "The Aboriginal and/or Torres Strait Islander value set includes the Australian Indigenous statuses for Indigenous people." * ^experimental = false -* ^expansion.identifier = "e2b013bd-1725-4299-a7a5-53635d42f1be" -* ^expansion.timestamp = "2022-10-20T11:38:45+10:00" + +* ^expansion.identifier = "urn:uuid:eb422e76-71e8-48b0-a191-73285ddb91cc" +* ^expansion.timestamp = "2025-05-01T10:00:56+10:00" * ^expansion.total = 3 * ^expansion.offset = 0 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.3" +* ^expansion.parameter[0].name = "displayLanguage" +* ^expansion.parameter[=].valueCode = #en-US * ^expansion.parameter[+].name = "count" -* ^expansion.parameter[=].valueInteger = 2147483647 +* ^expansion.parameter[=].valueInteger = 1000 * ^expansion.parameter[+].name = "offset" * ^expansion.parameter[=].valueInteger = 0 +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false +* ^expansion.parameter[+].name = "used-codesystem" +* ^expansion.parameter[=].valueUri = "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.3" * ^expansion.contains[0].system = "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1" * ^expansion.contains[=].code = #1 -* ^expansion.contains[=].display = "Aboriginal but not Torres Strait Islander origin" +* ^expansion.contains[=].display = "Aboriginal" * ^expansion.contains[+].system = "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1" * ^expansion.contains[=].code = #2 -* ^expansion.contains[=].display = "Torres Strait Islander but not Aboriginal origin" +* ^expansion.contains[=].display = "Torres Strait Islander" * ^expansion.contains[+].system = "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1" * ^expansion.contains[=].code = #3 -* ^expansion.contains[=].display = "Both Aboriginal and Torres Strait Islander origin" +* ^expansion.contains[=].display = "Aboriginal and Torres Strait Islander" * $australian-indigenous-status-1#1 "Aboriginal" * $australian-indigenous-status-1#2 "Torres Strait Islander" * $australian-indigenous-status-1#3 "Aboriginal and Torres Strait Islander" @@ -135,32 +157,33 @@ Id: PrimaryCarerParentGrandparent Title: "Primary Carer Of Parent Or Grandparent" Description: "The Primary Carer Of Parent Or Grandparent value set includes values that can indicate whether a primary carer is one of the parents or a grandparent." * ^experimental = false -* ^expansion.identifier = "2809c2fa-28ec-4def-9b16-93a611d29da3" -* ^expansion.timestamp = "2022-10-20T11:42:30+10:00" + +* ^expansion.identifier = "urn:uuid:f8e7efc2-94d6-403e-9e40-3a3a4e9fffb4" +* ^expansion.timestamp = "2025-05-01T10:00:56+10:00" * ^expansion.total = 4 * ^expansion.offset = 0 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/v3-RoleCode|2018-08-12" -* ^expansion.parameter[+].name = "version" -* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|2018-08-12" +* ^expansion.parameter[0].name = "displayLanguage" +* ^expansion.parameter[=].valueCode = #en-US * ^expansion.parameter[+].name = "count" -* ^expansion.parameter[=].valueInteger = 2147483647 +* ^expansion.parameter[=].valueInteger = 1000 * ^expansion.parameter[+].name = "offset" * ^expansion.parameter[=].valueInteger = 0 +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false +* ^expansion.parameter[+].name = "used-codesystem" +* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/v3-RoleCode|3.0.0" +* ^expansion.parameter[+].name = "used-codesystem" +* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|3.0.0" * ^expansion.contains[0].system = "http://terminology.hl7.org/CodeSystem/v3-RoleCode" -* ^expansion.contains[=].version = "2018-08-12" * ^expansion.contains[=].code = #MTH * ^expansion.contains[=].display = "mother" * ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/v3-RoleCode" -* ^expansion.contains[=].version = "2018-08-12" * ^expansion.contains[=].code = #FTH * ^expansion.contains[=].display = "father" * ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/v3-RoleCode" -* ^expansion.contains[=].version = "2018-08-12" * ^expansion.contains[=].code = #GRPRN * ^expansion.contains[=].display = "grandparent" * ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/v3-NullFlavor" -* ^expansion.contains[=].version = "2018-08-12" * ^expansion.contains[=].code = #NA * ^expansion.contains[=].display = "not applicable" * $v3-RoleCode#MTH @@ -168,283 +191,89 @@ Description: "The Primary Carer Of Parent Or Grandparent value set includes valu * $v3-RoleCode#GRPRN * $v3-NullFlavor#NA +ValueSet: ClinicalCondition +Id: clinical-condition-1 +Title: "Clinical Condition" +Description: "The Clinical Condition value set includes values that cover a broad range of clinical concepts to support the representation of conditions, including problems, diagnoses and disorders." -ValueSet: MedicalHistory -Id: MedicalHistory -Title: "Medical History" -Description: "The Medical History value set includes values that may be used to represent medical history, operations and hospital admissions." +* ^meta.profile[0] = "http://hl7.org/fhir/StructureDefinition/shareablevalueset" +* ^meta.profile[+] = "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" +* ^url = "https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1" +* ^identifier.system = "urn:ietf:rfc:3986" +* ^identifier.value = "urn:oid:1.2.36.1.2001.1004.201.10035" +* ^version = "1.0.2" +* ^status = #active * ^experimental = false +* ^date = "2020-05-31" +* ^publisher = "Australian Digital Health Agency" +* ^contact.telecom.system = #email +* ^contact.telecom.value = "help@digitalhealth.gov.au" +* ^copyright = "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement." +* include codes from system $SCT where concept in "32570581000036105" -* include codes from system $SCT where constraint = "^32570581000036105|Problem/Diagnosis reference set| OR ^32570141000036105|Procedure foundation reference set|" +Alias: $administrative-gender = http://hl7.org/fhir/administrative-gender -/* Agreed to replace picklists with medical history table. Commenting out for now. -ValueSet: MedicalHistoryShortListInfants -Id: MedicalHistoryShortListInfants -Title: "Medical History Short List for Infants" -Description: "The Medical History Short List for Infants value set includes values to represent conditions for use in a pick list for the MBS 715 Health Check for Infants." -* ^experimental = false -* ^expansion.identifier = "06bd5f41-3c10-4cdb-a304-b8127d72957f" -* ^expansion.timestamp = "2022-10-20T09:50:13+10:00" -* ^expansion.total = 13 -* ^expansion.offset = 0 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20220930" -* ^expansion.parameter[+].name = "count" -* ^expansion.parameter[=].valueInteger = 2147483647 -* ^expansion.parameter[+].name = "offset" -* ^expansion.parameter[=].valueInteger = 0 -* ^expansion.contains[0].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #609496007 -* ^expansion.contains[=].display = "Complication occurring during pregnancy" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #199745000 -* ^expansion.contains[=].display = "Complication occurring during labour and delivery" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #80113008 -* ^expansion.contains[=].display = "Complication of the puerperium" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #32485007 -* ^expansion.contains[=].display = "Hospital admission" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #50417007 -* ^expansion.contains[=].display = "Lower respiratory tract infection" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #49727002 -* ^expansion.contains[=].display = "Cough" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #129127001 -* ^expansion.contains[=].display = "Ear infection" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #38394007 -* ^expansion.contains[=].display = "Chronic otitis media with perforation" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #78868004 -* ^expansion.contains[=].display = "Chronic mucoid otitis media" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #247253001 -* ^expansion.contains[=].display = "Ventilation tube in tympanic membrane" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #43381005 -* ^expansion.contains[=].display = "Passive smoker" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #195528001 -* ^expansion.contains[=].display = "Acute rheumatic fever" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #312591002 -* ^expansion.contains[=].display = "Acute rheumatic heart disease" -* $SCT#609496007 // "Pregnancy complications" -* $SCT#199745000 // "Birth complications" -* $SCT#80113008 // "Problems after birth" //Complication of the puerperium -* $SCT#32485007 // "Hospital admissions" //valid medical history concept but maybe need to create a H/O Hospital admission concept if wanting a specific finding. No others are H/O -// following don't match form -* $SCT#50417007 // "Lower respiratory tract infection" -* $SCT#49727002 // "Cough" -* $SCT#129127001 // "Ear infection" -* $SCT#38394007 // "Chronic otitis media with perforation" -* $SCT#78868004 // "Chronic mucoid otitis media" -* $SCT#247253001 // "Ventilation tube in tympanic membrane" -* $SCT#43381005 // "Passive smoker" -* $SCT#195528001 // "Acute rheumatic fever" -* $SCT#312591002 // "Acute rheumatic heart disease" - -ValueSet: MedicalHistoryShortListPrimarySchool -Id: MedicalHistoryShortListPrimarySchool -Title: "Medical History Short List for Primary School Children" -Description: "The Medical History Short List for Primary School Children value set includes values to represent conditions for use in a pick list for the MBS 715 Health Check for Primary School Children." -* ^experimental = false -* ^expansion.identifier = "455f4b6f-5083-4f56-8995-5ec798e47cc4" -* ^expansion.timestamp = "2022-10-20T09:54:05+10:00" -* ^expansion.total = 11 -* ^expansion.offset = 0 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20220930" -* ^expansion.parameter[+].name = "count" -* ^expansion.parameter[=].valueInteger = 2147483647 -* ^expansion.parameter[+].name = "offset" -* ^expansion.parameter[=].valueInteger = 0 -* ^expansion.contains[0].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #50417007 -* ^expansion.contains[=].display = "Lower respiratory tract infection" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #49727002 -* ^expansion.contains[=].display = "Cough" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #129127001 -* ^expansion.contains[=].display = "Ear infection" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #38394007 -* ^expansion.contains[=].display = "Chronic otitis media with perforation" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #78868004 -* ^expansion.contains[=].display = "Chronic mucoid otitis media" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #247253001 -* ^expansion.contains[=].display = "Ventilation tube in tympanic membrane" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #129823000 -* ^expansion.contains[=].display = "Childhood growth AND/OR development alteration" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #195528001 -* ^expansion.contains[=].display = "Acute rheumatic fever" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #312591002 -* ^expansion.contains[=].display = "Acute rheumatic heart disease" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #43381005 -* ^expansion.contains[=].display = "Passive smoker" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #32485007 -* ^expansion.contains[=].display = "Hospital admission" -// following don't match form -* $SCT#50417007 // "Lower respiratory tract infection" -* $SCT#49727002 // "Cough" -* $SCT#129127001 // "Ear infection" -* $SCT#38394007 // "Chronic otitis media with perforation" -* $SCT#78868004 // "Chronic mucoid otitis media" -* $SCT#247253001 // "Ventilation tube in tympanic membrane" -* $SCT#129823000 // "Childhood growth AND/OR development alteration" -* $SCT#195528001 // "Acute rheumatic fever" -* $SCT#312591002 // "Acute rheumatic heart disease" -* $SCT#43381005 // "Passive smoker" -* $SCT#32485007 // "Hospital admissions" //maybe need to create a H/O Hospital admission concept as it is a procedure? No others are H/O - - -ValueSet: MedicalHistoryShortListAdolescents -Id: MedicalHistoryShortListAdolescents -Title: "Medical History Short List for Adolescents" -Description: "The Medical History Short List for Adolescents value set includes values to represent conditions for use in a pick list for the MBS 715 Health Check for Adolescents." -* ^experimental = false -* ^expansion.identifier = "5b0bb9f4-1ca3-47e2-bb1d-91cad5454ce4" -* ^expansion.timestamp = "2022-10-20T09:45:56+10:00" -* ^expansion.total = 11 -* ^expansion.offset = 0 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20220930" -* ^expansion.parameter[+].name = "count" -* ^expansion.parameter[=].valueInteger = 2147483647 -* ^expansion.parameter[+].name = "offset" -* ^expansion.parameter[=].valueInteger = 0 -* ^expansion.contains[0].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #129127001 -* ^expansion.contains[=].display = "Ear infection" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #300228004 -* ^expansion.contains[=].display = "Hearing problem" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #195967001 -* ^expansion.contains[=].display = "Asthma" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #38341003 -* ^expansion.contains[=].display = "Hypertension" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #84757009 -* ^expansion.contains[=].display = "Epilepsy" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #25064002 -* ^expansion.contains[=].display = "Headache" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #37796009 -* ^expansion.contains[=].display = "Migraine" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #73211009 -* ^expansion.contains[=].display = "Diabetes mellitus" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #23685000 -* ^expansion.contains[=].display = "Rheumatic heart disease" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #90708001 -* ^expansion.contains[=].display = "Kidney disease" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #413307004 -* ^expansion.contains[=].display = "Mental health problem" -* $SCT#129127001 // "Ear infections" -* $SCT#300228004 // "Hearing problems" -* $SCT#195967001 // "Asthma" -* $SCT#38341003 // "High blood pressure" -* $SCT#84757009 // "Epilepsy" -* $SCT#25064002 // "Headaches" -* $SCT#37796009 // "Migraines" -* $SCT#73211009 // "Diabetes mellitus" -* $SCT#23685000 // "Rheumatic heart disease" -* $SCT#90708001 // "Kidney disease" -* $SCT#413307004 // "Mental health" - - -ValueSet: MedicalHistoryShortListAdultsAndOlderPeople -Id: MedicalHistoryShortListAdultsAndOlderPeople -Title: "Medical History Short List for Adults and Older People" -Description: "The Medical History Short List for Adults and Older People value set includes values to represent conditions for use in a pick list for the MBS 715 Health Check for Adults and Older People." +ValueSet: AdministrativeGender +Id: administrative-gender +Title: "AdministrativeGender" +Description: "The gender of a person used for administrative purposes." + +* ^url = "http://hl7.org/fhir/ValueSet/administrative-gender" +* ^contact.telecom[0].system = #url +* ^contact.telecom[=].value = "http://hl7.org/fhir" +* ^contact.telecom[+].system = #email +* ^contact.telecom[=].value = "fhir@lists.hl7.org" +* ^copyright = "Copyright © 2011+ HL7. Licensed under Creative Commons \"No Rights Reserved\"." +* ^date = "2019-11-01T09:29:23+11:00" * ^experimental = false -* ^expansion.identifier = "1998291e-ed8a-49f2-ac11-9e6056efd7f3" -* ^expansion.timestamp = "2022-10-20T09:48:19+10:00" -* ^expansion.total = 13 +* ^extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" +* ^extension[=].valueCode = #pa +* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" +* ^extension[=].valueCode = #normative +* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" +* ^extension[=].valueInteger = 5 +* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" +* ^extension[=].valueCode = #4.0.0 +* ^identifier.system = "urn:ietf:rfc:3986" +* ^identifier.value = "urn:oid:2.16.840.1.113883.4.642.3.1" +* ^immutable = true +* ^meta.profile = "http://hl7.org/fhir/StructureDefinition/shareablevalueset" +* ^publisher = "HL7 (FHIR Project)" +* ^status = #active +* ^version = "4.0.1" + +* ^expansion.identifier = "urn:uuid:31c9098a-778c-4de6-9c2b-4f1e2db26179" +* ^expansion.timestamp = "2025-05-01T10:00:55+10:00" +* ^expansion.total = 4 * ^expansion.offset = 0 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20220930" +* ^expansion.parameter[0].name = "displayLanguage" +* ^expansion.parameter[=].valueCode = #en-US * ^expansion.parameter[+].name = "count" -* ^expansion.parameter[=].valueInteger = 2147483647 +* ^expansion.parameter[=].valueInteger = 1000 * ^expansion.parameter[+].name = "offset" * ^expansion.parameter[=].valueInteger = 0 -* ^expansion.contains[0].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #44054006 -* ^expansion.contains[=].display = "Type 2 diabetes mellitus" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #38341003 -* ^expansion.contains[=].display = "Hypertension" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #22298006 -* ^expansion.contains[=].display = "Myocardial infarction" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #230690007 -* ^expansion.contains[=].display = "Stroke" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #90708001 -* ^expansion.contains[=].display = "Kidney disease" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #15188001 -* ^expansion.contains[=].display = "Hearing loss" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #84757009 -* ^expansion.contains[=].display = "Epilepsy" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #195967001 -* ^expansion.contains[=].display = "Asthma" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #13645005 -* ^expansion.contains[=].display = "COPD" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #23685000 -* ^expansion.contains[=].display = "Rheumatic heart disease" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #66071002 -* ^expansion.contains[=].display = "Hepatitis B" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #82271004 -* ^expansion.contains[=].display = "Head injury" -* ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].code = #413307004 -* ^expansion.contains[=].display = "Mental health problem" -* $SCT#44054006 // "Diabetes mellitus" -* $SCT#38341003 // "Hypertension" -* $SCT#22298006 // "Myocardial infarction" -* $SCT#230690007 // "Stroke" -* $SCT#90708001 // "Kidney disease" -* $SCT#15188001 // "Hearing impairment" -* $SCT#84757009 // "Epilepsy" -* $SCT#195967001 // "Asthma" -* $SCT#13645005 // "COPD" -* $SCT#23685000 // "Rheumatic heart disease" -* $SCT#66071002 // "HBV" -* $SCT#82271004 // "Significant head trauma" // the concept id is "Head inujury", which is more broad in meaning -* $SCT#413307004 // "Mental health" -*/ - +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false +* ^expansion.parameter[+].name = "used-codesystem" +* ^expansion.parameter[=].valueUri = "http://hl7.org/fhir/administrative-gender|4.0.1" +* ^expansion.contains[0].system = "http://hl7.org/fhir/administrative-gender" +* ^expansion.contains[=].code = #male +* ^expansion.contains[=].display = "Male" +* ^expansion.contains[+].system = "http://hl7.org/fhir/administrative-gender" +* ^expansion.contains[=].code = #female +* ^expansion.contains[=].display = "Female" +* ^expansion.contains[+].system = "http://hl7.org/fhir/administrative-gender" +* ^expansion.contains[=].code = #other +* ^expansion.contains[=].display = "Other" +* ^expansion.contains[+].system = "http://hl7.org/fhir/administrative-gender" +* ^expansion.contains[=].code = #unknown +* ^expansion.contains[=].display = "Unknown" +* include codes from system $administrative-gender ValueSet: ConditionClinicalStatusCodes Id: condition-clinical Title: "Condition Clinical Status Codes" Description: "Preferred value set for Condition Clinical Status." -* ^meta.profile = "http://hl7.org/fhir/StructureDefinition/shareablevalueset" * ^extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" * ^extension[=].valueCode = #pc * ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" @@ -454,43 +283,51 @@ Description: "Preferred value set for Condition Clinical Status." * ^url = "http://hl7.org/fhir/ValueSet/condition-clinical" * ^identifier.system = "urn:ietf:rfc:3986" * ^identifier.value = "urn:oid:2.16.840.1.113883.4.642.3.164" -* ^version = "4.3.0" +* ^version = "4.0.1" * ^status = #draft * ^experimental = false * ^publisher = "FHIR Project team" * ^contact.telecom.system = #url * ^contact.telecom.value = "http://hl7.org/fhir" -* ^copyright = "Copyright © 2011+ HL7. Creative Commons 'No Rights Reserved' (CC0)" -* ^expansion.identifier = "5d4bed14-061a-42c4-853d-e6a624c4f483" -* ^expansion.timestamp = "2022-10-20T09:32:48+10:00" -* ^expansion.total = 6 +* ^copyright = "Copyright © 2011+ HL7. Licensed under Creative Commons \"No Rights Reserved\"." +* ^date = "2019-11-01T09:29:23+11:00" + +* ^expansion.identifier = "urn:uuid:7b100d21-fde9-4fd8-bded-80f345db777d" +* ^expansion.timestamp = "2025-05-01T10:00:56+10:00" +* ^expansion.total = 7 * ^expansion.offset = 0 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/condition-clinical|4.0.1" +* ^expansion.parameter[0].name = "displayLanguage" +* ^expansion.parameter[=].valueCode = #en-US * ^expansion.parameter[+].name = "count" -* ^expansion.parameter[=].valueInteger = 2147483647 +* ^expansion.parameter[=].valueInteger = 1000 * ^expansion.parameter[+].name = "offset" * ^expansion.parameter[=].valueInteger = 0 +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false +* ^expansion.parameter[+].name = "used-codesystem" +* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/condition-clinical|3.0.0" * ^expansion.contains[0].system = "http://terminology.hl7.org/CodeSystem/condition-clinical" * ^expansion.contains[=].code = #active * ^expansion.contains[=].display = "Active" +* ^expansion.contains[=].contains[0].system = "http://terminology.hl7.org/CodeSystem/condition-clinical" +* ^expansion.contains[=].contains[=].code = #recurrence +* ^expansion.contains[=].contains[=].display = "Recurrence" +* ^expansion.contains[=].contains[+].system = "http://terminology.hl7.org/CodeSystem/condition-clinical" +* ^expansion.contains[=].contains[=].code = #relapse +* ^expansion.contains[=].contains[=].display = "Relapse" * ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/condition-clinical" * ^expansion.contains[=].code = #inactive * ^expansion.contains[=].display = "Inactive" +* ^expansion.contains[=].contains[0].system = "http://terminology.hl7.org/CodeSystem/condition-clinical" +* ^expansion.contains[=].contains[=].code = #remission +* ^expansion.contains[=].contains[=].display = "Remission" +* ^expansion.contains[=].contains[+].system = "http://terminology.hl7.org/CodeSystem/condition-clinical" +* ^expansion.contains[=].contains[=].code = #resolved +* ^expansion.contains[=].contains[=].display = "Resolved" * ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/condition-clinical" -* ^expansion.contains[=].code = #recurrence -* ^expansion.contains[=].display = "Recurrence" -* ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/condition-clinical" -* ^expansion.contains[=].code = #relapse -* ^expansion.contains[=].display = "Relapse" -* ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/condition-clinical" -* ^expansion.contains[=].code = #remission -* ^expansion.contains[=].display = "Remission" -* ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/condition-clinical" -* ^expansion.contains[=].code = #resolved -* ^expansion.contains[=].display = "Resolved" -* include codes from system ConditionClinicalStatusCodes - +* ^expansion.contains[=].code = #unknown +* ^expansion.contains[=].display = "Unknown" +* include codes from system http://terminology.hl7.org/CodeSystem/condition-clinical Alias: $australian-states-territories-1 = https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1 @@ -511,16 +348,21 @@ Description: "The Australian States and Territories value set includes values th * ^contact.telecom.system = #email * ^contact.telecom.value = "help@digitalhealth.gov.au" * ^copyright = "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement." -* ^expansion.identifier = "e9439195-c1d8-4069-a349-98c1d552a351" -* ^expansion.timestamp = "2023-06-20T04:20:58+00:00" + +* ^expansion.identifier = "urn:uuid:148e9412-a321-4a6f-b911-7e7908be82af" +* ^expansion.timestamp = "2025-05-01T10:00:57+10:00" * ^expansion.total = 9 * ^expansion.offset = 0 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1|1.1.3" +* ^expansion.parameter[0].name = "displayLanguage" +* ^expansion.parameter[=].valueCode = #en-US * ^expansion.parameter[+].name = "count" -* ^expansion.parameter[=].valueInteger = 2147483647 +* ^expansion.parameter[=].valueInteger = 1000 * ^expansion.parameter[+].name = "offset" * ^expansion.parameter[=].valueInteger = 0 +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false +* ^expansion.parameter[+].name = "used-codesystem" +* ^expansion.parameter[=].valueUri = "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1|1.1.3" * ^expansion.contains[0].system = "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1" * ^expansion.contains[=].code = #ACT * ^expansion.contains[=].display = "Australian Capital Territory" @@ -562,86 +404,99 @@ Description: "The Australian States and Territories value set includes values th ValueSet: GenderIdentityResponse Id: gender-identity-response-1 Title: "Gender Identity Response" -Description: "The Gender Identity Response value set includes values that may be used to represent a response for an individual’s gender. A person's gender is a social and cultural identity, expression and experience." -* ^meta.profile[0] = "http://hl7.org/fhir/StructureDefinition/shareablevalueset" -* ^meta.profile[+] = "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" +Description: "The Gender Identity Response value set includes values that may be used to represent a response for an individual's gender. A person's gender is a social and cultural identity, expression and experience." * ^url = "https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1" * ^identifier.system = "urn:ietf:rfc:3986" * ^identifier.value = "urn:oid:1.2.36.1.2001.1004.201.10271" -* ^version = "1.0.0" +* ^version = "1.1.0" * ^status = #active * ^experimental = false -* ^date = "2022-09-30" +* ^date = "2024-02-29" * ^publisher = "Australian Digital Health Agency" * ^contact.telecom.system = #email * ^contact.telecom.value = "help@digitalhealth.gov.au" -* ^copyright = "Copyright © 2022 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.n\n\"This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. This resource includes material that is based on Australian Bureau of Statistics data." -* ^expansion.identifier = "urn:uuid:85c2e561-69ac-41f6-8e9e-07b3072ef48f" -* ^expansion.timestamp = "2023-08-30T10:18:47+10:00" -* ^expansion.total = 5 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" +* ^copyright = "Copyright © 2022 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.\n\n\"This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. This resource includes material that is based on Australian Bureau of Statistics data. \n\nThis resource also includes all or a portion of material from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license." + +* ^expansion.identifier = "urn:uuid:81810018-2ec2-4e42-adcc-6aab69e7750c" +* ^expansion.timestamp = "2025-05-01T10:00:58+10:00" +* ^expansion.offset = 0 +* ^expansion.parameter[0].name = "displayLanguage" +* ^expansion.parameter[=].valueCode = #en-US +* ^expansion.parameter[+].name = "count" +* ^expansion.parameter[=].valueInteger = 1000 +* ^expansion.parameter[+].name = "offset" +* ^expansion.parameter[=].valueInteger = 0 +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false +* ^expansion.parameter[+].name = "used-valueset" +* ^expansion.parameter[=].valueUri = "null" * ^expansion.parameter[+].name = "used-codesystem" -* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" +* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" * ^expansion.parameter[+].name = "version" -* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20230831" +* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" * ^expansion.parameter[+].name = "used-codesystem" -* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20230831" +* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" * ^expansion.contains[0].system = "http://snomed.info/sct" -* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20230831" * ^expansion.contains[=].code = #446151000124109 * ^expansion.contains[=].display = "Identifies as male gender" * ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20230831" * ^expansion.contains[=].code = #446141000124107 * ^expansion.contains[=].display = "Identifies as female gender" * ^expansion.contains[+].system = "http://snomed.info/sct" -* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20230831" * ^expansion.contains[=].code = #33791000087105 * ^expansion.contains[=].display = "Identifies as nonbinary gender" * ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/data-absent-reason" -* ^expansion.contains[=].version = "5.0.0-ballot" * ^expansion.contains[=].code = #unknown * ^expansion.contains[=].display = "Unknown" * ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/data-absent-reason" -* ^expansion.contains[=].version = "5.0.0-ballot" * ^expansion.contains[=].code = #asked-declined * ^expansion.contains[=].display = "Asked But Declined" +* ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/data-absent-reason" +* ^expansion.contains[=].code = #not-asked +* ^expansion.contains[=].display = "Not Asked" * $SCT#446151000124109 * $SCT#446141000124107 * $SCT#33791000087105 * DataAbsentReason#unknown * DataAbsentReason#asked-declined +* DataAbsentReason#not-asked -ValueSet: PersonalPronouns -Id: pronouns -Title: "Personal Pronouns" -Description: "Codes that indicate the pronouns to be used when communicating with or about an individual." -* ^meta.profile = "http://hl7.org/fhir/StructureDefinition/shareablevalueset" -* ^extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" -* ^extension[=].valueCode = #pa -* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" -* ^extension[=].valueCode = #trial-use -* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" -* ^extension[=].valueInteger = 1 -* ^url = "http://terminology.hl7.org/ValueSet/pronouns" +ValueSet: AustralianPronouns +Id: australian-pronouns-1 +Title: "Australian Pronouns" +Description: "The Australian Pronouns value set includes values that indicate the pronouns to be used when communicating with or about an individual." +* ^url = "https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1" * ^identifier.system = "urn:ietf:rfc:3986" -* ^identifier.value = "urn:oid:2.16.840.1.113883.4.642.3.3290" +* ^identifier.value = "urn:oid:1.2.36.1.2001.1004.201.10284" * ^version = "1.0.0" * ^status = #active * ^experimental = false -* ^date = "2023-07-17T22:16:15-06:00" -* ^publisher = "FHIR Project team" -* ^contact.telecom.system = #url -* ^contact.telecom.value = "http://hl7.org/fhir" -* ^copyright = "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc" -* ^expansion.identifier = "urn:uuid:220b830c-6a1b-43e7-81e0-ccf92485fcdf" -* ^expansion.timestamp = "2023-10-17T10:42:37+10:00" -* ^expansion.total = 3 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "http://loinc.org|2.76" +* ^date = "2024-02-29" +* ^publisher = "Australian Digital Health Agency" +* ^contact.telecom.system = #email +* ^contact.telecom.value = "help@digitalhealth.gov.au" +* ^copyright = "Copyright © 2024 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis material contains content from LOINC (http://loinc.org). LOINC is copyright 1995-2024, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc.\n\nThis material contains information which is protected by copyright. You may download, display, print and reproduce any material for your personal, non-commercial use or use within your organisation subject to the following terms and conditions: \n\nThis resource also includes all or a portion of material from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license." + +* ^expansion.identifier = "urn:uuid:1bc98e8c-511f-4014-a4d9-a48a8db0923d" +* ^expansion.timestamp = "2025-05-01T10:00:56+10:00" +* ^expansion.total = 7 +* ^expansion.offset = 0 +* ^expansion.parameter[0].name = "displayLanguage" +* ^expansion.parameter[=].valueCode = #en-US +* ^expansion.parameter[+].name = "count" +* ^expansion.parameter[=].valueInteger = 1000 +* ^expansion.parameter[+].name = "offset" +* ^expansion.parameter[=].valueInteger = 0 +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false +* ^expansion.parameter[+].name = "used-valueset" +* ^expansion.parameter[=].valueUri = "null" * ^expansion.parameter[+].name = "used-codesystem" -* ^expansion.parameter[=].valueUri = "http://loinc.org|2.76" +* ^expansion.parameter[=].valueUri = "http://loinc.org|2.80" +* ^expansion.parameter[+].name = "version" +* ^expansion.parameter[=].valueUri = "http://loinc.org|2.80" +* ^expansion.parameter[+].name = "used-codesystem" +* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" * ^expansion.contains[0].system = "http://loinc.org" * ^expansion.contains[=].code = #LA29518-0 * ^expansion.contains[=].display = "he/him/his/his/himself" @@ -651,9 +506,25 @@ Description: "Codes that indicate the pronouns to be used when communicating wit * ^expansion.contains[+].system = "http://loinc.org" * ^expansion.contains[=].code = #LA29520-6 * ^expansion.contains[=].display = "they/them/their/theirs/themselves" -* LOINC#LA29518-0 "he/him/his/his/himself" -* LOINC#LA29519-8 "she/her/her/hers/herself" -* LOINC#LA29520-6 "they/them/their/theirs/themselves" +* ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/data-absent-reason" +* ^expansion.contains[=].code = #unknown +* ^expansion.contains[=].display = "Unknown" +* ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/data-absent-reason" +* ^expansion.contains[=].code = #asked-declined +* ^expansion.contains[=].display = "Asked But Declined" +* ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/data-absent-reason" +* ^expansion.contains[=].code = #not-asked +* ^expansion.contains[=].display = "Not Asked" +* ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/data-absent-reason" +* ^expansion.contains[=].code = #asked-unknown +* ^expansion.contains[=].display = "Asked But Unknown" +* $LOINC#LA29518-0 "he/him/his/his/himself" +* $LOINC#LA29519-8 "she/her/her/hers/herself" +* $LOINC#LA29520-6 "they/them/their/theirs/themselves" +* DataAbsentReason#unknown +* DataAbsentReason#asked-declined +* DataAbsentReason#not-asked +* DataAbsentReason#asked-unknown ValueSet: BiologicalSex Id: biological-sex-1 @@ -672,13 +543,24 @@ Description: "The Biological Sex value set includes values that represent the bi * ^contact.telecom.system = #email * ^contact.telecom.value = "help@digitalhealth.gov.au" * ^copyright = "Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement." -* ^expansion.identifier = "urn:uuid:e9cff1c2-8743-48cb-9bde-8f4af914544b" -* ^expansion.timestamp = "2023-08-30T10:41:59+10:00" -* ^expansion.total = 4 -* ^expansion.parameter[0].name = "version" -* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20230831" + +* ^expansion.identifier = "urn:uuid:9a0c2291-6dd8-4778-9099-4622f64fa897" +* ^expansion.timestamp = "2025-05-01T10:00:49+10:00" +* ^expansion.offset = 0 +* ^expansion.parameter[0].name = "displayLanguage" +* ^expansion.parameter[=].valueCode = #en-US +* ^expansion.parameter[+].name = "count" +* ^expansion.parameter[=].valueInteger = 1000 +* ^expansion.parameter[+].name = "offset" +* ^expansion.parameter[=].valueInteger = 0 +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false +* ^expansion.parameter[+].name = "used-valueset" +* ^expansion.parameter[=].valueUri = "null" * ^expansion.parameter[+].name = "used-codesystem" -* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20230831" +* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.parameter[+].name = "version" +* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" * ^expansion.contains[0].system = "http://snomed.info/sct" * ^expansion.contains[=].code = #248152002 * ^expansion.contains[=].display = "Female" @@ -692,4 +574,287 @@ Description: "The Biological Sex value set includes values that represent the bi * ^expansion.contains[=].code = #248153007 * ^expansion.contains[=].display = "Male" * include codes from system $SCT - where constraint = "^ 32570631000036107|Sex reference set|" + where constraint = "^32570631000036107|Sex reference set|" + + +CodeSystem: HealthChecksSCTSupplement +Id: HealthChecksSCTSupplement +Title: "SNOMED CT Supplement for Aboriginal and Torres Strait Islander Health Check" +Description: "The SNOMED CT Supplement for Aboriginal and Torres Strait Islander Health Check code system supplement defines consumer friendly terms for use in the health check Questionnaire." +* ^experimental = false +* ^content = #supplement +* ^supplements = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" +* #736595007 "Declined" +* #171154002 "Not required" +* #171155001 "Up to date" +* #48031000119106 "Quit >12 months" +* #735128000 "Quit <12 months" +* #266919005 "Never smoked" +* #77176002 "Current smoker" +* #8517006 "Ex-smoker" +* #16090371000119103 "Exposure to second hand tobacco smoke" +* #394872000 "Wants to quit" +* #713914004 "Other tobacco use" + + +ValueSet: CervicalScreeningStatus +Id: CervicalScreeningStatus-1 +Title: "Cervical Screening Status" +Description: "The Cervical Screening Status value set includes values that can be used to represent the status of an individual's participation in a cervical screening program." +* ^experimental = false +* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/valueset-supplement" +* ^extension[=].valueCanonical = "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" +* $SCT|http://snomed.info/sct/32506021000036107/version/20250430#736595007 "Declined" +* $SCT|http://snomed.info/sct/32506021000036107/version/20250430#410527000 "Offered" // a better concept is required +* $SCT|http://snomed.info/sct/32506021000036107/version/20250430#171154002 "Not required" +* $SCT|http://snomed.info/sct/32506021000036107/version/20250430#171155001 "Up to date" +* ^expansion.identifier = "urn:uuid:3657ae6f-b206-482f-a745-0ff9c99358ef" +* ^expansion.timestamp = "2025-06-05T13:50:47+10:00" +* ^expansion.parameter[0].name = "used-supplement" +* ^expansion.parameter[=].valueUri = "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" +* ^expansion.parameter[+].name = "used-codesystem" +* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.parameter[+].name = "version" +* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.parameter[+].name = "warning-draft" +* ^expansion.parameter[=].valueUri = "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" +* ^expansion.parameter[+].name = "warning-draft" +* ^expansion.parameter[=].valueUri = "https://smartforms.csiro.au/ig/ValueSet/CervicalScreeningStatus-1|0.3.0" +* ^expansion.contains[0].system = "http://snomed.info/sct" +* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.contains[=].code = #736595007 +* ^expansion.contains[=].display = "Declined" +* ^expansion.contains[+].system = "http://snomed.info/sct" +* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.contains[=].code = #410527000 +* ^expansion.contains[=].display = "Offered" +* ^expansion.contains[+].system = "http://snomed.info/sct" +* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.contains[=].code = #171154002 +* ^expansion.contains[=].display = "Not required" +* ^expansion.contains[+].system = "http://snomed.info/sct" +* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.contains[=].code = #171155001 +* ^expansion.contains[=].display = "Up to date" + +ValueSet: SmokingQuitStatus +Id: SmokingQuitStatus-1 +Title: "Smoking Quit Status" +Description: "The Smoking Quit Status value set includes values that can indicate how long ago an individual quit smoking." +* ^experimental = false +* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/valueset-supplement" +* ^extension[=].valueCanonical = "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + +* ^expansion.identifier = "urn:uuid:93600010-14a0-4d6e-a82f-15283d13a2cb" +* ^expansion.timestamp = "2025-05-01T11:41:24+10:00" +* ^expansion.parameter[0].name = "used-supplement" +* ^expansion.parameter[=].valueUri = "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" +* ^expansion.parameter[+].name = "used-codesystem" +* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.parameter[+].name = "version" +* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.parameter[+].name = "warning-draft" +* ^expansion.parameter[=].valueUri = "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" +* ^expansion.parameter[+].name = "warning-draft" +* ^expansion.parameter[=].valueUri = "https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1|0.3.0" +* ^expansion.contains[0].system = "http://snomed.info/sct" +* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.contains[=].code = #48031000119106 +* ^expansion.contains[=].display = "Quit >12 months" +* ^expansion.contains[+].system = "http://snomed.info/sct" +* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.contains[=].code = #735128000 +* ^expansion.contains[=].display = "Quit <12 months" +* $SCT|http://snomed.info/sct/32506021000036107/version/20250430#48031000119106 "Quit >12 months" +* $SCT|http://snomed.info/sct/32506021000036107/version/20250430#735128000 "Quit <12 months" + + +ValueSet: TobaccoUseStatus +Id: TobaccoUseStatus-1 +Title: "Tobacco Use Status" +Description: "The Tobacco Use Status value set includes values that may be used to represent an individual's current tobacco use and exposure status." +* ^experimental = false +* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/valueset-supplement" +* ^extension[=].valueCanonical = "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" +* ^expansion.identifier = "urn:uuid:e7e976ca-5eb9-41da-9ca8-2c795c5e2dd2" +* ^expansion.timestamp = "2025-05-01T11:43:41+10:00" +* ^expansion.parameter[0].name = "used-supplement" +* ^expansion.parameter[=].valueUri = "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" +* ^expansion.parameter[+].name = "used-codesystem" +* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.parameter[+].name = "version" +* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.parameter[+].name = "warning-draft" +* ^expansion.parameter[=].valueUri = "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" +* ^expansion.parameter[+].name = "warning-draft" +* ^expansion.parameter[=].valueUri = "https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1|0.3.0" +* ^expansion.contains[0].system = "http://snomed.info/sct" +* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.contains[=].code = #266919005 +* ^expansion.contains[=].display = "Never smoked" +* ^expansion.contains[+].system = "http://snomed.info/sct" +* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.contains[=].code = #77176002 +* ^expansion.contains[=].display = "Current smoker" +* ^expansion.contains[+].system = "http://snomed.info/sct" +* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.contains[=].code = #8517006 +* ^expansion.contains[=].display = "Ex-smoker" +* ^expansion.contains[+].system = "http://snomed.info/sct" +* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.contains[=].code = #16090371000119103 +* ^expansion.contains[=].display = "Exposure to second hand tobacco smoke" +* ^expansion.contains[+].system = "http://snomed.info/sct" +* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.contains[=].code = #394872000 +* ^expansion.contains[=].display = "Wants to quit" +* ^expansion.contains[+].system = "http://snomed.info/sct" +* ^expansion.contains[=].version = "http://snomed.info/sct/32506021000036107/version/20250430" +* ^expansion.contains[=].code = #713914004 +* ^expansion.contains[=].display = "Other tobacco use" +* $SCT|http://snomed.info/sct/32506021000036107/version/20250430#266919005 "Never smoked" +* $SCT|http://snomed.info/sct/32506021000036107/version/20250430#77176002 "Current smoker" +* $SCT|http://snomed.info/sct/32506021000036107/version/20250430#8517006 "Ex-smoker" +* $SCT|http://snomed.info/sct/32506021000036107/version/20250430#16090371000119103 "Exposure to second hand tobacco smoke" +* $SCT|http://snomed.info/sct/32506021000036107/version/20250430#394872000 "Wants to quit" +* $SCT|http://snomed.info/sct/32506021000036107/version/20250430#713914004 "Other tobacco use" + +ValueSet: AustralianMedicinesTerminologyVaccine +Id: amt-vaccine-1 +Title: "Australian Medicines Terminology Vaccine" +Description: "The Australian Medicines Terminology (AMT) Vaccine value set includes AMT product concepts that may be used to record a vaccine product." +* ^meta.profile[0] = "http://hl7.org/fhir/StructureDefinition/shareablevalueset" +* ^meta.profile[+] = "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" +* ^url = "https://healthterminologies.gov.au/fhir/ValueSet/amt-vaccine-1" +* ^identifier.system = "urn:ietf:rfc:3986" +* ^identifier.value = "urn:oid:1.2.36.1.2001.1004.201.10042" +* ^version = "1.0.2" +* ^status = #active +* ^experimental = false +* ^date = "2020-05-31" +* ^publisher = "Australian Digital Health Agency" +* ^contact.telecom.system = #email +* ^contact.telecom.value = "help@digitalhealth.gov.au" +* ^copyright = "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\n This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement." +* include codes from system $SCT where concept in "1156291000168106" + +ValueSet: SmartHealthChecksMedicineProducts +Id: smart-health-checks-medicine-products +Title: "Smart Health Checks Medicine Products" +Description: "The Smart Health Checks Medicine Products value set includes Australian Medicines Terminology (AMT) product concepts that may be used for the identification of a medicine with form, ingredient and unit of measure details." + +* ^experimental = false +* include codes from system http://snomed.info/sct|http://snomed.info/sct/32506021000036107 where constraint = "^ 929360081000036101|Medicinal product pack reference set| OR ^ 929360071000036103|Medicinal product unit of use reference set| OR ^ 929360041000036105|Trade product pack reference set| OR ^ 929360031000036100|Trade product unit of use reference set| OR ^ 929360051000036108|Containered trade product pack reference set|" + +Alias: $v3-ObservationValue = http://terminology.hl7.org/CodeSystem/v3-ObservationValue + +ValueSet: MedicationReasonTaken +Id: medication-reason-taken-1 +Title: "Medication Reason Taken" +Description: "The Medication Reason Taken value set includes values that identify a reason why a medication has been or is being taken." +* ^meta.profile[0] = "http://hl7.org/fhir/StructureDefinition/shareablevalueset" +* ^meta.profile[+] = "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" +* ^url = "https://healthterminologies.gov.au/fhir/ValueSet/medication-reason-taken-1" +* ^identifier.system = "urn:ietf:rfc:3986" +* ^identifier.value = "urn:oid:1.2.36.1.2001.1004.201.10048" +* ^version = "1.1.0" +* ^status = #active +* ^experimental = false +* ^date = "2020-07-31" +* ^publisher = "Australian Digital Health Agency" +* ^contact.telecom.system = #email +* ^contact.telecom.value = "help@digitalhealth.gov.au" +* ^copyright = "Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted.\n\nAll copies of this resource must include this copyright statement and all information contained in this statement." +* include codes from system $SCT + where constraint = "^32570581000036105|Problem/Diagnosis reference set| OR ^1184831000168105|Drug prophylaxis reference set| OR <<399097000|Administration of anaesthesia| OR 169443000|Preventive procedure|" + +ValueSet: HeartRhythm +Id: heart-rhythm-1 +Title: "Heart Rhythm" +Description: "The Heart Rhythm value set includes values that may be used to represent the heart rhythm of an individual." +* ^experimental = false +* ^expansion.identifier = "urn:uuid:b12cc8bf-25b0-49a8-8ee1-f641fd89cfa7" +* ^expansion.timestamp = "2025-06-27T12:16:28+10:00" +* ^expansion.offset = 0 +* ^expansion.parameter[0].name = "displayLanguage" +* ^expansion.parameter[=].valueCode = #en-US +* ^expansion.parameter[+].name = "count" +* ^expansion.parameter[=].valueInteger = 1000 +* ^expansion.parameter[+].name = "offset" +* ^expansion.parameter[=].valueInteger = 0 +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false +* ^expansion.parameter[+].name = "used-valueset" +* ^expansion.parameter[=].valueUri = "null" +* ^expansion.parameter[+].name = "used-codesystem" +* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250630" +* ^expansion.parameter[+].name = "version" +* ^expansion.parameter[=].valueUri = "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250630" +* ^expansion.contains[0].system = "http://snomed.info/sct" +* ^expansion.contains[=].code = #933506231000036108 +* ^expansion.contains[=].display = "Regular heart rhythm" +* ^expansion.contains[+].system = "http://snomed.info/sct" +* ^expansion.contains[=].code = #361137007 +* ^expansion.contains[=].display = "Irregular heart rhythm" +* $SCT#933506231000036108 "Regular heart rhythm" +* $SCT#361137007 "Irregular heart rhythm" + +ValueSet: AllergyIntoleranceClinicalStatusMinimal +Id: AllergyIntoleranceClinicalStatusMinimal +Title: "Allergy Intolerance Clinical Status Minimal" +Description: "This value set includes the minimal set of codes to represent the clinical status of an allergy intolerance (i.e., active and inactive)." +* ^experimental = false +* ^expansion.identifier = "urn:uuid:40f0c59e-9fa5-4322-bc1d-5fde644a076c" +* ^expansion.timestamp = "2025-08-25T15:52:50+10:00" +* ^expansion.total = 2 +* ^expansion.offset = 0 +* ^expansion.parameter[0].name = "count" +* ^expansion.parameter[=].valueInteger = 1000 +* ^expansion.parameter[+].name = "offset" +* ^expansion.parameter[=].valueInteger = 0 +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false +* ^expansion.parameter[+].name = "used-codesystem" +* ^expansion.parameter[=].valueUri = "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|1.0.0" +* ^expansion.contains[0].system = "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" +* ^expansion.contains[=].code = #active +* ^expansion.contains[=].display = "Active" +* ^expansion.contains[+].system = "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" +* ^expansion.contains[=].code = #inactive +* ^expansion.contains[=].display = "Inactive" +* http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical#active +* http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical#inactive + +ValueSet: MedicationStatementStatusLimited +Id: MedicationStatementStatusLimited +Title: "Medication Statement Status Limited" +Description: "This value set includes the minimal set of codes to represent the status of a medication statement (i.e., active, completed, stopped and on-hold)." +* ^experimental = false +* ^expansion.identifier = "urn:uuid:59fe5ac1-65bf-4606-8c2a-0a55fba1d064" +* ^expansion.timestamp = "2025-08-25T15:53:32+10:00" +* ^expansion.total = 4 +* ^expansion.offset = 0 +* ^expansion.parameter[0].name = "count" +* ^expansion.parameter[=].valueInteger = 1000 +* ^expansion.parameter[+].name = "offset" +* ^expansion.parameter[=].valueInteger = 0 +* ^expansion.parameter[+].name = "excludeNested" +* ^expansion.parameter[=].valueBoolean = false +* ^expansion.parameter[+].name = "used-codesystem" +* ^expansion.parameter[=].valueUri = "http://hl7.org/fhir/CodeSystem/medication-statement-status|4.0.1" +* ^expansion.contains[0].system = "http://hl7.org/fhir/CodeSystem/medication-statement-status" +* ^expansion.contains[=].code = #active +* ^expansion.contains[=].display = "Active" +* ^expansion.contains[+].system = "http://hl7.org/fhir/CodeSystem/medication-statement-status" +* ^expansion.contains[=].code = #completed +* ^expansion.contains[=].display = "Completed" +* ^expansion.contains[+].system = "http://hl7.org/fhir/CodeSystem/medication-statement-status" +* ^expansion.contains[=].code = #stopped +* ^expansion.contains[=].display = "Stopped" +* ^expansion.contains[+].system = "http://hl7.org/fhir/CodeSystem/medication-statement-status" +* ^expansion.contains[=].code = #on-hold +* ^expansion.contains[=].display = "On Hold" +* http://hl7.org/fhir/CodeSystem/medication-statement-status#active +* http://hl7.org/fhir/CodeSystem/medication-statement-status#completed +* http://hl7.org/fhir/CodeSystem/medication-statement-status#stopped +* http://hl7.org/fhir/CodeSystem/medication-statement-status#on-hold \ No newline at end of file diff --git a/input/ignoreWarnings.txt b/input/ignoreWarnings.txt index d03142bc..c8244549 100644 --- a/input/ignoreWarnings.txt +++ b/input/ignoreWarnings.txt @@ -2,4 +2,39 @@ # Add warning and/or information messages here after you've confirmed that they aren't really a problem # (And include comments like this justifying why) -# See https://github.com/FHIR/sample-ig/blob/master/input/ignoreWarnings.txt for examples \ No newline at end of file +# See https://github.com/FHIR/sample-ig/blob/master/input/ignoreWarnings.txt for examples + +# Slice matching - There are several extensions used that either match slices in other profiles stated in meta or are permitted for use by the extension itself. + +# Slice matching - CapabilityStatement +This element does not match any known slice defined in the profile http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination% + +# EnableWhen target comes after the question - This is intentional design for marking Questionnaire sections as complete +The target of this enableWhen rule (MarkComplete-% + +# ContainedResourceReference extension defined as intended +Review the extension type for ContainedResourceReference: extensions should not have a context of Element unless it's really intended that they can be used anywhere + +# Modular Questionnaire - URL of assembled questionnaire SHALL be the same as its base questionnnaire +The URL 'http://www.health.gov.au/assessments/mbs/715' has already been used by AssemblyInstructions% +The URL 'http://www.health.gov.au/assessments/mbs/715' is also used by AboriginalTorresStraitIslanderHealthCheck% + +# Draft code systems referenced as intended +Reference to draft CodeSystem https://smartforms.csiro.au/ig/CodeSystem/QuestionnaireItemControlExtended% + +# Embedded HTML warnings checked +The 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 + +# Invalid errors - invariant bug +# Boolean should be lower case +Constraint failed: que-7: 'If the operator is 'exists', the value must be a boolean (operator = 'exists' implies (answer is Boolean))' + +# HL7 core warnings +WARNING: 1: The HTML fragment 'ip-statements.xhtml' is not included anywhere in the produced implementation guide +WARNING: 2: An HTML fragment from the set [cross-version-analysis.xhtml, cross-version-analysis-inline.xhtml] is not included anywhere in the produced implementation guide +WARNING: 4: The HTML fragment 'globals-table.xhtml' is not included anywhere in the produced implementation guide +The resource status 'draft' and the standards status 'trial-use' may not be consistent and should be reviewed +The nominated WG 'pc' means that the publisher should be 'HL7 International / Patient Care' but 'FHIR Project team' was found +The nominated WG 'pc' means that the contact url should be 'http://www.hl7.org/Special/committees/patientcare' but it was not found +The nominated WG 'pa' means that the publisher should be 'HL7 International / Patient Administration' but 'HL7 (FHIR Project)' was found +The nominated WG 'pa' means that the contact url should be 'http://www.hl7.org/Special/committees/pafm' but it was not found diff --git a/input/images/CSIRO-SmartHealthCheck-PMSIntegration_20231025.pdf b/input/images/CSIRO-SmartHealthCheck-PMSIntegration_20240409.pdf similarity index 70% rename from input/images/CSIRO-SmartHealthCheck-PMSIntegration_20231025.pdf rename to input/images/CSIRO-SmartHealthCheck-PMSIntegration_20240409.pdf index 2bfffb17..676c5bf4 100644 Binary files a/input/images/CSIRO-SmartHealthCheck-PMSIntegration_20231025.pdf and b/input/images/CSIRO-SmartHealthCheck-PMSIntegration_20240409.pdf differ diff --git a/input/images/ObligationsOverview-derivedFrom.png b/input/images/ObligationsOverview-derivedFrom.png new file mode 100644 index 00000000..d3d147c5 Binary files /dev/null and b/input/images/ObligationsOverview-derivedFrom.png differ diff --git a/input/images/ObligationsOverview.png b/input/images/ObligationsOverview.png new file mode 100644 index 00000000..5dde7e4c Binary files /dev/null and b/input/images/ObligationsOverview.png differ diff --git a/input/images/SmartForms_SolnSum_HighLevel.png b/input/images/SmartForms_SolnSum_HighLevel.png deleted file mode 100644 index b24563ba..00000000 Binary files a/input/images/SmartForms_SolnSum_HighLevel.png and /dev/null differ diff --git a/input/images/architecture.png b/input/images/architecture.png new file mode 100644 index 00000000..902ca186 Binary files /dev/null and b/input/images/architecture.png differ diff --git a/input/images/launchinteractions.png b/input/images/launchinteractions.png new file mode 100644 index 00000000..e61adeae Binary files /dev/null and b/input/images/launchinteractions.png differ diff --git a/input/images/overviewactors.png b/input/images/overviewactors.png new file mode 100644 index 00000000..61d62736 Binary files /dev/null and b/input/images/overviewactors.png differ diff --git a/input/images/writebackdraftqr.png b/input/images/writebackdraftqr.png new file mode 100644 index 00000000..46167c09 Binary files /dev/null and b/input/images/writebackdraftqr.png differ diff --git a/input/images/writebackqrextract.png b/input/images/writebackqrextract.png new file mode 100644 index 00000000..446a4aad Binary files /dev/null and b/input/images/writebackqrextract.png differ diff --git a/input/intro-notes/ActorDefinition-SHCApp-notes.md b/input/intro-notes/ActorDefinition-SHCApp-notes.md new file mode 100644 index 00000000..5c1611b7 --- /dev/null +++ b/input/intro-notes/ActorDefinition-SHCApp-notes.md @@ -0,0 +1,5 @@ +#### SHC App Interactions + +##### App Launch + +The SHC user initiates the SHC App within the PMS. The PMS generates a launch context related to the current user, patient and health check questionnaire, which the SHC Host Authorization Server can access from the parameter provided in the App launch request. \ No newline at end of file diff --git a/input/intro-notes/ActorDefinition-SHCHostAuthorizationServer-notes.md b/input/intro-notes/ActorDefinition-SHCHostAuthorizationServer-notes.md new file mode 100644 index 00000000..95977cbb --- /dev/null +++ b/input/intro-notes/ActorDefinition-SHCHostAuthorizationServer-notes.md @@ -0,0 +1,16 @@ +#### SHC Host Authorization Server Interactions + +##### Authorization Request + +The Health Check App responds to the PMS browser to redirect to the authorization URL with the required authorization request parameters including the response_type, client_id, redirect_uri, scope, aud, state, code_challenge, code_challenge_method and launch. +The Authorization Server, if required by PMS organization policies, may respond with a data access consent form where the PMS User grants the App access to the requested data. + +##### Authorization Callback +When granted, the Authorization Server response redirects the PMS browser back to the Health Check App authorization callback (redirect_uri) endpoint with a code parameter. + +##### Token Request +The Health Check App authorization callback extracts the code parameter and uses the token_endpoint URL to exchange it for an access token. The HTTP POST request body includes the required parameters including the code, grant_type, client_id, redirect_uri and code_verifier. + +The Authorization Server response contains the token_type, access_token, id_token, scope and the relevant launch context data stashed by the PMS such as patient, encounter and health check questionnaire, which can be used to retrieve by Id the respective FHIR resources from the PMS FHIR API. + +The id_token is a signed JWT that contains an encoding of user details, including a fhirUser reference that can be used to retrieve from the FHIR API a FHIR resource representing the user. diff --git a/input/intro-notes/ActorDefinition-SHCHostFHIRServer-notes.md b/input/intro-notes/ActorDefinition-SHCHostFHIRServer-notes.md new file mode 100644 index 00000000..508e884d --- /dev/null +++ b/input/intro-notes/ActorDefinition-SHCHostFHIRServer-notes.md @@ -0,0 +1,22 @@ +#### SHC Host FHIR Server Interactions + +##### SMART Authorization Configuration +The Health Check App uses the iss parameter provided in the launch request as the base URL of the PMS FHIR API to retrieve the PMS Authorization Server configuration from the .well-known/smart-configuration endpoint. The response provides, amongst other configuration elements, the authorization_endpoint and token_endpoint URLs required in the subsequent steps. + +##### Prepopulate Health Check +The Health Check APP uses the access_token as the Authorization for any request to the PMS FHIR API including the retrieval of the fhirUser and patient resources. The Health Check App will also query any FHIR resource required in the health check’s Questionnaire pre-population expressions, using the patient context as search parameter values. + +##### Fill and Submit Health Check +The PMS User fills out the health check form and when finished, submits the form. + +##### Writeback Questionnaire Response +The Health Check App writes back the health check QuestionnaireResponse to the PMS FHIR Server using a FHIR Create request when the health check is new or a FHIR Update when a health check was previously saved as a draft and retrieved for further contribution. + +##### Writeback Extract Transaction +The Health Check App will generate an extract transaction when a health check Questionnaire contains items with specified extract expressions. The extract transaction is a FHIR Bundle that the health check App will write back to the PMS FHIR API transaction endpoint. + +The resource types included in the extract transaction will be specified in the health check Questionnaire, hence the PMS is required to ensure it has writeback capability for any health check Questionnaire it launches. + +The extract transaction can include writeback requests using the following FHIR interactions: +1. Create; or +2. Patch diff --git a/input/pagecontent/actor-definitions.md b/input/pagecontent/actor-definitions.md new file mode 100644 index 00000000..39f1139d --- /dev/null +++ b/input/pagecontent/actor-definitions.md @@ -0,0 +1,14 @@ +The following actor definitions have been defined for this implementation guide. + +- [SHC App](ActorDefinition-SHCApp.html) + - The SHC App allows a user of the SHC Host to launch the SHC App for filling out a health check form prepopulated with a authorized patient health information retrieved from the SHC Host FHIR Server and writeback the collected form data. + +- [SHC Host](ActorDefinition-SHCHost.html) + - The SHC Host allows a user to launch the SHC App within an embedded or externally launched web browser to fill out a health check form. + +- [SHC Host Authorization Server](ActorDefinition-SHCHostAuthorizationServer.html) + - The SHC Host Authorization Server allows the SHC App to request authorisation from the PMS user to access patient health information to prepopulate and write back health checks data using the PMS FHIR Server. + +- [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) + - The SHC Host FHIR Server allows the SHC App to retrieve patient health information and write back collected health check data. + diff --git a/input/pagecontent/capability-statements.md b/input/pagecontent/capability-statements.md index 8b3ccb88..6a286582 100644 --- a/input/pagecontent/capability-statements.md +++ b/input/pagecontent/capability-statements.md @@ -5,15 +5,5 @@ The following capability statements have been defined for this implementation gu
{% include list-capabilitystatements.xhtml %} -
-
- - - - - - - - - +
diff --git a/input/pagecontent/general-requirements.md b/input/pagecontent/general-requirements.md new file mode 100644 index 00000000..40788741 --- /dev/null +++ b/input/pagecontent/general-requirements.md @@ -0,0 +1,124 @@ +### General Requirements +Systems compatible with the Smart Health Checks (SHC) App are required to support healthcare client and provider information conforming to profiles, AND implement the interaction requirements of relevant actor's capability statements defined in this implementation guide. + +The requirements of the FHIR standard and [FHIR Conformance Rules](http://hl7.org/fhir/conformance-rules.html) apply, and define the conformance verbs - **SHALL**, **SHALL NOT**, **SHOULD**, **SHOULD NOT**, **MAY**. + +This page documents how CapabilityStatements declare conformance to the SHC profiles and their FHIR interactions. It also defines the expectations for mandatory and *Must Support* elements. Authorisation to a healthcare client's record is supported using [SMART App Launch v2.2.0 implementation guide](https://hl7.org/fhir/smart-app-launch). + + +### Conformance Artifacts +The [Artifacts](artifacts.html) page lists the SHC profiles defined for this implementation guide. Core profile [StructureDefinitions]({{site.data.fhir.path}}structuredefinition.html) defines the minimum elements, extensions, vocabularies, and value sets which **SHALL** be present when using the profile. Many profile pages also contain additional guidance. + +The profile elements consist of both mandatory and *Must Support* elements. Mandatory elements are elements with a minimum cardinality of 1 (min=1). The base FHIR [*Must Support*]({{site.data.fhir.path}}profiling.html#mustsupport) guidance requires specifications to define the support expected for profile elements labeled *Must Support*. The sections below explain how these elements are displayed and define the rules for interpreting profile elements and sub-elements labeled mandatory and *Must Support* for [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) and [SHC App](ActorDefinition-SHCApp.html). + + +#### Capability Statements + +The [capability statement](capability-statements.html) page lists the capability statements that are to be supported by systems implementing the SHC actors in this IG. + +### Exchange Format Support + +In FHIR, resources are commonly exchanged in multiple formats including JSON and XML. The SHC App is a JavaScript-based app and hence mandates the support of JSON. + +### Profile and Interaction Support +The SHC systems support the SHC *profiles* to represent clinical information and the SHC REST API *interactions* to access that information. Therefore, the [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) must implement and support SHC profiles AND interactions to be compatible with the [SHC App](ActorDefinition-SHCApp.html). + +#### Profile Support +Profile support refers to the support of the SHC profiles, such that the system exposes FHIR resources that adhere to the SHC profiles' content model. Specifically, a [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) with SHC profile support: +* **SHALL** communicate all profile data elements that are mandatory by that profile's StructureDefinition. + +#### Interaction Support +Interaction support refers to a system that supports the SHC REST API interactions. Specifically, a server with SHC Interaction support: +* **SHALL** implement the REST API behavior according to the FHIR specification, including *read*, *search*, *create* and *patch* interactions as required, and the required search parameters as defined in the [SHC Host FHIR Server CapabilityStatement](CapabilityStatement-SHCHostFHIRServerCapabilityStatement.html#resourcesSummary1). +* **SHALL** specify the full capability details from the SHC Host FHIR Server CapabilityStatement it claims to implement, including mandatory support for _FHIR transactions_. + +### Must Support and Obligations + +In the context of SHC, [Obligations](https://hl7.org/fhir/extensions/CodeSystem-obligation.html) defines how an actor ([SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) or [SHC App](ActorDefinition-SHCApp.html)) must “support” a given element. All [*Must Support*]({{site.data.fhir.path}}conformance-rules.html#mustSupport) elements in this IG are accompanied by an explicit obligation, which identifies structured expectations for a given actor. If a *Must Support* element has no obligation for a given actor, that element need not be supported by that actor. + +SHC profiles are derived from AU Core profiles, hence any elements flagged as Must Support in AU Core are also Must Support in the SHC profiles of this Implementation Guide. The SHC HOST FHIR Server and SHC App actors derived from AU Core Responder and AU Core Requester respectively, hence the actor obligations are inherited from AU Core as the default obligations in the SHC profiles. Additional obligations constrain and augment these defaults as required, to support the prepopulation and writeback requirements of each actor in this Implementation Guide. + +The actor obligations of Must Support elements are specified in the element description of each SHC profile. + +#### Obligation Code Definitions +The Obligation codes are defined in the FHIR Extensions [Obligation Codes ValueSet](https://hl7.org/fhir/extensions/ValueSet-obligation.html). The Obligation codes used within this Implementation Guide are summarised and description of how the data elements are expected to be supported by the actor. + +Obligations are specified for each actor in the context of two sets of interactions defined in the [Smart Health Checks Interactions](index.html#smart-health-checks-interactions): +1. data access for prepopulation of the Health Check; and +2. writeback of data to the SHC Host FHIR Server. + +The figure below illustrates the relationhsip between the SHC and AU Core actors, the default Must Support Obligations inherited from AU Core actors, and the additional Obligations of each SHC actor specified for the Prepopulation and Writeback interactions . + +
Obligations overview.png
+ +#### Obligations for SHC Host FHIR Server +A [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) actor **SHALL** support the data usage expectations specified in the Obligations of the [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) actor for each Must Support element. + +The [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) actor derives from AU Core Responder actor, hence the Must Support elements in SHC profiles that are derived from AU Core profiles inherit the default `SHALL:populate-if-known` obligation for data access interactions. This requires the [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) to populate an element if that element is available. There are a few potential reasons why a *Must Support* element may not be available, for example: +* a system may not have the capability to collect a data element, therefore is not expected to ever provide a value +* for a particular patient, a value may not be available for a data element, but in some cases a value is provided +* a value is available, but the [SHC App](ActorDefinition-SHCApp.html) or its user is not authorized to access the data, therefore the value is not provided. + +The SHC profiles may specify additional obligations for the [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) actor related to data access for prepopulation and writeback interactions. These include: + +Code | Interactions | SHC Host FHIR Server Obligations +--- | --- | --- +[SHALL:populate-if-known](https://hl7.org/fhir/extensions/CodeSystem-obligation.html#obligation-SHALL.58populate-if-known) | Prepopulation | Indicates the element **SHALL** be populated where a value is known, it is important for prepopulation, however missing data is allowed. +[SHALL:populate](https://hl7.org/fhir/extensions/CodeSystem-obligation.html#obligation-SHALL.58populate) | Prepopulation | Indicates the element **SHALL** be capable of being populated when a value is known and allowed to be shared. It is required for search queries or prepopulation and hence always populated. +[SHALL:persist](https://hl7.org/fhir/extensions/CodeSystem-obligation.html#obligation-SHALL.58persist) | Writeback (create) | Indicates where the element is populated, the value **SHALL** be stored in a persistent store +[SHALL:process](https://hl7.org/fhir/extensions/CodeSystem-obligation.html#obligation-SHALL.58process) | Writeback (patch) | Indicates the element **SHALL** be processed as part of a PATCH interaction, where the element's related parameter value replace the existing stored value. + +#### Obligations for SHC App +The [SHC App](ActorDefinition-SHCApp.html) actor **SHALL** support the data usage expectations specified in the Obligations of the [SHC App](ActorDefinition-SHCApp.html) actor for each Must Support data element. The [SHC App](ActorDefinition-SHCApp.html) actor derives from the AU Core Requester actor, hence the Must Support elements in SHC profiles that are derived from AU Core profiles inherit the default `SHALL:no-error` obligation for data access interactions. This requires the [SHC App](ActorDefinition-SHCApp.html) actor to accept resources containing any valid value for the element without error, including missing data and data absent reason codes and extensions. + +The SHC profiles may specify additional obligations for the [SHC App](ActorDefinition-SHCApp.html) actor related to data access for prepopulation and writeback interactions, these may include: + +Code | Interactions | SHC App Obligations +--- | --- | --- +[SHALL:process](https://hl7.org/fhir/extensions/CodeSystem-obligation.html#obligation-SHALL.58process) | Prepopulation | Indicates the element **SHALL** be processed as part of prepopulation. +[SHALL:populate-if-known](https://hl7.org/fhir/extensions/CodeSystem-obligation.html#obligation-SHALL.58populate-if-known) | Writeback (create and patch) | Indicates the element is known and **SHALL** be populated when a value is available from being prepopulated or entered by a user. +[SHALL:populate](https://hl7.org/fhir/extensions/CodeSystem-obligation.html#obligation-SHALL.58populate) | Writeback (create and patch) | Indicates the element **SHALL** be populated as a value will always be known and allowed to be shared. + +#### Must Support - Resource References + +Some elements labeled as *Must Support* reference multiple resource types or profiles (e.g., `QuestionnaireResponse.author`). [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) **SHALL** support *at least one* referenced resource or profile for each element listed in the table below. The [SHC App](ActorDefinition-SHCApp.html) **SHALL** support *all* referenced resources or profiles listed in the table below. + +For example, when claiming conformance to the SHC QuestionnaireResponse profile: + +* [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) **SHALL** be capable of providing a QuestionnaireResponse.author with a valid reference to an AU Core Practitioner profile, an AU Core PractitionerRole profile, an AU Core Patient profile, or any combination of them if the element is available +* [SHC App](ActorDefinition-SHCApp.html) **SHALL** be capable of processing a QuestionnaireResponse.author with a valid reference to an AU Core Practitioner profile, AU Core PractitionerRole profile, and an AU Core Patient profile. + +#### Must Support - Choice of Data Types + +Some elements labeled as *Must Support* allow different data types (e.g., `Observation.effective[x]`) for their content. [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) **SHALL** support *at least one* data type for each element listed in the table below. [SHC App](ActorDefinition-SHCApp.html) **SHALL** support *all* data types listed in the table below. + +For example, when claiming conformance to the AU Core Diagnostic Result Observation profile: + +* [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) **SHALL** be capable of populating `Observation.effectiveDateTime`, `Observation.effectivePeriod`, or both if the element is available. +* [SHC App](ActorDefinition-SHCApp.html) **SHALL** be capable of processing `Observation.effectiveDateTime` and `Observation.effectivePeriod` + +Systems **MAY** support populating and processing other choice elements not listed in the table (such as `Observation.effectiveInstant`), but this is not a requirement. + +#### Missing Data +There are situations when information on a particular data element is missing, and the source system does not know the reason for the absence of data. + +##### Optional And Must Support Elements +If the [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) does not have data for an element with a minimum cardinality = 0 (including elements labeled *Must Support*), the data element **SHALL** be omitted from the resource. + +##### Required And Must Support Elements + +If the [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) does not have data to be included, the reason for the absence has to be specified as follows: + +1. For non-coded data elements, use the [DataAbsentReason Extension]({{site.data.fhir.path}}extension-data-absent-reason.html) in the data type. +2. For coded data elements: + - *example*, *preferred*, or *extensible* binding strengths (CodeableConcept datatypes): + - if the source systems have text but no coded data, only the text element is used. + - if there is neither text nor codes representing actual (i.e., non-exceptional) concepts: + - use the appropriate exceptional concept code from the value set if available + - use the appropriate concept code from the [DataAbsentReason Value Set]({{site.data.fhir.path}}valueset-data-absent-reason.html) if the value set does not have it. + - *required* binding strength (CodeableConcept or code datatypes): + - use the appropriate exceptional concept code from the value set + +##### Accepting and Processing Must Support Elements With Missing Data +A [SHC App](ActorDefinition-SHCApp.html) **SHALL** be able to accept resource instances containing data elements asserting missing data without error, *except* when the *Must Support* element has an [SHC App](ActorDefinition-SHCApp.html) obligation of `SHALL:process` and [SHC Host FHIR Server](ActorDefinition-SHCHostFHIRServer.html) obligation of `SHALL:populate`, where the [SHC App](ActorDefinition-SHCApp.html) **MAY** report an error due to not being able to perform the prepropulation process. + diff --git a/input/pagecontent/index.md b/input/pagecontent/index.md index 4f094efb..ff1b1825 100644 --- a/input/pagecontent/index.md +++ b/input/pagecontent/index.md @@ -1,18 +1,67 @@ ### Introduction -This implementation guide is provided to support the use of Smart Forms. +This implementation guide is provided to support the integration of the Smart Health Checks App within a patient management system enabling users to complete health check assessments such as the Aboriginal and Torres Strait Islander Health Check. -Smart Forms is a FHIR-based solution aimed to demonstrate effective undertaking of health care assessments. It leverages [SMART App Launch](https://build.fhir.org/ig/HL7/smart-app-launch/app-launch.html) and the [Structured Data Capture specification](http://build.fhir.org/ig/HL7/sdc/index.html) to support better clinical outcomes, improved clinical workflow, enhance the usefulness of information in the practice record and improve interoperability of health information. +The Smart Health Checks App is a FHIR-based client application aimed at demonstrating effective undertaking of healthcare assessments. It leverages [SMART App Launch](https://build.fhir.org/ig/HL7/smart-app-launch/app-launch.html), [Structured Data Capture specification](http://build.fhir.org/ig/HL7/sdc/index.html) and [AU Core](https://hl7.org.au/fhir/core/) to improve clinical workflow, enhance the usefulness of information in the practice record and improve interoperability of health information to support better clinical outcomes. -See [Reference Implementation](reference-implementation.html). +The Smart Health Checks App is based on the CSIRO Smart Forms App which was provided as a [Reference Implementation](reference-implementation.html) of using FHIR standards and implementation guides to provide reusable software components that can be applied within Australian healthcare software systems to support uses cases such as national health check assessment forms. + +### Smart Health Checks Actors +The following figure provides an overview of the actors involved in the Smart Health Checks (SHC) solution. + +Actors Overview + + +#### SHC App + +The SHC App allows a user of the SHC Host to launch the SHC App for filling out a health check form prepopulated with authorized patient health information retrieved from the SHC Host FHIR Server and writeback the collected form data. + +The SHC App actor is implemented by the CSIRO Smart Forms App. + +#### SHC Host + +The SHC Host allows a user to launch the SHC App within an embedded or externally launched web browser to fill out a health check form. + +The SHC Host actor is implemented by the patient management system. + +#### SHC Host FHIR Server + +The SHC Host FHIR Server allows the SHC App to retrieve patient health information and writeback collected health check data. + +The SHC Host actor is implemented by the patient management system. + +#### SHC Host Authorization Server + +The SHC Host Authorization Server allows the SHC App to request authorisation from the user to access patient health information to prepopulate and write back health checks data using the SHC Host FHIR Server. + +### Smart Health Checks Interactions + +The Smart Health Check App follows a standard set of interactions which are summarised as: +1. App Launch: The SHC User initiates the SHC Host to launch SHC App with a context of the current user, patient and health check form. +2. SMART Authorization Configuration: The SHC App uses SHC Host FHIR Server to locate the SHC Host Authorization Server endpoints and capability. +3. Authorization Request: SHC App redirects to the SHC Host Authorization Server to authorise access to patient health information using the SHC Host FHIR Server. The SHC User may be prompted to permit or deny access to the requested data. +4. Authorization Callback: The SHC Host redirects back to the SHC App to proceed with the authorised launch of the health check form. +5. Token Request: SHC App requests an access token and associated launch context, including user, patient and health check form, from the SHC Host Authorization Server. +6. Prepopulate Health Check: SHC App uses the launch context to use the SHC Host FHIR Server to: + 1. read Practitioner; + 2. read Patient; + 3. read or search QuestionnaireResponse; and + 4. various search requests to prepopulate the health check form + + Launch Interactions + +7. Fill and Save Health Check: The user fills out the health check form and saves the form data. +8. Writeback Questionnaire Response: The health check form data is written back to the SHC Host FHIR Server as a QuestionnaireResponse. +9. Writeback Extract Transaction: The health check form data extracted from a completed form as FHIR Resources are written back to the SHC Host FHIR Server as transaction Bundle. + + Writeback extract + + Writeback extract ### Dependencies -Smart Forms is dependent on: -- [FHIR R4](http://hl7.org/fhir/R4/) -- [HL7 Terminology](https://terminology.hl7.org/5.0.0/) -- [Structured Data Capture](http://build.fhir.org/ig/HL7/sdc/index.html) -- [AU Base](http://build.fhir.org/ig/hl7au/au-fhir-base/) -- [AU Core](https://build.fhir.org/ig/hl7au/au-fhir-core/) +{% include dependency-table.xhtml %} + +Smart Forms is also dependent on: - Terminology published in Australia's [National Clinical Terminology Service](https://www.healthterminologies.gov.au/access-clinical-terminology/access-fhir-terminology-resources/) In addition, the following FHIR implementation guides are referenced: @@ -33,14 +82,16 @@ This guide is divided into several pages which are listed at the top of each pag - [Home](index.html): This page provides the introduction and scope for this guide. - Guidance - - [Reference Implementation](reference-implementation.html): This page describes software components of a Smart Forms reference implementation. - - [Smart Health Check Application Integration](smart-health-check-application-integration.html): This page includes a document that provides an overview of integrating a Practice Management System with the Smart Health Checks Application. + - [General Requirements](general-requirements.html): This page documents how CapabilityStatements declare conformance to the SHC profiles and their FHIR interactions. It also defines the expectations for mandatory and *Must Support* elements. + - [Smart Health Check Integration](smart-health-check-integration.html): This page provides an overview of the integration requirements to launch the Smart Health Check Application. + - [Reference Implementation](reference-implementation.html): This page describes software components that have been developed to demonstrate the Smart Health Checks solution. + - [Informative Guidance](informative-guidance.html): This page provides some informative material that implementers may find useful but does not represent normative requirements. - FHIR Artefacts: These pages provide detailed descriptions and formal definitions for all the FHIR artefacts defined in this guide. - [Artefact Summary](artifacts.html): This page lists all of the FHIR artefacts defined in this guide. - [Questionnaires](questionnaires.html): This page lists all of the Questionnaire resources defined in this guide. - - [Capability Statements](capability-statements.html): This page lists all of the CapabilityStatement resources defined in this guide. - [Profiles and Extensions](profiles-and-extensions.html): This page lists all of the StructureDefinition resources defined in this guide. - - [Terminology](terminology.html): This page lists all of the ValueSet, CodeSystem and ConceptMap resources defined in this guide. + - [Capability Statements](capability-statements.html): This page lists all of the CapabilityStatement resources defined in this guide. + - [Actor Definitions](actor-definitions.html): This page lists all of the ActorDefinition resources defined in this guide. - [Downloads](downloads.html): This page provides links to downloadable artefacts including the Smart Forms FHIR NPM package. diff --git a/input/pagecontent/informative-guidance.xml b/input/pagecontent/informative-guidance.xml new file mode 100644 index 00000000..91da5a05 --- /dev/null +++ b/input/pagecontent/informative-guidance.xml @@ -0,0 +1,19 @@ + + + + Informative Guidance + + +

+ This page provides some additional guidance material that implementers may find useful. It does not contain any formative requirements or recommendations. It is informative only. +

+

Previous Smart Health Checks Material

+

The following document was produced as part of a previous phase of the Smart Health Checks project. It is provided here for reference only. Current requirements have changed since this document was produced.

+ +
+ +
+ + + + diff --git a/input/pagecontent/profiles-and-extensions.md b/input/pagecontent/profiles-and-extensions.md index 02cb0242..b284069b 100644 --- a/input/pagecontent/profiles-and-extensions.md +++ b/input/pagecontent/profiles-and-extensions.md @@ -1,20 +1,16 @@ - - ### Profiles -The profiles used in this guide are defined in [AU Core](https://build.fhir.org/ig/hl7au/au-fhir-core/). - -No additional profiles have been defined for this implementation guide. - - - +The following profiles have been defined for this implementation guide. - +{% include sd-list-generator.md %} +There are additional profiles used in this guide defined in [AU Core](https://build.fhir.org/ig/hl7au/au-fhir-core/). + +
### Extensions diff --git a/input/pagecontent/questionnaires.md b/input/pagecontent/questionnaires.md index d71e2391..54133963 100644 --- a/input/pagecontent/questionnaires.md +++ b/input/pagecontent/questionnaires.md @@ -1,5 +1,3 @@ - - ### Questionnaires The following questionnaires have been defined for this implementation guide. @@ -11,11 +9,3 @@ The following questionnaires have been defined for this implementation guide.
- - - - - - - - diff --git a/input/pagecontent/reference-implementation.md b/input/pagecontent/reference-implementation.md index 5c80531e..b2a98f19 100644 --- a/input/pagecontent/reference-implementation.md +++ b/input/pagecontent/reference-implementation.md @@ -12,10 +12,18 @@ The source code and additional information is available at the [Smart Forms GitH If you are interested in using the rendering engine in your projects, a standalone package is published on NPM as [@aehrc/smart-forms-renderer](https://www.npmjs.com/package/@aehrc/smart-forms-renderer). +#### Smart Health Checks Application + +Try it out here: + +An instance of the Smart Forms Application is hosted to act in the role of the Smart Health Checks Application. It serves as a Smart Health Checks Commons Services component. + +For more information on this specific instance see the [Smart Health Check Integration](smart-health-check-integration.html) page. + #### Smart Forms Server -Publicly available endpoint here: +Publicly available endpoint here: A Questionnaire-hosting Forms Server API that supports the [$assemble](http://hl7.org/fhir/uv/sdc/OperationDefinition-Questionnaire-assemble.html) operation. This API is built on the [HAPI-FHIR Starter Project](https://github.com/hapifhir/hapi-fhir-jpaserver-starter). diff --git a/input/pagecontent/smart-health-check-application-integration.xml b/input/pagecontent/smart-health-check-application-integration.xml deleted file mode 100644 index 7cb80906..00000000 --- a/input/pagecontent/smart-health-check-application-integration.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - Smart Health Check Application Integration - - -
- -
- - diff --git a/input/pagecontent/smart-health-check-integration.md b/input/pagecontent/smart-health-check-integration.md new file mode 100644 index 00000000..6a263fa2 --- /dev/null +++ b/input/pagecontent/smart-health-check-integration.md @@ -0,0 +1,163 @@ +This page provides an overview of the integration requirements for a practice management system to launch the Smart Health Checks Application. The requirements outlined are based on a reference architecture that includes separately hosted services to support the Smart Health Check solution. Other deployment architectures are possible but will have additional requirements not covered in this page or implementation guide generally. + +### Solution Overview + +#### Overview + +The Smart Health Checks Application (SHCA) is a standards-based data collection application supporting the Aboriginal and Torres Strait Islander Health Check assessment (henceforth referred to as, Health Check). It allows a Practice Management System (PMS) to support the collection of Health Check data without the need to implement and maintain each Health Check within the PMS itself. The PMS is integrated with the SHCA using HL7 FHIR standards and associated implementation guides as part of implementing the App Launch, Authorization Service and FHIR Server Application Programming Interfaces. + +#### Assumptions and Constraints + +This solution integration assumes the following: +1. The PMS is a desktop application deployed on-premise within a primary care organisation’s private network or cloud-based virtual private network. +1. The PMS user agent will have access to SHCA and associated Ontoserver terminology service and Smart Health Checks Forms Server using public internet. +1. The PMS Authorization Service will allow secure access from the PMS user agent hosting the SHCA within the private network or public internet when required. +1. The PMS FHIR Server will allow secure access from the PMS user agent hosting the SHCA within the private network or public internet when required. +1. The PMS Authorization Service will maintain secure storage of launch context, authorization codes and access tokens as recommended by OAuth 2.0 specifications. +1. The PMS FHIR Server will maintain storage of FHIR QuestionnaireResponse resources. +1. The PMS FHIR Server will retrieve (read or search) the supported patient and user data from the PMS data store. +1. The PMS FHIR Server will save (create) the supported patient data to the PMS data store. + +### Logical View + +#### High Level Solution Architecture + +The high-level architecture of the Smart Health Check solution is shown in the figure below. The solution consists of a PMS integrated with Smart Health Check Common Services. The PMS represents any existing or future PMS, on-premise or cloud-based, provided by any vendor whilst the Smart Health Check Common Services shared by the multiple and various PMS instances. The Smart Health Check Common Services is not limited to a single centralised deployment, it could be deployed within a jurisdiction, regionally or by a vendor as deemed appropriate. + +
High Level Solution Architecture
+ +The PMS uses the FHIR SMART App Launch framework to launch the SHCA with a unique launch context that correlates to the current user, current patient, current patient visit and required Health Check. + +The SHCA should be integrated within the PMS using an embedded web browser or inline frame (iframe). When necessary, the SHCA may be loaded as a separate web browser instance. + +As part of the SHCA launch sequence, the App will request authorization to access the patient health data using the PMS Authorization Service. The authorize request allows the PMS to grant the App an authorization code that enables the App to then retrieve an access token to the FHIR Server and the App launch data associated with the specified launch context. + +Using the App launch data, such as the Patient ID, user’s Practitioner ID and Health Check Questionnaire identifier, the SHCA will execute FHIR read and search requests against the PMS FHIR Server using the retrieved access token, to retrieve the patient health data required to pre-populate the requested Health Check. On completion of the Health Check the SHCA will send FHIR create requests and supply new patient information to the PMS FHIR server. + +The user records Health Check data within the SHCA and the Health Check response data is saved as draft or completed using the FHIR Server QuestionnaireResponse create or update request. + +##### Practice Management System Components +###### PMS App +The PMS App is an existing practice management system provided by a PMS software provider. The system may be deployed on-premise where the application and database servers are located within confines or control of the primary care organization. An on-premise system would normally be considered a desktop application, where the application executes on multiple workstations connected to a centralised database server. There are also some systems using a hybrid of on-premise and cloud infrastructure. + +In the context of the Smart Health Check solution, the PMS App has a dependency on the PMS Authorization Service to stash launch context details such as the current patient, current user, current patient visit and the Health Check form to be filled, which can be retrieved later by the SHCA. + +The PMS also has a dependency on the SHCA, which provides the standards-based Health Check data capture functionality provided by the Smart Health Check solution. + +###### PMS Authorization Service +The PMS Authorization Service is an OAuth authorisation server that supports SMART App Launch context, which enables a third-party application, such as the SHCA, to request access to patient data in the context of a user’s workflow. + +###### PMS FHIR Server +The PMS FHIR Server is a standards-based Application Programming Interface (API) that enables personal health information to be securely exchanged with the PMS. The FHIR Server uses the HL7 FHIR standard that specifies the type of data and behaviour that can be provided by the API. The FHIR Server also allows health information, such as a Health Check response (i.e. FHIR QuestionnaireResponse) to be stored in the PMS, which may be supported natively within the PMS data store or as a separate FHIR data repository. + +The PMS FHIR Server has a dependency on the PMS App where it accesses the patient data and user records from the PMS data store. + +##### Smart Forms Common Services Components +As noted earlier, the Smart Health Check Common Services does not have to be limited to a single centralised deployment, however, a reference implementation is hosted. See the [Reference Implementation](reference-implementation.html) page for more details. + +###### Smart Health Checks Application +The SHCA is a browser-based web application that uses industry standards to provide a common user interface for the Smart Health Checks solution. The SHCA uses a Single Page Application (SPA) paradigm that allows a modern JavaScript enabled web browser to host the application without any logic executed or patient data stored on the server. + +The SHCA, uses the [HL7 Structured Data Capture (SDC) Implementation Guide (IG)](https://hl7.org/fhir/uv/sdc/STU3/index.html) to implement a rendering of Health Check forms defined using FHIR Questionnaire resources and represent the data captured using FHIR QuestionnaireResponse resources. The SDC IG provides guidance and extensions that enables the SHCA to provide advanced rending, pre-population, data extraction, dynamic behaviour and forms modularisation in a standardised manner. This means the SHCA is also capable of supporting any compatible form defined in accordance with the HL7 Structured Data Capture (SDC) Implementation Guide (IG). + +The SHCA has a dependency on the PMS Authorization Service to request access to the PMS patient data with permissions authorised as part of the authorization flow. + +The SHCA has a dependency on the PMS FHIR Server to access the patient data required to pre-populate the Health Check form, store the captured Health Check data and write back patient data. + +The SHCA has a dependency on the Smart Forms Server that provides the Health Check form as a FHIR Questionnaire resource. Since the SHCA is hosted within the PMS User agent, the request to retrieve the Questionnaire resource originates from the PMS User agent to the Smart Forms Server over the public internet. + +The SHCA also has a dependency on the Ontoserver terminology server that maintains the value sets required in a Health Check form and expand filtered lists of coded concepts such as diagnoses and body sites. The Ontoserver requests that originate from the SHCA will also be transported over the public internet. + +###### Smart Forms Server +The Smart Forms Server is an implementation of a FHIR Server specifically used to support the management of forms represented as FHIR Questionnaire resources. + +The Smart Forms Server will also be used during the Health Check form development to maintain reusable Questionnaire modules assembled into the combined Health Check form used by the SHCA. + +###### Ontoserver +Ontoserver is a terminology server with a FHIR API that allows the SHCA to access FHIR ValueSet resources used in Health Checks and evaluate filtered expansions at runtime based on user entered lookahead requests for concepts such as diagnoses, medications and body sites. + +### Practice Management System Requirements + +The conformance requirements for a system launching the SHCA and exchanging patient data are described by the [SHC Host FHIR Server CapabilityStatement](CapabilityStatement-SHCHostFHIRServerCapabilityStatement.html). This resource forms the normative requirements for integrating the Smart Health Check solution. + +The two main capabilties required for integration are: +1. SMART App Launch Services; and +1. FHIR Server + +#### SMART App Launch Services +A PMS will be required to implement SMART App Launch following the EHR launch flow. The [SMART App Launch implementation guide](https://hl7.org/fhir/smart-app-launch/STU2.2/index.html) describes the requirements in detail. Where needed, additional detail is provided below. + +##### App Registration +The PMS Authorization Service will require a one-time setup to register the SHCA. + +The registration details below can be used. + +| Attribute | Details | +|--------------|--------------------------------------------------| +| Client name | Smart Health Checks Application | +| Client ID | smart-health-checks-application | +| Launch URL | https://healthchecks.smartforms.io/launch | +| Redirect URI | https://healthchecks.smartforms.io/ | + +##### Launch Context +To support SHCA launch, the PMS will need to store the required launch context in representation and at a secure location accessible by the PMS Authorization Service. The launch context will be supplied as a `launch` parameter in the launch request using a unique and opaque launch identifier. It will also be verified against the `launch` parameter supplied in the authorization request. + +The SHCA has the following launch context requirements: + +| Parameter | Condition | Description | +|--------------------|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| patient | required | Current patient identifier used to retrieve the Patient via FHIR Server. | +| encounter | optional | Current patient visit identifier used to retrieve the Encounter via FHIR Server. | +| sub | required | Unique identifier of the user as known by the PMS authorization service. | +| preferred_username | optional | Username used to login to PMS. | +| fhirUser | required | Current user identifier used to retrieve the user’s Practitioner resource via the FHIR API. | +| fhirContext | required | The Health Check Questionnaire context to be launched
`[{ "role": "http://ns.electronichealth.net.au/smart/role/new", "type": "Questionnaire", "canonical": " http://www.health.gov.au/assessments/mbs/715" }]` | + +##### Authorization Request +SHCA will request the following access scopes in the authorization request `scope` parameter: +* `launch` +* `openid` +* `fhirUser` +* `online_access` +* `patient/AllergyIntolerance.cus` +* `patient/Condition.cus` +* `patient/Encounter.r` +* `patient/Immunization.cs` +* `patient/Medication.r` +* `patient/MedicationStatement.cus` +* `patient/Observation.cs` +* `patient/Patient.r` +* `patient/QuestionnaireResponse.crus` +* `user/Practitioner.r` +* `launch/questionnaire?role=http://ns.electronichealth.net.au/smart/role/new` + +#### FHIR Server +A PMS will need to provide a FHIR compatible service that supports the requirements of the SHCA. + +Fundamental requirements are defined in the [core FHIR®© specification]({{site.data.fhir.path}}) and Australian localisation requirements of the core FHIR®© specification are defined in [AU Core](https://hl7.org.au/fhir/core/1.0.0) and [AU Base](https://hl7.org.au/fhir/5.0.0). Additional detail is provided below. + +The PMS FHIR Server requirements are described by the [SHC Host FHIR Server CapabilityStatement](CapabilityStatement-SHCHostFHIRServerCapabilityStatement.html). + +A summary of the required FHIR endpoints, resources and RESTful interactions are shown below. If there are any variations between this page and the CapabilityStatement above, the CapabilityStatement takes precedence. + +* .well-known/smart-configuration (in accordance with the [SMART App Launch implementation guide](https://hl7.org/fhir/smart-app-launch/STU2.2/app-launch.html#retrieve-well-knownsmart-configuration)) +* [Smart Health Checks AllergyIntolerance](StructureDefinition-SHCAllergyIntolerance.html) - `create`, `patch`, `search` +* [Smart Health Checks Condition](StructureDefinition-SHCCondition.html) - `create`, `patch`, `search` +* [Smart Health Checks Encounter](StructureDefinition-SHCEncounter.html) - `read` +* [Smart Health Checks Immunization](StructureDefinition-SHCImmunization.html) - `create`, `search` +* [Smart Health Checks Medication](StructureDefinition-SHCMedication.html) - `read` +* [Smart Health Checks MedicationStatement](StructureDefinition-SHCMedicationStatement.html) - `create`, `patch`, `search` +* Observations + * [Smart Health Checks Blood Pressure](StructureDefinition-SHCBloodPressure.html) - `create`, `search` + * [Smart Health Checks Body Height](StructureDefinition-SHCBodyHeight.html) - `create`, `search` + * [Smart Health Checks Body Weight](StructureDefinition-SHCBodyWeight.html) - `create`, `search` + * [Smart Health Checks Head Circumference](StructureDefinition-SHCHeadCircumference.html) - `create`, `search` + * [Smart Health Checks Heart Rate](StructureDefinition-SHCHeartRate.html) - `create`, `search` + * [Smart Health Checks Heart Rhythm](StructureDefinition-SHCHeartRhythm.html) - `create`, `search` + * [Smart Health Checks Pathology Result](StructureDefinition-SHCPathologyResult.html) - `search` + * [Smart Health Checks Smoking Status](StructureDefinition-SHCSmokingStatus.html) - `create`, `search` + * [Smart Health Checks Waist Circumference](StructureDefinition-SHCWaistCircumference.html) - `create`, `search` +* [Smart Health Checks Patient](StructureDefinition-SHCPatient.html) - `read` +* [Smart Health Checks Practitioner](StructureDefinition-SHCPractitioner.html) - `read` +* [Smart Health Checks Questionnaire Response](StructureDefinition-SHCQuestionnaireResponse.html) - `create`, `read`, `update`, `search` + diff --git a/input/pagecontent/terminology.md b/input/pagecontent/terminology.md deleted file mode 100644 index e040505b..00000000 --- a/input/pagecontent/terminology.md +++ /dev/null @@ -1,52 +0,0 @@ - -This page lists all ValueSets and CodeSystems defined as part of this specification. - -### Value Sets - -See the [FHIR terminology section]({{site.data.fhir.path}}terminologies-systems.html) for a complete discussion on value sets and a list of value set names used in FHIR. - - - - - - - - - - -**Value sets contained in the Aboriginal and Torres Strait Islander Health Check Questionnaire** -- [Aboriginal and/or Torres Strait Islander](ValueSet-AboriginalTorresStraitIslander.html) -- [Condition Clinical Status Codes](ValueSet-condition-clinical.html) -- [Medical History](ValueSet-MedicalHistory.html) - -- [Primary Carer Of Parent Or Grandparent](ValueSet-PrimaryCarerParentGrandparent.html) -- [Yes/No](ValueSet-YesNo.html) -- [Yes/No/NA](ValueSet-YesNoNA.html) -- [Yes/No/Not Asked/Asked But Declined](ValueSet-YesNoNotAskedDeclined.html) -- [Australian States and Territories](ValueSet-australian-states-territories-2.html) -- [Personal Pronouns](ValueSet-pronouns.html) -- [Gender Identity Response](ValueSet-gender-identity-response-1.html) -- [Biological Sex](ValueSet-biological-sex-1.html) - - -### Code systems - -See the [FHIR terminology section]({{site.data.fhir.path}}terminologies-systems.html) for a complete discussion on code systems and a list of code system names used in FHIR. - -**Code systems published in this guide** - - - - -{% include res-list-generator.md type="CodeSystem" %} - - - -### Concept Maps - -See the [FHIR terminology section]({{site.data.fhir.path}}terminologies-conceptmaps.html) for a complete discussion on concept maps and a list of concept map names used in FHIR. - -No concept maps have been defined for this implementation guide. \ No newline at end of file diff --git a/input/resources/CapabilityStatement-SFLauncherServerAboriginalTorresStraitIslanderHealthCheck.json b/input/resources/CapabilityStatement-SFLauncherServerAboriginalTorresStraitIslanderHealthCheck.json deleted file mode 100644 index f88b41f2..00000000 --- a/input/resources/CapabilityStatement-SFLauncherServerAboriginalTorresStraitIslanderHealthCheck.json +++ /dev/null @@ -1,678 +0,0 @@ -{ - "resourceType": "CapabilityStatement", - "id": "SFLauncherServerAboriginalTorresStraitIslanderHealthCheck", - "text": { - "status": "extensions", - "div": "

Smart Forms Launcher Server for the Aboriginal and Torres Strait Islander Health Check Capability Statement

  • Kind of capability statement: Requirements
  • FHIR Version: 4.0.1
  • Supported Formats: SHALL support json
  • Published by: AEHRC CSIRO

Note to Implementers: FHIR Capabilities

Any FHIR capability may be 'allowed' by the system unless explicitly marked as "SHALL NOT". Some items might be marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.

SHALL Support the Following Implementation Guides

SHOULD Support the Following Implementation Guides

SHALL Implement the Following Capability Statements:

SHOULD Implement the Following Capability Statements:

FHIR RESTful Capabilities

Mode: server

A Smart Forms Launcher Server SHALL:

  1. Support the AU Core Patient resource profile.
  2. Support the AU Core Practitioner resource profile.
  3. Support the AU Core Encounter resource profile.
  4. Support the AU Core Condition resource profile.
  5. Support the AU Core Observation resource profiles.
  6. Support the SDC Questionnaire Response.
  7. Implement the RESTful behavior according to the FHIR specification.
  8. Support JSON source formats for all interactions.
Security

A Smart Forms Launcher Server SHALL:

  1. Support CORS headers
  2. Support SMART on FHIR security services

See the Structured Data Capture Security Details section for general considerations and recommendations.

Capabilities by Resource/Profile

Summary

The summary table lists the resources that are part of this configuration, and for each resource it lists:

  • The relevant profiles (if any)
  • The interactions supported by each resource (Read, Search, Update, and Create, are always shown, while VRead, Patch, Delete, History on Instance, or History on Type are only present if at least one of the resources has support for them.
  • The required, recommended, and some optional search parameters (if any).
  • The linked resources enabled for _include
  • The other resources enabled for _revinclude
  • The operations on the resource (if any)
Resource Type Profile R S U C Searches _include _revinclude Operations
Patienthttp://hl7.org.au/fhir/core/StructureDefinition/au-core-patient y
Practitionerhttp://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner y
Encounterhttp://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter y
Conditionhttp://hl7.org.au/fhir/core/StructureDefinition/au-core-condition ypatient, clinical-status, patient+clinical-status
Observationhttp://hl7.org.au/fhir/core/StructureDefinition/au-core-observation
Additional supported profiles:
ycode, patient, _count, _sort, code+patient+_count+_sort
QuestionnaireResponsehttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse yyyypatient, questionnaire, status, _count, _sort, patient+_count+_sort, patient+questionnaire+_count+_sort, patient+status+_count+_sort

Resource Conformance: SHALLPatient

Profile Conformance
SHALL
Interaction summary
  • SHALL support read.
Documentation

The server SHALL support the Patient resource, AU Core profile and the conformance expectations for the Patient resource.

Resource Conformance: SHALLPractitioner

Interaction summary
  • SHALL support read.
Documentation

The server SHALL support the Practitioner resource, AU Core profile and the conformance expectations for the Practitioner resource.

Resource Conformance: SHALLEncounter

Profile Conformance
SHALL
Interaction summary
  • SHALL support read.
Documentation

The server SHALL support the Encounter resource, AU Core profile and the conformance expectations for the Encounter resource.

Resource Conformance: SHALLCondition

Profile Conformance
SHALL
Interaction summary
  • SHALL support search-type.
Documentation

The server SHALL support the Condition resource, the AU Core profile and the conformance expectations for the Condition resource.

Search Parameters
Conformance Parameter Type Documentation
SHALLpatientreference

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

SHALLclinical-statustoken

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

Combined Search Parameters
Conformance Parameters Types
SHALLpatient+ clinical-status reference+token

Resource Conformance: SHALLObservation

Profile Conformance
SHALL
Interaction summary
  • SHALL support search-type.
Documentation

The server SHALL support the Observation resource, the AU Core profiles listed and the conformance expectations for the Observation resource.

Search Parameters
Conformance Parameter Type Documentation
SHALLpatientreference

The client SHALL provide at least an id value and MAY provide both the Type and id values. The server SHALL support both.

SHALLcodetoken

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

SHALL_countnumber

The client and server SHALL support search result limiting.

SHALL_sortstring

The client server SHALL support search result sorting by date and MAY support other values.

Combined Search Parameters
Conformance Parameters Types
SHALLpatient+ code+ _count+ _sort reference+token+number+string

Resource Conformance: SHALLQuestionnaireResponse

Interaction summary
  • SHALL support read, search-type, update, create.
Versioning

VersionId tracked fully

The server SHALL correctly track and populate the versionId meta-property on resources and support using e-tags and If-Match header for version integrity in the API.

Documentation

The server SHALL support the QuestionnaireResponse resource, Structured Data Capture profile and the conformance expectations for the QuestionnaireResponse resource.

Search Parameters
Conformance Parameter Type Documentation
SHALLpatient reference

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

SHALLquestionnaire reference

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

SHALLstatustoken

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

SHALL_countnumber

The client and server SHALL support search result limiting.

SHALL_sortstring

The client and server SHALL support search result sorting by authored and MAY support other values.

Combined Search Parameters
Conformance Parameters Types
SHALLpatient+ _count+ _sort reference+number+string
SHALLpatient+ questionnaire+ _count+ _sort reference+reference+number+string
SHALLpatient+ status+ _count+ _sort reference+token+number+string
" - }, - "url": "https://smartforms.csiro.au/ig/CapabilityStatement/SFLauncherServerAboriginalTorresStraitIslanderHealthCheck", - "name": "SmartFormsLauncherServerAboriginalTorresStraitIslanderHealthCheck", - "title": "Smart Forms Launcher Server for the Aboriginal and Torres Strait Islander Health Check", - "description": "This CapabilityStatement describes the expected capabilities for systems to launch and exchange data with the [Smart Forms client application](CapabilityStatement-SmartFormsApplication.html) to support the [Aboriginal and Torres Strait Islander Health Check](Questionnaire-AboriginalTorresStraitIslanderHealthCheck.html). It lists the server's conformance expectations for the resource types required as a launch context, resource types required to support prepopulation of the form, and QuestionnaireResponse requirements for managing form responses. These expectations include supported FHIR profiles, RESTful operations, and search parameters.", - "status": "draft", - "experimental": false, - "date": "2023-06-16", - "publisher": "AEHRC CSIRO", - "jurisdiction": [ - { - "coding": [ - { - "code": "AU", - "system": "urn:iso:std:iso:3166" - } - ] - } - ], - "kind": "requirements", - "instantiates": [ - "http://hl7.org.au/fhir/core/CapabilityStatement/au-core-server", - "http://hl7.org/fhir/uv/sdc/CapabilityStatement/sdc-form-response-manager", - "http://hl7.org/fhir/uv/sdc/CapabilityStatement/sdc-form-archiver" - ], - "_instantiates": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ] - } - ], - "fhirVersion": "4.0.1", - "format": [ - "json" - ], - "_format": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - } - ], - "implementationGuide": [ - "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch", - "http://hl7.org/fhir/uv/sdc/ImplementationGuide/hl7.fhir.uv.sdc" - ], - "_implementationGuide": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ] - } - ], - "rest": [ - { - "mode": "server", - "documentation": "

A Smart Forms Launcher Server SHALL:

  1. Support the AU Core Patient resource profile.
  2. Support the AU Core Practitioner resource profile.
  3. Support the AU Core Encounter resource profile.
  4. Support the AU Core Condition resource profile.
  5. Support the AU Core Observation resource profiles.
  6. Implement the RESTful behavior according to the FHIR specification.
  7. Support JSON source formats for all interactions.
", - "security": { - "cors": true, - "_cors": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - "service": [ - { - "coding": [ - { - "code": "SMART-on-FHIR", - "system": "http://terminology.hl7.org/CodeSystem/restful-security-service" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - } - ], - "description": "

A Smart Forms Launcher Server SHALL:

  1. Support CORS headers
  2. Support SMART on FHIR security services

See the Structured Data Capture Security Details section for general considerations and recommendations.

" - }, - "resource": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "type": "Patient", - "profile": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient", - "_profile": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - "documentation": "

The server SHALL support the Patient resource, AU Core profile and the conformance expectations for the Patient resource.

", - "interaction": [ - { - "code": "read", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "type": "Practitioner", - "profile": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner", - "_profile": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - "documentation": "

The server SHALL support the Practitioner resource, AU Core profile and the conformance expectations for the Practitioner resource.

", - "interaction": [ - { - "code": "read", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "type": "Encounter", - "profile": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter", - "_profile": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - "documentation": "

The server SHALL support the Encounter resource, AU Core profile and the conformance expectations for the Encounter resource.

", - "interaction": [ - { - "code": "read", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "clinical-status" - } - ] - } - ], - "type": "Condition", - "profile": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition", - "_profile": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - "documentation": "

The server SHALL support the Condition resource, the AU Core profile and the conformance expectations for the Condition resource.

", - "interaction": [ - { - "code": "search-type", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - } - ], - "searchParam": [ - { - "name": "patient", - "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", - "type": "reference", - "documentation": "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "name": "clinical-status", - "definition": "http://hl7.org/fhir/SearchParameter/Condition-clinical-status", - "type": "token", - "documentation": "

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - }, - { - "url": "required", - "valueString": "_count" - }, - { - "url": "required", - "valueString": "_sort" - } - ] - } - ], - "type": "Observation", - "profile": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-observation", - "_profile": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - "supportedProfile": [ - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-smokingstatus", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyheight", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyweight", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bmi", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-waistcircum", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bloodpressure", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-heartrate", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-lipid-result" - ], - "_supportedProfile": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - } - ], - "documentation": "

The server SHALL support the Observation resource, the AU Core profiles listed and the conformance expectations for the Observation resource.

", - "interaction": [ - { - "code": "search-type", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - } - ], - "searchParam": [ - { - "name": "patient", - "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", - "type": "reference", - "documentation": "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "name": "code", - "definition": "http://hl7.org/fhir/SearchParameter/clinical-code", - "type": "token", - "documentation": "

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "name": "_count", - "type": "number", - "documentation": "

The client and server SHALL support search result limiting.

", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "name": "_sort", - "type": "string", - "documentation": "

The client and server SHALL support search result sorting by date and MAY support other values.

", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "_count" - }, - { - "url": "required", - "valueString": "_sort" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "_count" - }, - { - "url": "required", - "valueString": "_sort" - }, - { - "url": "required", - "valueString": "questionnaire" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "_count" - }, - { - "url": "required", - "valueString": "_sort" - }, - { - "url": "required", - "valueString": "status" - } - ] - } - ], - "type": "QuestionnaireResponse", - "profile": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse", - "_profile": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - "documentation": "

The server SHALL support the QuestionnaireResponse resource, Structured Data Capture profile and the conformance expectations for the QuestionnaireResponse resource.

", - "interaction": [ - { - "code": "read", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "code": "search-type", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "code": "create", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "code": "update", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - } - ], - "versioning": "versioned-update", - "_versioning": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - "searchParam": [ - { - "name": "patient", - "definition": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-patient", - "type": "reference", - "documentation": "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "name": "questionnaire", - "definition": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-questionnaire", - "type": "reference", - "documentation": "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

The client and server SHALL support chained search questionnaire.title using the :contains modifier.

", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "name": "status", - "definition": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-status", - "type": "token", - "documentation": "

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "name": "_count", - "type": "number", - "documentation": "

The client and server SHALL support search result limiting.

", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - }, - { - "name": "_sort", - "type": "string", - "documentation": "

The client and server SHALL support search result sorting by authored and MAY support other values.

", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ] - } - ] - } - ] - } - ] -} diff --git a/input/resources/CapabilityStatement-SmartFormsApplication.json b/input/resources/CapabilityStatement-SmartFormsApplication.json deleted file mode 100644 index e02873a9..00000000 --- a/input/resources/CapabilityStatement-SmartFormsApplication.json +++ /dev/null @@ -1,420 +0,0 @@ -{ - "resourceType": "CapabilityStatement", - "id": "SmartFormsApplication", - "text": { - "status": "extensions", - "div": "

Smart Forms Application Capability Statement

  • Kind of capability statement: capability
  • FHIR Version: 4.0.1
  • Supported Formats: json
  • Published by: AEHRC CSIRO

Note to Implementers: FHIR Capabilities

Additional FHIR capabilities may be 'allowed' by the system. Only the capabilities relevant to Smart Forms have been included in this capability statement.

Supports the Following Implementation Guides

Implements a Subset of the Following Capability Statements:

FHIR RESTful Capabilities

Mode: client

The Smart Forms Application performs interactions to support SMART App Launch, form prepopulation and form filling.

Security

Summary of System-wide Interactions
  • Supports the transaction interaction.
  • Supports the batch interaction.

Capabilities by Resource/Profile

Summary

The summary table lists the resources that are part of this configuration, and for each resource it lists:

  • The relevant profiles (if any)
  • The interactions supported by each resource (Read, Search, Update, and Create, are always shown, while VRead, Patch, Delete, History on Instance, or History on Type are only present if at least one of the resources has support for them.
  • The required, recommended, and some optional search parameters (if any).
  • The linked resources enabled for _include
  • The other resources enabled for _revinclude
  • The operations on the resource (if any)
Resource Type Profile R S U C Searches _include _revinclude Operations
Patienthttp://hl7.org/fhir/StructureDefinition/Patient
Additional supported profiles:
y
Practitionerhttp://hl7.org/fhir/StructureDefinition/Practitioner
Additional supported profiles:
y
Encounterhttp://hl7.org/fhir/StructureDefinition/Encounter
Additional supported profiles:
y
Conditionhttp://hl7.org/fhir/StructureDefinition/Condition
Additional supported profiles:
ypatient, clinical-status, patient+clinical-status
Observationhttp://hl7.org/fhir/StructureDefinition/Observation
Additional supported profiles:
ycode, patient, _count, _sort, code+patient+_count+_sort
Questionnairehttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire yyurl, version, title, _count, _sort, url+version, _count+_sort, title+_count+_sort$assemble, $populate
QuestionnaireResponsehttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse yyyypatient, questionnaire, questionnaire.title, status, _count, _sort, patient+_count+_sort, patient+questionnaire+_count+_sort, patient+questionnaire.title+_count+_sort, patient+status+_count+_sort
ValueSethttp://hl7.org/fhir/StructureDefinition/ValueSet $expand

Patient

Interaction summary
  • Supports read.

Practitioner

Encounter

Interaction summary
  • Supports read.

Condition

Interaction summary
  • Supports search-type.
Search Parameters
Parameter Type Documentation
patientreference

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

clinical-statustoken

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

Combined Search Parameters
Parameters Types
patient+ clinical-status reference+token

Observation

Interaction summary
  • Supports search-type.
Search Parameters
Parameter Type Documentation
patientreference

The client SHALL provide at least an id value and MAY provide both the Type and id values. The server SHALL support both.

codetoken

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

_countnumber

The client supports search result limiting.

_sortstring

The client supports search result sorting by date and MAY support other values.

Combined Search Parameters
Parameters Types
patient+ code+ _count+ _sort reference+token+number+string

Questionnaire

Interaction summary
  • Supports search-type, create.
Search Parameters
Parameter Type Documentation
urluri

versiontoken

titlestring

The client supports search using the :contains modifier.

_countnumber

The client supports search result limiting.

_sortstring

The client supports search result sorting by date and MAY support other values.

Combined Search Parameters
Parameters Types
url+ version uri+token
_count+ _sort number+string
title+ _count+ _sort string+number+string
Operations
Operation Documentation
$assemble

$populate

QuestionnaireResponse

Interaction summary
  • Supports read, search-type, update, create.
  • All search requests SHALL at least include the patient parameter.
Search Parameters
Parameter Type Documentation
patient reference

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

questionnaire reference

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

questionnaire.title string

The client and server SHALL support chained search questionnaire.title using the search modifier :contains.

statustoken

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

_countnumber

The client supports search result limiting.

_sortstring

The client supports search result sorting by authored and MAY support other values.

Combined Search Parameters
Parameters Types
patient+ _count+ _sort reference+number+string
patient+ questionnaire+ _count+ _sort reference+reference+number+string
patient+ questionnaire.title+ _count+ _sort reference+string+number+string
patient+ status+ _count+ _sort reference+token+number+string

ValueSet

Operations
Operation Documentation
$expand

" - }, - "url": "https://smartforms.csiro.au/ig/CapabilityStatement/SmartFormsApplication", - "name": "SmartFormsApplication", - "title": "Smart Forms Application", - "description": "This CapabilityStatement describes the capabilities of the Smart Forms Application. These capabilities include supported FHIR profiles, RESTful operations, and search parameters. It covers supported tasks such as SMART App launch context, prepopulation and completion of forms.", - "status": "draft", - "experimental": false, - "date": "2023-06-16", - "publisher": "AEHRC CSIRO", - "kind": "capability", - "instantiates": [ - "http://hl7.org/fhir/uv/sdc/CapabilityStatement/sdc-form-filler" - ], - "software": { - "name": "Smart Forms Application" - }, - "fhirVersion": "4.0.1", - "format": [ - "json" - ], - "implementationGuide": [ - "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch" - ], - "rest": [ - { - "mode": "client", - "documentation": "The Smart Forms Application performs interactions to support SMART App Launch, form prepopulation and form filling. The interactions performed for prepopulation are not listed here as they can vary greatly and are defined in the Questionnaire instance.", - "security": { - "cors": true, - "service": [ - { - "coding": [ - { - "code": "SMART-on-FHIR", - "system": "http://terminology.hl7.org/CodeSystem/restful-security-service" - } - ] - } - ], - "description": "SMART App Launch supported to allow secure data exchange." - }, - "resource": [ - { - "type": "Patient", - "profile": "http://hl7.org/fhir/StructureDefinition/Patient", - "supportedProfile": [ - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient" - ], - "interaction": [ - { - "code": "read" - } - ] - }, - { - "type": "Practitioner", - "profile": "http://hl7.org/fhir/StructureDefinition/Practitioner", - "supportedProfile": [ - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner" - ], - "interaction": [ - { - "code": "read" - } - ] - }, - { - "type": "Encounter", - "profile": "http://hl7.org/fhir/StructureDefinition/Encounter", - "supportedProfile": [ - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter" - ], - "interaction": [ - { - "code": "read" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "clinical-status" - } - ] - } - ], - "type": "Condition", - "profile": "http://hl7.org/fhir/StructureDefinition/Condition", - "supportedProfile": [ - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition" - ], - "interaction": [ - { - "code": "search-type" - } - ], - "searchParam": [ - { - "name": "patient", - "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", - "type": "reference", - "documentation": "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

" - }, - { - "name": "clinical-status", - "definition": "http://hl7.org/fhir/SearchParameter/Condition-clinical-status", - "type": "token", - "documentation": "

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - }, - { - "url": "required", - "valueString": "_count" - }, - { - "url": "required", - "valueString": "_sort" - } - ] - } - ], - "type": "Observation", - "profile": "http://hl7.org/fhir/StructureDefinition/Observation", - "supportedProfile": [ - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-observation", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-smokingstatus", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyheight", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bodyweight", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bmi", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-waistcircum", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-bloodpressure", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-heartrate", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-lipid-result", - "http://hl7.org.au/fhir/core/StructureDefinition/au-core-sexassignedatbirth" - ], - "interaction": [ - { - "code": "search-type" - } - ], - "searchParam": [ - { - "name": "patient", - "definition": "http://hl7.org/fhir/SearchParameter/clinical-patient", - "type": "reference", - "documentation": "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

" - }, - { - "name": "code", - "definition": "http://hl7.org/fhir/SearchParameter/clinical-code", - "type": "token", - "documentation": "

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

" - }, - { - "name": "_count", - "type": "number", - "documentation": "

The client supports search result limiting.

" - }, - { - "name": "_sort", - "type": "string", - "documentation": "

The client supports search result sorting by date and MAY support other values.

" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "required", - "valueString": "url" - }, - { - "url": "required", - "valueString": "version" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "required", - "valueString": "_count" - }, - { - "url": "required", - "valueString": "_sort" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "required", - "valueString": "title" - }, - { - "url": "required", - "valueString": "_count" - }, - { - "url": "required", - "valueString": "_sort" - } - ] - } - ], - "type": "Questionnaire", - "profile": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire", - "interaction": [ - { - "code": "search-type" - }, - { - "code": "create" - } - ], - "searchParam": [ - { - "name": "url", - "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-url", - "type": "uri" - }, - { - "name": "version", - "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-version", - "type": "token" - }, - { - "name": "title", - "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-title", - "type": "string", - "documentation": "

The client supports search using the :contains modifier.

" - }, - { - "name": "_count", - "type": "number", - "documentation": "

The client supports search result limiting.

" - }, - { - "name": "_sort", - "type": "string", - "documentation": "

The client supports search result sorting by date and MAY support other values.

" - } - ], - "operation": [ - { - "name": "assemble", - "definition": "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-assemble" - }, - { - "name": "populate", - "definition": "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-populate" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "_count" - }, - { - "url": "required", - "valueString": "_sort" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "_count" - }, - { - "url": "required", - "valueString": "_sort" - }, - { - "url": "required", - "valueString": "questionnaire" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "_count" - }, - { - "url": "required", - "valueString": "_sort" - }, - { - "url": "required", - "valueString": "status" - } - ] - } - ], - "type": "QuestionnaireResponse", - "profile": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse", - "interaction": [ - { - "code": "read" - }, - { - "code": "search-type" - }, - { - "code": "create" - }, - { - "code": "update" - } - ], - "searchParam": [ - { - "name": "patient", - "definition": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-patient", - "type": "reference", - "documentation": "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

" - }, - { - "name": "questionnaire", - "definition": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-questionnaire", - "type": "reference", - "documentation": "

The client SHALL provide at least a id value and MAY provide both the Type and id values. The server SHALL support both.

The client and server SHALL support chained search questionnaire.title using the :contains modifier.

" - }, - { - "name": "status", - "definition": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-status", - "type": "token", - "documentation": "

The client SHALL provide at least a code value and MAY provide both the code and system values. The server SHALL support both.

" - }, - { - "name": "_count", - "type": "number", - "documentation": "

The client supports search result limiting.

" - }, - { - "name": "_sort", - "type": "string", - "documentation": "

The client supports search result sorting by authored and MAY support other values.

" - } - ] - }, - { - "type": "ValueSet", - "profile": "http://hl7.org/fhir/StructureDefinition/ValueSet", - "operation": [ - { - "name": "expand", - "definition": "http://hl7.org/fhir/OperationDefinition/ValueSet-expand" - } - ] - } - ], - "interaction": [ - { - "code": "transaction" - }, - { - "code": "batch" - } - ] - } - ] -} diff --git a/input/resources/CapabilityStatement-SmartFormsServer.json b/input/resources/CapabilityStatement-SmartFormsServer.json deleted file mode 100644 index 8fd95efd..00000000 --- a/input/resources/CapabilityStatement-SmartFormsServer.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "resourceType": "CapabilityStatement", - "id": "SmartFormsServer", - "text": { - "status": "extensions", - "div": "

Smart Forms Server Capability Statement

  • Kind of capability statement: capability
  • FHIR Version: 4.0.1
  • Supported Formats: json and xml
  • Published by: AEHRC CSIRO

Note to Implementers: FHIR Capabilities

Additional FHIR capabilities may be 'allowed' by the system. Only the capabilities relevant to Smart Forms have been included in this capability statement.

Implements a Subset of the Following Capability Statements:

FHIR RESTful Capabilities

Mode: server

The Smart Forms Server provides interactions for hosting Questionnaire resources and the assembly of modular Questionnaires.

Security

Capabilities by Resource/Profile

Summary

The summary table lists the resources that are part of this configuration, and for each resource it lists:

  • The relevant profiles (if any)
  • The interactions supported by each resource (Read, Search, Update, and Create, are always shown, while VRead, Patch, Delete, History on Instance, or History on Type are only present if at least one of the resources has support for them.
  • The required, recommended, and some optional search parameters (if any).
  • The linked resources enabled for _include
  • The other resources enabled for _revinclude
  • The operations on the resource (if any)
Resource Type Profile R S U C Searches _include _revinclude Operations
Questionnairehttp://hl7.org/fhir/StructureDefinition/Questionnaire
Additional supported profiles:
yyurl, version, title, _count, _sort, url+version, _count+_sort, title+_count+_sort $assemble

Questionnaire

Interaction summary
  • Supports read, search-type.

Search Parameters
Parameter Type Documentation
urluri

versiontoken

titlestring

The server supports search using the :contains modifier.

_countnumber

The server supports search result limiting.

_sortstring

The server supports search result sorting by date and MAY support other values.

Combined Search Parameters
Parameters Types
url+ version uri+token
_count+ _sort number+string
title+ _count+ _sort string+number+string
Operations
Operation Documentation
$assemble

" - }, - "url": "https://smartforms.csiro.au/ig/CapabilityStatement/SmartFormsServer", - "name": "SmartFormsServer", - "title": "Smart Forms Server", - "description": "This CapabilityStatement describes the capabilities of the Smart Forms Server. The Smart Forms Server provides a definitional repository of resources that a client application can retrieve for use in a Smart Forms context. The capabilities listed include supported FHIR profiles, RESTful operations, and search parameters.", - "status": "draft", - "experimental": false, - "date": "2023-06-16", - "publisher": "AEHRC CSIRO", - "kind": "capability", - "instantiates": [ - "http://hl7.org/fhir/uv/sdc/CapabilityStatement/sdc-form-manager" - ], - "software": { - "name": "Smart Forms Server" - }, - "fhirVersion": "4.0.1", - "format": [ - "json", - "xml" - ], - "rest": [ - { - "mode": "server", - "documentation": "The Smart Forms Server provides interactions for hosting Questionnaire resources and the assembly of modular Questionnaires.", - "resource": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "required", - "valueString": "url" - }, - { - "url": "required", - "valueString": "version" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "required", - "valueString": "_count" - }, - { - "url": "required", - "valueString": "_sort" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", - "extension": [ - { - "url": "required", - "valueString": "title" - }, - { - "url": "required", - "valueString": "_count" - }, - { - "url": "required", - "valueString": "_sort" - } - ] - } - ], - "type": "Questionnaire", - "profile": "http://hl7.org/fhir/StructureDefinition/Questionnaire", - "supportedProfile": [ - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular" - ], - "interaction": [ - { - "code": "search-type" - } - ], - "searchParam": [ - { - "name": "url", - "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-url", - "type": "uri" - }, - { - "name": "version", - "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-version", - "type": "token" - }, - { - "name": "title", - "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-title", - "type": "string", - "documentation": "

The client supports search using the :contains modifier.

" - }, - { - "name": "_count", - "type": "number", - "documentation": "

The server supports search result limiting.

" - }, - { - "name": "_sort", - "type": "string", - "documentation": "

The server supports search result sorting by date and MAY support other values.

" - } - ], - "operation": [ - { - "name": "assemble", - "definition": "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-assemble" - } - ] - } - ] - } - ] -} diff --git a/input/resources/CodeSystem-questionnaire-item-control.json b/input/resources/CodeSystem-questionnaire-item-control.json deleted file mode 100644 index 8b36aedc..00000000 --- a/input/resources/CodeSystem-questionnaire-item-control.json +++ /dev/null @@ -1,269 +0,0 @@ -{ - "resourceType": "CodeSystem", - "id": "questionnaire-item-control", - "text": { - "status": "extensions", - "div": "

Properties

This code system defines the following properties for its concepts

CodeURITypeDescription
abstractbooleanTrue if an element is considered 'abstract' - that is the code is not for use as a real concept
statushttp://hl7.org/fhir/concept-properties#statuscodeA property that indicates the status of the concept. One of active, experimental, deprecated, or retired.
deprecationDatehttp://hl7.org/fhir/concept-properties#deprecationDatedateTimeThe date at which a concept was deprecated. Concepts that are deprecated but not inactive can still be used, but their use is discouraged.

Concepts

This code system http://hl7.org/fhir/questionnaire-item-control defines the following codes:

LvlCodeDisplayDefinitionDeprecatedabstractStatusDeprecation Date
1group UI controls relevant to organizing groups of questionstrue
2 list ListQuestions within the group should be listed sequentially
2 table Vertical Answer TableQuestions within the group are rows in the table with possible answers as columns. Used for 'choice' questions. The questions within a group marked with this controlType SHALL provide an enumerated list of options and SHOULD refer to the same set of options, same value set or same expression. In the case of a 'sparse' table where some options aren't available for some questions, the order of the answers in the table is not defined and some rendering tools may refuse to display the group as a table.
2 htable Horizontal Answer TableQuestions within the group are columns in the table with possible answers as rows. Used for 'choice' questions. The questions within a group marked with this controlType SHALL provide an enumerated list of options and SHOULD refer to the same set of options, same value set or same expression. In the case of a 'sparse' table where some options aren't available for some questions, the order of the answers in the table is not defined and some rendering tools may refuse to display the group as a table.
2 gtable Group TableQuestions within the group are columns in the table with each group repetition as a row. Used for single-answer questions.
2 grid Group GridChild items of type='group' within the a 'grid' group are rows, and questions beneath the 'row' groups are organized as columns in the grid. The grid might be fully populated, but could be sparse. Questions may support different data types and/or different answer choices.
2 header HeaderThe group is to be continuously visible at the top of the questionnaire
2 footer FooterThe group is to be continuously visible at the bottom of the questionnaire
2 page PageIndicates that the content within the group should appear as a logical "page" when rendering the form, such that all enabled items within the page are displayed at once, but items in subsequent groups are not displayed until the user indicates a desire to move to the 'next' group. (Header and footer items may still be displayed.) This designation may also influence pagination when printing questionnaires. If there are items at the same level as a 'page' group that are listed before the 'page' group, they will be treated as a separate page. Header and footer groups for a questionnaire will be rendered on all pages.
2 tab-container Tab ContainerIndicates that the group represents a collection of tabs. All child items SHALL be of type 'group' and SHALL NOT declare any item controls themselves. Each child group represents one tab within the tab container, where the item.title is the label for the tab.
1display UI controls relevant to rendering questionnaire display itemstrue
2 inline In-lineDisplay item is rendered as a paragraph in a sequential position between sibling items (default behavior)
2 prompt PromptText is displayed immediately below or within the answer-entry area of the containing question item (typically as a guide for what to enter). **Deprecation Note** - Use the [[[http://hl7.org/fhir/StructureDefinition/entryFormat]]] extension instead.Deprecateddeprecated2019-10-03
2 unit UnitDisplay item is rendered adjacent (horizontally or vertically) to the answer space for the parent question, typically to indicate a unit of measure. **Deprecation Note** - The display element of the [[[http://hl7.org/fhir/StructureDefinition/questionnaire-unit]]] should be used instead.Deprecateddeprecated2022-09-08
2 lower Lower-boundDisplay item is rendered to the left of the set of answer choices or a scaling control for the parent question item to indicate the meaning of the 'lower' bound. E.g. 'Strongly disagree'
2 upper Upper-boundDisplay item is rendered to the right of the set of answer choices or a scaling control for the parent question item to indicate the meaning of the 'upper' bound. E.g. 'Strongly agree'
2 flyover Fly-overDisplay item is temporarily visible over top of an item if the mouse is positioned over top of the text for the containing item
2 help Help-ButtonDisplay item is rendered in a dialog box or similar control if invoked by pushing a button or some other UI-appropriate action to request 'help' for a question, group or the questionnaire as a whole (depending what the display item is nested within)
2 legal legal-ButtonDisplay item is rendered in a dialog box or similar control if invoked by pushing a button or some other UI-appropriate action to request 'legal' info for a question, group or the questionnaire as a whole (depending what the display item is nested within)
1question UI controls relevant to capturing question datatrue
2 autocomplete Auto-completeA control which provides a list of potential matches based on text entered into a control. Used for large choice sets where text-matching is an appropriate discovery mechanism.
2 drop-down Drop downA control where an item (or multiple items) can be selected from a list that is only displayed when the user is editing the field. This control is best used for small-to-medium sized lists of options that can reasonably be scanned and selected in a drop-down control. If the list of options is managed by ValueSet, the designer should be confident that the set of codes will both be fully available and appropriately sized. For larger lists, the autocomplete control is more appropriate.
2 check-box Check-boxA control where choices are listed with a box beside them. The box can be toggled to select or de-select a given choice. Multiple selections may be possible. Commonly useful for repeating items of type constrained by answerOption, answerValueset or answerExpression, however can also be used for boolean (if the checkbox is a 3-state control that allows 'unanswered' as a possibility).
2 lookup LookupA control where editing an item spawns a separate dialog box or screen permitting a user to navigate, filter or otherwise discover an appropriate match. Useful for large choice sets where text matching is not an appropriate discovery mechanism. Such screens must generally be tuned for the specific choice list structure.
2 radio-button Radio ButtonA control where choices are listed with a button beside them. The button can be toggled to select or de-select a given choice. Selecting one item deselects all others. Used for non-repeating items with 'closed' answerOption, answerValueset or answerExpression constraints. Can also be used for boolean so long as there is a button for 'unanswered' or it's possible to deselect all items.
2 slider SliderA control where an axis is displayed between the high and low values and the control can be visually manipulated to select a value anywhere on the axis.
2 spinner SpinnerA control where a list of numeric or other ordered values can be scrolled through via arrows.
2 text-box Text BoxA control where a user can type in their answer freely.
" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", - "valueCode": "fhir" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", - "valueCode": "trial-use" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", - "valueInteger": 3 - } - ], - "url": "http://hl7.org/fhir/questionnaire-item-control", - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:oid:2.16.840.1.113883.4.642.4.932" - }, - { - "use": "old", - "system": "urn:ietf:rfc:3986", - "value": "urn:oid:2.16.840.1.113883.4.642.1.849" - } - ], - "version": "1.0.0", - "name": "QuestionnaireItemUIControlCodes", - "title": "Questionnaire Item UI Control Codes", - "status": "active", - "experimental": false, - "date": "2023-03-26T09:00:24+11:00", - "publisher": "HL7 International / FHIR Infrastructure", - "contact": [ - { - "telecom": [ - { - "system": "url", - "value": "http://hl7.org/Special/committees/fhir-i" - } - ] - } - ], - "description": "Starter set of user interface control/display mechanisms that might be used when rendering an item in a questionnaire.", - "jurisdiction": [ - { - "coding": [ - { - "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", - "code": "001" - } - ] - } - ], - "copyright": "Copyright © 2011+ HL7. Creative Commons 'No Rights Reserved' (CC0)", - "caseSensitive": true, - "valueSet": "http://hl7.org/fhir/ValueSet/questionnaire-item-control", - "hierarchyMeaning": "is-a", - "content": "complete", - "property": [ - { - "code": "abstract", - "description": "True if an element is considered 'abstract' - that is the code is not for use as a real concept", - "type": "boolean" - }, - { - "code": "status", - "uri": "http://hl7.org/fhir/concept-properties#status", - "description": "A property that indicates the status of the concept. One of active, experimental, deprecated, or retired.", - "type": "code" - }, - { - "code": "deprecationDate", - "uri": "http://hl7.org/fhir/concept-properties#deprecationDate", - "description": "The date at which a concept was deprecated. Concepts that are deprecated but not inactive can still be used, but their use is discouraged.", - "type": "dateTime" - } - ], - "concept": [ - { - "code": "group", - "definition": "UI controls relevant to organizing groups of questions", - "property": [ - { - "code": "abstract", - "valueBoolean": true - } - ], - "concept": [ - { - "code": "list", - "display": "List", - "definition": "Questions within the group should be listed sequentially" - }, - { - "code": "table", - "display": "Vertical Answer Table", - "definition": "Questions within the group are rows in the table with possible answers as columns. Used for 'choice' questions. The questions within a group marked with this controlType SHALL provide an enumerated list of options and SHOULD refer to the same set of options, same value set or same expression. In the case of a 'sparse' table where some options aren't available for some questions, the order of the answers in the table is not defined and some rendering tools may refuse to display the group as a table." - }, - { - "code": "htable", - "display": "Horizontal Answer Table", - "definition": "Questions within the group are columns in the table with possible answers as rows. Used for 'choice' questions. The questions within a group marked with this controlType SHALL provide an enumerated list of options and SHOULD refer to the same set of options, same value set or same expression. In the case of a 'sparse' table where some options aren't available for some questions, the order of the answers in the table is not defined and some rendering tools may refuse to display the group as a table." - }, - { - "code": "gtable", - "display": "Group Table", - "definition": "Questions within the group are columns in the table with each group repetition as a row. Used for single-answer questions." - }, - { - "code": "grid", - "display": "Group Grid", - "definition": "Child items of type='group' within the a 'grid' group are rows, and questions beneath the 'row' groups are organized as columns in the grid. The grid might be fully populated, but could be sparse. Questions may support different data types and/or different answer choices." - }, - { - "code": "header", - "display": "Header", - "definition": "The group is to be continuously visible at the top of the questionnaire" - }, - { - "code": "footer", - "display": "Footer", - "definition": "The group is to be continuously visible at the bottom of the questionnaire" - }, - { - "code": "page", - "display": "Page", - "definition": "Indicates that the content within the group should appear as a logical \"page\" when rendering the form, such that all enabled items within the page are displayed at once, but items in subsequent groups are not displayed until the user indicates a desire to move to the 'next' group. (Header and footer items may still be displayed.) This designation may also influence pagination when printing questionnaires. If there are items at the same level as a 'page' group that are listed before the 'page' group, they will be treated as a separate page. Header and footer groups for a questionnaire will be rendered on all pages." - }, - { - "code": "tab-container", - "display": "Tab Container", - "definition": "Indicates that the group represents a collection of tabs. All child items SHALL be of type 'group' and SHALL NOT declare any item controls themselves. Each child group represents one tab within the tab container, where the item.title is the label for the tab." - } - ] - }, - { - "code": "display", - "definition": "UI controls relevant to rendering questionnaire display items", - "property": [ - { - "code": "abstract", - "valueBoolean": true - } - ], - "concept": [ - { - "code": "inline", - "display": "In-line", - "definition": "Display item is rendered as a paragraph in a sequential position between sibling items (default behavior)" - }, - { - "code": "prompt", - "display": "Prompt", - "definition": "Text is displayed immediately below or within the answer-entry area of the containing question item (typically as a guide for what to enter). **Deprecation Note** - Use the [[[http://hl7.org/fhir/StructureDefinition/entryFormat]]] extension instead.", - "property": [ - { - "code": "status", - "valueCode": "deprecated" - }, - { - "code": "deprecationDate", - "valueDateTime": "2019-10-03" - } - ] - }, - { - "code": "unit", - "display": "Unit", - "definition": "Display item is rendered adjacent (horizontally or vertically) to the answer space for the parent question, typically to indicate a unit of measure. **Deprecation Note** - The display element of the [[[http://hl7.org/fhir/StructureDefinition/questionnaire-unit]]] should be used instead.", - "property": [ - { - "code": "status", - "valueCode": "deprecated" - }, - { - "code": "deprecationDate", - "valueDateTime": "2022-09-08" - } - ] - }, - { - "code": "lower", - "display": "Lower-bound", - "definition": "Display item is rendered to the left of the set of answer choices or a scaling control for the parent question item to indicate the meaning of the 'lower' bound. E.g. 'Strongly disagree'" - }, - { - "code": "upper", - "display": "Upper-bound", - "definition": "Display item is rendered to the right of the set of answer choices or a scaling control for the parent question item to indicate the meaning of the 'upper' bound. E.g. 'Strongly agree'" - }, - { - "code": "flyover", - "display": "Fly-over", - "definition": "Display item is temporarily visible over top of an item if the mouse is positioned over top of the text for the containing item" - }, - { - "code": "help", - "display": "Help-Button", - "definition": "Display item is rendered in a dialog box or similar control if invoked by pushing a button or some other UI-appropriate action to request 'help' for a question, group or the questionnaire as a whole (depending what the display item is nested within)" - }, - { - "code": "legal", - "display": "legal-Button", - "definition": "Display item is rendered in a dialog box or similar control if invoked by pushing a button or some other UI-appropriate action to request 'legal' info for a question, group or the questionnaire as a whole (depending what the display item is nested within)" - } - ] - }, - { - "code": "question", - "definition": "UI controls relevant to capturing question data", - "property": [ - { - "code": "abstract", - "valueBoolean": true - } - ], - "concept": [ - { - "code": "autocomplete", - "display": "Auto-complete", - "definition": "A control which provides a list of potential matches based on text entered into a control. Used for large choice sets where text-matching is an appropriate discovery mechanism." - }, - { - "code": "drop-down", - "display": "Drop down", - "definition": "A control where an item (or multiple items) can be selected from a list that is only displayed when the user is editing the field. This control is best used for small-to-medium sized lists of options that can reasonably be scanned and selected in a drop-down control. If the list of options is managed by ValueSet, the designer should be confident that the set of codes will both be fully available and appropriately sized. For larger lists, the autocomplete control is more appropriate." - }, - { - "code": "check-box", - "display": "Check-box", - "definition": "A control where choices are listed with a box beside them. The box can be toggled to select or de-select a given choice. Multiple selections may be possible. Commonly useful for repeating items of type constrained by answerOption, answerValueset or answerExpression, however can also be used for boolean (if the checkbox is a 3-state control that allows 'unanswered' as a possibility)." - }, - { - "code": "lookup", - "display": "Lookup", - "definition": "A control where editing an item spawns a separate dialog box or screen permitting a user to navigate, filter or otherwise discover an appropriate match. Useful for large choice sets where text matching is not an appropriate discovery mechanism. Such screens must generally be tuned for the specific choice list structure." - }, - { - "code": "radio-button", - "display": "Radio Button", - "definition": "A control where choices are listed with a button beside them. The button can be toggled to select or de-select a given choice. Selecting one item deselects all others. Used for non-repeating items with 'closed' answerOption, answerValueset or answerExpression constraints. Can also be used for boolean so long as there is a button for 'unanswered' or it's possible to deselect all items." - }, - { - "code": "slider", - "display": "Slider", - "definition": "A control where an axis is displayed between the high and low values and the control can be visually manipulated to select a value anywhere on the axis." - }, - { - "code": "spinner", - "display": "Spinner", - "definition": "A control where a list of numeric or other ordered values can be scrolled through via arrows." - }, - { - "code": "text-box", - "display": "Text Box", - "definition": "A control where a user can type in their answer freely." - } - ] - } - ] -} \ No newline at end of file diff --git a/input/resources/Questionnaire-AboriginalTorresStraitIslanderHealthCheck-assembled.json b/input/resources/Questionnaire-AboriginalTorresStraitIslanderHealthCheck-assembled.json index 6de42202..d52a6e42 100644 --- a/input/resources/Questionnaire-AboriginalTorresStraitIslanderHealthCheck-assembled.json +++ b/input/resources/Questionnaire-AboriginalTorresStraitIslanderHealthCheck-assembled.json @@ -1,15 +1,6 @@ { "resourceType": "Questionnaire", "id": "AboriginalTorresStraitIslanderHealthCheck", - "meta": { - "versionId": "4", - "lastUpdated": "2023-11-28T03:38:57.707+00:00", - "source": "#9xfyZ38CzEZ8Ewgn", - "profile": [ - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp", - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-render" - ] - }, "contained": [ { "resourceType": "ValueSet", @@ -42,13 +33,26 @@ ] }, "expansion": { - "identifier": "urn:uuid:5baa5444-e553-4412-a08c-9ce93d3271e0", - "timestamp": "2023-09-01T11:16:50+10:00", + "identifier": "urn:uuid:7fce8cc7-b936-4258-921d-923629b04439", + "timestamp": "2025-05-01T10:00:47+10:00", "total": 3, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false }, { "name": "used-codesystem", @@ -105,39 +109,47 @@ ] }, "expansion": { - "identifier": "e2b013bd-1725-4299-a7a5-53635d42f1be", - "timestamp": "2022-10-20T11:38:45+10:00", + "identifier": "urn:uuid:eb422e76-71e8-48b0-a191-73285ddb91cc", + "timestamp": "2025-05-01T10:00:56+10:00", "total": 3, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.3" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1|1.0.3" } ], "contains": [ { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "1", - "display": "Aboriginal but not Torres Strait Islander origin" + "display": "Aboriginal" }, { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "2", - "display": "Torres Strait Islander but not Aboriginal origin" + "display": "Torres Strait Islander" }, { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "3", - "display": "Both Aboriginal and Torres Strait Islander origin" + "display": "Aboriginal and Torres Strait Islander" } ] } @@ -178,50 +190,54 @@ ] }, "expansion": { - "identifier": "2809c2fa-28ec-4def-9b16-93a611d29da3", - "timestamp": "2022-10-20T11:42:30+10:00", + "identifier": "urn:uuid:f8e7efc2-94d6-403e-9e40-3a3a4e9fffb4", + "timestamp": "2025-05-01T10:00:56+10:00", "total": 4, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v3-RoleCode|2018-08-12" - }, - { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|2018-08-12" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/v3-RoleCode|3.0.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|3.0.0" } ], "contains": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "2018-08-12", "code": "MTH", "display": "mother" }, { "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "2018-08-12", "code": "FTH", "display": "father" }, { "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "2018-08-12", "code": "GRPRN", "display": "grandparent" }, { "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", - "version": "2018-08-12", "code": "NA", "display": "not applicable" } @@ -230,85 +246,7 @@ }, { "resourceType": "ValueSet", - "id": "YesNo", - "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", - "name": "YesNo", - "title": "Yes/No", - "status": "draft", - "experimental": false, - "description": "Concepts for Yes and No", - "compose": { - "include": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "concept": [ - { - "code": "Y", - "display": "Yes" - }, - { - "code": "N", - "display": "No" - } - ] - } - ] - }, - "expansion": { - "identifier": "urn:uuid:06bfacf3-ef16-4470-86a0-a2a22f49ff91", - "timestamp": "2023-09-01T11:15:01+10:00", - "total": 2, - "parameter": [ - { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" - }, - { - "name": "used-codesystem", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" - } - ], - "contains": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "code": "Y", - "display": "Yes" - }, - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "code": "N", - "display": "No" - } - ] - } - }, - { - "resourceType": "ValueSet", - "id": "MedicalHistory", - "url": "https://smartforms.csiro.au/ig/ValueSet/MedicalHistory", - "name": "MedicalHistory", - "title": "Medical History", - "status": "draft", - "experimental": false, - "description": "The Medical History value set includes values that may be used to represent medical history, operations and hospital admissions.", - "compose": { - "include": [ - { - "system": "http://snomed.info/sct", - "filter": [ - { - "property": "constraint", - "op": "=", - "value": "^32570581000036105|Problem/Diagnosis reference set| OR ^32570141000036105|Procedure foundation reference set|" - } - ] - } - ] - } - }, - { - "resourceType": "ValueSet", - "id": "condition-clinical", + "id": "administrative-gender", "meta": { "profile": [ "http://hl7.org/fhir/StructureDefinition/shareablevalueset" @@ -317,127 +255,155 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", - "valueCode": "pc" + "valueCode": "pa" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", - "valueCode": "trial-use" + "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", - "valueInteger": 3 + "valueInteger": 5 + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" } ], - "url": "http://hl7.org/fhir/ValueSet/condition-clinical", + "url": "http://hl7.org/fhir/ValueSet/administrative-gender", "identifier": [ { "system": "urn:ietf:rfc:3986", - "value": "urn:oid:2.16.840.1.113883.4.642.3.164" + "value": "urn:oid:2.16.840.1.113883.4.642.3.1" } ], - "version": "4.3.0", - "name": "ConditionClinicalStatusCodes", - "title": "Condition Clinical Status Codes", - "status": "draft", + "version": "4.0.1", + "name": "AdministrativeGender", + "title": "AdministrativeGender", + "status": "active", "experimental": false, - "publisher": "FHIR Project team", + "date": "2019-11-01T09:29:23+11:00", + "publisher": "HL7 (FHIR Project)", "contact": [ { "telecom": [ { "system": "url", "value": "http://hl7.org/fhir" + }, + { + "system": "email", + "value": "fhir@lists.hl7.org" } ] } ], - "description": "Preferred value set for Condition Clinical Status.", - "copyright": "Copyright © 2011+ HL7. Creative Commons 'No Rights Reserved' (CC0)", + "description": "The gender of a person used for administrative purposes.", + "immutable": true, + "copyright": "Copyright © 2011+ HL7. Licensed under Creative Commons \"No Rights Reserved\".", "compose": { "include": [ { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical" + "system": "http://hl7.org/fhir/administrative-gender" } ] }, "expansion": { - "identifier": "5d4bed14-061a-42c4-853d-e6a624c4f483", - "timestamp": "2022-10-20T09:32:48+10:00", - "total": 6, + "identifier": "urn:uuid:31c9098a-778c-4de6-9c2b-4f1e2db26179", + "timestamp": "2025-05-01T10:00:55+10:00", + "total": 4, "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/condition-clinical|4.0.1" + "name": "displayLanguage", + "valueCode": "en-US" }, { "name": "count", - "valueInteger": 2147483647 + "valueInteger": 1000 }, { "name": "offset", "valueInteger": 0 - } - ], - "contains": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "active", - "display": "Active" }, { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "inactive", - "display": "Inactive" + "name": "excludeNested", + "valueBoolean": false }, { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "recurrence", - "display": "Recurrence" + "name": "used-codesystem", + "valueUri": "http://hl7.org/fhir/administrative-gender|4.0.1" + } + ], + "contains": [ + { + "system": "http://hl7.org/fhir/administrative-gender", + "code": "male", + "display": "Male" }, { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "relapse", - "display": "Relapse" + "system": "http://hl7.org/fhir/administrative-gender", + "code": "female", + "display": "Female" }, { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "remission", - "display": "Remission" + "system": "http://hl7.org/fhir/administrative-gender", + "code": "other", + "display": "Other" }, { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "resolved", - "display": "Resolved" + "system": "http://hl7.org/fhir/administrative-gender", + "code": "unknown", + "display": "Unknown" } ] } }, { "resourceType": "ValueSet", - "id": "YesNoNotAskedDeclined", - "url": "https://smartforms.csiro.au/ig/ValueSet/YesNoNotAskedDeclined", - "name": "YesNoNotAskedDeclined", - "title": "Yes/No/Not Asked/Asked But Declined", - "status": "draft", + "id": "australian-pronouns-1", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10284" + } + ], + "version": "1.0.0", + "name": "AustralianPronouns", + "title": "Australian Pronouns", + "status": "active", "experimental": false, - "description": "Concepts for Yes, No, Not Asked and Asked But Declined", + "date": "2024-02-29", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "description": "The Australian Pronouns value set includes values that indicate the pronouns to be used when communicating with or about an individual.", + "copyright": "Copyright © 2024 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis material contains content from LOINC (http://loinc.org). LOINC is copyright 1995-2024, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc.\n\nThis material contains information which is protected by copyright. You may download, display, print and reproduce any material for your personal, non-commercial use or use within your organisation subject to the following terms and conditions: \n\nThis resource also includes all or a portion of material from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.", "compose": { "include": [ { - "system": "http://terminology.hl7.org/CodeSystem/v2-0532", + "system": "http://loinc.org", "concept": [ { - "code": "Y", - "display": "Yes" + "code": "LA29518-0", + "display": "he/him/his/his/himself" }, { - "code": "N", - "display": "No" + "code": "LA29519-8", + "display": "she/her/her/hers/herself" }, { - "code": "NASK", - "display": "Not Asked" + "code": "LA29520-6", + "display": "they/them/their/theirs/themselves" } ] }, @@ -445,647 +411,3708 @@ "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", "concept": [ { - "code": "asked-declined", - "display": "Asked But Declined" + "code": "unknown" + }, + { + "code": "asked-declined" + }, + { + "code": "not-asked" + }, + { + "code": "asked-unknown" } ] } ] }, "expansion": { - "identifier": "urn:uuid:8eda7c3c-cc35-49fa-ac6c-c0e4f0a4e203", - "timestamp": "2023-09-01T11:17:57+10:00", - "total": 4, + "identifier": "urn:uuid:1bc98e8c-511f-4014-a4d9-a48a8db0923d", + "timestamp": "2025-05-01T10:00:56+10:00", + "total": 7, + "offset": 0, "parameter": [ { - "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" }, { "name": "used-codesystem", - "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot" + "valueUri": "http://loinc.org|2.80" }, { "name": "version", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "valueUri": "http://loinc.org|2.80" }, { "name": "used-codesystem", - "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" } ], "contains": [ { - "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "version": "2.1.0", - "code": "Y", - "display": "Yes" + "system": "http://loinc.org", + "code": "LA29518-0", + "display": "he/him/his/his/himself" }, { - "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "version": "2.1.0", - "code": "N", - "display": "No" + "system": "http://loinc.org", + "code": "LA29519-8", + "display": "she/her/her/hers/herself" }, { - "system": "http://terminology.hl7.org/CodeSystem/v2-0532", - "version": "2.1.0", - "code": "NASK", - "display": "Not Asked" + "system": "http://loinc.org", + "code": "LA29520-6", + "display": "they/them/their/theirs/themselves" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "unknown", + "display": "Unknown" }, { "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", - "version": "5.0.0-ballot", "code": "asked-declined", "display": "Asked But Declined" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "not-asked", + "display": "Not Asked" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "asked-unknown", + "display": "Asked But Unknown" } ] } - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "Condition", - "language": "application/x-fhir-query", - "expression": "Condition?patient={{%patient.id}}" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "ObsBloodPressure", - "language": "application/x-fhir-query", - "expression": "Observation?code=85354-9&_count=1&_sort=-date&patient={{%patient.id}}" - } }, { - "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", - "valueReference": { - "reference": "#YesNoNA" - } - }, - { - "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", - "valueReference": { - "reference": "#YesNo" - } - }, - { - "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", - "valueReference": { - "reference": "#YesNoNotAskedDeclined" - } - }, - { - "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", - "valueReference": { - "reference": "#MedicalHistory" - } - }, - { - "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", - "valueReference": { - "reference": "#condition-clinical" - } - }, - { - "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", - "valueReference": { - "reference": "#AboriginalTorresStraitIslander" + "resourceType": "ValueSet", + "id": "gender-identity-response-1", + "url": "https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10271" + } + ], + "version": "1.1.0", + "name": "GenderIdentityResponse", + "title": "Gender Identity Response", + "status": "active", + "experimental": false, + "date": "2024-02-29", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "description": "The Gender Identity Response value set includes values that may be used to represent a response for an individual's gender. A person's gender is a social and cultural identity, expression and experience.", + "copyright": "Copyright © 2022 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.\n\n\"This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. This resource includes material that is based on Australian Bureau of Statistics data. \n\nThis resource also includes all or a portion of material from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "446151000124109" + }, + { + "code": "446141000124107" + }, + { + "code": "33791000087105" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "concept": [ + { + "code": "unknown" + }, + { + "code": "asked-declined" + }, + { + "code": "not-asked" + } + ] + } + ] + }, + "expansion": { + "identifier": "urn:uuid:81810018-2ec2-4e42-adcc-6aab69e7750c", + "timestamp": "2025-05-01T10:00:58+10:00", + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "code": "446151000124109", + "display": "Identifies as male gender" + }, + { + "system": "http://snomed.info/sct", + "code": "446141000124107", + "display": "Identifies as female gender" + }, + { + "system": "http://snomed.info/sct", + "code": "33791000087105", + "display": "Identifies as nonbinary gender" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "unknown", + "display": "Unknown" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "asked-declined", + "display": "Asked But Declined" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "not-asked", + "display": "Not Asked" + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "biological-sex-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "url": "https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10198" + } + ], + "version": "1.0.0", + "name": "BiologicalSex", + "title": "Biological Sex", + "status": "active", + "experimental": false, + "date": "2020-12-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "description": "The Biological Sex value set includes values that represent the biological sex of an individual.", + "copyright": "Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "constraint", + "op": "=", + "value": "^32570631000036107|Sex reference set|" + } + ] + } + ] + }, + "expansion": { + "identifier": "urn:uuid:9a0c2291-6dd8-4778-9099-4622f64fa897", + "timestamp": "2025-05-01T10:00:49+10:00", + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "code": "248152002", + "display": "Female" + }, + { + "system": "http://snomed.info/sct", + "code": "32570681000036106", + "display": "Indeterminate sex" + }, + { + "system": "http://snomed.info/sct", + "code": "32570691000036108", + "display": "Intersex" + }, + { + "system": "http://snomed.info/sct", + "code": "248153007", + "display": "Male" + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "australian-states-territories-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "url": "https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10026" + } + ], + "version": "2.0.2", + "name": "AustralianStatesAndTerritories", + "title": "Australian States and Territories", + "status": "active", + "experimental": false, + "date": "2020-05-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "description": "The Australian States and Territories value set includes values that represent the Australian states and territories.", + "copyright": "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "compose": { + "include": [ + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "concept": [ + { + "code": "ACT" + }, + { + "code": "NSW" + }, + { + "code": "NT" + }, + { + "code": "OTHER" + }, + { + "code": "QLD" + }, + { + "code": "SA" + }, + { + "code": "TAS" + }, + { + "code": "VIC" + }, + { + "code": "WA" + } + ] + } + ] + }, + "expansion": { + "identifier": "urn:uuid:148e9412-a321-4a6f-b911-7e7908be82af", + "timestamp": "2025-05-01T10:00:57+10:00", + "total": 9, + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1|1.1.3" + } + ], + "contains": [ + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "ACT", + "display": "Australian Capital Territory" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "NSW", + "display": "New South Wales" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "NT", + "display": "Northern Territory" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "OTHER", + "display": "Other territories" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "QLD", + "display": "Queensland" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "SA", + "display": "South Australia" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "TAS", + "display": "Tasmania" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "VIC", + "display": "Victoria" + }, + { + "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1", + "code": "WA", + "display": "Western Australia" + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "YesNo", + "url": "https://smartforms.csiro.au/ig/ValueSet/YesNo", + "name": "YesNo", + "title": "Yes/No", + "status": "draft", + "experimental": false, + "description": "Concepts for Yes and No", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0532", + "concept": [ + { + "code": "Y", + "display": "Yes" + }, + { + "code": "N", + "display": "No" + } + ] + } + ] + }, + "expansion": { + "identifier": "urn:uuid:41cccc66-fd57-4bc4-bab1-8c5c878d95f7", + "timestamp": "2025-05-01T10:00:50+10:00", + "total": 2, + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + } + ], + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0532", + "code": "Y", + "display": "Yes" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0532", + "code": "N", + "display": "No" + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "condition-clinical", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", + "valueCode": "pc" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/ValueSet/condition-clinical", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.3.164" + } + ], + "version": "4.0.1", + "name": "ConditionClinicalStatusCodes", + "title": "Condition Clinical Status Codes", + "status": "draft", + "experimental": false, + "date": "2019-11-01T09:29:23+11:00", + "publisher": "FHIR Project team", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Preferred value set for Condition Clinical Status.", + "copyright": "Copyright © 2011+ HL7. Licensed under Creative Commons \"No Rights Reserved\".", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical" + } + ] + }, + "expansion": { + "identifier": "urn:uuid:7b100d21-fde9-4fd8-bded-80f345db777d", + "timestamp": "2025-05-01T10:00:56+10:00", + "total": 7, + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/condition-clinical|3.0.0" + } + ], + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active", + "display": "Active", + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "recurrence", + "display": "Recurrence" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "relapse", + "display": "Relapse" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "inactive", + "display": "Inactive", + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "remission", + "display": "Remission" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "resolved", + "display": "Resolved" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "unknown", + "display": "Unknown" + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "clinical-condition-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "url": "https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10035" + } + ], + "version": "1.0.2", + "name": "ClinicalCondition", + "title": "Clinical Condition", + "status": "active", + "experimental": false, + "date": "2020-05-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "description": "The Clinical Condition value set includes values that cover a broad range of clinical concepts to support the representation of conditions, including problems, diagnoses and disorders.", + "copyright": "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "in", + "value": "32570581000036105" + } + ] + } + ] + } + }, + { + "resourceType": "Condition", + "id": "ConditionTemplate", + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item" + } + ] + } + ], + "code": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='2da85994-2d5e-42f1-8a81-abf44f397468').answer.value" + } + ], + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(Coding)" + } + ] + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(string)" + } + ] + } + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "_onsetDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='4d55bffb-3286-4a23-a785-3b9c346d464d').answer.value.toDateTime()" + } + ] + }, + "note": [ + { + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='newdiagnosis-comment').answer.value" + } + ] + } + } + ] + }, + { + "resourceType": "Parameters", + "id": "ConditionPatchTemplate", + "parameter": [ + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "Condition.clinicalStatus" + }, + { + "name": "value", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='88bcfad7-386b-4d87-b34b-2e50482e4d2c').answer.value.first()" + } + ] + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Clinical status" + } + ] + }, + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "Condition.abatement" + }, + { + "name": "value", + "_valueDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='e4524654-f6de-4717-b288-34919394d46b').answer.value.toDateTime()" + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Abatement date" + } + ] + } + ] + }, + { + "resourceType": "ValueSet", + "id": "smart-health-checks-medicine-products", + "url": "https://smartforms.csiro.au/ig/ValueSet/smart-health-checks-medicine-products", + "name": "SmartHealthChecksMedicineProducts", + "title": "Smart Health Checks Medicine Products", + "status": "draft", + "experimental": false, + "description": "The Smart Health Checks Medicine Products value set includes Australian Medicines Terminology (AMT) product concepts that may be used for the identification of a medicine with form, ingredient and unit of measure details.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107", + "filter": [ + { + "property": "constraint", + "op": "=", + "value": "^ 929360081000036101|Medicinal product pack reference set| OR ^ 929360071000036103|Medicinal product unit of use reference set| OR ^ 929360041000036105|Trade product pack reference set| OR ^ 929360031000036100|Trade product unit of use reference set| OR ^ 929360051000036108|Containered trade product pack reference set|" + } + ] + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "medication-reason-taken-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "url": "https://healthterminologies.gov.au/fhir/ValueSet/medication-reason-taken-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10048" + } + ], + "version": "1.1.0", + "name": "MedicationReasonTaken", + "title": "Medication Reason Taken", + "status": "active", + "experimental": false, + "date": "2020-07-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "description": "The Medication Reason Taken value set includes values that identify a reason why a medication has been or is being taken.", + "copyright": "Copyright © 2020 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted.\n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "constraint", + "op": "=", + "value": "^32570581000036105|Problem/Diagnosis reference set| OR ^1184831000168105|Drug prophylaxis reference set| OR <<399097000|Administration of anaesthesia| OR 169443000|Preventive procedure|" + } + ] + } + ] + } + }, + { + "resourceType": "MedicationStatement", + "id": "MedicationStatementTemplate", + "status": "active", + "medicationCodeableConcept": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='regularmedications-summary-new-medication').answer.value" + } + ], + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(Coding)" + } + ] + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(string)" + } + ] + } + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "_dateAsserted": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "now()" + } + ] + }, + "reasonCode": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='regularmedications-summary-new-reasoncode').answer.value.ofType(Coding)" + } + ], + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this" + } + ] + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='regularmedications-summary-new-reasoncode').answer.value.ofType(string)" + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this" + } + ] + } + } + ], + "note": [ + { + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='regularmedications-summary-new-comment').answer.value" + } + ] + } + } + ], + "dosage": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='regularmedications-summary-new-dosage').answer.value" + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this" + } + ] + } + } + ] + }, + { + "resourceType": "Parameters", + "id": "MedicationStatementPatchTemplate", + "parameter": [ + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "MedicationStatement.status" + }, + { + "name": "value", + "_valueCode": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='regularmedications-summary-current-status').answer.value.code" + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Status" + } + ] + }, + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "MedicationStatement.note[0].text" + }, + { + "name": "value", + "_valueMarkdown": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='regularmedications-summary-current-comment').answer.value.first()" + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Comment" + } + ] + }, + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "MedicationStatement.dosage[0].text" + }, + { + "name": "value", + "_valueString": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='regularmedications-summary-current-dosage').answer.value.first()" + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Dosage" + } + ] + } + ] + }, + { + "resourceType": "ValueSet", + "id": "MedicationStatementStatusLimited", + "url": "https://smartforms.csiro.au/ig/ValueSet/MedicationStatementStatusLimited", + "name": "MedicationStatementStatusLimited", + "title": "Medication Statement Status Limited", + "status": "draft", + "experimental": false, + "description": "This value set includes the minimal set of codes to represent the status of a medication statement (i.e., active, completed, stopped and on-hold).", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "concept": [ + { + "code": "active" + }, + { + "code": "completed" + }, + { + "code": "stopped" + }, + { + "code": "on-hold" + } + ] + } + ] + }, + "expansion": { + "identifier": "urn:uuid:59fe5ac1-65bf-4606-8c2a-0a55fba1d064", + "timestamp": "2025-08-25T15:53:32+10:00", + "total": 4, + "offset": 0, + "parameter": [ + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://hl7.org/fhir/CodeSystem/medication-statement-status|4.0.1" + } + ], + "contains": [ + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "code": "active", + "display": "Active" + }, + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "code": "completed", + "display": "Completed" + }, + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "code": "stopped", + "display": "Stopped" + }, + { + "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", + "code": "on-hold", + "display": "On Hold" + } + ] + } + }, + { + "resourceType": "AllergyIntolerance", + "id": "AllergyIntoleranceTemplate", + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active" + } + ] + }, + "code": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='allergynew-substance').answer.value" + } + ], + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(Coding)" + } + ] + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(string)" + } + ] + } + }, + "patient": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "note": [ + { + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='allergynew-comment').answer.value" + } + ] + } + } + ], + "reaction": [ + { + "manifestation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='allergynew-manifestation').answer.value.ofType(Coding)" + } + ], + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this" + } + ] + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='allergynew-manifestation').answer.value.ofType(string)" + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this" + } + ] + } + } + ] + } + ] + }, + { + "resourceType": "Parameters", + "id": "AllergyIntolerancePatchTemplate", + "parameter": [ + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "AllergyIntolerance.clinicalStatus" + }, + { + "name": "value", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='allergysummary-status').answer.value.first()" + } + ] + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Clinical status" + } + ] + }, + { + "name": "operation", + "part": [ + { + "name": "type", + "valueCode": "replace" + }, + { + "name": "path", + "valueString": "AllergyIntolerance.note[0].text" + }, + { + "name": "value", + "_valueMarkdown": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='allergysummary-comment').answer.value.first()" + } + ] + } + }, + { + "name": "pathLabel", + "valueString": "Comment" + } + ] + } + ] + }, + { + "resourceType": "ValueSet", + "id": "AllergyIntoleranceClinicalStatusMinimal", + "url": "https://smartforms.csiro.au/ig/ValueSet/AllergyIntoleranceClinicalStatusMinimal", + "name": "AllergyIntoleranceClinicalStatusMinimal", + "title": "Allergy Intolerance Clinical Status Minimal", + "status": "draft", + "experimental": false, + "description": "This value set includes the minimal set of codes to represent the clinical status of an allergy intolerance (i.e., active and inactive).", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "concept": [ + { + "code": "active" + }, + { + "code": "inactive" + } + ] + } + ] + }, + "expansion": { + "identifier": "urn:uuid:40f0c59e-9fa5-4322-bc1d-5fde644a076c", + "timestamp": "2025-08-25T15:52:50+10:00", + "total": 2, + "offset": 0, + "parameter": [ + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|1.0.0" + } + ], + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active", + "display": "Active" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "inactive", + "display": "Inactive" + } + ] + } + }, + { + "resourceType": "Observation", + "id": "SmokingStatusTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1747861000168109" + }, + { + "system": "http://loinc.org", + "code": "72166-2" + } + ], + "text": "Smoking status" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='substanceuse-smoking-smokingstatus-group-newdate').answer.value.toDateTime()" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "SmokingQuitStatus-1", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + "valueCanonical": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + } + ], + "url": "https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1", + "name": "SmokingQuitStatus", + "title": "Smoking Quit Status", + "status": "draft", + "experimental": false, + "description": "The Smoking Quit Status value set includes values that can indicate how long ago an individual quit smoking.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "concept": [ + { + "code": "48031000119106", + "display": "Quit >12 months" + }, + { + "code": "735128000", + "display": "Quit <12 months" + } + ] + } + ] + }, + "expansion": { + "identifier": "urn:uuid:93600010-14a0-4d6e-a82f-15283d13a2cb", + "timestamp": "2025-05-01T11:41:24+10:00", + "parameter": [ + { + "name": "used-supplement", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1|0.3.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "48031000119106", + "display": "Quit >12 months" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "735128000", + "display": "Quit <12 months" + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "TobaccoUseStatus-1", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + "valueCanonical": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + } + ], + "url": "https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1", + "name": "TobaccoUseStatus", + "title": "Tobacco Use Status", + "status": "draft", + "experimental": false, + "description": "The Tobacco Use Status value set includes values that may be used to represent an individual's current tobacco use and exposure status.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "concept": [ + { + "code": "266919005", + "display": "Never smoked" + }, + { + "code": "77176002", + "display": "Current smoker" + }, + { + "code": "8517006", + "display": "Ex-smoker" + }, + { + "code": "16090371000119103", + "display": "Exposure to second hand tobacco smoke" + }, + { + "code": "394872000", + "display": "Wants to quit" + }, + { + "code": "713914004", + "display": "Other tobacco use" + } + ] + } + ] + }, + "expansion": { + "identifier": "urn:uuid:e7e976ca-5eb9-41da-9ca8-2c795c5e2dd2", + "timestamp": "2025-05-01T11:43:41+10:00", + "parameter": [ + { + "name": "used-supplement", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/ValueSet/TobaccoUseStatus-1|0.3.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "266919005", + "display": "Never smoked" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "77176002", + "display": "Current smoker" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "8517006", + "display": "Ex-smoker" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "16090371000119103", + "display": "Exposure to second hand tobacco smoke" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "394872000", + "display": "Wants to quit" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "713914004", + "display": "Other tobacco use" + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "YesNoNotAskedDeclined", + "url": "https://smartforms.csiro.au/ig/ValueSet/YesNoNotAskedDeclined", + "name": "YesNoNotAskedDeclined", + "title": "Yes/No/Not Asked/Asked But Declined", + "status": "draft", + "experimental": false, + "description": "Concepts for Yes, No, Not Asked and Asked But Declined", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0532", + "concept": [ + { + "code": "Y", + "display": "Yes" + }, + { + "code": "N", + "display": "No" + }, + { + "code": "NASK", + "display": "Not Asked" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "concept": [ + { + "code": "asked-declined", + "display": "Asked But Declined" + } + ] + } + ] + }, + "expansion": { + "identifier": "urn:uuid:20552db7-8def-4e55-a0d2-cb446651929c", + "timestamp": "2025-05-01T10:00:51+10:00", + "total": 4, + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason|1.0.0" + } + ], + "contains": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0532", + "code": "Y", + "display": "Yes" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0532", + "code": "N", + "display": "No" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0532", + "code": "NASK", + "display": "Not Asked" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "asked-declined", + "display": "Asked But Declined" + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "CervicalScreeningStatus-1", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-supplement", + "valueCanonical": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + } + ], + "url": "https://smartforms.csiro.au/ig/ValueSet/CervicalScreeningStatus-1", + "name": "CervicalScreeningStatus", + "title": "Cervical Screening Status", + "status": "draft", + "experimental": false, + "description": "The Cervical Screening Status value set includes values that can be used to represent the status of an individual's participation in a cervical screening program.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "concept": [ + { + "code": "736595007", + "display": "Declined" + }, + { + "code": "410527000", + "display": "Offered" + }, + { + "code": "171154002", + "display": "Not required" + }, + { + "code": "171155001", + "display": "Up to date" + } + ] + } + ] + }, + "expansion": { + "identifier": "urn:uuid:3657ae6f-b206-482f-a745-0ff9c99358ef", + "timestamp": "2025-06-05T13:50:47+10:00", + "parameter": [ + { + "name": "used-supplement", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250430" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement|0.3.0" + }, + { + "name": "warning-draft", + "valueUri": "https://smartforms.csiro.au/ig/ValueSet/CervicalScreeningStatus-1|0.3.0" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "736595007", + "display": "Declined" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "410527000", + "display": "Offered" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "171154002", + "display": "Not required" + }, + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/32506021000036107/version/20250430", + "code": "171155001", + "display": "Up to date" + } + ] + } + }, + { + "resourceType": "ValueSet", + "id": "amt-vaccine-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset", + "https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4" + ] + }, + "url": "https://healthterminologies.gov.au/fhir/ValueSet/amt-vaccine-1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.2.36.1.2001.1004.201.10042" + } + ], + "version": "1.0.2", + "name": "AustralianMedicinesTerminologyVaccine", + "title": "Australian Medicines Terminology Vaccine", + "status": "active", + "experimental": false, + "date": "2020-05-31", + "publisher": "Australian Digital Health Agency", + "contact": [ + { + "telecom": [ + { + "system": "email", + "value": "help@digitalhealth.gov.au" + } + ] + } + ], + "description": "The Australian Medicines Terminology (AMT) Vaccine value set includes AMT product concepts that may be used to record a vaccine product.", + "copyright": "Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\n This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. \n\nThe rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "in", + "value": "1156291000168106" + } + ] + } + ] + } + }, + { + "resourceType": "Immunization", + "id": "ImmunizationTemplate", + "status": "completed", + "vaccineCode": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext", + "valueString": "item.where(linkId='vaccinestoday-vaccine').answer.value" + } + ], + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(Coding)" + } + ] + } + ], + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "ofType(string)" + } + ] + } + }, + "patient": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "_occurrenceDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='vaccinestoday-date').answer.value.toDateTime()" + } + ] + }, + "_lotNumber": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='vaccinestoday-batch').answer.value" + } + ] + }, + "note": [ + { + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "item.where(linkId='vaccinestoday-comment').answer.value" + } + ] + } + } + ] + }, + { + "resourceType": "ValueSet", + "id": "heart-rhythm-1", + "url": "https://smartforms.csiro.au/ig/ValueSet/heart-rhythm-1", + "name": "HeartRhythm", + "title": "Heart Rhythm", + "status": "draft", + "experimental": false, + "description": "The Heart Rhythm value set includes values that may be used to represent the heart rhythm of an individual.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "933506231000036108", + "display": "Regular heart rhythm" + }, + { + "code": "361137007", + "display": "Irregular heart rhythm" + } + ] + } + ] + }, + "expansion": { + "identifier": "urn:uuid:b12cc8bf-25b0-49a8-8ee1-f641fd89cfa7", + "timestamp": "2025-06-27T12:16:28+10:00", + "offset": 0, + "parameter": [ + { + "name": "displayLanguage", + "valueCode": "en-US" + }, + { + "name": "count", + "valueInteger": 1000 + }, + { + "name": "offset", + "valueInteger": 0 + }, + { + "name": "excludeNested", + "valueBoolean": false + }, + { + "name": "used-valueset", + "valueUri": "null" + }, + { + "name": "used-codesystem", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250630" + }, + { + "name": "version", + "valueUri": "http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20250630" + } + ], + "contains": [ + { + "system": "http://snomed.info/sct", + "code": "933506231000036108", + "display": "Regular heart rhythm" + }, + { + "system": "http://snomed.info/sct", + "code": "361137007", + "display": "Irregular heart rhythm" + } + ] + } + }, + { + "resourceType": "Observation", + "id": "BodyHeightTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2" + }, + { + "system": "http://snomed.info/sct", + "code": "50373000" + } + ], + "text": "Height" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-height-newdate').answer.value.toDateTime()" + } + ] + }, + "valueQuantity": { + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + }, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + { + "resourceType": "Observation", + "id": "BodyHeightLengthTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2" + }, + { + "system": "http://snomed.info/sct", + "code": "50373000" + } + ], + "text": "Height" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-lengthheight-newdate').answer.value.toDateTime()" + } + ] + }, + "valueQuantity": { + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + }, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + { + "resourceType": "Observation", + "id": "BodyWeightTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7" + }, + { + "system": "http://snomed.info/sct", + "code": "27113001" + } + ], + "text": "Weight" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-weight-newdate').answer.value.toDateTime()" + } + ] + }, + "valueQuantity": { + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + }, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + { + "resourceType": "Observation", + "id": "WaistCircumferenceTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8280-0" + }, + { + "system": "http://snomed.info/sct", + "code": "276361009" + } + ], + "text": "Waist circumference" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-waistcircumference-newdate').answer.value.toDateTime()" + } + ] + }, + "valueQuantity": { + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + }, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + { + "resourceType": "Observation", + "id": "HeadCircumferenceTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9843-4" + }, + { + "system": "http://snomed.info/sct", + "code": "363812007" + } + ], + "text": "Head circumference" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-headcircumference-newdate').answer.value.toDateTime()" + } + ] + }, + "valueQuantity": { + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + }, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + { + "resourceType": "Observation", + "id": "HeartRateTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4" + }, + { + "system": "http://snomed.info/sct", + "code": "364075005" + } + ], + "text": "Heart rate" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-heartrate-newdate').answer.value.toDateTime()" + } + ] + }, + "valueQuantity": { + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value.toDecimal()" + } + ] + }, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + { + "resourceType": "Observation", + "id": "HeartRhythmTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8884-9" + }, + { + "system": "http://snomed.info/sct", + "code": "364074009" + } + ], + "text": "Heart rhythm" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='obs-heartrhythm-newdate').answer.value.toDateTime()" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value" + } + ] + } + ] + } + }, + { + "resourceType": "Observation", + "id": "BloodPressureTemplate", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9" + }, + { + "system": "http://snomed.info/sct", + "code": "75367002" + } + ], + "text": "Blood pressure" + }, + "subject": { + "_reference": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.subject.reference" + } + ] + } + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='bp-newbp-date').answer.value.toDateTime()" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6" + }, + { + "system": "http://snomed.info/sct", + "code": "271649006" + } + ], + "text": "Systolic" + }, + "valueQuantity": { + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "$this.answer.value.toDecimal()" + } + ] + }, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4" + }, + { + "system": "http://snomed.info/sct", + "code": "271650006" + } + ], + "text": "Diastolic" + }, + "valueQuantity": { + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue", + "valueString": "%resource.repeat(item).where(linkId='bp-newbp-diastolic').answer.value.toDecimal()" + } + ] + }, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "Condition", + "language": "application/x-fhir-query", + "expression": "Condition?patient={{%patient.id}}&category=http://terminology.hl7.org/CodeSystem/condition-category|problem-list-item" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBloodPressure", + "language": "application/x-fhir-query", + "expression": "Observation?code=85354-9&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsTobaccoSmokingStatus", + "language": "application/x-fhir-query", + "expression": "Observation?code=72166-2&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "SexAtBirthCoding", + "language": "text/fhirpath", + "expression": "%patient.extension.where(exists(url='http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender' and extension.where(exists(url='type' and value.coding.code='1515311000168102')) and extension.where(url='effectivePeriod').value.end.empty())).extension.where(url='value').value.coding" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBloodPressureLatest", + "language": "text/fhirpath", + "expression": "%ObsBloodPressure.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsTobaccoSmokingStatusLatest", + "language": "text/fhirpath", + "expression": "%ObsTobaccoSmokingStatus.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" + } + }, + { + "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", + "valueCoding": { + "system": "http://hl7.org/fhir/version-algorithm", + "code": "semver" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#YesNoNA" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#YesNo" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#YesNoNotAskedDeclined" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#clinical-condition-1" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#administrative-gender" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#condition-clinical" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#AboriginalTorresStraitIslander" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#PrimaryCarerParentGrandparent" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#australian-pronouns-1" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#australian-states-territories-2" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#gender-identity-response-1" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#biological-sex-1" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#SmokingQuitStatus-1" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#TobaccoUseStatus-1" + } + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", + "valueReference": { + "reference": "#CervicalScreeningStatus-1" } }, { - "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", - "valueReference": { - "reference": "#PrimaryCarerParentGrandparent" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext", + "code": "patient" + } + }, + { + "url": "type", + "valueCode": "Patient" + }, + { + "url": "description", + "valueString": "The patient that is to be used to pre-populate the form" + } + ] + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext", + "code": "user" + } + }, + { + "url": "type", + "valueCode": "Practitioner" + }, + { + "url": "description", + "valueString": "The practitioner user that is to be used to pre-populate the form" + } + ] + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "extension": [ + { + "url": "name", + "valueCoding": { + "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext", + "code": "encounter" + } + }, + { + "url": "type", + "valueCode": "Encounter" + }, + { + "url": "description", + "valueString": "The encounter that is to be used to pre-populate the form" + } + ] + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/AboutTheHealthCheck|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Consent|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/PatientDetails|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/CurrentPriorities|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/MedicalHistoryCurrentProblems|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/RegularMedications|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/AllergiesAdverseReactions|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/FamilyHistory|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SocialAndEmotionalWellbeing|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SocialHistoryChild|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/HomeAndFamily|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/LearningAndDevelopment|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/LearningAndWork|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Mood|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/MemoryAndThinking|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/ChronicDiseaseAgeing|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/ScreeningPrograms|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/HealthyEating|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/PhysicalActivityAndScreenTime|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/RedFlagsEarlyIdentificationGuide|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SubstanceUse|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Gambling|0.3.0" }, { - "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", - "valueReference": { - "reference": "#pronouns" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SexualHealth|0.3.0" }, { - "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", - "valueReference": { - "reference": "#australian-states-territories-2" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/EyeHealth|0.3.0" }, { - "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", - "valueReference": { - "reference": "#gender-identity-response-1" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/EarHealthAndHearing|0.3.0" }, { - "url": "https://smartforms.csiro.au/ig/StructureDefinition/ContainedResourceReference", - "valueReference": { - "reference": "#biological-sex-1" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/OralAndDentalHealth|0.3.0" }, { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Skin|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Immunisation|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Examination|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Investigations|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/HealthPrioritiesSummary|0.3.0" + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", + "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/FinalisingHealthCheck|0.3.0" + } + ], + "url": "http://www.health.gov.au/assessments/mbs/715", + "version": "0.3.0-assembled", + "name": "AboriginalTorresStraitIslanderHealthCheck", + "title": "Aboriginal and Torres Strait Islander Health Check", + "status": "draft", + "experimental": false, + "subjectType": [ + "Patient" + ], + "date": "2025-03-14", + "publisher": "AEHRC CSIRO", + "contact": [ + { + "name": "AEHRC CSIRO", + "telecom": [ + { + "system": "url", + "value": "https://confluence.csiro.au/display/PCDQFPhase2/Primary+Care+Data+Quality+Foundations+-+Phase+2" + } + ] + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "AU", + "display": "Australia" + } + ] + } + ], + "copyright": "Copyright © 2022+ Australian Government Department of Health and Aged Care - All rights reserved.\nThis content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.\nSee https://creativecommons.org/licenses/by-sa/4.0/.\n", + "item": [ + { "extension": [ { - "url": "name", - "valueCoding": { - "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext", - "code": "patient" + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "tab-container" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "age", + "language": "text/fhirpath", + "expression": "item.where(linkId='5b224753-9365-44e3-823b-9c17e7394005').item.where(linkId='e2a16e4d-2765-4b61-b286-82cfc6356b30').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "postcode", + "language": "text/fhirpath", + "expression": "item.where(linkId='5b224753-9365-44e3-823b-9c17e7394005').item.where(linkId='f1262ade-843c-4eba-a86d-51a9c97d134b').item.where(linkId='4e0dc185-f83e-4027-b7a8-ecb543d42c6d').item.where(linkId='3f61a1ea-1c74-4f52-8519-432ce861a74f').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryCurrentPriorities", + "language": "text/fhirpath", + "expression": "item.where(linkId='b3a3eee2-f340-452e-9d05-d1f54f677b81').item.where(linkId='7cd424e5-7672-4e99-8a99-30b1fb3043fd').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryMedicalHistory", + "language": "text/fhirpath", + "expression": "item.where(linkId='28d5dbe4-1e65-487c-847a-847f544a6a91').item.where(linkId='62774152-8a6e-4449-af9f-87bdce8b9bf5').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryRegularMedications", + "language": "text/fhirpath", + "expression": "item.where(linkId='7dfe7c6a-ca7f-4ddf-9241-a7b918a9695a').item.where(linkId='aa9ff2ed-bcd2-406d-a9ff-89c201df2605').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryAllergiesAdverseReactions", + "language": "text/fhirpath", + "expression": "item.where(linkId='d4e4db07-a795-4a30-bd0f-9c109f96a22b').item.where(linkId='3e689aeb-69a1-4a9b-93bd-50377511dd9b').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryFamilyHistory", + "language": "text/fhirpath", + "expression": "item.where(linkId='01f67f0b-e3be-48d8-a2ad-4c54f469cd13').item.where(linkId='49ee4583-c608-41d4-a1e9-c06cf4292369').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummarySocialEmotionalWellbeing", + "language": "text/fhirpath", + "expression": "item.where(linkId='0a3c9c93-5836-4a5b-93e5-d7de559e053a').item.where(linkId='b5a00aad-2a8b-4ac3-87b2-4a5920ca22ee').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummarySocialHistory", + "language": "text/fhirpath", + "expression": "item.where(linkId='a5cc8a8f-89cf-470c-a6bd-ce9da2f64ee9').item.where(linkId='76d51512-b94a-4092-b3ae-a656fbb9c360').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryHomeFamily", + "language": "text/fhirpath", + "expression": "item.where(linkId='819b3305-bf93-4502-9986-242ea2ae5f43').item.where(linkId='08d2e80e-3bb4-4f67-8b1c-090b1ace225a').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryLearningDevelopment", + "language": "text/fhirpath", + "expression": "item.where(linkId='3e7d7246-98f8-4803-b063-8405ac30b086').item.where(linkId='5ab80929-5901-431d-bf68-67d532f5fa58').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryLearningWorkAdults", + "language": "text/fhirpath", + "expression": "item.where(linkId='5437e30d-8a0a-4785-974e-00a10d2a1df0').item.where(linkId='3569e514-a74b-4343-b31b-3395e58d991a').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryLearningWorkOlder", + "language": "text/fhirpath", + "expression": "item.where(linkId='dec713ae-246a-4961-95c9-0626bfebfed2').item.where(linkId='ed6f7800-e22a-4639-9d11-faf845513500').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryMood", + "language": "text/fhirpath", + "expression": "item.where(linkId='9559242e-9ffe-4e1f-a9fc-86d1fa62c4b9').item.where(linkId='db9a8650-42a2-4bd3-8066-7e09394120d5').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryMemoryThinking", + "language": "text/fhirpath", + "expression": "item.where(linkId='1bd58e7b-2cb7-45fb-965f-d5fa33d0bb4c').item.where(linkId='1f0e7fde-e964-4f36-9151-dbdc5e145f94').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryChronicDiseaseAgeing", + "language": "text/fhirpath", + "expression": "item.where(linkId='c5da020c-c4f3-437c-b658-ea7e7667514d').item.where(linkId='7292070b-8944-4a40-bcf6-9aaf1721e986').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryScreeningPrograms", + "language": "text/fhirpath", + "expression": "item.where(linkId='9674ffa0-2ad9-4ca3-80e6-e8bb0670a802').item.where(linkId='70f82c4b-d1f9-44d5-9903-bd7097799c05').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryHealthyEating", + "language": "text/fhirpath", + "expression": "item.where(linkId='ae7a3801-9491-4b1f-820c-678236d18f56').item.where(linkId='301789b0-8c6a-470d-8787-0ac6597e3bea').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryPhysicalActivityScreenTimeNotOlder", + "language": "text/fhirpath", + "expression": "item.where(linkId='74736baa-455b-41d2-af98-fb65cd463e97').item.where(linkId='ccbd7fbf-0d40-4cb3-82b3-ad2c7cc7bba2').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryPhysicalActivityScreenTimeOlder", + "language": "text/fhirpath", + "expression": "item.where(linkId='d56234a0-aafd-4c22-96c9-00ead8424f0b').item.where(linkId='25b8b8fd-adb1-48ab-aeae-528603668c4b').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummarySubstanceUse", + "language": "text/fhirpath", + "expression": "item.where(linkId='14a9fb5f-5b0e-4862-b143-08a11cd3ebf0').item.where(linkId='f8e1cc1f-f1a1-4eb3-8255-77d600f52831').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryGambling", + "language": "text/fhirpath", + "expression": "item.where(linkId='a7bb0dd2-4b2d-49c2-9da6-3cb0a4dd9240').item.where(linkId='2ab74c97-55d9-4fd9-968f-8962d62ea573').answer.value" } }, { - "url": "type", - "valueCode": "Patient" + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummarySexualHealthAdolescents", + "language": "text/fhirpath", + "expression": "item.where(linkId='4b49c291-6e93-4b7e-be3b-15ef8bc207ad').item.where(linkId='b41572ba-cf36-4cec-addf-cb0b47fea63f').answer.value" + } }, { - "url": "description", - "valueString": "The patient that is to be used to pre-populate the form" - } - ] - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", - "extension": [ + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummarySexualHealthAdults", + "language": "text/fhirpath", + "expression": "item.where(linkId='589b53a4-ceb2-41c0-850a-69438f9fd1cc').item.where(linkId='efd0735c-c379-471f-83bb-93b0392093aa').answer.value" + } + }, { - "url": "name", - "valueCoding": { - "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext", - "code": "user" + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummarySexualHealthOlder", + "language": "text/fhirpath", + "expression": "item.where(linkId='02048954-e9d7-424e-8c7b-6a3c495d7ce4').item.where(linkId='e9936322-e6fe-4cf7-ab61-22846a8fbb95').answer.value" } }, { - "url": "type", - "valueCode": "Practitioner" + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryEyeHealth", + "language": "text/fhirpath", + "expression": "item.where(linkId='961da481-1698-4a1d-962b-a9c2185e335a').item.where(linkId='8dcdc04c-7655-4b47-88eb-8425f0cdc0d0').answer.value" + } }, { - "url": "description", - "valueString": "The practitioner user that is to be used to pre-populate the form" - } - ] - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/AboutTheHealthCheck|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Consent|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/PatientDetails|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/CurrentPriorities|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/MedicalHistoryCurrentProblems|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/RegularMedications|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/AllergiesAdverseReactions|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/FamilyHistory|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SocialAndEmotionalWellbeing|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SocialHistoryChild|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/HomeAndFamily|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/LearningAndDevelopment|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/LearningAndWork|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Mood|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/MemoryAndThinking|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/ChronicDiseaseAgeing|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/ScreeningPrograms|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/HealthyEating|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/PhysicalActivityAndScreenTime|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/RedFlagsEarlyIdentificationGuide|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SubstanceUse|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Gambling|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/SexualHealth|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/EyeHealth|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/EarHealthAndHearing|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/OralAndDentalHealth|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Skin|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Immunisation|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Examination|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/AbsoluteCVDRiskCalculation|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/Investigations|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/HealthPrioritiesSummary|0.1.0" - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom", - "valueCanonical": "http://www.health.gov.au/assessments/mbs/715/FinalisingHealthCheck|0.1.0" - } - ], - "url": "http://www.health.gov.au/assessments/mbs/715", - "version": "0.1.0-assembled", - "name": "AboriginalTorresStraitIslanderHealthCheck", - "title": "Aboriginal and Torres Strait Islander Health Check", - "status": "draft", - "experimental": false, - "subjectType": [ - "Patient" - ], - "date": "2022-05-24", - "publisher": "AEHRC CSIRO", - "contact": [ - { - "name": "AEHRC CSIRO", - "telecom": [ + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryEarHealthHearing", + "language": "text/fhirpath", + "expression": "item.where(linkId='de71bbd0-178c-4974-9c75-55d5a48c66f7').item.where(linkId='ac87b23a-b022-4d62-9e82-1c56583bca34').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryOralDentalHealth", + "language": "text/fhirpath", + "expression": "item.where(linkId='bde9ab00-a20f-4a7c-9266-11f53f60c65f').item.where(linkId='875574fa-9769-42ca-8381-9e80c3e5233d').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummarySkin", + "language": "text/fhirpath", + "expression": "item.where(linkId='7d4772cb-a1cd-49d9-853f-883ccd8343a6').item.where(linkId='88d23fa4-df88-43ab-a1d0-69315d55c3bf').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryImmunisation", + "language": "text/fhirpath", + "expression": "item.where(linkId='205677d6-17c7-4285-a7c4-61aa02b6c816').item.where(linkId='bcd1c9f2-889e-41e5-8c2b-a70221c5cec5').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryExamination", + "language": "text/fhirpath", + "expression": "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='fcbfa6e1-c101-4675-969d-aa11027859c2').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryAbsoluteCVDRisk", + "language": "text/fhirpath", + "expression": "item.where(linkId='d95abe99-8ef2-4b97-bc88-a2901e2ebc9c').item.where(linkId='f8022f3f-21fe-42c0-8abd-95f24e2e37e5').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "HealthPrioritiesSummaryInvestigations", + "language": "text/fhirpath", + "expression": "item.where(linkId='918f7f32-cdaf-4742-b33a-8254eda2d8bd').item.where(linkId='96a8d946-6078-4c85-9de8-3bf18d2c8150').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "QuestionnaireResponseLatestCompleted", + "language": "application/x-fhir-query", + "expression": "QuestionnaireResponse?status=completed&_count=1&_sort=-authored&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "QuestionnaireResponseLatest", + "language": "application/x-fhir-query", + "expression": "QuestionnaireResponse?_count=1&_sort=-authored&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "PostalAddress", + "language": "text/fhirpath", + "expression": "%patient.address.where(type='postal')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "MedicationStatement", + "language": "application/x-fhir-query", + "expression": "MedicationStatement?patient={{%patient.id}}&status=active&_include=MedicationStatement:medication" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "medicationsFromContained", + "language": "text/fhirpath", + "expression": "%MedicationStatement.entry.resource.contained.ofType(Medication).where(id in %MedicationStatement.entry.resource.medication.select(reference.replace('#', '')))" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "medicationsFromRef", + "language": "text/fhirpath", + "expression": "%MedicationStatement.entry.resource.ofType(Medication).where(id in %MedicationStatement.entry.resource.medication.select(reference.replace('Medication/', '')))" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "AllergyIntolerance", + "language": "application/x-fhir-query", + "expression": "AllergyIntolerance?patient={{%patient.id}}" + } + }, { - "system": "url", - "value": "https://confluence.csiro.au/display/PCDQFPhase2/Primary+Care+Data+Quality+Foundations+-+Phase+2" - } - ] - } - ], - "description": "Aboriginal and Torres Strait Islander Health Check assessment form.", - "jurisdiction": [ - { - "coding": [ + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsTobaccoSmokingStatusValue", + "language": "text/fhirpath", + "expression": "%ObsTobaccoSmokingStatusLatest.value.coding.where(system='http://snomed.info/sct').first()" + } + }, { - "system": "urn:iso:std:iso:3166", - "code": "AU" - } - ] - } - ], - "copyright": "CSIRO © 2022+; Licensed under Apache License, Version 2.0", - "item": [ - { - "extension": [ + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsTobaccoSmokingStatusDateString", + "language": "text/fhirpath", + "expression": "%ObsTobaccoSmokingStatusLatest.effective.toDate().toString()" + } + }, { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "version": "1.0.0", - "code": "tab-container" - } - ] + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsTobaccoSmokingStatusDateFormatted", + "language": "text/fhirpath", + "expression": "%ObsTobaccoSmokingStatusDateString.substring(8,2).toInteger().toString() + ' ' + %ObsTobaccoSmokingStatusDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsTobaccoSmokingStatusDateString.substring(0,4)" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "age", + "name": "Immunization", + "language": "application/x-fhir-query", + "expression": "Immunization?patient={{%patient.id}}&status=completed" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsWaistCircumference", + "language": "application/x-fhir-query", + "expression": "Observation?code=8280-0&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeartRate", + "language": "application/x-fhir-query", + "expression": "Observation?code=8867-4&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeartRhythm", + "language": "application/x-fhir-query", + "expression": "Observation?code=364074009&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBodyHeight", + "language": "application/x-fhir-query", + "expression": "Observation?code=8302-2&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsBodyWeight", + "language": "application/x-fhir-query", + "expression": "Observation?code=29463-7&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHeadCircumference", + "language": "application/x-fhir-query", + "expression": "Observation?code=9843-4&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsWaistCircumferenceLatest", "language": "text/fhirpath", - "expression": "item.where(linkId='5b224753-9365-44e3-823b-9c17e7394005').item.where(linkId='e2a16e4d-2765-4b61-b286-82cfc6356b30').answer.value" + "expression": "%ObsWaistCircumference.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "sex", + "name": "ObsHeartRateLatest", "language": "text/fhirpath", - "expression": "item.where(linkId='5b224753-9365-44e3-823b-9c17e7394005').item.where(linkId='56ef44bb-3d1d-4972-aad1-834b69185d61').answer.value" + "expression": "%ObsHeartRate.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "smoker", + "name": "ObsHeartRhythmLatest", "language": "text/fhirpath", - "expression": "item.where(linkId='14a9fb5f-5b0e-4862-b143-08a11cd3ebf0').item.where(linkId='515eda6e-973a-4b10-910a-0d4bf4f2efff').item.where(linkId='b639a3a8-f476-4cc8-b5c7-f5d2abb23511').answer.value" + "expression": "%ObsHeartRhythm.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "postcode", + "name": "ObsBodyHeightLatest", "language": "text/fhirpath", - "expression": "item.where(linkId='5b224753-9365-44e3-823b-9c17e7394005').item.where(linkId='f1262ade-843c-4eba-a86d-51a9c97d134b').item.where(linkId='4e0dc185-f83e-4027-b7a8-ecb543d42c6d').item.where(linkId='3f61a1ea-1c74-4f52-8519-432ce861a74f').answer.value" + "expression": "%ObsBodyHeight.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryCurrentPriorities", + "name": "ObsBodyWeightLatest", "language": "text/fhirpath", - "expression": "item.where(linkId='b3a3eee2-f340-452e-9d05-d1f54f677b81').item.where(linkId='7cd424e5-7672-4e99-8a99-30b1fb3043fd').answer.value" + "expression": "%ObsBodyWeight.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryMedicalHistory", + "name": "ObsHeadCircumferenceLatest", "language": "text/fhirpath", - "expression": "item.where(linkId='28d5dbe4-1e65-487c-847a-847f544a6a91').item.where(linkId='62774152-8a6e-4449-af9f-87bdce8b9bf5').answer.value" + "expression": "%ObsHeadCircumference.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryRegularMedications", + "name": "ObsBodyHeightValue", "language": "text/fhirpath", - "expression": "item.where(linkId='7dfe7c6a-ca7f-4ddf-9241-a7b918a9695a').item.where(linkId='aa9ff2ed-bcd2-406d-a9ff-89c201df2605').answer.value" + "expression": "%ObsBodyHeightLatest.value.value" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryAllergiesAdverseReactions", + "name": "ObsBodyHeightDateString", "language": "text/fhirpath", - "expression": "item.where(linkId='d4e4db07-a795-4a30-bd0f-9c109f96a22b').item.where(linkId='3e689aeb-69a1-4a9b-93bd-50377511dd9b').answer.value" + "expression": "%ObsBodyHeightLatest.effective.toDate().toString()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryFamilyHistory", + "name": "ObsBodyHeightDateFormatted", "language": "text/fhirpath", - "expression": "item.where(linkId='01f67f0b-e3be-48d8-a2ad-4c54f469cd13').item.where(linkId='49ee4583-c608-41d4-a1e9-c06cf4292369').answer.value" + "expression": "%ObsBodyHeightDateString.substring(8,2).toInteger().toString() + ' ' + %ObsBodyHeightDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsBodyHeightDateString.substring(0,4)" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummarySocialEmotionalWellbeing", + "name": "ObsBodyWeightValue", "language": "text/fhirpath", - "expression": "item.where(linkId='0a3c9c93-5836-4a5b-93e5-d7de559e053a').item.where(linkId='b5a00aad-2a8b-4ac3-87b2-4a5920ca22ee').answer.value" + "expression": "%ObsBodyWeightLatest.value.value" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummarySocialHistory", + "name": "ObsBodyWeightDateString", "language": "text/fhirpath", - "expression": "item.where(linkId='a5cc8a8f-89cf-470c-a6bd-ce9da2f64ee9').item.where(linkId='76d51512-b94a-4092-b3ae-a656fbb9c360').answer.value" + "expression": "%ObsBodyWeightLatest.effective.toDate().toString()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryHomeFamily", + "name": "ObsBodyWeightDateFormatted", "language": "text/fhirpath", - "expression": "item.where(linkId='819b3305-bf93-4502-9986-242ea2ae5f43').item.where(linkId='08d2e80e-3bb4-4f67-8b1c-090b1ace225a').answer.value" + "expression": "%ObsBodyWeightDateString.substring(8,2).toInteger().toString() + ' ' + %ObsBodyWeightDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsBodyWeightDateString.substring(0,4)" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryLearningDevelopment", + "name": "ObsHeadCircumferenceValue", "language": "text/fhirpath", - "expression": "item.where(linkId='3e7d7246-98f8-4803-b063-8405ac30b086').item.where(linkId='5ab80929-5901-431d-bf68-67d532f5fa58').answer.value" + "expression": "%ObsHeadCircumferenceLatest.value.value" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryLearningWorkAdults", + "name": "ObsHeadCircumferenceDateString", "language": "text/fhirpath", - "expression": "item.where(linkId='5437e30d-8a0a-4785-974e-00a10d2a1df0').item.where(linkId='3569e514-a74b-4343-b31b-3395e58d991a').answer.value" + "expression": "%ObsHeadCircumferenceLatest.effective.toDate().toString()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryLearningWorkOlder", + "name": "ObsHeadCircumferenceDateFormatted", "language": "text/fhirpath", - "expression": "item.where(linkId='dec713ae-246a-4961-95c9-0626bfebfed2').item.where(linkId='ed6f7800-e22a-4639-9d11-faf845513500').answer.value" + "expression": "%ObsHeadCircumferenceDateString.substring(8,2).toInteger().toString() + ' ' + %ObsHeadCircumferenceDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsHeadCircumferenceDateString.substring(0,4)" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryMood", + "name": "ObsWaistCircumferenceValue", "language": "text/fhirpath", - "expression": "item.where(linkId='9559242e-9ffe-4e1f-a9fc-86d1fa62c4b9').item.where(linkId='db9a8650-42a2-4bd3-8066-7e09394120d5').answer.value" + "expression": "%ObsWaistCircumferenceLatest.value.value" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryMemoryThinking", + "name": "ObsWaistCircumferenceDateString", "language": "text/fhirpath", - "expression": "item.where(linkId='1bd58e7b-2cb7-45fb-965f-d5fa33d0bb4c').item.where(linkId='1f0e7fde-e964-4f36-9151-dbdc5e145f94').answer.value" + "expression": "%ObsWaistCircumferenceLatest.effective.toDate().toString()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryChronicDiseaseAgeing", + "name": "ObsWaistCircumferenceDateFormatted", "language": "text/fhirpath", - "expression": "item.where(linkId='c5da020c-c4f3-437c-b658-ea7e7667514d').item.where(linkId='7292070b-8944-4a40-bcf6-9aaf1721e986').answer.value" + "expression": "%ObsWaistCircumferenceDateString.substring(8,2).toInteger().toString() + ' ' + %ObsWaistCircumferenceDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsWaistCircumferenceDateString.substring(0,4)" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryScreeningPrograms", + "name": "ObsHeartRateValue", "language": "text/fhirpath", - "expression": "item.where(linkId='9674ffa0-2ad9-4ca3-80e6-e8bb0670a802').item.where(linkId='70f82c4b-d1f9-44d5-9903-bd7097799c05').answer.value" + "expression": "%ObsHeartRateLatest.value.value" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryHealthyEating", + "name": "ObsHeartRateDateString", "language": "text/fhirpath", - "expression": "item.where(linkId='ae7a3801-9491-4b1f-820c-678236d18f56').item.where(linkId='301789b0-8c6a-470d-8787-0ac6597e3bea').answer.value" + "expression": "%ObsHeartRateLatest.effective.toDate().toString()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryPhysicalActivityScreenTimeNotOlder", + "name": "ObsHeartRateDateFormatted", "language": "text/fhirpath", - "expression": "item.where(linkId='74736baa-455b-41d2-af98-fb65cd463e97').item.where(linkId='ccbd7fbf-0d40-4cb3-82b3-ad2c7cc7bba2').answer.value" + "expression": "%ObsHeartRateDateString.substring(8,2).toInteger().toString() + ' ' + %ObsHeartRateDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsHeartRateDateString.substring(0,4)" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryPhysicalActivityScreenTimeOlder", + "name": "ObsHeartRhythmValue", "language": "text/fhirpath", - "expression": "item.where(linkId='d56234a0-aafd-4c22-96c9-00ead8424f0b').item.where(linkId='25b8b8fd-adb1-48ab-aeae-528603668c4b').answer.value" + "expression": "%ObsHeartRhythmLatest.value.coding.where(system='http://snomed.info/sct').first()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummarySubstanceUse", + "name": "ObsHeartRhythmDateString", "language": "text/fhirpath", - "expression": "item.where(linkId='14a9fb5f-5b0e-4862-b143-08a11cd3ebf0').item.where(linkId='f8e1cc1f-f1a1-4eb3-8255-77d600f52831').answer.value" + "expression": "%ObsHeartRhythmLatest.effective.toDate().toString()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryGambling", + "name": "ObsHeartRhythmDateFormatted", "language": "text/fhirpath", - "expression": "item.where(linkId='a7bb0dd2-4b2d-49c2-9da6-3cb0a4dd9240').item.where(linkId='2ab74c97-55d9-4fd9-968f-8962d62ea573').answer.value" + "expression": "%ObsHeartRhythmDateString.substring(8,2).toInteger().toString() + ' ' + %ObsHeartRhythmDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsHeartRhythmDateString.substring(0,4)" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummarySexualHealthAdolescents", + "name": "ObsBloodPressureValue", "language": "text/fhirpath", - "expression": "item.where(linkId='4b49c291-6e93-4b7e-be3b-15ef8bc207ad').item.where(linkId='b41572ba-cf36-4cec-addf-cb0b47fea63f').answer.value" + "expression": "%ObsBloodPressureLatest.component.where(code.coding.exists(code='8480-6')).value.value.round(0).toString() + ' / ' + %ObsBloodPressureLatest.component.where(code.coding.exists(code='8462-4')).value.value.round(0).toString()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummarySexualHealthAdults", + "name": "ObsBloodPressureDateString", "language": "text/fhirpath", - "expression": "item.where(linkId='589b53a4-ceb2-41c0-850a-69438f9fd1cc').item.where(linkId='efd0735c-c379-471f-83bb-93b0392093aa').answer.value" + "expression": "%ObsBloodPressureLatest.effective.toDate().toString()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummarySexualHealthOlder", + "name": "ObsBloodPressureDateFormatted", "language": "text/fhirpath", - "expression": "item.where(linkId='02048954-e9d7-424e-8c7b-6a3c495d7ce4').item.where(linkId='e9936322-e6fe-4cf7-ab61-22846a8fbb95').answer.value" + "expression": "%ObsBloodPressureDateString.substring(8,2).toInteger().toString() + ' ' + %ObsBloodPressureDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %ObsBloodPressureDateString.substring(0,4)" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryEyeHealth", + "name": "weight", "language": "text/fhirpath", - "expression": "item.where(linkId='961da481-1698-4a1d-962b-a9c2185e335a').item.where(linkId='8dcdc04c-7655-4b47-88eb-8425f0cdc0d0').answer.value" + "expression": "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='97ed4c86-8820-4e4d-9234-0e0e8b6ca44a').item.where(linkId='obs-weight-newresult').answer.value" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryEarHealthHearing", + "name": "height", "language": "text/fhirpath", - "expression": "item.where(linkId='de71bbd0-178c-4974-9c75-55d5a48c66f7').item.where(linkId='ac87b23a-b022-4d62-9e82-1c56583bca34').answer.value" + "expression": "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='6226a5c5-b5c3-4ebb-a689-2b286322cfe0').item.where(linkId='obs-height-newresult').answer.value" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryOralDentalHealth", + "name": "ObsTotalCholesterol", + "language": "application/x-fhir-query", + "expression": "Observation?code=14647-2&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsHDLCholesterol", + "language": "application/x-fhir-query", + "expression": "Observation?code=14646-4&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "ObsTotalCholesterolLatest", "language": "text/fhirpath", - "expression": "item.where(linkId='bde9ab00-a20f-4a7c-9266-11f53f60c65f').item.where(linkId='875574fa-9769-42ca-8381-9e80c3e5233d').answer.value" + "expression": "%ObsTotalCholesterol.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummarySkin", + "name": "ObsHDLCholesterolLatest", "language": "text/fhirpath", - "expression": "item.where(linkId='7d4772cb-a1cd-49d9-853f-883ccd8343a6').item.where(linkId='88d23fa4-df88-43ab-a1d0-69315d55c3bf').answer.value" + "expression": "%ObsHDLCholesterol.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryImmunisation", + "name": "CVDRiskResult", + "language": "application/x-fhir-query", + "expression": "Observation?code=441829007&_sort=-date&patient={{%patient.id}}" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "CVDRiskResultLatest", "language": "text/fhirpath", - "expression": "item.where(linkId='205677d6-17c7-4285-a7c4-61aa02b6c816').item.where(linkId='bcd1c9f2-889e-41e5-8c2b-a70221c5cec5').answer.value" + "expression": "%CVDRiskResult.entry.resource.where(status = 'final' or status = 'amended' or status = 'corrected').first()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryExamination", + "name": "CVDRiskResultValue", "language": "text/fhirpath", - "expression": "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='fcbfa6e1-c101-4675-969d-aa11027859c2').answer.value" + "expression": "%CVDRiskResultLatest.select((((value.ofType(Quantity).comparator + value.ofType(Quantity).value.toString() + value.ofType(Quantity).unit | value.ofType(Quantity).value.toString() + value.ofType(Quantity).unit).first() | (value.ofType(Range).low.value.toString() + ' - ' + value.ofType(Range).high.value.toString() + value.ofType(Range).high.unit)).first()) + ' ' + interpretation.coding.display)" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryAbsoluteCVDRisk", + "name": "CVDRiskResultDateString", "language": "text/fhirpath", - "expression": "item.where(linkId='d95abe99-8ef2-4b97-bc88-a2901e2ebc9c').item.where(linkId='f8022f3f-21fe-42c0-8abd-95f24e2e37e5').answer.value" + "expression": "%CVDRiskResultLatest.effective.toString()" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { - "name": "HealthPrioritiesSummaryInvestigations", + "name": "CVDRiskResultDateFormatted", "language": "text/fhirpath", - "expression": "item.where(linkId='918f7f32-cdaf-4742-b33a-8254eda2d8bd').item.where(linkId='96a8d946-6078-4c85-9de8-3bf18d2c8150').answer.value" + "expression": "%CVDRiskResultDateString.substring(8,2).toInteger().toString() + ' ' + %CVDRiskResultDateString.substring(5,2).replace('01','Jan').replace('02','Feb').replace('03','Mar').replace('04','Apr').replace('05','May').replace('06','Jun').replace('07','Jul').replace('08','Aug').replace('09','Sep').replace('10','Oct').replace('11','Nov').replace('12','Dec') + ' ' + %CVDRiskResultDateString.substring(0,4)" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "NewAssessmentQuestionAnswer", + "language": "text/fhirpath", + "expression": "repeat(item).where(linkId='cvdrisk-newassessmentquestion').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "AusCVDRiskiAccessAnswer", + "language": "text/fhirpath", + "expression": "repeat(item).where(linkId='cvdrisk-auscvdriskiaccess').answer.value" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/variable", + "valueExpression": { + "name": "RepopulateOverrideAnswer", + "language": "text/fhirpath", + "expression": "repeat(item).where(linkId='cvdrisk-repopulateoverride').answer.value" } } ], @@ -1100,22 +4127,6 @@ "language": "text/fhirpath", "expression": "%age.exists()" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "QuestionnaireResponseLatestCompleted", - "language": "application/x-fhir-query", - "expression": "QuestionnaireResponse?status=completed&_count=1&_sort=-authored&patient={{%patient.id}}" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "QuestionnaireResponseLatest", - "language": "application/x-fhir-query", - "expression": "QuestionnaireResponse?_count=1&_sort=-authored&patient={{%patient.id}}" - } } ], "linkId": "2e82032a-dc28-45f2-916e-862303d39fe5", @@ -1151,8 +4162,8 @@ "enableWhen": [ { "question": "MarkComplete-1", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -1176,7 +4187,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -1189,19 +4200,6 @@ } ] }, - { - "linkId": "RecordUpdate-About", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.", - "_text": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" - } - ] - }, - "type": "display" - }, { "extension": [ { @@ -1274,7 +4272,7 @@ ], "linkId": "01418489-1ec4-4c3b-b96a-7c14c3e21cfe", "text": "Date of last completed health check", - "type": "date", + "type": "dateTime", "repeats": false }, { @@ -1299,7 +4297,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -1351,8 +4349,8 @@ "enableWhen": [ { "question": "MarkComplete-30", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -1376,7 +4374,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -1569,7 +4567,6 @@ "linkId": "84162f36-f4af-4509-b178-ef2a3849d0b6", "text": "Date", "type": "date", - "required": true, "repeats": false }, { @@ -1690,7 +4687,7 @@ { "valueCoding": { "system": "http://snomed.info/sct", - "code": "413817003", + "code": "224848004", "display": "Early learning centre" } } @@ -1703,7 +4700,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -1713,24 +4710,6 @@ ] }, { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "ObsSex", - "language": "application/x-fhir-query", - "expression": "Observation?code=1515311000168102&status=final&_count=1&_sort=-date&patient={{%patient.id}}" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "PostalAddress", - "language": "text/fhirpath", - "expression": "%patient.address.where(type='postal')" - } - } - ], "linkId": "5b224753-9365-44e3-823b-9c17e7394005", "text": "Patient Details", "type": "group", @@ -1764,8 +4743,8 @@ "enableWhen": [ { "question": "MarkComplete-32", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -1789,7 +4768,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -1803,13 +4782,13 @@ ] }, { - "linkId": "RecordUpdate-Patient", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.", + "linkId": "patientdetails-writebackinstruction", + "text": "This section contains several read only, non-editable items. Updates to these items will need to be done in the patient record. The form can be repopulated to include any updates.", "_text": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" + "valueString": "
This section contains several read only, non-editable items. Updates to these items will need to be done in the patient record. The form can be repopulated to include any updates.
" } ] }, @@ -1853,7 +4832,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%patient.extension.where(url='http://hl7.org/fhir/StructureDefinition/individual-pronouns').extension.where(url='value').value.coding" + "expression": "%patient.extension.where(exists(url='http://hl7.org/fhir/StructureDefinition/individual-pronouns') and extension.where(url='period').value.end.empty()).extension.where(url='value').value.coding" } }, { @@ -1873,7 +4852,7 @@ "type": "choice", "repeats": false, "readOnly": true, - "answerValueSet": "http://terminology.hl7.org/ValueSet/pronouns" + "answerValueSet": "#australian-pronouns-1" }, { "extension": [ @@ -1881,7 +4860,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%patient.extension.where(url='http://hl7.org/fhir/StructureDefinition/patient-genderIdentity').value.coding" + "expression": "%patient.extension.where(exists(url='http://hl7.org/fhir/StructureDefinition/individual-genderIdentity') and extension.where(url='period').value.end.empty()).extension.where(url='value').value.coding" } }, { @@ -1901,7 +4880,7 @@ "type": "choice", "repeats": false, "readOnly": true, - "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1" + "answerValueSet": "#gender-identity-response-1" }, { "extension": [ @@ -1932,7 +4911,7 @@ "text": "Administrative gender", "type": "choice", "repeats": false, - "answerValueSet": "http://hl7.org/fhir/ValueSet/administrative-gender" + "answerValueSet": "#administrative-gender" }, { "extension": [ @@ -1940,7 +4919,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsSex.entry.resource.value.coding" + "expression": "%SexAtBirthCoding" } }, { @@ -1960,7 +4939,7 @@ "type": "choice", "repeats": false, "readOnly": true, - "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1" + "answerValueSet": "#biological-sex-1" }, { "extension": [ @@ -2155,7 +5134,7 @@ "valueExpression": { "name": "HomeAddressRepeat", "language": "text/fhirpath", - "expression": "%patient.address.where(use='home' and (type.empty() or type!='postal'))" + "expression": "%patient.address.where(all(use='home' and (type.empty() or type!='postal')))" } } ], @@ -2163,6 +5142,7 @@ "text": "Home address", "type": "group", "repeats": false, + "readOnly": true, "item": [ { "extension": [ @@ -2193,6 +5173,15 @@ }, { "linkId": "4e0dc185-f83e-4027-b7a8-ecb543d42c6d", + "text": "Home address", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, "type": "group", "enableWhen": [ { @@ -2261,7 +5250,7 @@ "text": "State", "type": "choice", "repeats": false, - "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2" + "answerValueSet": "#australian-states-territories-2" }, { "extension": [ @@ -2389,7 +5378,7 @@ "text": "State", "type": "choice", "repeats": false, - "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2" + "answerValueSet": "#australian-states-territories-2" }, { "extension": [ @@ -2430,7 +5419,8 @@ "linkId": "9541f0b0-f5ba-4fe7-a8e9-ad003cef897b", "text": "Home phone", "type": "string", - "repeats": true + "repeats": true, + "readOnly": true }, { "extension": [ @@ -2445,13 +5435,25 @@ "linkId": "4037a02b-4a85-40e0-9be6-5b17df1aac56", "text": "Mobile phone", "type": "string", - "repeats": true + "repeats": true, + "readOnly": true }, { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", + "valueExpression": { + "name": "EmergencyContactRepeat", + "language": "text/fhirpath", + "expression": "%patient.contact.where(relationship.coding.exists(code = 'C'))" + } + } + ], "linkId": "c22390d3-1be6-4fd1-b775-6443b7239a6b", "text": "Emergency contact", "type": "group", "repeats": true, + "readOnly": true, "item": [ { "extension": [ @@ -2459,7 +5461,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%patient.contact.where(relationship.coding.exists(code = 'C')).name.select((family | (given | prefix).join(' ')).join(', ').where($this != '') | text)" + "expression": "%EmergencyContactRepeat.name.select((family | (given | prefix).join(' ')).join(', ').where($this != '') | text)" } } ], @@ -2504,7 +5506,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%patient.contact.where(relationship.coding.exists(code = 'C')).telecom.value" + "expression": "%EmergencyContactRepeat.telecom.value" } } ], @@ -2520,6 +5522,7 @@ "text": "Medicare number", "type": "group", "repeats": false, + "readOnly": true, "item": [ { "extension": [ @@ -2590,6 +5593,7 @@ "text": "Pensioner Card Number", "type": "string", "repeats": false, + "readOnly": true, "maxLength": 10 }, { @@ -2606,31 +5610,24 @@ "text": "Health Care Card Number", "type": "string", "repeats": false, + "readOnly": true, "maxLength": 10 }, { "extension": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "radio-button" - } - ] + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%patient.extension.where(url='http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration').value" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", - "valueCode": "horizontal" } ], "linkId": "83814495-3a81-43f4-88df-42186cce516a", "text": "Registered for Closing the Gap PBS Co-payment Measure (CTG)", - "type": "choice", + "type": "boolean", "repeats": false, - "answerValueSet": "#YesNoNA" + "readOnly": true }, { "extension": [ @@ -2774,7 +5771,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 49).intersect(%age > 12)" + "expression": "(%age <= 49) and (%age > 12)" } } ], @@ -3093,7 +6090,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -3149,8 +6146,8 @@ "enableWhen": [ { "question": "MarkComplete-5", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -3174,7 +6171,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -3406,7 +6403,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -3458,8 +6455,8 @@ "enableWhen": [ { "question": "MarkComplete-17", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -3483,7 +6480,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -3496,19 +6493,6 @@ } ] }, - { - "linkId": "RecordUpdate-MedHistory", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.", - "_text": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" - } - ] - }, - "type": "display" - }, { "extension": [ { @@ -3517,236 +6501,256 @@ "language": "text/fhirpath", "expression": "%age <= 5" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", - "valueCoding": { - "system": "http://unitsofmeasure.org", - "code": "wk" - } } ], - "linkId": "a10a7375-e9d3-4e71-a47a-282e9ba38ec1", - "text": "Gestation at birth", - "type": "decimal", + "linkId": "b9de2b58-55e2-436d-95ab-49600508cdf7", + "text": "Birth history", + "type": "group", "repeats": false, "item": [ { "extension": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "unit" - } - ] + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", + "valueCoding": { + "system": "http://unitsofmeasure.org", + "code": "wk" } } ], - "linkId": "f3899852-36c4-441f-9a7d-544ef1617f08", - "text": "weeks", - "type": "display" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%age <= 5" - } + "linkId": "a10a7375-e9d3-4e71-a47a-282e9ba38ec1", + "text": "Gestation at birth", + "type": "decimal", + "repeats": false, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "unit" + } + ] + } + } + ], + "linkId": "f3899852-36c4-441f-9a7d-544ef1617f08", + "text": "weeks", + "type": "display" + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", - "valueCoding": { - "system": "http://unitsofmeasure.org", - "code": "kg" - } - } - ], - "linkId": "29b6d8ea-23b2-4a69-98d9-899198692de7", - "text": "Birth weight", - "type": "decimal", - "repeats": false, - "item": [ { "extension": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "unit" - } - ] + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", + "valueCoding": { + "system": "http://unitsofmeasure.org", + "code": "kg" } } ], - "linkId": "87cf1ecd-6d1b-4de1-894d-58bd77dcfde1", - "text": "kg", - "type": "display" + "linkId": "29b6d8ea-23b2-4a69-98d9-899198692de7", + "text": "Birth weight", + "type": "decimal", + "repeats": false, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "unit" + } + ] + } + } + ], + "linkId": "87cf1ecd-6d1b-4de1-894d-58bd77dcfde1", + "text": "kg", + "type": "display" + } + ] } ] }, { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "gtable" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", - "valueExpression": { - "name": "ConditionRepeat", - "language": "text/fhirpath", - "expression": "%Condition.entry.resource.where(category.coding.exists(code='problem-list-item'))" - } - } - ], - "linkId": "92bd7d05-9b5e-4cf9-900b-703f361dad9d", - "text": "Medical history and current problems list", + "linkId": "medicalhistorysummary", + "text": "Medical history summary", "_text": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n

Medical history and current problems list

\r\n

This list includes items from the clinical record. If you wish to enter additional diagnoses, either update the clinical record and repopulate this form or add them to the \"New diagnoses list\" below and later update the clinical record as required.

\r\n
" + "valueString": "
\r\n

Medical history summary

\r\n

This section includes a list of existing items from the patient record.
Update these items here or update the patient record and repopulate the form.
Add new items at the bottom.

\r\n
" } ] }, "type": "group", - "repeats": true, "item": [ { "extension": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "autocomplete" - } - ] - } + "url": "https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton", + "valueBoolean": true }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ConditionRepeat.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" - } - } - ], - "linkId": "59b1900a-4f85-4a8c-b9cd-3fe2fd76f27e", - "text": "Condition", - "type": "open-choice", - "answerValueSet": "#MedicalHistory" - }, - { - "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "drop-down" + "code": "gtable" } ] } }, { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ConditionRepeat.clinicalStatus.coding" - } - } - ], - "linkId": "88bcfad7-386b-4d87-b34b-2e50482e4d2c", - "text": "Clinical Status", - "type": "choice", - "answerValueSet": "http://hl7.org/fhir/ValueSet/condition-clinical" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", "valueExpression": { + "name": "ConditionRepeat", "language": "text/fhirpath", - "expression": "%ConditionRepeat.onset.ofType(dateTime)" + "expression": "%Condition.entry.resource.where(verificationStatus.coding.all(code.empty() or code='confirmed'))" } - } - ], - "linkId": "6ae641ad-95bb-4cdc-8910-5a52077e492c", - "text": "Onset Date", - "type": "date" - }, - { - "extension": [ + }, { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ConditionRepeat.recordedDate" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#ConditionPatchTemplate" + } + }, + { + "url": "resourceId", + "valueString": "item.where(linkId='conditionId').answer.value" + }, + { + "url": "type", + "valueCode": "Condition" + } + ] } ], - "linkId": "18b9e159-2ed7-4047-82b7-deb2a171de4f", - "text": "Recorded Date", - "type": "date" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ + "linkId": "92bd7d05-9b5e-4cf9-900b-703f361dad9d", + "text": "Medical history summary", + "_text": { + "extension": [ { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "gtable" + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true } ] - } - } - ], - "linkId": "4484cacd-a260-4e5f-83c1-168ca2396c04", - "text": "New diagnoses list", - "type": "group", - "repeats": true, - "item": [ - { - "extension": [ + }, + "type": "group", + "repeats": true, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ConditionRepeat.id" + } + } + ], + "linkId": "conditionId", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "autocomplete" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ConditionRepeat.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" + } + } + ], + "linkId": "59b1900a-4f85-4a8c-b9cd-3fe2fd76f27e", + "text": "Condition", + "type": "open-choice", + "readOnly": true, + "answerValueSet": "#clinical-condition-1" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "drop-down" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ConditionRepeat.clinicalStatus.coding" + } + } + ], + "linkId": "88bcfad7-386b-4d87-b34b-2e50482e4d2c", + "text": "Clinical status", + "type": "choice", + "answerValueSet": "#condition-clinical" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ConditionRepeat.onset.ofType(dateTime).toDate()" + } + } + ], + "linkId": "6ae641ad-95bb-4cdc-8910-5a52077e492c", + "text": "Onset date", + "type": "date", + "readOnly": true + }, { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "autocomplete" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ConditionRepeat.abatement.ofType(dateTime).toDate()" } - ] - } + } + ], + "linkId": "e4524654-f6de-4717-b288-34919394d46b", + "text": "Abatement date", + "type": "date" } - ], - "linkId": "2da85994-2d5e-42f1-8a81-abf44f397468", - "text": "Condition", - "type": "open-choice", - "answerValueSet": "#MedicalHistory" + ] }, { "extension": [ @@ -3756,26 +6760,66 @@ "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "drop-down" + "code": "gtable" } ] } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#ConditionTemplate" + } + } + ] } ], - "linkId": "a7e056be-fb6f-4f7f-b04d-5b809e1e18e3", - "text": "Clinical Status", - "type": "choice", - "answerValueSet": "http://hl7.org/fhir/ValueSet/condition-clinical" - }, - { - "linkId": "e4524654-f6de-4717-b288-34919394d46b", - "text": "Onset Date", - "type": "date" - }, - { - "linkId": "5bc1d8f4-6e8c-4695-916c-1ef767306e46", - "text": "Recorded Date", - "type": "date" + "linkId": "newdiagnosis", + "text": "New diagnosis", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, + "type": "group", + "repeats": true, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "autocomplete" + } + ] + } + } + ], + "linkId": "2da85994-2d5e-42f1-8a81-abf44f397468", + "text": "Condition", + "type": "open-choice", + "answerValueSet": "#clinical-condition-1" + }, + { + "linkId": "4d55bffb-3286-4a23-a785-3b9c346d464d", + "text": "Onset date", + "type": "date" + }, + { + "linkId": "newdiagnosis-comment", + "text": "Comment", + "type": "string" + } + ] } ] }, @@ -3792,7 +6836,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -3809,14 +6853,10 @@ "language": "text/fhirpath", "expression": "%age.exists()" } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", - "valueString": "Regular medications" } ], "linkId": "7dfe7c6a-ca7f-4ddf-9241-a7b918a9695a", - "text": "Regular medications: check if still required, appropriate dose, understanding of medication and adherence", + "text": "Regular medications", "type": "group", "repeats": false, "item": [ @@ -3848,8 +6888,8 @@ "enableWhen": [ { "question": "MarkComplete-23", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -3873,7 +6913,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -3886,6 +6926,284 @@ } ] }, + { + "linkId": "regularmedications-instruction", + "text": "Check medications are still required, appropriate dose, understanding of medication and adherence", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n Check medications are still required, appropriate dose, understanding of medication and adherence\r\n
" + } + ] + }, + "type": "display" + }, + { + "linkId": "regularmedications-summary", + "text": "Medication summary", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n

Medication summary

\r\n

This section includes a list of existing items from the patient record.
Update these items here or update the patient record and repopulate the form.
Add new items at the bottom.

\r\n
" + } + ] + }, + "type": "group", + "repeats": false, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", + "valueExpression": { + "name": "MedicationStatementRepeat", + "language": "text/fhirpath", + "expression": "%MedicationStatement.entry.resource.ofType(MedicationStatement)" + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#MedicationStatementPatchTemplate" + } + }, + { + "url": "resourceId", + "valueString": "item.where(linkId='medicationStatementId').answer.value" + }, + { + "url": "type", + "valueCode": "MedicationStatement" + } + ] + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton", + "valueBoolean": true + } + ], + "linkId": "regularmedications-summary-current", + "text": "Current medications", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, + "type": "group", + "repeats": true, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%MedicationStatementRepeat.id" + } + } + ], + "linkId": "medicationStatementId", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "autocomplete" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%MedicationStatementRepeat.medication.reference.replace('#', '') in %medicationsFromContained.id, %medicationsFromContained.where(id = %MedicationStatementRepeat.medication.reference.replace('#', '')).code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first()), iif(%MedicationStatementRepeat.medication.reference.replace('Medication/', '') in %medicationsFromRef.id , %medicationsFromRef.where(id = %MedicationStatementRepeat.medication.reference.replace('Medication/', '')).code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first()) ,%MedicationStatementRepeat.medication.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())))" + } + } + ], + "linkId": "regularmedications-summary-current-medication", + "text": "Medication", + "type": "open-choice", + "repeats": false, + "readOnly": true, + "answerValueSet": "#smart-health-checks-medicine-products" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%MedicationStatementRepeat.status" + } + } + ], + "linkId": "regularmedications-summary-current-status", + "text": "Status", + "type": "choice", + "repeats": false, + "answerValueSet": "#MedicationStatementStatusLimited" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%MedicationStatementRepeat.dosage.text" + } + } + ], + "linkId": "regularmedications-summary-current-dosage", + "text": "Dosage", + "type": "text", + "repeats": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "autocomplete" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%MedicationStatementRepeat.reasonCode.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" + } + } + ], + "linkId": "regularmedications-summary-current-reasoncode", + "text": "Clinical indication", + "type": "open-choice", + "repeats": true, + "readOnly": true, + "answerValueSet": "#medication-reason-taken-1" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%MedicationStatementRepeat.note.text" + } + } + ], + "linkId": "regularmedications-summary-current-comment", + "text": "Comment", + "type": "text", + "repeats": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#MedicationStatementTemplate" + } + } + ] + } + ], + "linkId": "regularmedications-summary-new", + "text": "New medications", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, + "type": "group", + "repeats": true, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "autocomplete" + } + ] + } + } + ], + "linkId": "regularmedications-summary-new-medication", + "text": "Medication", + "type": "open-choice", + "repeats": false, + "answerValueSet": "#smart-health-checks-medicine-products" + }, + { + "linkId": "regularmedications-summary-new-dosage", + "text": "Dosage", + "type": "text", + "repeats": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "autocomplete" + } + ] + } + } + ], + "linkId": "regularmedications-summary-new-reasoncode", + "text": "Clinical indication", + "type": "open-choice", + "repeats": true, + "answerValueSet": "#medication-reason-taken-1" + }, + { + "linkId": "regularmedications-summary-new-comment", + "text": "Comment", + "type": "text", + "repeats": false + } + ] + } + ] + }, { "extension": [ { @@ -3958,28 +7276,8 @@ }, { "linkId": "874ec8db-95c9-4cc0-95db-e45edaa3cd12", - "text": "Up to date in the health record?", + "text": "Check the health record is up to date", "type": "boolean", - "enableWhen": [ - { - "question": "6eb59145-ed9a-4184-af83-3506d47e4d4e", - "operator": "=", - "answerCoding": { - "system": "http://terminology.hl7.org/CodeSystem/v2-0136", - "code": "Y" - } - }, - { - "question": "3a2d27b6-e918-4df5-aca9-b374fcf9faad", - "operator": "=", - "answerCoding": { - "system": "http://terminology.hl7.org/CodeSystem/v2-0136", - "code": "Y" - } - } - ], - "enableBehavior": "any", - "required": true, "repeats": false }, { @@ -3990,7 +7288,7 @@ } ], "linkId": "36290837-ad70-48b2-9c66-31533fec918b", - "text": "Medication understanding and adherence has been checked with patient", + "text": "Check medication understanding and adherence with patient", "type": "boolean", "enableWhen": [ { @@ -4011,7 +7309,6 @@ } ], "enableBehavior": "any", - "required": true, "repeats": false }, { @@ -4027,7 +7324,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -4046,7 +7343,7 @@ } } ], - "linkId": "d4e4db07-a795-4a30-bd0f-9c109f96a22b", + "linkId": "allergy", "text": "Allergies/adverse reactions", "type": "group", "repeats": false, @@ -4079,8 +7376,8 @@ "enableWhen": [ { "question": "MarkComplete-3", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -4104,7 +7401,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -4118,23 +7415,259 @@ ] }, { - "extension": [ + "linkId": "allergyinstruction", + "text": "Adverse reaction risk summary", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n

Adverse reaction risk summary

\r\n

This section includes a list of existing items from the patient record.
Update these items here or update the patient record and repopulate the form.
Add new items at the bottom.

\r\n
" + } + ] + }, + "type": "group", + "item": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", + "valueExpression": { + "name": "AllergyIntoleranceRepeat", + "language": "text/fhirpath", + "expression": "%AllergyIntolerance.entry.resource.where(clinicalStatus.coding.exists(code='active')).where(verificationStatus.coding.all(code.empty() or code='confirmed'))" + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#AllergyIntolerancePatchTemplate" + } + }, + { + "url": "resourceId", + "valueString": "item.where(linkId='allergyIntoleranceId').answer.value" + }, + { + "url": "type", + "valueCode": "AllergyIntolerance" + } + ] + }, + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton", + "valueBoolean": true + } + ], + "linkId": "allergysummary", + "text": "Adverse reaction risk summary", + "_text": { + "extension": [ { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "check-box" + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true } ] - } + }, + "type": "group", + "repeats": true, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AllergyIntoleranceRepeat.id" + } + } + ], + "linkId": "allergyIntoleranceId", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AllergyIntoleranceRepeat.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "autocomplete" + } + ] + } + } + ], + "linkId": "allergysummary-substance", + "text": "Substance", + "type": "open-choice", + "repeats": false, + "readOnly": true, + "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-agent-1" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AllergyIntoleranceRepeat.clinicalStatus.coding" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "drop-down" + } + ] + } + } + ], + "linkId": "allergysummary-status", + "text": "Status", + "type": "choice", + "repeats": false, + "answerValueSet": "#AllergyIntoleranceClinicalStatusMinimal" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AllergyIntoleranceRepeat.reaction.manifestation.coding" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "autocomplete" + } + ] + } + } + ], + "linkId": "allergysummary-manifestation", + "text": "Manifestation", + "type": "open-choice", + "repeats": true, + "readOnly": true, + "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AllergyIntoleranceRepeat.note[0].text" + } + } + ], + "linkId": "allergysummary-comment", + "text": "Comment", + "type": "text", + "repeats": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#AllergyIntoleranceTemplate" + } + } + ] + } + ], + "linkId": "allergynew", + "text": "New adverse reaction risks", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, + "type": "group", + "repeats": true, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "autocomplete" + } + ] + } + } + ], + "linkId": "allergynew-substance", + "text": "Substance", + "type": "open-choice", + "required": true, + "repeats": false, + "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-agent-1" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "autocomplete" + } + ] + } + } + ], + "linkId": "allergynew-manifestation", + "text": "Manifestation", + "type": "open-choice", + "repeats": true, + "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1" + }, + { + "linkId": "allergynew-comment", + "text": "Comment", + "type": "text", + "repeats": false + } + ] } - ], - "linkId": "8a1d70bf-a68b-4b7b-be73-ba6956fccc78", - "text": "Up to date in the health record?", - "type": "boolean", - "repeats": false + ] }, { "linkId": "3e689aeb-69a1-4a9b-93bd-50377511dd9b", @@ -4149,7 +7682,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -4201,8 +7734,8 @@ "enableWhen": [ { "question": "MarkComplete-9", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -4226,7 +7759,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -4326,7 +7859,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -4378,8 +7911,8 @@ "enableWhen": [ { "question": "MarkComplete-27", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -4403,7 +7936,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -4526,7 +8059,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -4582,8 +8115,8 @@ "enableWhen": [ { "question": "MarkComplete-28", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -4607,7 +8140,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -4742,7 +8275,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -4794,8 +8327,8 @@ "enableWhen": [ { "question": "MarkComplete-12", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -4819,7 +8352,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -4967,7 +8500,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -5019,8 +8552,8 @@ "enableWhen": [ { "question": "MarkComplete-15", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -5044,7 +8577,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -5209,7 +8742,7 @@ } ], "linkId": "20ae39db-7bb5-4af4-ac59-3298d20719d8", - "text": "details", + "text": "Details", "type": "display" } ] @@ -5244,7 +8777,7 @@ } ], "linkId": "61ff302c-9ef0-414c-a9f8-e2b8d119373c", - "text": "details", + "text": "Details", "type": "display" } ] @@ -5279,7 +8812,7 @@ } ], "linkId": "520a4544-a48b-4864-8cfd-6af263756f1b", - "text": "details", + "text": "Details", "type": "display" } ] @@ -5314,7 +8847,7 @@ } ], "linkId": "2e24a8de-c23d-409a-a5d6-96345177e105", - "text": "details", + "text": "Details", "type": "display" } ] @@ -5349,7 +8882,7 @@ } ], "linkId": "f95dd477-98a2-4534-b8ab-5a74d1b46502", - "text": "details", + "text": "Details", "type": "display" } ] @@ -5365,7 +8898,7 @@ } ], "linkId": "9371dddc-49f4-4a8f-a9dc-a0e128f99636", - "text": "Are there any other concerns about your child's learning and development", + "text": "Are there any other concerns about your child's learning and development?", "type": "text", "repeats": false, "item": [ @@ -5384,7 +8917,7 @@ } ], "linkId": "f513b077-5714-4b14-b44f-30a979509651", - "text": "details", + "text": "Details", "type": "display" } ] @@ -5402,7 +8935,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -5417,7 +8950,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 12).intersect(%age < 50)" + "expression": "(%age > 12) and (%age < 50)" } } ], @@ -5454,8 +8987,8 @@ "enableWhen": [ { "question": "MarkComplete-33", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -5479,7 +9012,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -5643,7 +9176,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -5695,8 +9228,8 @@ "enableWhen": [ { "question": "MarkComplete-16", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -5720,7 +9253,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -5777,12 +9310,6 @@ } ] }, - { - "linkId": "ed6f7800-e22a-4639-9d11-faf845513500", - "text": "Health priorities, actions and follow-up", - "type": "text", - "repeats": false - }, { "linkId": "MarkComplete-16", "text": "Mark section as complete", @@ -5790,7 +9317,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -5842,8 +9369,8 @@ "enableWhen": [ { "question": "MarkComplete-19", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -5867,7 +9394,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -5977,7 +9504,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -6029,8 +9556,8 @@ "enableWhen": [ { "question": "MarkComplete-18", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -6054,7 +9581,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -6202,7 +9729,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -6254,8 +9781,8 @@ "enableWhen": [ { "question": "MarkComplete-4", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -6279,7 +9806,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -6297,14 +9824,18 @@ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", "valueString": "Assessment of chronic disease associated with ageing" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
For older people with chronic disease and/or conditions associated with ageing, consider assessing:
\r\n
    \r\n
  • Osteoporosis risk
  • \r\n
  • Falls risk
  • \r\n
  • Balance, coordination and mobility
  • \r\n
  • Pain
  • \r\n
  • Nutrition
  • \r\n
  • Regularity of chronic disease management and review
  • \r\n
\r\n
" } ], "linkId": "12e244c0-2887-4230-8792-9521d4f1ab33", "text": "For older people with chronic disease and/or conditions associated with ageing, consider assessing: Osteoporosis risk; Falls risk; Balance, coordination and mobility; Pain; Nutrition; Regularity of chronic disease management and review", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
For older people with chronic disease and/or conditions associated with ageing, consider assessing:
\r\n
    \r\n
  • Osteoporosis risk
  • \r\n
  • Falls risk
  • \r\n
  • Balance, coordination and mobility
  • \r\n
  • Pain
  • \r\n
  • Nutrition
  • \r\n
  • Regularity of chronic disease management and review
  • \r\n
\r\n
" + } + ] + }, "type": "text", "repeats": false, "item": [ @@ -6341,7 +9872,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -6356,7 +9887,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age >= 50).intersect(%age <= 74)" + "expression": "(%age >= 50) and (%age <= 74)" } } ], @@ -6393,8 +9924,8 @@ "enableWhen": [ { "question": "MarkComplete-24", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -6418,7 +9949,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -6431,19 +9962,6 @@ } ] }, - { - "linkId": "RecordUpdate-ScreeningPrograms", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.", - "_text": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" - } - ] - }, - "type": "display" - }, { "linkId": "ed15e82b-803a-4d21-9344-9110b57b2313", "text": "Cervical screening (age <=74 years)", @@ -6625,7 +10143,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -6677,8 +10195,8 @@ "enableWhen": [ { "question": "MarkComplete-11", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -6702,7 +10220,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -7011,14 +10529,18 @@ "language": "text/fhirpath", "expression": "%age <= 5" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
Document conversation about age-appropriate healthy eating, which could include:
\r\n
    \r\n
  • current diet
  • \r\n
  • transition to solids
  • \r\n
  • dietary recommendations re fruit and vegetable intake, iron-rich foods, avoiding sugary drinks
  • \r\n
\r\n
" } ], "linkId": "9f6adf74-f240-41a2-a509-d216d5308911", "text": "Document conversation about age-appropriate healthy eating, which could include: current diet; transition to solids; dietary recommendations re fruit and vegetable intake, iron-rich foods, avoiding sugary drinks", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
Document conversation about age-appropriate healthy eating, which could include:
\r\n
    \r\n
  • current diet
  • \r\n
  • transition to solids
  • \r\n
  • dietary recommendations re fruit and vegetable intake, iron-rich foods, avoiding sugary drinks
  • \r\n
\r\n
" + } + ] + }, "type": "text", "repeats": false, "item": [ @@ -7050,14 +10572,18 @@ "language": "text/fhirpath", "expression": "%age > 5" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
Document conversation about health eating which could include:
\r\n
    \r\n
  • current diet including food and drinks
  • \r\n
  • recommendations about fruit and vegetable intake, water as the main drink, avoiding sugary drinks, avoiding highly processed foods (including supermarket-bought and take-away like KFC, Maccas, etc)
  • \r\n
\r\n
" } ], "linkId": "7a22a4c4-6611-4687-af00-37c80c3f8fc0", - "text": "Document conversation about health eating which could include: current diet including food and drinks; recommendations about fruit and vegetable intake, water as the main drink, avoiding sugary drinks, avoiding highly processed foods (including supermarket-bought and take-away like KFC, Maccas, etc)", + "text": "Document conversation about healthy eating which could include: current diet including food and drinks; recommendations about fruit and vegetable intake, water as the main drink, avoiding sugary drinks, avoiding highly processed foods (including supermarket-bought and take-away like KFC, Maccas, etc)", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
Document conversation about healthy eating which could include:
\r\n
    \r\n
  • current diet including food and drinks
  • \r\n
  • recommendations about fruit and vegetable intake, water as the main drink, avoiding sugary drinks, avoiding highly processed foods (including supermarket-bought and take-away like KFC, Maccas, etc)
  • \r\n
\r\n
" + } + ] + }, "type": "text", "repeats": false, "item": [ @@ -7142,7 +10668,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -7194,8 +10720,8 @@ "enableWhen": [ { "question": "MarkComplete-34", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -7219,7 +10745,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -7435,7 +10961,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 12).intersect(%age <= 24)" + "expression": "(%age > 12) and (%age <= 24)" } } ], @@ -7477,7 +11003,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -7529,8 +11055,8 @@ "enableWhen": [ { "question": "MarkComplete-21", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -7554,7 +11080,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -7654,7 +11180,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -7706,8 +11232,8 @@ "enableWhen": [ { "question": "MarkComplete-22", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -7731,7 +11257,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -7764,7 +11290,7 @@ } ], "linkId": "0b520b20-98df-4024-b25d-2986f6b96e77", - "text": "What age group is the child closet to?", + "text": "What age group is the child closest to?", "type": "choice", "repeats": false, "answerOption": [ @@ -7892,7 +11418,7 @@ "valueString": "Does not notice someone new" }, { - "valueString": "Does not pay early turn taking games (eg peekaboo, rolling a ball)" + "valueString": "Does not play early turn taking games (e.g. peekaboo, rolling a ball)" } ] }, @@ -7954,7 +11480,7 @@ "repeats": true, "answerOption": [ { - "valueString": "When playing with toys tends to bang, drop, or throw them rather than use them for their purpose (eg Cuddle doll, build blocks)" + "valueString": "When playing with toys tends to bang, drop, or throw them rather than use them for their purpose (e.g. cuddle doll, build blocks)" } ] }, @@ -8081,7 +11607,7 @@ "repeats": true, "answerOption": [ { - "valueString": "Not starting to babble (eg aahh, oohh)" + "valueString": "Not starting to babble (e.g. aahh, oohh)" } ] }, @@ -8112,10 +11638,10 @@ "repeats": true, "answerOption": [ { - "valueString": "Not using gestures (eg pointing, showing, waving)" + "valueString": "Not using gestures (e.g. pointing, showing, waving)" }, { - "valueString": "Not using two part babble (eg bubu, dada)" + "valueString": "Not using two part babble (e.g. bubu, dada)" } ] }, @@ -8149,7 +11675,7 @@ "valueString": "No babbled phrases that sound like talking" }, { - "valueString": "No response to familiar words (eg bottle, daddy)" + "valueString": "No response to familiar words (e.g. bottle, daddy)" } ] }, @@ -8183,7 +11709,7 @@ "valueString": "No clear words" }, { - "valueString": "Cannot understand short requests (eg 'Where is the ball?')" + "valueString": "Cannot understand short requests (e.g. 'Where is the ball?')" } ] }, @@ -8217,7 +11743,7 @@ "valueString": "Not learning new words" }, { - "valueString": "Not putting words together (eg 'push car')" + "valueString": "Not putting words together (e.g. 'push car')" } ] }, @@ -8251,7 +11777,7 @@ "valueString": "Speech is difficult for familiar people to understand" }, { - "valueString": "Not using simple sentences (eg big car go)" + "valueString": "Not using simple sentences (e.g. big car go)" } ] }, @@ -8285,7 +11811,7 @@ "valueString": "Speech difficult to understand" }, { - "valueString": "Not able to follow directions with two steps (eg 'Put your bag away and then go play')" + "valueString": "Not able to follow directions with two steps (e.g. 'Put your bag away and then go play')" } ] }, @@ -8319,7 +11845,7 @@ "valueString": "Difficulty telling a parent what is wrong" }, { - "valueString": "Not able to answer questions in a simple conversation (eg What's your name? Who is your family?)" + "valueString": "Not able to answer questions in a simple conversation (e.g. What's your name? Who is your family?)" } ] }, @@ -8529,7 +12055,7 @@ "valueString": "Does not attempt everyday care skills (such as feeding or dressing)" }, { - "valueString": "Difficulty in manipulating small objects (eg threading beads)" + "valueString": "Difficulty in manipulating small objects (e.g. threading beads)" } ] }, @@ -8600,7 +12126,7 @@ "valueString": "Not independently able to complete everyday routines such as feeding and dressing" }, { - "valueString": "Cannot draw simple pictures (eg stick person)" + "valueString": "Cannot draw simple pictures (e.g. stick person)" } ] }, @@ -8705,7 +12231,7 @@ "repeats": true, "answerOption": [ { - "valueString": "No form of independent mobility (eg crawling, commando crawling, bottom shuffle)" + "valueString": "No form of independent mobility (e.g. crawling, commando crawling, bottom shuffle)" }, { "valueString": "Not pulling to stand independently and holding on for support" @@ -8933,7 +12459,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -8950,14 +12476,6 @@ "language": "text/fhirpath", "expression": "%age >= 12" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "ObsTobaccoSmokingStatus", - "language": "application/x-fhir-query", - "expression": "Observation?code=72166-2&_count=1&_sort=-date&patient={{%patient.id}}" - } } ], "linkId": "14a9fb5f-5b0e-4862-b143-08a11cd3ebf0", @@ -8993,8 +12511,8 @@ "enableWhen": [ { "question": "MarkComplete-29", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -9018,7 +12536,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -9032,83 +12550,98 @@ ] }, { - "linkId": "RecordUpdate-SubstanceUse", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.", - "_text": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" - } - ] - }, - "type": "display" - }, - { - "linkId": "515eda6e-973a-4b10-910a-0d4bf4f2efff", + "linkId": "substanceuse-smoking", "text": "Smoking", "type": "group", "repeats": false, "item": [ { "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsTobaccoSmokingStatus.entry.resource.value.coding.where(system='http://snomed.info/sct')" - } - }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "radio-button" + "code": "grid" } ] } } ], - "linkId": "b639a3a8-f476-4cc8-b5c7-f5d2abb23511", + "linkId": "substanceuse-smoking-smokingstatus", "text": "Smoking status", - "type": "choice", - "repeats": false, - "answerOption": [ - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "266919005", - "display": "Never smoked" - } - }, - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "77176002", - "display": "Smoker" - } - }, - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "8517006", - "display": "Ex-Smoker" - } - }, - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "16090371000119103", - "display": "Environmental exposure to tobacco smoke (home, car, etc)" + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true } - }, - { - "valueString": "Wants to quit" - }, + ] + }, + "type": "group", + "repeats": false, + "item": [ { - "valueString": "Other tobacco use" + "linkId": "substanceuse-smoking-smokingstatus-group", + "text": "Smoking status", + "type": "group", + "repeats": false, + "item": [ + { + "linkId": "substanceuse-smoking-smokingstatus-group-laststatus", + "text": "Last status", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsTobaccoSmokingStatusValue.exists() and %ObsTobaccoSmokingStatusDateFormatted.exists(), %ObsTobaccoSmokingStatusValue.display + ' ( ' + %ObsTobaccoSmokingStatusDateFormatted + ' )', 'Not available')" + } + } + ] + }, + "type": "display" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#SmokingStatusTemplate" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "drop-down" + } + ] + } + } + ], + "linkId": "b639a3a8-f476-4cc8-b5c7-f5d2abb23511", + "text": "New status", + "type": "choice", + "repeats": false, + "answerValueSet": "#TobaccoUseStatus-1" + }, + { + "linkId": "substanceuse-smoking-smokingstatus-group-newdate", + "text": "New date", + "type": "date", + "repeats": false + } + ] } ] }, @@ -9140,22 +12673,7 @@ } ], "repeats": false, - "answerOption": [ - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "48031000119106", - "display": "Quit >=12 months" - } - }, - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "735128000", - "display": "Quit <12 months" - } - } - ] + "answerValueSet": "#SmokingQuitStatus-1" }, { "linkId": "9e86387d-1be4-4c26-9047-9dd6b03e1ee0", @@ -9181,7 +12699,10 @@ { "question": "b639a3a8-f476-4cc8-b5c7-f5d2abb23511", "operator": "=", - "answerString": "Wants to quit" + "answerCoding": { + "system": "http://snomed.info/sct", + "code": "394872000" + } } ], "enableBehavior": "any", @@ -9211,7 +12732,10 @@ { "question": "b639a3a8-f476-4cc8-b5c7-f5d2abb23511", "operator": "=", - "answerString": "Wants to quit" + "answerCoding": { + "system": "http://snomed.info/sct", + "code": "394872000" + } } ], "enableBehavior": "any" @@ -9226,10 +12750,6 @@ "item": [ { "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
Quantity and frequency of:
\r\n
    \r\n
  • alcohol
  • \r\n
  • caffeine (coffee, soft drinks, iced coffee)
  • \r\n
  • cannabis/yarndi/gunja
  • \r\n
  • other substance use: IVDU, methamphetamine, opiates, solvents, other
  • \r\n
\r\n\t
" - }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", "valueString": "Quantity and frequency of substance use" @@ -9237,6 +12757,14 @@ ], "linkId": "ea73d52c-f831-46be-a45d-2c42250a5210", "text": "Quantity and frequency of: alcohol; caffeine (coffee, soft drinks, iced coffee); cannabis/yarndi/gunja; other substance use: IVDU, methamphetamine, opiates, solvents, other", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
Quantity and frequency of:
\r\n
    \r\n
  • alcohol
  • \r\n
  • caffeine (coffee, soft drinks, iced coffee)
  • \r\n
  • cannabis/yarndi/gunja
  • \r\n
  • other substance use: IVDU, methamphetamine, opiates, solvents, other
  • \r\n
\r\n\t
" + } + ] + }, "type": "text", "repeats": false, "item": [ @@ -9275,7 +12803,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -9327,8 +12855,8 @@ "enableWhen": [ { "question": "MarkComplete-10", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -9352,7 +12880,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -9426,7 +12954,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -9441,7 +12969,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 12).intersect(%age <= 24)" + "expression": "(%age > 12) and (%age <= 24)" } }, { @@ -9482,8 +13010,8 @@ "enableWhen": [ { "question": "MarkComplete-36", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -9507,7 +13035,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -9570,10 +13098,6 @@ }, { "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
Consider discussing as relevant to age/sex/gender:
\r\n
    \r\n
  • menstruation (including risk of anaemia)
  • \r\n
  • current sexual activity
  • \r\n
  • contraception
  • \r\n
  • safe sex practice (eg use of condoms)
  • \r\n
  • sexually transmitted infection symptoms and screening
  • \r\n
  • blood-borne virus screening
  • \r\n
\r\n
" - }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", "valueString": "Consider discussing items relevant to age/sex/gender" @@ -9581,6 +13105,14 @@ ], "linkId": "0fba3972-faa3-4f40-940c-c2f1c9b55329", "text": "Consider discussing as relevant to age/sex/gender: menstruation (including risk of anaemia); current sexual activity; contraception; safe sex practice (eg use of condoms); sexually transmitted infection symptoms and screening; blood-borne virus screening", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
Consider discussing as relevant to age/sex/gender:
\r\n
    \r\n
  • menstruation (including risk of anaemia)
  • \r\n
  • current sexual activity
  • \r\n
  • contraception
  • \r\n
  • safe sex practice (eg use of condoms)
  • \r\n
  • sexually transmitted infection symptoms and screening
  • \r\n
  • blood-borne virus screening
  • \r\n
\r\n
" + } + ] + }, "type": "text", "repeats": false }, @@ -9597,7 +13129,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -9612,7 +13144,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 24).intersect(%age <= 49)" + "expression": "(%age > 24) and (%age <= 49)" } } ], @@ -9649,8 +13181,8 @@ "enableWhen": [ { "question": "MarkComplete-35", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -9674,7 +13206,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -9750,45 +13282,16 @@ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "check-box" - } - ] - } - } - ], - "linkId": "37dbd343-6d02-477c-89bf-59ba022efbb7", - "text": "Cervical screening status", - "type": "choice", - "repeats": false, - "answerOption": [ - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "736595007", - "display": "Declined" - } - }, - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "410527000", - "display": "Offered" - } - }, - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "171154002", - "display": "Not required" - } - }, - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "171155001", - "display": "Up to date" + } + ] } } - ] + ], + "linkId": "37dbd343-6d02-477c-89bf-59ba022efbb7", + "text": "Cervical screening status", + "type": "choice", + "repeats": false, + "answerValueSet": "#CervicalScreeningStatus-1" }, { "linkId": "f93eb998-1502-4d8a-88a4-986117a387c5", @@ -9806,10 +13309,6 @@ }, { "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
Consider discussing as relevant to age/sex/gender:
\r\n
    \r\n
  • contraception
  • \r\n
  • menstruation
  • \r\n
  • sexually transmitted infection symptoms and screening
  • \r\n
  • blood-borne virus screening
  • \r\n
  • continence
  • \r\n
  • menopause
  • \r\n
  • erectile dysfunction
  • \r\n
\r\n
" - }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", "valueString": "Consider discussing items relevant to age/sex/gender" @@ -9817,6 +13316,14 @@ ], "linkId": "39b02169-ea34-4af9-aa35-1c47f7f39333", "text": "Consider discussing as relevant to age/sex/gender: contraception; menstruation; sexually transmitted infection symptoms and screening; blood-borne virus screening; continence; menopause; erectile dysfunction", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
Consider discussing as relevant to age/sex/gender:
\r\n
    \r\n
  • contraception
  • \r\n
  • menstruation
  • \r\n
  • sexually transmitted infection symptoms and screening
  • \r\n
  • blood-borne virus screening
  • \r\n
  • continence
  • \r\n
  • menopause
  • \r\n
  • erectile dysfunction
  • \r\n
\r\n
" + } + ] + }, "type": "text", "repeats": false }, @@ -9833,7 +13340,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -9885,8 +13392,8 @@ "enableWhen": [ { "question": "MarkComplete-25", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -9910,7 +13417,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -10021,10 +13528,6 @@ }, { "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n
Consider discussing as relevant to age/sex/gender:
\r\n
    \r\n
  • menopause
  • \r\n
  • erectile dysfunction
  • \r\n
  • prostatic symptoms
  • \r\n
\r\n\t
" - }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-shortText", "valueString": "Consider discussing items relevant to age/sex/gender" @@ -10032,6 +13535,14 @@ ], "linkId": "8d75d1f1-290b-41fc-8e32-ad0681c650bb", "text": "Consider discussing as relevant to age/sex/gender: menopause; erectile dysfunction; prostatic symptoms", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n
Consider discussing as relevant to age/sex/gender:
\r\n
    \r\n
  • menopause
  • \r\n
  • erectile dysfunction
  • \r\n
  • prostatic symptoms
  • \r\n
\r\n\t
" + } + ] + }, "type": "text", "repeats": false }, @@ -10048,7 +13559,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -10100,8 +13611,8 @@ "enableWhen": [ { "question": "MarkComplete-8", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -10125,7 +13636,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -10241,7 +13752,6 @@ "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", - "version": "1.0.0", "code": "grid" } ] @@ -10385,7 +13895,7 @@ "valueCoding": { "system": "http://snomed.info/sct", "code": "95726001", - "display": "Corneal scarring" + "display": "Corneal scar" } } ] @@ -10420,7 +13930,7 @@ "valueCoding": { "system": "http://snomed.info/sct", "code": "95726001", - "display": "Corneal scarring" + "display": "Corneal scar" } } ] @@ -10442,7 +13952,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -10494,8 +14004,8 @@ "enableWhen": [ { "question": "MarkComplete-6", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -10519,7 +14029,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -10800,7 +14310,7 @@ } ], "linkId": "fe96046a-a202-4c22-ad3e-00419e717185", - "text": "Video otoscopy procedure recommended where possible as it allows for parental education and for images to be saved for tracking over time", + "text": "Video otoscopy procedure recommended where possible as it allows for parental education and for images to be saved for tracking over time.", "type": "display" }, { @@ -11041,7 +14551,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 5).intersect(%age <= 12)" + "expression": "(%age > 5) and (%age <= 12)" } } ], @@ -11079,7 +14589,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -11131,8 +14641,8 @@ "enableWhen": [ { "question": "MarkComplete-20", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -11156,7 +14666,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -11354,7 +14864,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -11406,8 +14916,8 @@ "enableWhen": [ { "question": "MarkComplete-26", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -11431,7 +14941,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -11615,7 +15125,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -11667,8 +15177,8 @@ "enableWhen": [ { "question": "MarkComplete-13", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -11692,7 +15202,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -11717,6 +15227,14 @@ ], "linkId": "54de7714-b917-4426-acb4-29d48648a2d8", "text": "Check Child Health Record/Book and Australian Immunisation Register", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n

Check Child Health Record/Book and Australian Immunisation Register

\r\n
" + } + ] + }, "type": "display" }, { @@ -11731,6 +15249,14 @@ ], "linkId": "d77c527d-6fde-4ed7-97b9-c71acf817f39", "text": "Eligibility for funded vaccines may vary across jurisdictions", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n

Eligibility for funded vaccines may vary across jurisdictions

\r\n
" + } + ] + }, "type": "display" }, { @@ -11739,27 +15265,251 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 12).intersect(%age <= 24)" + "expression": "(%age > 12) and (%age <= 24)" } } ], "linkId": "77d87581-d4d7-4267-9f3c-ad6541ad0f46", "text": "Check Australian Immunisation Register", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n

Check Australian Immunisation Register

\r\n
" + } + ] + }, + "type": "display" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "(%age > 24) and (%age <= 49)" + } + } + ], + "linkId": "a2631d2c-2b5c-4147-9aca-05ae655a56a5", + "text": "Check recommended primary vaccinations completed and provide catch-up if required", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "
\r\n

Check recommended primary vaccinations completed and provide catch-up if required

\r\n
" + } + ] + }, "type": "display" }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "(%age > 24).intersect(%age <= 49)" - } + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "gtable" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext", + "valueExpression": { + "name": "ImmunizationRepeat", + "language": "text/fhirpath", + "expression": "%Immunization.entry.resource" + } + } + ], + "linkId": "vaccinesprevious", + "text": "Vaccines previously given", + "type": "group", + "repeats": true, + "readOnly": true, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "autocomplete" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ImmunizationRepeat.vaccineCode.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())" + } + } + ], + "linkId": "vaccinesprevious-vaccine", + "text": "Vaccine", + "type": "open-choice", + "answerValueSet": "#amt-vaccine-1" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ImmunizationRepeat.lotNumber" + } + } + ], + "linkId": "vaccinesprevious-batch", + "text": "Batch number", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ImmunizationRepeat.occurrence.ofType(dateTime).toDate()" + } + } + ], + "linkId": "vaccinesprevious-date", + "text": "Administration date", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ImmunizationRepeat.note.text.first()" + } + } + ], + "linkId": "vaccinesprevious-comment", + "text": "Comment", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "radio-button" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", + "valueCode": "horizontal" + } + ], + "linkId": "vaccinesair", + "text": "Immunisations are up to date?", + "type": "choice", + "repeats": false, + "answerValueSet": "#YesNo" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "autocomplete" + } + ] + } + } + ], + "linkId": "vaccinesdue", + "text": "Immunisations due", + "type": "open-choice", + "repeats": true, + "answerValueSet": "#amt-vaccine-1" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "gtable" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#ImmunizationTemplate" + } + } + ] + } + ], + "linkId": "vaccinestoday", + "text": "Vaccines given today", + "type": "group", + "repeats": true, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "autocomplete" + } + ] + } + } + ], + "linkId": "vaccinestoday-vaccine", + "text": "Vaccine", + "type": "open-choice", + "answerValueSet": "#amt-vaccine-1" + }, + { + "linkId": "vaccinestoday-batch", + "text": "Batch number", + "type": "string" + }, + { + "linkId": "vaccinestoday-date", + "text": "Administration date", + "type": "date" + }, + { + "linkId": "vaccinestoday-comment", + "text": "Comment", + "type": "string" } - ], - "linkId": "a2631d2c-2b5c-4147-9aca-05ae655a56a5", - "text": "Check recommended primary vaccinations completed and provide catch-up if required", - "type": "display" + ] }, { "extension": [ @@ -11779,66 +15529,12 @@ "valueCode": "horizontal" } ], - "linkId": "69a4a459-196b-4931-8336-ea76ab3fccd1", - "text": "Immunisations up to date and recorded on Australian Immunisation Register (as per Australian immunisation handbook)?", + "linkId": "vaccinesrecorded", + "text": "Have all vaccines been recorded on the Australian Immunisation Register?", "type": "choice", "repeats": false, "answerValueSet": "#YesNo" }, - { - "linkId": "08e8ca54-9af8-4028-be83-aab20bccecc3", - "text": "Immunisations due", - "type": "string", - "repeats": true - }, - { - "linkId": "cc522cb1-b553-48c7-9028-61d15dd60845", - "text": "Vaccines given today", - "type": "group", - "repeats": false, - "item": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "radio-button" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", - "valueCode": "horizontal" - } - ], - "linkId": "9f5787e6-8ece-46a4-8d67-e7c3e14daf18", - "text": "Vaccines recorded on Australian Immunisation Register?", - "type": "choice", - "repeats": false, - "answerValueSet": "#YesNo" - }, - { - "linkId": "c8da01ec-de58-46e3-81a1-2c49aed8c28e", - "text": "Details", - "type": "text", - "enableWhen": [ - { - "question": "9f5787e6-8ece-46a4-8d67-e7c3e14daf18", - "operator": "=", - "answerCoding": { - "system": "http://terminology.hl7.org/CodeSystem/v2-0136", - "code": "Y" - } - } - ], - "repeats": false - } - ] - }, { "linkId": "bcd1c9f2-889e-41e5-8c2b-a70221c5cec5", "text": "Health priorities, actions and follow-up", @@ -11852,7 +15548,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -11869,62 +15565,6 @@ "language": "text/fhirpath", "expression": "%age.exists()" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "ObsWaistCircumference", - "language": "application/x-fhir-query", - "expression": "Observation?code=8280-0&_count=1&_sort=-date&patient={{%patient.id}}" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "ObsHeartRate", - "language": "application/x-fhir-query", - "expression": "Observation?code=8867-4&_count=1&_sort=-date&patient={{%patient.id}}" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "ObsBodyHeight", - "language": "application/x-fhir-query", - "expression": "Observation?code=8302-2&_count=1&_sort=-date&patient={{%patient.id}}" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "ObsBodyWeight", - "language": "application/x-fhir-query", - "expression": "Observation?code=29463-7&_count=1&_sort=-date&patient={{%patient.id}}" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "ObsHeadCircumference", - "language": "application/x-fhir-query", - "expression": "Observation?code=9843-4&_count=1&_sort=-date&patient={{%patient.id}}" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "weight", - "language": "text/fhirpath", - "expression": "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='97ed4c86-8820-4e4d-9234-0e0e8b6ca44a').item.where(linkId='443bd584-684a-449c-ab6e-9d07da4df9fa').answer.value" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "height", - "language": "text/fhirpath", - "expression": "item.where(linkId='c587e3b6-b91a-40dc-9a16-179342d001e9').item.where(linkId='53d5d5a6-3198-4bec-92ac-03fe7d77fb68').item.where(linkId='6226a5c5-b5c3-4ebb-a689-2b286322cfe0').item.where(linkId='7035c7e7-ada3-4c6b-9ea8-f39666f5d4ea').answer.value" - } } ], "linkId": "c587e3b6-b91a-40dc-9a16-179342d001e9", @@ -11960,8 +15600,8 @@ "enableWhen": [ { "question": "MarkComplete-7", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -11985,7 +15625,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -11998,19 +15638,6 @@ } ] }, - { - "linkId": "RecordUpdate-Exam", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.", - "_text": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" - } - ] - }, - "type": "display" - }, { "extension": [ { @@ -12033,7 +15660,6 @@ "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", - "version": "1.0.0", "code": "grid" } ] @@ -12041,6 +15667,15 @@ } ], "linkId": "53d5d5a6-3198-4bec-92ac-03fe7d77fb68", + "text": "The tabled observations will display the most recent results available from the patient record. New observations may be added.", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "

The tabled observations will display the most recent results available from the patient record. New observations may be added.

" + } + ] + }, "type": "group", "repeats": false, "item": [ @@ -12059,14 +15694,38 @@ "type": "group", "repeats": false, "item": [ + { + "linkId": "837cd0ce-4a9e-4c8b-8679-007ed961f121", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsBodyHeightValue.exists() and %ObsBodyHeightDateFormatted.exists(), %ObsBodyHeightValue.round(0).toString() + ' cm ( ' + %ObsBodyHeightDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsBodyHeight.entry.resource.value.value" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#BodyHeightLengthTemplate" + } + } + ] }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", @@ -12076,8 +15735,8 @@ } } ], - "linkId": "837cd0ce-4a9e-4c8b-8679-007ed961f121", - "text": "Value", + "linkId": "obs-lengthheight-newresult", + "text": "New result", "type": "decimal", "repeats": false, "item": [ @@ -12095,7 +15754,7 @@ } } ], - "linkId": "e73c3643-8898-4ef8-8bc9-b4b3826ab790", + "linkId": "obslengthheight-newresult-unit", "text": "cm", "type": "display" } @@ -12104,15 +15763,15 @@ { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsBodyHeight.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='obs-lengthheight-newresult').answer.value.exists(), today())" } } ], - "linkId": "b9faf79e-b5f7-443a-9203-67532e3a381f", - "text": "Date performed", + "linkId": "obs-lengthheight-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -12133,14 +15792,38 @@ "type": "group", "repeats": false, "item": [ + { + "linkId": "7035c7e7-ada3-4c6b-9ea8-f39666f5d4ea", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsBodyHeightValue.exists() and %ObsBodyHeightDateFormatted.exists(), %ObsBodyHeightValue.round(0).toString() + ' cm ( ' + %ObsBodyHeightDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsBodyHeight.entry.resource.value.value" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#BodyHeightTemplate" + } + } + ] }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", @@ -12150,8 +15833,8 @@ } } ], - "linkId": "7035c7e7-ada3-4c6b-9ea8-f39666f5d4ea", - "text": "Value", + "linkId": "obs-height-newresult", + "text": "New result", "type": "decimal", "repeats": false, "item": [ @@ -12169,7 +15852,7 @@ } } ], - "linkId": "387c95f0-8b54-4ad7-992d-8ab26a34fd77", + "linkId": "obs-height-newresult-unit", "text": "cm", "type": "display" } @@ -12178,15 +15861,15 @@ { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsBodyHeight.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='obs-height-newresult').answer.value.exists(), today())" } } ], - "linkId": "c666ac96-1e64-40e2-8e0b-7d0187bb3e50", - "text": "Date performed", + "linkId": "obs-height-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -12198,14 +15881,38 @@ "type": "group", "repeats": false, "item": [ + { + "linkId": "443bd584-684a-449c-ab6e-9d07da4df9fa", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsBodyWeightValue.exists() and %ObsBodyWeightDateFormatted.exists(), %ObsBodyWeightValue.round(1).toString() + ' kg ( ' + %ObsBodyWeightDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsBodyWeight.entry.resource.value.value" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#BodyWeightTemplate" + } + } + ] }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", @@ -12215,8 +15922,8 @@ } } ], - "linkId": "443bd584-684a-449c-ab6e-9d07da4df9fa", - "text": "Value", + "linkId": "obs-weight-newresult", + "text": "New result", "type": "decimal", "repeats": false, "item": [ @@ -12234,7 +15941,7 @@ } } ], - "linkId": "5ba0d699-bc2a-45d0-8f40-f53cb21dc911", + "linkId": "obs-weight-newresult-unit", "text": "kg", "type": "display" } @@ -12243,15 +15950,15 @@ { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsBodyWeight.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='obs-weight-newresult').answer.value.exists(), today())" } } ], - "linkId": "92cdc1c7-eb6c-4f6d-9bd9-ae726a0e0d3d", - "text": "Date performed", + "linkId": "obs-weight-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -12268,10 +15975,30 @@ } ], "linkId": "bc209c5e-ed28-48e3-b1a1-55cb7e435d8b", - "text": "BMI", + "text": "BMI (calculated)", "type": "group", "repeats": false, "item": [ + { + "linkId": "2ada6633-03c6-4b05-bc23-18dec84ec150", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsBodyWeightValue.exists() and %ObsBodyHeightValue.exists(), (%ObsBodyWeightValue/((%ObsBodyHeightValue/100).power(2))).round(1).toString() + ' kg/m2', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { @@ -12290,8 +16017,8 @@ } } ], - "linkId": "2ada6633-03c6-4b05-bc23-18dec84ec150", - "text": "Value", + "linkId": "obs-bmi-newresult", + "text": "New result", "type": "decimal", "repeats": false, "readOnly": true, @@ -12310,7 +16037,7 @@ } } ], - "linkId": "a709b8ec-9e65-40f0-a781-500cb3e56f3c", + "linkId": "obs-bmi-newresult-unit", "text": "kg/m2", "type": "display" } @@ -12333,14 +16060,38 @@ "type": "group", "repeats": false, "item": [ + { + "linkId": "7a4a6aac-558e-4bec-86c5-326ae07e37d6", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsHeadCircumferenceValue.exists() and %ObsHeadCircumferenceDateFormatted.exists(), %ObsHeadCircumferenceValue.round(0).toString() + ' cm ( ' + %ObsHeadCircumferenceDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsHeadCircumference.entry.resource.value.value" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#HeadCircumferenceTemplate" + } + } + ] }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", @@ -12350,8 +16101,8 @@ } } ], - "linkId": "7a4a6aac-558e-4bec-86c5-326ae07e37d6", - "text": "Value", + "linkId": "obs-headcircumference-newresult", + "text": "New result", "type": "decimal", "repeats": false, "item": [ @@ -12369,7 +16120,7 @@ } } ], - "linkId": "73937983-65a0-4d40-8600-de7ca3277d5e", + "linkId": "obs-headcircumference-newresult-unit", "text": "cm", "type": "display" } @@ -12378,15 +16129,15 @@ { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsHeadCircumference.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='obs-headcircumference-newresult').answer.value.exists(), today())" } } ], - "linkId": "b8da15e7-8648-492b-9e82-ad5ab7cad179", - "text": "Date performed", + "linkId": "obs-headcircumference-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -12408,24 +16159,41 @@ "repeats": false, "item": [ { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsWaistCircumference.entry.resource.value.value" + "linkId": "8df0f5d8-821d-4f71-b3c1-d164616ea2f5", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsWaistCircumferenceValue.exists() and %ObsWaistCircumferenceDateFormatted.exists(), %ObsWaistCircumferenceValue.round(0).toString() + ' cm ( ' + %ObsWaistCircumferenceDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" } - }, + ] + }, + "type": "display" + }, + { + "extension": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", - "valueCoding": { - "system": "http://unitsofmeasure.org", - "code": "cm" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#WaistCircumferenceTemplate" + } + } + ] } ], - "linkId": "8df0f5d8-821d-4f71-b3c1-d164616ea2f5", - "text": "Value", + "linkId": "obs-waistcircumference-newresult", + "text": "New result", "type": "decimal", "repeats": false, "item": [ @@ -12443,7 +16211,7 @@ } } ], - "linkId": "19aeb0ab-7494-4bac-8b2d-d7d2527c1f4a", + "linkId": "obs-waistcircumference-newresult-unit", "text": "cm", "type": "display" } @@ -12452,15 +16220,15 @@ { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsWaistCircumference.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='obs-waistcircumference-newresult').answer.value.exists(), today())" } } ], - "linkId": "3eb3b929-e67a-4331-8949-b8447b66a4c7", - "text": "Date performed", + "linkId": "obs-waistcircumference-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -12472,14 +16240,38 @@ "type": "group", "repeats": false, "item": [ + { + "linkId": "49029ef0-eaa8-44f8-b26a-177820c82dfd", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsHeartRateValue.exists() and %ObsHeartRateDateFormatted.exists(), %ObsHeartRateValue.round(0).toString() + ' /min ( ' + %ObsHeartRateDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsHeartRate.entry.resource.value.value" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#HeartRateTemplate" + } + } + ] }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", @@ -12489,8 +16281,8 @@ } } ], - "linkId": "49029ef0-eaa8-44f8-b26a-177820c82dfd", - "text": "Value", + "linkId": "obs-heartrate-newresult", + "text": "New result", "type": "integer", "repeats": false, "item": [ @@ -12508,7 +16300,7 @@ } } ], - "linkId": "090964b9-be33-438b-8465-2a2a09632fde", + "linkId": "obs-heartrate-newresult-unit", "text": "/min", "type": "display" } @@ -12517,15 +16309,15 @@ { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsHeartRate.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='obs-heartrate-newresult').answer.value.exists(), today())" } } ], - "linkId": "feeac08f-2ba6-4048-80a2-10b3f90cf5e3", - "text": "Date performed", + "linkId": "obs-heartrate-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -12537,8 +16329,39 @@ "type": "group", "repeats": false, "item": [ + { + "linkId": "99a8eb6f-a36a-4daf-99d7-27bfde0d4bb1", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsHeartRhythmValue.exists() and %ObsHeartRhythmDateFormatted.exists(), %ObsHeartRhythmValue.display + ' ( ' + %ObsHeartRhythmDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#HeartRhythmTemplate" + } + } + ] + }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { @@ -12551,30 +16374,24 @@ } } ], - "linkId": "99a8eb6f-a36a-4daf-99d7-27bfde0d4bb1", - "text": "Value", + "linkId": "obs-heartrhythm-newresult", + "text": "New result", "type": "choice", "repeats": false, - "answerOption": [ - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "271636001", - "display": "Pulse Regular" - } - }, + "answerValueSet": "#heart-rhythm-1" + }, + { + "extension": [ { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "61086009", - "display": "Pulse Irregular" + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%resource.repeat(item).where(linkId='obs-heartrhythm-newresult').answer.value.exists(), today())" } } - ] - }, - { - "linkId": "eeb56682-0eae-4428-9c37-0e63852026c0", - "text": "Date performed", + ], + "linkId": "obs-heartrhythm-newdate", + "text": "New result date", "type": "date", "repeats": false } @@ -12584,13 +16401,19 @@ }, { "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%age > 12" + } + }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", - "version": "1.0.0", "code": "grid" } ] @@ -12598,32 +16421,56 @@ } ], "linkId": "3639c586-9576-48d3-a52b-e91fd2138581", + "text": "Blood pressure", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, "type": "group", "repeats": false, "item": [ { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%age > 12" - } - } - ], "linkId": "705f6d04-acab-4d14-baab-98f9bfc4808e", "text": "Blood pressure", "type": "group", "repeats": false, "item": [ + { + "linkId": "bp-bp-lastresult", + "text": "Last result", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%ObsBloodPressureValue.exists() and %ObsBloodPressureDateFormatted.exists(), %ObsBloodPressureValue + ' mm Hg ( ' + %ObsBloodPressureDateFormatted + ' )', 'Not available')" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-style", + "valueString": "text-align: left;" + } + ] + }, + "type": "display" + }, { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsBloodPressure.entry.resource.component.where(code.coding.exists(code='8480-6')).value.value" - } + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract", + "extension": [ + { + "url": "template", + "valueReference": { + "reference": "#BloodPressureTemplate" + } + } + ] }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", @@ -12633,7 +16480,7 @@ } } ], - "linkId": "e68b660d-cfd2-4b89-957a-c96a4c73a5fd", + "linkId": "bp-newbp-systolic", "text": "Systolic", "type": "integer", "repeats": false, @@ -12652,7 +16499,7 @@ } } ], - "linkId": "197d212d-72cc-4c85-91dc-2f030d384391", + "linkId": "bp-newbp-systolic-unit", "text": "mm Hg", "type": "display" } @@ -12660,13 +16507,6 @@ }, { "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%ObsBloodPressure.entry.resource.component.where(code.coding.exists(code='8462-4')).value.value" - } - }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", "valueCoding": { @@ -12675,7 +16515,7 @@ } } ], - "linkId": "867b0022-f812-4f80-b287-79686c972b15", + "linkId": "bp-newbp-diastolic", "text": "Diastolic", "type": "integer", "repeats": false, @@ -12694,7 +16534,7 @@ } } ], - "linkId": "416ee494-4fa2-4b29-af0b-3d022f686e39", + "linkId": "bp-newbp-diastolic-unit", "text": "mm Hg", "type": "display" } @@ -12703,14 +16543,14 @@ { "extension": [ { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsBloodPressure.entry.resource.effective" + "expression": "iif(%resource.repeat(item).where(linkId='bp-newbp-systolic').answer.value.exists() or %resource.repeat(item).where(linkId='bp-newbp-diastolic').answer.value.exists(), today())" } } ], - "linkId": "a005050c-ed79-46ed-ac14-2fc1496059a5", + "linkId": "bp-newbp-date", "text": "Date performed", "type": "date", "repeats": false @@ -12824,22 +16664,6 @@ "language": "text/fhirpath", "expression": "%age >= 25" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "ObsTotalCholesterol", - "language": "application/x-fhir-query", - "expression": "Observation?code=14647-2&_count=1&_sort=-date&patient={{%patient.id}}" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/variable", - "valueExpression": { - "name": "ObsHDLCholesterol", - "language": "application/x-fhir-query", - "expression": "Observation?code=14646-4&_count=1&_sort=-date&patient={{%patient.id}}" - } } ], "linkId": "d95abe99-8ef2-4b97-bc88-a2901e2ebc9c", @@ -12875,8 +16699,8 @@ "enableWhen": [ { "question": "MarkComplete-2", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -12900,7 +16724,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -12914,31 +16738,232 @@ ] }, { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there first.\r\n
" - } - ], - "linkId": "RecordUpdate-CVDRisk", - "text": "Important: The patient record may not be updated with information entered here. Information intended for the patient record should be entered there.", - "type": "display" - }, - { - "extension": [ + "linkId": "Guidance-CVDRisk", + "text": "The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the Aus CVD Risk calculator.", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "

The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the Aus CVD Risk calculator.

" + } + ] + }, + "type": "display" + }, + { + "linkId": "dabdc7b4-51db-44a0-9d59-77a88587cbe9", + "text": "CVD risk result", + "type": "group", + "repeats": false, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "iif(%CVDRiskResultValue.exists() and %CVDRiskResultDateFormatted.exists(), %CVDRiskResultValue + ' ( ' + %CVDRiskResultDateFormatted + ' )', 'Not available')" + } + } + ], + "linkId": "cvdrisk-latestresult", + "text": "Latest available result", + "type": "string", + "repeats": false, + "readOnly": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%CVDRiskResultValue.exists() and %CVDRiskResultDateFormatted.exists()" + } + } + ], + "linkId": "cvdrisk-newassessmentquestion", + "text": "A previous CVD risk result has been found. Do you want to perform a new assessment?", + "type": "boolean", + "repeats": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%NewAssessmentQuestionAnswer = true or %CVDRiskResultValue.empty() or %CVDRiskResultDateFormatted.empty()" + } + } + ], + "linkId": "cvdrisk-auscvdriskiaccess", + "text": "Do you have access to the Aus CVD Risk-i application from your clinical system?", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "

Do you have access to the Aus CVD Risk‑i application from your clinical system?

" + } + ] + }, + "type": "boolean", + "repeats": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AusCVDRiskiAccessAnswer = true" + } + } + ], + "linkId": "cvdrisk-auscvdriskiguidance", + "text": "Using the Aus CVD Risk-i application, calculate the CVD risk result and save it to the patient record. This form can then be repopulated to retrieve and include the result above.", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "

Using the Aus CVD Risk‑i application, calculate the CVD risk result and save it to the patient record. This form can then be repopulated to retrieve and include the result above.

" + } + ] + }, + "type": "display" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AusCVDRiskiAccessAnswer = true" + } + } + ], + "linkId": "cvdrisk-repopulateoverride", + "text": "Do you need to manually enter a new CVD risk result instead of repopulating?", + "type": "boolean", + "repeats": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AusCVDRiskiAccessAnswer != true or %RepopulateOverrideAnswer = true" + } + } + ], + "linkId": "cvdrisk-cvdriskresultgroup", + "text": "New CVD risk result", + "type": "group", + "repeats": false, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%AusCVDRiskiAccessAnswer != true" + } + } + ], + "linkId": "cvdrisk-onlincecalculatorguidance", + "text": "Use the online Australian CVD risk calculator - https://www.cvdcheck.org.au/calculator", + "_text": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", + "valueString": "

The Australian CVD risk calculator on the Aus CVD Risk website should be used. Below is a read only view of a subset of variables that can be used as inputs for the online calculator. The calculated CVD risk result can be entered here.

" + } + ] + }, + "type": "display" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", + "valueCoding": { + "system": "http://unitsofmeasure.org", + "code": "%" + } + } + ], + "linkId": "4c52fcec-0695-4916-b185-24a5c2711631", + "text": "Risk result score", + "type": "integer", + "repeats": false, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "unit" + } + ] + } + } + ], + "linkId": "0162854e-c124-4b58-acd9-93c17562d407", + "text": "%", + "type": "display" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-item-control", + "code": "radio-button" + } + ] + } + } + ], + "linkId": "28ff9463-b77f-435d-9ba7-427682a61f96", + "text": "Assessed risk category", + "type": "choice", + "repeats": false, + "answerOption": [ + { + "valueString": "High Risk" + }, + { + "valueString": "Intermediate Risk" + }, + { + "valueString": "Low Risk" + } + ] + } + ] + } + ] + }, + { + "linkId": "f8022f3f-21fe-42c0-8abd-95f24e2e37e5", + "text": "Health priorities, actions and follow-up", + "type": "text", + "enableWhen": [ { - "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n

The Australian guideline for assessing and managing cardiovascular disease risk recommends the use of the online Australian CVD risk calculator.

\r\n

The items included in this section are a subset of variables that can be used as inputs for the online calculator.

\r\n

The final CVD risk result can be entered in the item at the bottom of this section.

\r\n
" + "question": "cvdrisk-auscvdriskiaccess", + "operator": "=", + "answerBoolean": false } ], - "linkId": "Guidance-CVDRisk", - "text": "Australian CVD risk calculator - https://www.cvdcheck.org.au/calculator", - "type": "display" - }, - { - "linkId": "8d02ef36-3f48-4912-b001-e9fec6aa7101", - "text": "CVD risk calculator variables", - "type": "group", "repeats": false, "readOnly": true, "item": [ @@ -12991,7 +17016,7 @@ "valueExpression": { "description": "CVD Risk Sex At Birth", "language": "text/fhirpath", - "expression": "%sex" + "expression": "%SexAtBirthCoding" } } ], @@ -12999,59 +17024,7 @@ "text": "Sex at birth", "type": "choice", "repeats": false, - "answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", - "valueExpression": { - "description": "CVD Risk Smoking Status", - "language": "text/fhirpath", - "expression": "%smoker" - } - } - ], - "linkId": "bac0f824-3784-400e-80f9-ad18d46bd8cb", - "text": "Smoking status", - "type": "choice", - "repeats": false, - "answerOption": [ - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "266919005", - "display": "Never smoked" - } - }, - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "77176002", - "display": "Smoker" - } - }, - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "8517006", - "display": "Ex-Smoker" - } - }, - { - "valueCoding": { - "system": "http://snomed.info/sct", - "code": "16090371000119103", - "display": "Environmental exposure to tobacco smoke (home, car, etc)" - } - }, - { - "valueString": "Wants to quit" - }, - { - "valueString": "Other tobacco use" - } - ] + "answerValueSet": "#biological-sex-1" }, { "extension": [ @@ -13061,7 +17034,6 @@ "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", - "version": "1.0.0", "code": "grid" } ] @@ -13069,9 +17041,92 @@ } ], "linkId": "fe9feec6-593a-4106-8a7d-f9965a632ea2", + "text": "Observation values", + "_text": { + "extension": [ + { + "url": "https://smartforms.csiro.au/ig/StructureDefinition/QuestionnaireItemTextHidden", + "valueBoolean": true + } + ] + }, "type": "group", "repeats": false, "item": [ + { + "linkId": "bac0f824-3784-400e-80f9-ad18d46bd8cb", + "text": "Smoking status", + "type": "group", + "repeats": false, + "item": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ObsTobaccoSmokingStatusLatest.value.coding.where(system='http://snomed.info/sct').first()" + } + } + ], + "linkId": "333007c7-47a9-482b-af11-e55484abf2ae", + "text": "Value", + "type": "choice", + "repeats": false, + "answerOption": [ + { + "valueCoding": { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Lifetime non-smoker" + } + }, + { + "valueCoding": { + "system": "http://snomed.info/sct", + "code": "77176002", + "display": "Current smoker" + } + }, + { + "valueCoding": { + "system": "http://snomed.info/sct", + "code": "8517006", + "display": "Ex-smoker" + } + }, + { + "valueCoding": { + "system": "http://snomed.info/sct", + "code": "16090371000119103", + "display": "Exposure to second hand tobacco smoke" + } + }, + { + "valueString": "Wants to quit" + }, + { + "valueString": "Other tobacco use" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/fhirpath", + "expression": "%ObsTobaccoSmokingStatusLatest.effective" + } + } + ], + "linkId": "cvdrisk-smokingstatus-date", + "text": "Date performed", + "type": "date", + "repeats": false + } + ] + }, { "linkId": "fa4f73a3-7633-410c-9177-8aa43b117122", "text": "Systolic Blood Pressure", @@ -13084,7 +17139,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsBloodPressure.entry.resource.component.where(code.coding.exists(code='8480-6')).value.value" + "expression": "%ObsBloodPressureLatest.component.where(code.coding.exists(code='8480-6')).value.value" } }, { @@ -13126,7 +17181,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsBloodPressure.entry.resource.effective" + "expression": "%ObsBloodPressureLatest.effective" } } ], @@ -13149,7 +17204,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsTotalCholesterol.entry.resource.value.value" + "expression": "%ObsTotalCholesterolLatest.value.value" } }, { @@ -13191,7 +17246,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsTotalCholesterol.entry.resource.effective" + "expression": "%ObsTotalCholesterolLatest.effective" } } ], @@ -13214,7 +17269,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsHDLCholesterol.entry.resource.value.value" + "expression": "%ObsHDLCholesterolLatest.value.value" } }, { @@ -13256,7 +17311,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%ObsHDLCholesterol.entry.resource.effective" + "expression": "%ObsHDLCholesterolLatest.effective" } } ], @@ -13301,115 +17356,6 @@ } ] }, - { - "linkId": "dabdc7b4-51db-44a0-9d59-77a88587cbe9", - "text": "CVD risk result", - "type": "group", - "repeats": false, - "item": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", - "valueCoding": { - "system": "http://unitsofmeasure.org", - "code": "%" - } - } - ], - "linkId": "4c52fcec-0695-4916-b185-24a5c2711631", - "text": "Calculated risk", - "type": "integer", - "repeats": false, - "item": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "unit" - } - ] - } - } - ], - "linkId": "0162854e-c124-4b58-acd9-93c17562d407", - "text": "%", - "type": "display" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "radio-button" - } - ] - } - } - ], - "linkId": "28ff9463-b77f-435d-9ba7-427682a61f96", - "text": "Assessed risk category", - "type": "choice", - "repeats": false, - "answerOption": [ - { - "valueString": "High Risk" - }, - { - "valueString": "Intermediate Risk" - }, - { - "valueString": "Low Risk" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "radio-button" - } - ] - } - } - ], - "linkId": "041a589e-7bb5-441d-a4ba-a22db8040b3f", - "text": "Reclassification decision", - "type": "choice", - "repeats": false, - "answerOption": [ - { - "valueString": "Reclassified up" - }, - { - "valueString": "Reclassified down" - }, - { - "valueString": "Did not reclassify" - } - ] - } - ] - }, - { - "linkId": "f8022f3f-21fe-42c0-8abd-95f24e2e37e5", - "text": "Health priorities, actions and follow-up", - "type": "text", - "repeats": false - }, { "linkId": "MarkComplete-2", "text": "Mark section as complete", @@ -13417,7 +17363,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -13469,8 +17415,8 @@ "enableWhen": [ { "question": "MarkComplete-14", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -13494,7 +17440,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -13581,7 +17527,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, @@ -13836,7 +17782,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 12).intersect(%age < 50) and %HealthPrioritiesSummaryLearningWorkAdults.exists()" + "expression": "(%age > 12) and (%age < 50) and %HealthPrioritiesSummaryLearningWorkAdults.exists()" } }, { @@ -13956,7 +17902,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age >= 50).intersect(%age <= 74) and %HealthPrioritiesSummaryScreeningPrograms.exists()" + "expression": "(%age >= 50) and (%age <= 74) and %HealthPrioritiesSummaryScreeningPrograms.exists()" } }, { @@ -14100,7 +18046,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 12).intersect(%age <= 24) and %HealthPrioritiesSummarySexualHealthAdolescents.exists()" + "expression": "(%age > 12) and (%age <= 24) and %HealthPrioritiesSummarySexualHealthAdolescents.exists()" } }, { @@ -14124,7 +18070,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age > 24).intersect(%age <= 49) and %HealthPrioritiesSummarySexualHealthAdults.exists()" + "expression": "(%age > 24) and (%age <= 49) and %HealthPrioritiesSummarySexualHealthAdults.exists()" } }, { @@ -14403,8 +18349,8 @@ "enableWhen": [ { "question": "MarkComplete-31", - "operator": "=", - "answerBoolean": false + "operator": "!=", + "answerBoolean": true } ] }, @@ -14428,7 +18374,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n" + "valueString": "
\r\n\t
\r\n\t\t\r\n\t
\r\n
" } ] }, @@ -14462,7 +18408,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 12).intersect(%age > 5)" + "expression": "(%age <= 12) and (%age > 5)" } } ], @@ -14551,7 +18497,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 12).intersect(%age > 5)" + "expression": "(%age <= 12) and (%age > 5)" } }, { @@ -14604,7 +18550,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 24).intersect(%age > 12)" + "expression": "(%age <= 24) and (%age > 12)" } }, { @@ -14663,7 +18609,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 49).intersect(%age > 24)" + "expression": "(%age <= 49) and (%age > 24)" } }, { @@ -14852,10 +18798,6 @@ } ] } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", - "valueString": "Other" } ], "linkId": "4044d0b4-94b2-4a89-b826-a14614298511", @@ -14907,7 +18849,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 12).intersect(%age > 5)" + "expression": "(%age <= 12) and (%age > 5)" } }, { @@ -14920,10 +18862,6 @@ } ] } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", - "valueString": "Other" } ], "linkId": "f97f211a-ef2a-49a3-aef7-c4e9cd08aa2a", @@ -14969,7 +18907,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 24).intersect(%age > 12)" + "expression": "(%age <= 24) and (%age > 12)" } }, { @@ -14982,10 +18920,6 @@ } ] } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", - "valueString": "Other" } ], "linkId": "07cfe077-ba93-4f93-b2a5-027023faa33b", @@ -15034,7 +18968,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 49).intersect(%age > 24)" + "expression": "(%age <= 49) and (%age > 24)" } }, { @@ -15047,10 +18981,6 @@ } ] } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", - "valueString": "Other" } ], "linkId": "a525c370-d8c3-4764-ab3a-bf62081725e0", @@ -15118,10 +19048,6 @@ } ] } - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel", - "valueString": "Other" } ], "linkId": "d68d9693-48d3-4663-9dbb-dd3a7aec5278", @@ -15219,35 +19145,33 @@ }, { "linkId": "a400fe69-c99f-47ed-bee1-083c3e4be467", - "text": "Recalls entered (eg clinical review, investigations, influenza vaccination, asthma plan/cycle of care, diabetes cycle of care, care plan review, cervical screening, investigations)", + "text": "Recalls", "type": "group", - "repeats": true, + "repeats": false, "item": [ { "extension": [ { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", - "valueBoolean": true - }, - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/fhirpath", - "expression": "%patient.id" + "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/questionnaire-display-category", + "code": "instructions" + } + ] } } ], - "linkId": "40e3933d-77bb-40f3-8609-0c38ebb4421e", - "definition": "http://aehrc.com/fhir/StructureDefinition/AUPrimaryCareFollowUp#CarePlan.subject.reference", - "text": "recall-subject", - "type": "string" + "linkId": "b0c69e16-5dc3-481f-8e8f-fc0a93627184", + "text": "e.g. clinical review, investigations, influenza vaccination, asthma plan/cycle of care, diabetes cycle of care, care plan review, cervical screening, investigations", + "type": "display" }, { "linkId": "fece6a3c-f8f1-4592-a166-5ea5a3c60c8e", - "definition": "http://aehrc.com/fhir/StructureDefinition/AUPrimaryCareFollowUp#CarePlan.title", - "text": "Recall", - "type": "text", - "repeats": false + "text": "Recall entered", + "type": "string", + "repeats": true } ] }, @@ -15272,7 +19196,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%age <= 12).intersect(%age > 5)" + "expression": "(%age <= 12) and (%age > 5)" } } ], @@ -15287,7 +19211,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%age >12" + "expression": "%age > 12" } } ], @@ -15315,7 +19239,7 @@ } ], "linkId": "8176151f-6d86-45eb-91b1-12458d75a181", - "text": "A copy of this health check has been offerered - including details of follow-up and future appointments", + "text": "A copy of this health check has been offered - including details of follow-up and future appointments", "type": "choice", "repeats": false, "answerOption": [ @@ -15337,7 +19261,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml", - "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" + "valueString": "
\r\n\r\n \r\n\r\n\r\n
Mark section as complete
\r\n\r\n
" } ] }, diff --git a/input/resources/StructureDefinition-au-core-headcircum.json b/input/resources/StructureDefinition-au-core-headcircum.json new file mode 100644 index 00000000..8d99f18a --- /dev/null +++ b/input/resources/StructureDefinition-au-core-headcircum.json @@ -0,0 +1,4127 @@ +{ + "resourceType" : "StructureDefinition", + "id" : "au-core-headcircum", + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", + "valueInteger" : 0, + "_valueInteger" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", + "valueCanonical" : "http://hl7.org.au/fhir/core/ImplementationGuide/hl7.fhir.au.core" + }] + } + }, + { + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode" : "draft", + "_valueCode" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", + "valueCanonical" : "http://hl7.org.au/fhir/core/ImplementationGuide/hl7.fhir.au.core" + }] + } + }], + "url" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum", + "version" : "0.2.2-preview", + "name" : "AUCoreHeadCircumference", + "title" : "AU Core Head Circumference", + "status" : "draft", + "date" : "2023-11-16T10:32:02+11:00", + "publisher" : "HL7 Australia", + "contact" : [{ + "name" : "HL7 Australia FHIR Work Group", + "telecom" : [{ + "system" : "url", + "value" : "https://confluence.hl7.org/display/HAFWG", + "use" : "work" + }] + }], + "description" : "This profile sets minimum expectations for an Observation resource to record, search, and fetch head circumference observations with standard coding and units of measure. It is based on the [FHIR Head Circumference Profile](http://hl7.org/fhir/R4/headcircum.html) and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Observation resource when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context.", + "jurisdiction" : [{ + "coding" : [{ + "system" : "urn:iso:std:iso:3166", + "code" : "AU" + }] + }], + "copyright" : "Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia© 2022+; Licensed Under Creative Commons No Rights Reserved.\n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. The rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. \n\nThis material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2021, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc.\n\nAll copies of this resource must include this copyright statement and all information contained in this statement.", + "fhirVersion" : "4.0.1", + "mapping" : [{ + "identity" : "workflow", + "uri" : "http://hl7.org/fhir/workflow", + "name" : "Workflow Pattern" + }, + { + "identity" : "sct-concept", + "uri" : "http://snomed.info/conceptdomain", + "name" : "SNOMED CT Concept Domain Binding" + }, + { + "identity" : "v2", + "uri" : "http://hl7.org/v2", + "name" : "HL7 v2 Mapping" + }, + { + "identity" : "rim", + "uri" : "http://hl7.org/v3", + "name" : "RIM Mapping" + }, + { + "identity" : "w5", + "uri" : "http://hl7.org/fhir/fivews", + "name" : "FiveWs Pattern Mapping" + }, + { + "identity" : "sct-attr", + "uri" : "http://snomed.org/attributebinding", + "name" : "SNOMED CT Attribute Binding" + }], + "kind" : "resource", + "abstract" : false, + "type" : "Observation", + "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/headcircum", + "derivation" : "constraint", + "snapshot" : { + "element" : [{ + "id" : "Observation", + "path" : "Observation", + "short" : "Head circumference", + "definition" : "Measurement of a patient's head circumference at a point in time.", + "comment" : "Head circumference observation using a LOINC code, a SNOMED CT code and a metric UCUM unit of measure.", + "alias" : ["Vital Signs", + "Measurement", + "Results", + "Tests"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation", + "min" : 0, + "max" : "*" + }, + "constraint" : [{ + "key" : "dom-2", + "severity" : "error", + "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression" : "contained.contained.empty()", + "xpath" : "not(parent::f:contained and f:contained)", + "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key" : "dom-3", + "severity" : "error", + "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression" : "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath" : "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key" : "dom-4", + "severity" : "error", + "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key" : "dom-5", + "severity" : "error", + "human" : "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression" : "contained.meta.security.empty()", + "xpath" : "not(exists(f:contained/*/f:meta/f:security))", + "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean" : true + }, + { + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown" : "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + }], + "key" : "dom-6", + "severity" : "warning", + "human" : "A resource should have narrative for robust management", + "expression" : "text.`div`.exists()", + "xpath" : "exists(f:text/h:div)", + "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key" : "obs-6", + "severity" : "error", + "human" : "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression" : "dataAbsentReason.empty() or value.empty()", + "xpath" : "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source" : "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key" : "obs-7", + "severity" : "error", + "human" : "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression" : "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath" : "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source" : "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key" : "vs-2", + "severity" : "error", + "human" : "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression" : "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath" : "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source" : "http://hl7.org/fhir/StructureDefinition/vitalsigns" + }, + { + "key" : "au-core-obs-02", + "severity" : "error", + "human" : "At least value or data absent reason shall be present", + "expression" : "dataAbsentReason.exists() or value.exists()", + "xpath" : "exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)", + "source" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "Entity. Role, or Act" + }, + { + "identity" : "workflow", + "map" : "Event" + }, + { + "identity" : "sct-concept", + "map" : "< 363787002 |Observable entity|" + }, + { + "identity" : "v2", + "map" : "OBX" + }, + { + "identity" : "rim", + "map" : "Observation[classCode=OBS, moodCode=EVN]" + }] + }, + { + "id" : "Observation.id", + "path" : "Observation.id", + "short" : "Logical id of this artifact", + "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Resource.id", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl" : "id" + }], + "code" : "http://hl7.org/fhirpath/System.String" + }], + "isModifier" : false, + "isSummary" : true + }, + { + "id" : "Observation.meta", + "path" : "Observation.meta", + "short" : "Metadata about the resource", + "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Resource.meta", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "Meta" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true + }, + { + "id" : "Observation.implicitRules", + "path" : "Observation.implicitRules", + "short" : "A set of rules under which this content was created", + "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment" : "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Resource.implicitRules", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "uri" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : true, + "isModifierReason" : "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary" : true + }, + { + "id" : "Observation.language", + "path" : "Observation.language", + "short" : "Language of the resource content", + "definition" : "The base language in which the resource is written.", + "comment" : "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Resource.language", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "code" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "Language" + }], + "strength" : "preferred", + "description" : "A human language.", + "valueSet" : "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id" : "Observation.text", + "path" : "Observation.text", + "short" : "Text summary of the resource, for human interpretation", + "definition" : "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment" : "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias" : ["narrative", + "html", + "xhtml", + "display"], + "min" : 0, + "max" : "1", + "base" : { + "path" : "DomainResource.text", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "Narrative" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "Act.text?" + }] + }, + { + "id" : "Observation.contained", + "path" : "Observation.contained", + "short" : "Contained, inline Resources", + "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment" : "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias" : ["inline resources", + "anonymous resources", + "contained resources"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "DomainResource.contained", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Resource" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "N/A" + }] + }, + { + "id" : "Observation.extension", + "path" : "Observation.extension", + "short" : "Additional content defined by implementations", + "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias" : ["extensions", + "user content"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "DomainResource.extension", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Extension" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "ext-1", + "severity" : "error", + "human" : "Must have either extensions or value[x], not both", + "expression" : "extension.exists() != value.exists()", + "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source" : "http://hl7.org/fhir/StructureDefinition/Extension" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "N/A" + }] + }, + { + "id" : "Observation.modifierExtension", + "path" : "Observation.modifierExtension", + "short" : "Extensions that cannot be ignored", + "definition" : "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias" : ["extensions", + "user content"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "DomainResource.modifierExtension", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Extension" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "ext-1", + "severity" : "error", + "human" : "Must have either extensions or value[x], not both", + "expression" : "extension.exists() != value.exists()", + "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source" : "http://hl7.org/fhir/StructureDefinition/Extension" + }], + "isModifier" : true, + "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "N/A" + }] + }, + { + "id" : "Observation.identifier", + "path" : "Observation.identifier", + "short" : "Business Identifier for observation", + "definition" : "A unique identifier assigned to this observation.", + "requirements" : "Allows observations to be distinguished and referenced.", + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.identifier", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Identifier" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "workflow", + "map" : "Event.identifier" + }, + { + "identity" : "w5", + "map" : "FiveWs.identifier" + }, + { + "identity" : "v2", + "map" : "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity" : "rim", + "map" : "id" + }] + }, + { + "id" : "Observation.basedOn", + "path" : "Observation.basedOn", + "short" : "Fulfills plan, proposal or order", + "definition" : "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements" : "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias" : ["Fulfills"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.basedOn", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Reference", + "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest"] + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "workflow", + "map" : "Event.basedOn" + }, + { + "identity" : "v2", + "map" : "ORC" + }, + { + "identity" : "rim", + "map" : ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + }] + }, + { + "id" : "Observation.partOf", + "path" : "Observation.partOf", + "short" : "Part of referenced event", + "definition" : "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment" : "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias" : ["Container"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.partOf", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Reference", + "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy"] + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "workflow", + "map" : "Event.partOf" + }, + { + "identity" : "v2", + "map" : "Varies by domain" + }, + { + "identity" : "rim", + "map" : ".outboundRelationship[typeCode=FLFS].target" + }] + }, + { + "id" : "Observation.status", + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString" : "default: final" + }], + "path" : "Observation.status", + "short" : "registered | preliminary | final | amended +", + "definition" : "The status of the result value.", + "comment" : "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements" : "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Observation.status", + "min" : 1, + "max" : "1" + }, + "type" : [{ + "code" : "code" + }], + "fixedCode" : "final", + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : true, + "isModifierReason" : "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary" : true, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "Status" + }], + "strength" : "required", + "valueSet" : "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping" : [{ + "identity" : "workflow", + "map" : "Event.status" + }, + { + "identity" : "w5", + "map" : "FiveWs.status" + }, + { + "identity" : "sct-concept", + "map" : "< 445584004 |Report by finality status|" + }, + { + "identity" : "v2", + "map" : "OBX-11" + }, + { + "identity" : "rim", + "map" : "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + }] + }, + { + "id" : "Observation.category", + "path" : "Observation.category", + "slicing" : { + "discriminator" : [{ + "type" : "value", + "path" : "coding.code" + }, + { + "type" : "value", + "path" : "coding.system" + }], + "ordered" : false, + "rules" : "open" + }, + "short" : "Classification of type of observation", + "definition" : "A code that classifies the general type of observation being made.", + "comment" : "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements" : "Used for filtering what observations are retrieved and displayed.", + "min" : 1, + "max" : "*", + "base" : { + "path" : "Observation.category", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "CodeableConcept" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : false, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "ObservationCategory" + }], + "strength" : "preferred", + "description" : "Codes for high level observation categories.", + "valueSet" : "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping" : [{ + "identity" : "w5", + "map" : "FiveWs.class" + }, + { + "identity" : "rim", + "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }] + }, + { + "id" : "Observation.category:VSCat", + "path" : "Observation.category", + "sliceName" : "VSCat", + "short" : "Classification of type of observation", + "definition" : "A code that classifies the general type of observation being made.", + "comment" : "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements" : "Used for filtering what observations are retrieved and displayed.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Observation.category", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "CodeableConcept" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : false, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "ObservationCategory" + }], + "strength" : "preferred", + "description" : "Codes for high level observation categories.", + "valueSet" : "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping" : [{ + "identity" : "w5", + "map" : "FiveWs.class" + }, + { + "identity" : "rim", + "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }] + }, + { + "id" : "Observation.category:VSCat.id", + "path" : "Observation.category.id", + "representation" : ["xmlAttr"], + "short" : "Unique id for inter-element referencing", + "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Element.id", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl" : "string" + }], + "code" : "http://hl7.org/fhirpath/System.String" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.category:VSCat.extension", + "path" : "Observation.category.extension", + "slicing" : { + "discriminator" : [{ + "type" : "value", + "path" : "url" + }], + "description" : "Extensions are always sliced by (at least) url", + "rules" : "open" + }, + "short" : "Additional content defined by implementations", + "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias" : ["extensions", + "user content"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "Element.extension", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Extension" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "ext-1", + "severity" : "error", + "human" : "Must have either extensions or value[x], not both", + "expression" : "extension.exists() != value.exists()", + "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source" : "http://hl7.org/fhir/StructureDefinition/Extension" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.category:VSCat.coding", + "path" : "Observation.category.coding", + "short" : "Code defined by a terminology system", + "definition" : "A reference to a code defined by a terminology system.", + "comment" : "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements" : "Allows for alternative encodings within a code system, and translations to other code systems.", + "min" : 1, + "max" : "*", + "base" : { + "path" : "CodeableConcept.coding", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Coding" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.1-8, C*E.10-22" + }, + { + "identity" : "rim", + "map" : "union(., ./translation)" + }, + { + "identity" : "orim", + "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + }] + }, + { + "id" : "Observation.category:VSCat.coding.id", + "path" : "Observation.category.coding.id", + "representation" : ["xmlAttr"], + "short" : "Unique id for inter-element referencing", + "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Element.id", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl" : "string" + }], + "code" : "http://hl7.org/fhirpath/System.String" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.category:VSCat.coding.extension", + "path" : "Observation.category.coding.extension", + "slicing" : { + "discriminator" : [{ + "type" : "value", + "path" : "url" + }], + "description" : "Extensions are always sliced by (at least) url", + "rules" : "open" + }, + "short" : "Additional content defined by implementations", + "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias" : ["extensions", + "user content"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "Element.extension", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Extension" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "ext-1", + "severity" : "error", + "human" : "Must have either extensions or value[x], not both", + "expression" : "extension.exists() != value.exists()", + "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source" : "http://hl7.org/fhir/StructureDefinition/Extension" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.category:VSCat.coding.system", + "path" : "Observation.category.coding.system", + "short" : "Identity of the terminology system", + "definition" : "The identification of the code system that defines the meaning of the symbol in the code.", + "comment" : "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements" : "Need to be unambiguous about the source of the definition of the symbol.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Coding.system", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "uri" + }], + "fixedUri" : "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.3" + }, + { + "identity" : "rim", + "map" : "./codeSystem" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + }] + }, + { + "id" : "Observation.category:VSCat.coding.version", + "path" : "Observation.category.coding.version", + "short" : "Version of the system - if relevant", + "definition" : "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment" : "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Coding.version", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "string" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.7" + }, + { + "identity" : "rim", + "map" : "./codeSystemVersion" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + }] + }, + { + "id" : "Observation.category:VSCat.coding.code", + "path" : "Observation.category.coding.code", + "short" : "Symbol in syntax defined by the system", + "definition" : "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements" : "Need to refer to a particular code in the system.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Coding.code", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "code" + }], + "fixedCode" : "vital-signs", + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.1" + }, + { + "identity" : "rim", + "map" : "./code" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + }] + }, + { + "id" : "Observation.category:VSCat.coding.display", + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean" : true + }], + "path" : "Observation.category.coding.display", + "short" : "Representation defined by the system", + "definition" : "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements" : "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Coding.display", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "string" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.2 - but note this is not well followed" + }, + { + "identity" : "rim", + "map" : "CV.displayName" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + }] + }, + { + "id" : "Observation.category:VSCat.coding.userSelected", + "path" : "Observation.category.coding.userSelected", + "short" : "If this coding was chosen directly by the user", + "definition" : "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment" : "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements" : "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Coding.userSelected", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "boolean" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "Sometimes implied by being first" + }, + { + "identity" : "rim", + "map" : "CD.codingRationale" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + }] + }, + { + "id" : "Observation.category:VSCat.text", + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean" : true + }], + "path" : "Observation.category.text", + "short" : "Plain text representation of the concept", + "definition" : "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment" : "Very often the text is the same as a displayName of one of the codings.", + "requirements" : "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "CodeableConcept.text", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "string" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity" : "rim", + "map" : "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity" : "orim", + "map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + }] + }, + { + "id" : "Observation.code", + "path" : "Observation.code", + "short" : "Head Circumference", + "definition" : "Head Circumference.", + "comment" : "additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system.", + "requirements" : "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias" : ["Name", + "Test"], + "min" : 1, + "max" : "1", + "base" : { + "path" : "Observation.code", + "min" : 1, + "max" : "1" + }, + "type" : [{ + "code" : "CodeableConcept" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "VitalSigns" + }], + "strength" : "extensible", + "description" : "This identifies the vital sign result type.", + "valueSet" : "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + }, + "mapping" : [{ + "identity" : "workflow", + "map" : "Event.code" + }, + { + "identity" : "w5", + "map" : "FiveWs.what[x]" + }, + { + "identity" : "sct-concept", + "map" : "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity" : "v2", + "map" : "OBX-3" + }, + { + "identity" : "rim", + "map" : "code" + }, + { + "identity" : "sct-attr", + "map" : "116680003 |Is a|" + }] + }, + { + "id" : "Observation.code.id", + "path" : "Observation.code.id", + "representation" : ["xmlAttr"], + "short" : "Unique id for inter-element referencing", + "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Element.id", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl" : "string" + }], + "code" : "http://hl7.org/fhirpath/System.String" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.code.extension", + "path" : "Observation.code.extension", + "slicing" : { + "discriminator" : [{ + "type" : "value", + "path" : "url" + }], + "description" : "Extensions are always sliced by (at least) url", + "rules" : "open" + }, + "short" : "Additional content defined by implementations", + "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias" : ["extensions", + "user content"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "Element.extension", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Extension" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "ext-1", + "severity" : "error", + "human" : "Must have either extensions or value[x], not both", + "expression" : "extension.exists() != value.exists()", + "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source" : "http://hl7.org/fhir/StructureDefinition/Extension" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.code.coding", + "path" : "Observation.code.coding", + "slicing" : { + "discriminator" : [{ + "type" : "value", + "path" : "code" + }, + { + "type" : "value", + "path" : "system" + }], + "ordered" : false, + "rules" : "open" + }, + "short" : "Code defined by a terminology system", + "definition" : "A reference to a code defined by a terminology system.", + "comment" : "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements" : "Allows for alternative encodings within a code system, and translations to other code systems.", + "min" : 2, + "max" : "*", + "base" : { + "path" : "CodeableConcept.coding", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Coding" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.1-8, C*E.10-22" + }, + { + "identity" : "rim", + "map" : "union(., ./translation)" + }, + { + "identity" : "orim", + "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + }] + }, + { + "id" : "Observation.code.coding:HeadCircumCode", + "path" : "Observation.code.coding", + "sliceName" : "HeadCircumCode", + "short" : "Code defined by a terminology system", + "definition" : "A reference to a code defined by a terminology system.", + "comment" : "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements" : "Allows for alternative encodings within a code system, and translations to other code systems.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "CodeableConcept.coding", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Coding" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.1-8, C*E.10-22" + }, + { + "identity" : "rim", + "map" : "union(., ./translation)" + }, + { + "identity" : "orim", + "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + }] + }, + { + "id" : "Observation.code.coding:HeadCircumCode.id", + "path" : "Observation.code.coding.id", + "representation" : ["xmlAttr"], + "short" : "Unique id for inter-element referencing", + "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Element.id", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl" : "string" + }], + "code" : "http://hl7.org/fhirpath/System.String" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.code.coding:HeadCircumCode.extension", + "path" : "Observation.code.coding.extension", + "slicing" : { + "discriminator" : [{ + "type" : "value", + "path" : "url" + }], + "description" : "Extensions are always sliced by (at least) url", + "rules" : "open" + }, + "short" : "Additional content defined by implementations", + "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias" : ["extensions", + "user content"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "Element.extension", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Extension" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "ext-1", + "severity" : "error", + "human" : "Must have either extensions or value[x], not both", + "expression" : "extension.exists() != value.exists()", + "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source" : "http://hl7.org/fhir/StructureDefinition/Extension" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.code.coding:HeadCircumCode.system", + "path" : "Observation.code.coding.system", + "short" : "Identity of the terminology system", + "definition" : "The identification of the code system that defines the meaning of the symbol in the code.", + "comment" : "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements" : "Need to be unambiguous about the source of the definition of the symbol.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Coding.system", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "uri" + }], + "fixedUri" : "http://loinc.org", + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.3" + }, + { + "identity" : "rim", + "map" : "./codeSystem" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + }] + }, + { + "id" : "Observation.code.coding:HeadCircumCode.version", + "path" : "Observation.code.coding.version", + "short" : "Version of the system - if relevant", + "definition" : "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment" : "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Coding.version", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "string" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.7" + }, + { + "identity" : "rim", + "map" : "./codeSystemVersion" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + }] + }, + { + "id" : "Observation.code.coding:HeadCircumCode.code", + "path" : "Observation.code.coding.code", + "short" : "Symbol in syntax defined by the system", + "definition" : "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements" : "Need to refer to a particular code in the system.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Coding.code", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "code" + }], + "fixedCode" : "9843-4", + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.1" + }, + { + "identity" : "rim", + "map" : "./code" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + }] + }, + { + "id" : "Observation.code.coding:HeadCircumCode.display", + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean" : true + }], + "path" : "Observation.code.coding.display", + "short" : "Representation defined by the system", + "definition" : "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements" : "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Coding.display", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "string" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.2 - but note this is not well followed" + }, + { + "identity" : "rim", + "map" : "CV.displayName" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + }] + }, + { + "id" : "Observation.code.coding:HeadCircumCode.userSelected", + "path" : "Observation.code.coding.userSelected", + "short" : "If this coding was chosen directly by the user", + "definition" : "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment" : "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements" : "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Coding.userSelected", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "boolean" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "Sometimes implied by being first" + }, + { + "identity" : "rim", + "map" : "CD.codingRationale" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + }] + }, + { + "id" : "Observation.code.coding:snomedHeadCircumCode", + "path" : "Observation.code.coding", + "sliceName" : "snomedHeadCircumCode", + "short" : "SNOMED CT Head Circumference", + "definition" : "A reference to a code defined by a terminology system.", + "comment" : "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements" : "Allows for alternative encodings within a code system, and translations to other code systems.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "CodeableConcept.coding", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Coding" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.1-8, C*E.10-22" + }, + { + "identity" : "rim", + "map" : "union(., ./translation)" + }, + { + "identity" : "orim", + "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + }] + }, + { + "id" : "Observation.code.coding:snomedHeadCircumCode.id", + "path" : "Observation.code.coding.id", + "representation" : ["xmlAttr"], + "short" : "Unique id for inter-element referencing", + "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Element.id", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl" : "string" + }], + "code" : "http://hl7.org/fhirpath/System.String" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.code.coding:snomedHeadCircumCode.extension", + "path" : "Observation.code.coding.extension", + "slicing" : { + "discriminator" : [{ + "type" : "value", + "path" : "url" + }], + "description" : "Extensions are always sliced by (at least) url", + "rules" : "open" + }, + "short" : "Additional content defined by implementations", + "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias" : ["extensions", + "user content"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "Element.extension", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Extension" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "ext-1", + "severity" : "error", + "human" : "Must have either extensions or value[x], not both", + "expression" : "extension.exists() != value.exists()", + "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source" : "http://hl7.org/fhir/StructureDefinition/Extension" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.code.coding:snomedHeadCircumCode.system", + "path" : "Observation.code.coding.system", + "short" : "Identity of the terminology system", + "definition" : "The identification of the code system that defines the meaning of the symbol in the code.", + "comment" : "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements" : "Need to be unambiguous about the source of the definition of the symbol.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Coding.system", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "uri" + }], + "fixedUri" : "http://snomed.info/sct", + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.3" + }, + { + "identity" : "rim", + "map" : "./codeSystem" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + }] + }, + { + "id" : "Observation.code.coding:snomedHeadCircumCode.version", + "path" : "Observation.code.coding.version", + "short" : "Version of the system - if relevant", + "definition" : "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment" : "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Coding.version", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "string" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.7" + }, + { + "identity" : "rim", + "map" : "./codeSystemVersion" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + }] + }, + { + "id" : "Observation.code.coding:snomedHeadCircumCode.code", + "path" : "Observation.code.coding.code", + "short" : "Symbol in syntax defined by the system", + "definition" : "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements" : "Need to refer to a particular code in the system.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Coding.code", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "code" + }], + "fixedCode" : "363812007", + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.1" + }, + { + "identity" : "rim", + "map" : "./code" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + }] + }, + { + "id" : "Observation.code.coding:snomedHeadCircumCode.display", + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean" : true + }], + "path" : "Observation.code.coding.display", + "short" : "Representation defined by the system", + "definition" : "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements" : "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Coding.display", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "string" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.2 - but note this is not well followed" + }, + { + "identity" : "rim", + "map" : "CV.displayName" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + }] + }, + { + "id" : "Observation.code.coding:snomedHeadCircumCode.userSelected", + "path" : "Observation.code.coding.userSelected", + "short" : "If this coding was chosen directly by the user", + "definition" : "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment" : "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements" : "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Coding.userSelected", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "boolean" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "Sometimes implied by being first" + }, + { + "identity" : "rim", + "map" : "CD.codingRationale" + }, + { + "identity" : "orim", + "map" : "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + }] + }, + { + "id" : "Observation.code.text", + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean" : true + }], + "path" : "Observation.code.text", + "short" : "Plain text representation of the concept", + "definition" : "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment" : "Very often the text is the same as a displayName of one of the codings.", + "requirements" : "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "CodeableConcept.text", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "string" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity" : "rim", + "map" : "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity" : "orim", + "map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + }] + }, + { + "id" : "Observation.subject", + "path" : "Observation.subject", + "short" : "Who and/or what the observation is about", + "definition" : "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment" : "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements" : "Observations have no value if you don't know who or what they're about.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Observation.subject", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "Reference", + "targetProfile" : ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"] + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "workflow", + "map" : "Event.subject" + }, + { + "identity" : "w5", + "map" : "FiveWs.subject[x]" + }, + { + "identity" : "v2", + "map" : "PID-3" + }, + { + "identity" : "rim", + "map" : "participation[typeCode=RTGT]" + }, + { + "identity" : "w5", + "map" : "FiveWs.subject" + }] + }, + { + "id" : "Observation.focus", + "path" : "Observation.focus", + "short" : "What the observation is about, when it is not about the subject of record", + "definition" : "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment" : "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.focus", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Reference", + "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"] + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "w5", + "map" : "FiveWs.subject[x]" + }, + { + "identity" : "v2", + "map" : "OBX-3" + }, + { + "identity" : "rim", + "map" : "participation[typeCode=SBJ]" + }, + { + "identity" : "w5", + "map" : "FiveWs.subject" + }] + }, + { + "id" : "Observation.encounter", + "path" : "Observation.encounter", + "short" : "Healthcare event during which this observation is made", + "definition" : "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment" : "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements" : "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias" : ["Context"], + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.encounter", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "Reference", + "targetProfile" : ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter"] + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "workflow", + "map" : "Event.context" + }, + { + "identity" : "w5", + "map" : "FiveWs.context" + }, + { + "identity" : "v2", + "map" : "PV1" + }, + { + "identity" : "rim", + "map" : "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }] + }, + { + "id" : "Observation.effective[x]", + "path" : "Observation.effective[x]", + "short" : "Date, and optionally time, the observation was performed", + "definition" : "Date, and optionally time, the observation was performed.", + "comment" : "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements" : "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias" : ["Occurrence"], + "min" : 1, + "max" : "1", + "base" : { + "path" : "Observation.effective[x]", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "dateTime" + }], + "condition" : ["vs-1", + "au-core-obs-01"], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "vs-1", + "severity" : "error", + "human" : "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression" : "$this is dateTime implies $this.toString().length() >= 10", + "xpath" : "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source" : "http://hl7.org/fhir/StructureDefinition/headcircum" + }, + { + "key" : "au-core-obs-01", + "severity" : "error", + "human" : "Date shall be at least to day", + "expression" : "$this is DateTime implies $this.toString().length() >= 10", + "xpath" : "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)", + "source" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "workflow", + "map" : "Event.occurrence[x]" + }, + { + "identity" : "w5", + "map" : "FiveWs.done[x]" + }, + { + "identity" : "v2", + "map" : "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity" : "rim", + "map" : "effectiveTime" + }] + }, + { + "id" : "Observation.issued", + "path" : "Observation.issued", + "short" : "Date/Time this version was made available", + "definition" : "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment" : "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.issued", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "instant" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "w5", + "map" : "FiveWs.recorded" + }, + { + "identity" : "v2", + "map" : "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity" : "rim", + "map" : "participation[typeCode=AUT].time" + }] + }, + { + "id" : "Observation.performer", + "path" : "Observation.performer", + "short" : "Who is responsible for the observation", + "definition" : "Who was responsible for asserting the observed value as \"true\".", + "requirements" : "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.performer", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Reference", + "targetProfile" : ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner", + "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole", + "http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization", + "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient", + "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson"] + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "workflow", + "map" : "Event.performer.actor" + }, + { + "identity" : "w5", + "map" : "FiveWs.actor" + }, + { + "identity" : "v2", + "map" : "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity" : "rim", + "map" : "participation[typeCode=PRF]" + }] + }, + { + "id" : "Observation.value[x]", + "path" : "Observation.value[x]", + "slicing" : { + "discriminator" : [{ + "type" : "type", + "path" : "$this" + }], + "ordered" : false, + "rules" : "closed" + }, + "short" : "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "definition" : "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "comment" : "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements" : "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.value[x]", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "Quantity" + }], + "condition" : ["obs-7", + "vs-2"], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "sct-concept", + "map" : "< 441742003 |Evaluation finding|" + }, + { + "identity" : "v2", + "map" : "OBX.2, OBX.5, OBX.6" + }, + { + "identity" : "rim", + "map" : "value" + }, + { + "identity" : "sct-attr", + "map" : "363714003 |Interprets|" + }] + }, + { + "id" : "Observation.value[x]:valueQuantity", + "path" : "Observation.value[x]", + "sliceName" : "valueQuantity", + "short" : "Head circumference", + "definition" : "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "comment" : "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements" : "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.value[x]", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "Quantity" + }], + "condition" : ["obs-7", + "vs-2", + "au-core-obs-02"], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "sct-concept", + "map" : "< 441742003 |Evaluation finding|" + }, + { + "identity" : "v2", + "map" : "OBX.2, OBX.5, OBX.6" + }, + { + "identity" : "rim", + "map" : "value" + }, + { + "identity" : "sct-attr", + "map" : "363714003 |Interprets|" + }] + }, + { + "id" : "Observation.value[x]:valueQuantity.id", + "path" : "Observation.value[x].id", + "representation" : ["xmlAttr"], + "short" : "Unique id for inter-element referencing", + "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Element.id", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl" : "string" + }], + "code" : "http://hl7.org/fhirpath/System.String" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.value[x]:valueQuantity.extension", + "path" : "Observation.value[x].extension", + "slicing" : { + "discriminator" : [{ + "type" : "value", + "path" : "url" + }], + "description" : "Extensions are always sliced by (at least) url", + "rules" : "open" + }, + "short" : "Additional content defined by implementations", + "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias" : ["extensions", + "user content"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "Element.extension", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Extension" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "ext-1", + "severity" : "error", + "human" : "Must have either extensions or value[x], not both", + "expression" : "extension.exists() != value.exists()", + "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source" : "http://hl7.org/fhir/StructureDefinition/Extension" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.value[x]:valueQuantity.value", + "path" : "Observation.value[x].value", + "short" : "Numerical value (with implicit precision)", + "definition" : "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment" : "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements" : "Precision is handled implicitly in almost all cases of measurement.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Quantity.value", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "decimal" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "SN.2 / CQ - N/A" + }, + { + "identity" : "rim", + "map" : "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + }] + }, + { + "id" : "Observation.value[x]:valueQuantity.comparator", + "path" : "Observation.value[x].comparator", + "short" : "< | <= | >= | > - how to understand the value", + "definition" : "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements" : "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Quantity.comparator", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "code" + }], + "meaningWhenMissing" : "If there is no comparator, then there is no modification of the value", + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : true, + "isModifierReason" : "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary" : true, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "QuantityComparator" + }], + "strength" : "required", + "description" : "How the Quantity should be understood and represented.", + "valueSet" : "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping" : [{ + "identity" : "v2", + "map" : "SN.1 / CQ.1" + }, + { + "identity" : "rim", + "map" : "IVL properties" + }] + }, + { + "id" : "Observation.value[x]:valueQuantity.unit", + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean" : true + }], + "path" : "Observation.value[x].unit", + "short" : "Unit representation", + "definition" : "A human-readable form of the unit.", + "requirements" : "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Quantity.unit", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "string" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "(see OBX.6 etc.) / CQ.2" + }, + { + "identity" : "rim", + "map" : "PQ.unit" + }] + }, + { + "id" : "Observation.value[x]:valueQuantity.system", + "path" : "Observation.value[x].system", + "short" : "System that defines coded unit form", + "definition" : "The identification of the system that provides the coded form of the unit.", + "requirements" : "Need to know the system that defines the coded form of the unit.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Quantity.system", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "uri" + }], + "fixedUri" : "http://unitsofmeasure.org", + "condition" : ["qty-3"], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "(see OBX.6 etc.) / CQ.2" + }, + { + "identity" : "rim", + "map" : "CO.codeSystem, PQ.translation.codeSystem" + }] + }, + { + "id" : "Observation.value[x]:valueQuantity.code", + "path" : "Observation.value[x].code", + "short" : "Coded responses from the common UCUM units for vital signs value set.", + "definition" : "Coded responses from the common UCUM units for vital signs value set.", + "comment" : "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements" : "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Quantity.code", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "code" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "binding" : { + "strength" : "required", + "valueSet" : "https://healthterminologies.gov.au/fhir/ValueSet/metric-body-length-units-1" + }, + "mapping" : [{ + "identity" : "v2", + "map" : "(see OBX.6 etc.) / CQ.2" + }, + { + "identity" : "rim", + "map" : "PQ.code, MO.currency, PQ.translation.code" + }] + }, + { + "id" : "Observation.dataAbsentReason", + "path" : "Observation.dataAbsentReason", + "short" : "Why the result is missing", + "definition" : "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment" : "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements" : "For many results it is necessary to handle exceptional values in measurements.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.dataAbsentReason", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "CodeableConcept" + }], + "condition" : ["obs-6", + "vs-2", + "au-core-obs-02"], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : false, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "ObservationValueAbsentReason" + }], + "strength" : "extensible", + "description" : "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet" : "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping" : [{ + "identity" : "v2", + "map" : "N/A" + }, + { + "identity" : "rim", + "map" : "value.nullFlavor" + }] + }, + { + "id" : "Observation.interpretation", + "path" : "Observation.interpretation", + "short" : "High, low, normal, etc.", + "definition" : "A categorical assessment of an observation value. For example, high, low, normal.", + "comment" : "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements" : "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias" : ["Abnormal Flag"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.interpretation", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "CodeableConcept" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "ObservationInterpretation" + }], + "strength" : "extensible", + "description" : "Codes identifying interpretations of observations.", + "valueSet" : "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping" : [{ + "identity" : "sct-concept", + "map" : "< 260245000 |Findings values|" + }, + { + "identity" : "v2", + "map" : "OBX-8" + }, + { + "identity" : "rim", + "map" : "interpretationCode" + }, + { + "identity" : "sct-attr", + "map" : "363713009 |Has interpretation|" + }] + }, + { + "id" : "Observation.note", + "path" : "Observation.note", + "short" : "Comments about the observation", + "definition" : "Comments about the observation or the results.", + "comment" : "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements" : "Need to be able to provide free text additional information.", + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.note", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Annotation" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "v2", + "map" : "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity" : "rim", + "map" : "subjectOf.observationEvent[code=\"annotation\"].value" + }] + }, + { + "id" : "Observation.bodySite", + "path" : "Observation.bodySite", + "short" : "Observed body part", + "definition" : "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment" : "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.bodySite", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "CodeableConcept" + }], + "condition" : ["au-core-obs-04"], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "au-core-obs-04", + "severity" : "error", + "human" : "If a coded body site is provided, at least one code shall be from SNOMED CT", + "expression" : "coding.exists() implies coding.where(system='http://snomed.info/sct').exists()", + "xpath" : "not(exists(f:coding/f:system)) or exists(f:coding/f:system[@value='http://snomed.info/sct'])", + "source" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum" + }], + "isModifier" : false, + "isSummary" : false, + "binding" : { + "strength" : "preferred", + "valueSet" : "https://healthterminologies.gov.au/fhir/ValueSet/body-site-1" + }, + "mapping" : [{ + "identity" : "sct-concept", + "map" : "< 123037004 |Body structure|" + }, + { + "identity" : "v2", + "map" : "OBX-20" + }, + { + "identity" : "rim", + "map" : "targetSiteCode" + }, + { + "identity" : "sct-attr", + "map" : "718497002 |Inherent location|" + }] + }, + { + "id" : "Observation.method", + "path" : "Observation.method", + "short" : "How it was done", + "definition" : "Indicates the mechanism used to perform the observation.", + "comment" : "Only used if not implicit in code for Observation.code.", + "requirements" : "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.method", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "CodeableConcept" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "ObservationMethod" + }], + "strength" : "example", + "description" : "Methods for simple observations.", + "valueSet" : "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping" : [{ + "identity" : "v2", + "map" : "OBX-17" + }, + { + "identity" : "rim", + "map" : "methodCode" + }] + }, + { + "id" : "Observation.specimen", + "path" : "Observation.specimen", + "short" : "Specimen used for this observation", + "definition" : "The specimen that was used when this observation was made.", + "comment" : "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.specimen", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "Reference", + "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Specimen"] + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "sct-concept", + "map" : "< 123038009 |Specimen|" + }, + { + "identity" : "v2", + "map" : "SPM segment" + }, + { + "identity" : "rim", + "map" : "participation[typeCode=SPC].specimen" + }, + { + "identity" : "sct-attr", + "map" : "704319004 |Inherent in|" + }] + }, + { + "id" : "Observation.device", + "path" : "Observation.device", + "short" : "(Measurement) Device", + "definition" : "The device used to generate the observation data.", + "comment" : "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.device", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "Reference", + "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric"] + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "sct-concept", + "map" : "< 49062001 |Device|" + }, + { + "identity" : "v2", + "map" : "OBX-17 / PRT -10" + }, + { + "identity" : "rim", + "map" : "participation[typeCode=DEV]" + }, + { + "identity" : "sct-attr", + "map" : "424226004 |Using device|" + }] + }, + { + "id" : "Observation.referenceRange", + "path" : "Observation.referenceRange", + "short" : "Provides guide for interpretation", + "definition" : "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment" : "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements" : "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.referenceRange", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "BackboneElement" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "obs-3", + "severity" : "error", + "human" : "Must have at least a low or a high or text", + "expression" : "low.exists() or high.exists() or text.exists()", + "xpath" : "(exists(f:low) or exists(f:high)or exists(f:text))", + "source" : "http://hl7.org/fhir/StructureDefinition/headcircum" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "v2", + "map" : "OBX.7" + }, + { + "identity" : "rim", + "map" : "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + }] + }, + { + "id" : "Observation.referenceRange.id", + "path" : "Observation.referenceRange.id", + "representation" : ["xmlAttr"], + "short" : "Unique id for inter-element referencing", + "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Element.id", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl" : "string" + }], + "code" : "http://hl7.org/fhirpath/System.String" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.referenceRange.extension", + "path" : "Observation.referenceRange.extension", + "short" : "Additional content defined by implementations", + "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias" : ["extensions", + "user content"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "Element.extension", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Extension" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "ext-1", + "severity" : "error", + "human" : "Must have either extensions or value[x], not both", + "expression" : "extension.exists() != value.exists()", + "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source" : "http://hl7.org/fhir/StructureDefinition/Extension" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.referenceRange.modifierExtension", + "path" : "Observation.referenceRange.modifierExtension", + "short" : "Extensions that cannot be ignored even if unrecognized", + "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias" : ["extensions", + "user content", + "modifiers"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "BackboneElement.modifierExtension", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Extension" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "ext-1", + "severity" : "error", + "human" : "Must have either extensions or value[x], not both", + "expression" : "extension.exists() != value.exists()", + "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source" : "http://hl7.org/fhir/StructureDefinition/Extension" + }], + "isModifier" : true, + "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary" : true, + "mapping" : [{ + "identity" : "rim", + "map" : "N/A" + }] + }, + { + "id" : "Observation.referenceRange.low", + "path" : "Observation.referenceRange.low", + "short" : "Low Range, if relevant", + "definition" : "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.referenceRange.low", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "Quantity", + "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"] + }], + "condition" : ["obs-3"], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "v2", + "map" : "OBX-7" + }, + { + "identity" : "rim", + "map" : "value:IVL_PQ.low" + }] + }, + { + "id" : "Observation.referenceRange.high", + "path" : "Observation.referenceRange.high", + "short" : "High Range, if relevant", + "definition" : "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.referenceRange.high", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "Quantity", + "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"] + }], + "condition" : ["obs-3"], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "v2", + "map" : "OBX-7" + }, + { + "identity" : "rim", + "map" : "value:IVL_PQ.high" + }] + }, + { + "id" : "Observation.referenceRange.type", + "path" : "Observation.referenceRange.type", + "short" : "Reference range qualifier", + "definition" : "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment" : "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements" : "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.referenceRange.type", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "CodeableConcept" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "ObservationRangeMeaning" + }], + "strength" : "preferred", + "description" : "Code for the meaning of a reference range.", + "valueSet" : "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping" : [{ + "identity" : "sct-concept", + "map" : "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity" : "v2", + "map" : "OBX-10" + }, + { + "identity" : "rim", + "map" : "interpretationCode" + }] + }, + { + "id" : "Observation.referenceRange.appliesTo", + "path" : "Observation.referenceRange.appliesTo", + "short" : "Reference range population", + "definition" : "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment" : "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements" : "Need to be able to identify the target population for proper interpretation.", + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.referenceRange.appliesTo", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "CodeableConcept" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "ObservationRangeType" + }], + "strength" : "example", + "description" : "Codes identifying the population the reference range applies to.", + "valueSet" : "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping" : [{ + "identity" : "sct-concept", + "map" : "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity" : "v2", + "map" : "OBX-10" + }, + { + "identity" : "rim", + "map" : "interpretationCode" + }] + }, + { + "id" : "Observation.referenceRange.age", + "path" : "Observation.referenceRange.age", + "short" : "Applicable age range, if relevant", + "definition" : "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements" : "Some analytes vary greatly over age.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.referenceRange.age", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "Range" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + }] + }, + { + "id" : "Observation.referenceRange.text", + "path" : "Observation.referenceRange.text", + "short" : "Text based reference range in an observation", + "definition" : "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.referenceRange.text", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "string" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "v2", + "map" : "OBX-7" + }, + { + "identity" : "rim", + "map" : "value:ST" + }] + }, + { + "id" : "Observation.hasMember", + "path" : "Observation.hasMember", + "short" : "Used when reporting vital signs panel components", + "definition" : "Used when reporting vital signs panel components.", + "comment" : "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.hasMember", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Reference", + "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns"] + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "Relationships established by OBX-4 usage" + }, + { + "identity" : "rim", + "map" : "outBoundRelationship" + }] + }, + { + "id" : "Observation.derivedFrom", + "path" : "Observation.derivedFrom", + "short" : "Related measurements the observation is made from", + "definition" : "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment" : "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.derivedFrom", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Reference", + "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns"] + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "Relationships established by OBX-4 usage" + }, + { + "identity" : "rim", + "map" : ".targetObservation" + }] + }, + { + "id" : "Observation.component", + "path" : "Observation.component", + "short" : "Used when reporting systolic and diastolic blood pressure.", + "definition" : "Used when reporting systolic and diastolic blood pressure.", + "comment" : "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements" : "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.component", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "BackboneElement" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "vs-3", + "severity" : "error", + "human" : "If there is no a value a data absent reason must be present", + "expression" : "value.exists() or dataAbsentReason.exists()", + "xpath" : "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source" : "http://hl7.org/fhir/StructureDefinition/headcircum" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "mapping" : [{ + "identity" : "v2", + "map" : "containment by OBX-4?" + }, + { + "identity" : "rim", + "map" : "outBoundRelationship[typeCode=COMP]" + }] + }, + { + "id" : "Observation.component.id", + "path" : "Observation.component.id", + "representation" : ["xmlAttr"], + "short" : "Unique id for inter-element referencing", + "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Element.id", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl" : "string" + }], + "code" : "http://hl7.org/fhirpath/System.String" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.component.extension", + "path" : "Observation.component.extension", + "short" : "Additional content defined by implementations", + "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias" : ["extensions", + "user content"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "Element.extension", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Extension" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "ext-1", + "severity" : "error", + "human" : "Must have either extensions or value[x], not both", + "expression" : "extension.exists() != value.exists()", + "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source" : "http://hl7.org/fhir/StructureDefinition/Extension" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "rim", + "map" : "n/a" + }] + }, + { + "id" : "Observation.component.modifierExtension", + "path" : "Observation.component.modifierExtension", + "short" : "Extensions that cannot be ignored even if unrecognized", + "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias" : ["extensions", + "user content", + "modifiers"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "BackboneElement.modifierExtension", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "Extension" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key" : "ext-1", + "severity" : "error", + "human" : "Must have either extensions or value[x], not both", + "expression" : "extension.exists() != value.exists()", + "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source" : "http://hl7.org/fhir/StructureDefinition/Extension" + }], + "isModifier" : true, + "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary" : true, + "mapping" : [{ + "identity" : "rim", + "map" : "N/A" + }] + }, + { + "id" : "Observation.component.code", + "path" : "Observation.component.code", + "short" : "Type of component observation (code / type)", + "definition" : "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment" : "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements" : "Knowing what kind of observation is being made is essential to understanding the observation.", + "min" : 1, + "max" : "1", + "base" : { + "path" : "Observation.component.code", + "min" : 1, + "max" : "1" + }, + "type" : [{ + "code" : "CodeableConcept" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "VitalSigns" + }], + "strength" : "extensible", + "description" : "This identifies the vital sign result type.", + "valueSet" : "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + }, + "mapping" : [{ + "identity" : "w5", + "map" : "FiveWs.what[x]" + }, + { + "identity" : "sct-concept", + "map" : "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity" : "v2", + "map" : "OBX-3" + }, + { + "identity" : "rim", + "map" : "code" + }] + }, + { + "id" : "Observation.component.value[x]", + "path" : "Observation.component.value[x]", + "short" : "Vital Sign Value recorded with UCUM", + "definition" : "Vital Sign Value recorded with UCUM.", + "comment" : "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements" : "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.component.value[x]", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "Quantity" + }, + { + "code" : "CodeableConcept" + }, + { + "code" : "string" + }, + { + "code" : "boolean" + }, + { + "code" : "integer" + }, + { + "code" : "Range" + }, + { + "code" : "Ratio" + }, + { + "code" : "SampledData" + }, + { + "code" : "time" + }, + { + "code" : "dateTime" + }, + { + "code" : "Period" + }], + "condition" : ["vs-3"], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : true, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "VitalSignsUnits" + }], + "strength" : "required", + "description" : "Common UCUM units for recording Vital Signs.", + "valueSet" : "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping" : [{ + "identity" : "sct-concept", + "map" : "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity" : "v2", + "map" : "OBX.2, OBX.5, OBX.6" + }, + { + "identity" : "rim", + "map" : "value" + }, + { + "identity" : "sct-attr", + "map" : "363714003 |Interprets|" + }] + }, + { + "id" : "Observation.component.dataAbsentReason", + "path" : "Observation.component.dataAbsentReason", + "short" : "Why the component result is missing", + "definition" : "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment" : "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements" : "For many results it is necessary to handle exceptional values in measurements.", + "min" : 0, + "max" : "1", + "base" : { + "path" : "Observation.component.dataAbsentReason", + "min" : 0, + "max" : "1" + }, + "type" : [{ + "code" : "CodeableConcept" + }], + "condition" : ["obs-6", + "vs-3"], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "mustSupport" : true, + "isModifier" : false, + "isSummary" : false, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "ObservationValueAbsentReason" + }], + "strength" : "extensible", + "description" : "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet" : "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping" : [{ + "identity" : "v2", + "map" : "N/A" + }, + { + "identity" : "rim", + "map" : "value.nullFlavor" + }] + }, + { + "id" : "Observation.component.interpretation", + "path" : "Observation.component.interpretation", + "short" : "High, low, normal, etc.", + "definition" : "A categorical assessment of an observation value. For example, high, low, normal.", + "comment" : "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements" : "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias" : ["Abnormal Flag"], + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.component.interpretation", + "min" : 0, + "max" : "*" + }, + "type" : [{ + "code" : "CodeableConcept" + }], + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "binding" : { + "extension" : [{ + "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString" : "ObservationInterpretation" + }], + "strength" : "extensible", + "description" : "Codes identifying interpretations of observations.", + "valueSet" : "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping" : [{ + "identity" : "sct-concept", + "map" : "< 260245000 |Findings values|" + }, + { + "identity" : "v2", + "map" : "OBX-8" + }, + { + "identity" : "rim", + "map" : "interpretationCode" + }, + { + "identity" : "sct-attr", + "map" : "363713009 |Has interpretation|" + }] + }, + { + "id" : "Observation.component.referenceRange", + "path" : "Observation.component.referenceRange", + "short" : "Provides guide for interpretation of component result", + "definition" : "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment" : "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements" : "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min" : 0, + "max" : "*", + "base" : { + "path" : "Observation.component.referenceRange", + "min" : 0, + "max" : "*" + }, + "contentReference" : "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint" : [{ + "key" : "ele-1", + "severity" : "error", + "human" : "All FHIR elements must have a @value or children", + "expression" : "hasValue() or (children().count() > id.count())", + "xpath" : "@value|f:*|h:div", + "source" : "http://hl7.org/fhir/StructureDefinition/Element" + }], + "isModifier" : false, + "isSummary" : false, + "mapping" : [{ + "identity" : "v2", + "map" : "OBX.7" + }, + { + "identity" : "rim", + "map" : "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + }] + }] + }, + "differential" : { + "element" : [{ + "id" : "Observation", + "path" : "Observation", + "short" : "Head circumference", + "definition" : "Measurement of a patient's head circumference at a point in time.", + "comment" : "Head circumference observation using a LOINC code, a SNOMED CT code and a metric UCUM unit of measure.", + "constraint" : [{ + "key" : "au-core-obs-02", + "severity" : "error", + "human" : "At least value or data absent reason shall be present", + "expression" : "dataAbsentReason.exists() or value.exists()", + "xpath" : "exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)", + "source" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum" + }] + }, + { + "id" : "Observation.status", + "path" : "Observation.status", + "fixedCode" : "final" + }, + { + "id" : "Observation.code.coding", + "path" : "Observation.code.coding", + "min" : 2 + }, + { + "id" : "Observation.code.coding:snomedHeadCircumCode", + "path" : "Observation.code.coding", + "sliceName" : "snomedHeadCircumCode", + "short" : "SNOMED CT Head Circumference", + "min" : 1, + "max" : "1" + }, + { + "id" : "Observation.code.coding:snomedHeadCircumCode.system", + "path" : "Observation.code.coding.system", + "min" : 1, + "fixedUri" : "http://snomed.info/sct" + }, + { + "id" : "Observation.code.coding:snomedHeadCircumCode.code", + "path" : "Observation.code.coding.code", + "min" : 1, + "fixedCode" : "363812007" + }, + { + "id" : "Observation.subject", + "path" : "Observation.subject", + "type" : [{ + "code" : "Reference", + "targetProfile" : ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"] + }] + }, + { + "id" : "Observation.encounter", + "path" : "Observation.encounter", + "type" : [{ + "code" : "Reference", + "targetProfile" : ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter"] + }], + "mustSupport" : true + }, + { + "id" : "Observation.effective[x]", + "path" : "Observation.effective[x]", + "short" : "Date, and optionally time, the observation was performed", + "definition" : "Date, and optionally time, the observation was performed.", + "type" : [{ + "code" : "dateTime" + }], + "condition" : ["au-core-obs-01"], + "constraint" : [{ + "key" : "au-core-obs-01", + "severity" : "error", + "human" : "Date shall be at least to day", + "expression" : "$this is DateTime implies $this.toString().length() >= 10", + "xpath" : "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)", + "source" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum" + }] + }, + { + "id" : "Observation.performer", + "path" : "Observation.performer", + "type" : [{ + "code" : "Reference", + "targetProfile" : ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner", + "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole", + "http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization", + "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient", + "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson"] + }], + "mustSupport" : true + }, + { + "id" : "Observation.value[x]:valueQuantity", + "path" : "Observation.value[x]", + "sliceName" : "valueQuantity", + "short" : "Head circumference", + "condition" : ["au-core-obs-02"] + }, + { + "id" : "Observation.value[x]:valueQuantity.code", + "path" : "Observation.value[x].code", + "binding" : { + "strength" : "required", + "valueSet" : "https://healthterminologies.gov.au/fhir/ValueSet/metric-body-length-units-1" + } + }, + { + "id" : "Observation.dataAbsentReason", + "path" : "Observation.dataAbsentReason", + "condition" : ["au-core-obs-02"], + "mustSupport" : true + }, + { + "id" : "Observation.bodySite", + "path" : "Observation.bodySite", + "condition" : ["au-core-obs-04"], + "constraint" : [{ + "key" : "au-core-obs-04", + "severity" : "error", + "human" : "If a coded body site is provided, at least one code shall be from SNOMED CT", + "expression" : "coding.exists() implies coding.where(system='http://snomed.info/sct').exists()", + "xpath" : "not(exists(f:coding/f:system)) or exists(f:coding/f:system[@value='http://snomed.info/sct'])", + "source" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum" + }], + "binding" : { + "strength" : "preferred", + "valueSet" : "https://healthterminologies.gov.au/fhir/ValueSet/body-site-1" + } + }] + } +} \ No newline at end of file diff --git a/input/resources/ValueSet-questionnaire-item-control.json b/input/resources/ValueSet-questionnaire-item-control.json deleted file mode 100644 index 05982d61..00000000 --- a/input/resources/ValueSet-questionnaire-item-control.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "resourceType": "ValueSet", - "id": "questionnaire-item-control", - "text": { - "status": "generated", - "div": "" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", - "valueCode": "fhir" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", - "valueCode": "trial-use" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", - "valueInteger": 3 - } - ], - "url": "http://hl7.org/fhir/ValueSet/questionnaire-item-control", - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:oid:2.16.840.1.113883.4.642.3.931" - }, - { - "use": "old", - "system": "urn:ietf:rfc:3986", - "value": "urn:oid:2.16.840.1.113883.4.642.3.848" - } - ], - "version": "1.0.0", - "name": "QuestionnaireItemUIControlCodes", - "title": "Questionnaire Item UI Control Codes", - "status": "active", - "experimental": false, - "date": "2023-03-26T09:00:24+11:00", - "publisher": "HL7 International / FHIR Infrastructure", - "contact": [ - { - "telecom": [ - { - "system": "url", - "value": "http://hl7.org/Special/committees/fhir-i" - } - ] - } - ], - "description": "Starter set of user interface control/display mechanisms that might be used when rendering an item in a questionnaire.", - "jurisdiction": [ - { - "coding": [ - { - "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", - "code": "001" - } - ] - } - ], - "copyright": "Copyright © 2011+ HL7. Creative Commons 'No Rights Reserved' (CC0)", - "compose": { - "include": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control" - } - ] - } -} \ No newline at end of file diff --git a/publication-request.json b/publication-request.json new file mode 100644 index 00000000..91ec8664 --- /dev/null +++ b/publication-request.json @@ -0,0 +1,10 @@ +{ + "package-id" : "csiro.fhir.au.smartforms", + "version" : "0.x.0-draft", + "path" : "https://smartforms.csiro.au/ig/0.x.0-draft", + "mode" : "working", + "status" : "draft", + "sequence" : "R1", + "desc" : "This draft is published for trial use and review.", + "first" : false +} \ No newline at end of file diff --git a/smartforms-template/package/.index.db b/smartforms-template/package/.index.db index acb32ab9..f4572f23 100644 Binary files a/smartforms-template/package/.index.db and b/smartforms-template/package/.index.db differ diff --git a/smartforms-template/package/.index.json b/smartforms-template/package/.index.json index dbe759e5..7ee6e2c5 100644 --- a/smartforms-template/package/.index.json +++ b/smartforms-template/package/.index.json @@ -1,4 +1,4 @@ -{ +{ "index-version" : 2, "files" : [] } diff --git a/smartforms-template/package/content/.index.db b/smartforms-template/package/content/.index.db index acb32ab9..f4572f23 100644 Binary files a/smartforms-template/package/content/.index.db and b/smartforms-template/package/content/.index.db differ diff --git a/smartforms-template/package/content/.index.json b/smartforms-template/package/content/.index.json index dbe759e5..7ee6e2c5 100644 --- a/smartforms-template/package/content/.index.json +++ b/smartforms-template/package/content/.index.json @@ -1,4 +1,4 @@ -{ +{ "index-version" : 2, "files" : [] } diff --git a/smartforms-template/package/content/assets/.index.db b/smartforms-template/package/content/assets/.index.db index acb32ab9..f4572f23 100644 Binary files a/smartforms-template/package/content/assets/.index.db and b/smartforms-template/package/content/assets/.index.db differ diff --git a/smartforms-template/package/content/assets/.index.json b/smartforms-template/package/content/assets/.index.json index dbe759e5..7ee6e2c5 100644 --- a/smartforms-template/package/content/assets/.index.json +++ b/smartforms-template/package/content/assets/.index.json @@ -1,4 +1,4 @@ -{ +{ "index-version" : 2, "files" : [] } diff --git a/smartforms-template/package/content/assets/css/.index.db b/smartforms-template/package/content/assets/css/.index.db index acb32ab9..f4572f23 100644 Binary files a/smartforms-template/package/content/assets/css/.index.db and b/smartforms-template/package/content/assets/css/.index.db differ diff --git a/smartforms-template/package/content/assets/css/.index.json b/smartforms-template/package/content/assets/css/.index.json index dbe759e5..7ee6e2c5 100644 --- a/smartforms-template/package/content/assets/css/.index.json +++ b/smartforms-template/package/content/assets/css/.index.json @@ -1,4 +1,4 @@ -{ +{ "index-version" : 2, "files" : [] } diff --git a/smartforms-template/package/content/assets/images/.index.db b/smartforms-template/package/content/assets/images/.index.db index acb32ab9..f4572f23 100644 Binary files a/smartforms-template/package/content/assets/images/.index.db and b/smartforms-template/package/content/assets/images/.index.db differ diff --git a/smartforms-template/package/content/assets/images/.index.json b/smartforms-template/package/content/assets/images/.index.json index dbe759e5..7ee6e2c5 100644 --- a/smartforms-template/package/content/assets/images/.index.json +++ b/smartforms-template/package/content/assets/images/.index.json @@ -1,4 +1,4 @@ -{ +{ "index-version" : 2, "files" : [] } diff --git a/smartforms-template/package/includes/.index.db b/smartforms-template/package/includes/.index.db index acb32ab9..f4572f23 100644 Binary files a/smartforms-template/package/includes/.index.db and b/smartforms-template/package/includes/.index.db differ diff --git a/smartforms-template/package/includes/.index.json b/smartforms-template/package/includes/.index.json index dbe759e5..7ee6e2c5 100644 --- a/smartforms-template/package/includes/.index.json +++ b/smartforms-template/package/includes/.index.json @@ -1,4 +1,4 @@ -{ +{ "index-version" : 2, "files" : [] } diff --git a/sushi-config.yaml b/sushi-config.yaml index c42b5684..ee73410a 100644 --- a/sushi-config.yaml +++ b/sushi-config.yaml @@ -5,16 +5,16 @@ # ╰────────────────────────────────────────────────────────────────────────────────────────────────╯ id: csiro.fhir.au.smartforms canonical: https://smartforms.csiro.au/ig -name: SmartForms -title: Smart Forms -description: Smart Forms FHIR Implementation Guide. +name: SmartHealthChecks +title: Smart Health Checks +description: The Smart Health Checks FHIR Implementation Guide supports the integration of the Smart Health Checks App within a patient management system enabling users to complete health check assessments such as the Aboriginal and Torres Strait Islander Health Check. status: draft # draft | active | retired | unknown -version: 0.1.0 +version: 0.3.0 fhirVersion: 4.0.1 # https://www.hl7.org/fhir/valueset-FHIR-version.html copyrightYear: 2022+ releaseLabel: ci-build # ci-build | draft | qa-preview | ballot | trial-use | release | update | normative+trial-use -license: Apache-2.0 # https://www.hl7.org/fhir/valueset-spdx-license.html -# jurisdiction: urn:iso:std:iso:3166#US "United States of America" # https://www.hl7.org/fhir/valueset-jurisdiction.html +license: CC-BY-SA-4.0 # https://www.hl7.org/fhir/valueset-spdx-license.html +jurisdiction: urn:iso:std:iso:3166#AU "Australia" # https://www.hl7.org/fhir/valueset-jurisdiction.html publisher: name: AEHRC CSIRO url: https://confluence.csiro.au/display/PCDQFPhase2/Primary+Care+Data+Quality+Foundations+-+Phase+2 @@ -25,9 +25,12 @@ publisher: # use cases, the value can be an object with keys for id, uri, and version. # dependencies: - - hl7.fhir.au.core: current - hl7.fhir.uv.sdc: 3.0.0 + hl7.fhir.au.core: 1.1.0-preview + hl7.fhir.au.base: 5.1.0-preview + hl7.fhir.uv.sdc: current + hl7.fhir.uv.smart-app-launch: 2.2.0 + hl7.fhir.uv.extensions.r4: 5.2.0 + hl7.fhir.extensions.r5: 4.0.1 # # # The pages property corresponds to IG.definition.page. SUSHI can @@ -99,10 +102,16 @@ parameters: - 'http://hl7.org/fhir/questionnaire-item-control' - 'http://hl7.org/fhir/ValueSet/questionnaire-item-control' - 'https://healthterminologies.gov.au/fhir/ValueSet/biological-sex-1' + - 'http://hl7.org/fhir/ValueSet/administrative-gender' - 'http://hl7.org/fhir/ValueSet/condition-clinical' - 'https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1' - - 'http://terminology.hl7.org/ValueSet/pronouns' + - 'https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1' - 'https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2' + - 'https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1' + - 'https://healthterminologies.gov.au/fhir/ValueSet/amt-vaccine-1' + - 'https://healthterminologies.gov.au/fhir/ValueSet/medication-reason-taken-1' + - 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-headcircum' + apply-publisher: false default-publisher: true apply-version: false @@ -110,11 +119,7 @@ parameters: apply-contact: false default-contact: true apply-copyright: false - default-copyright: true - - - - + default-copyright: true # excludettl: true # validation: [allow-any-extensions, no-broken-links] # @@ -136,16 +141,17 @@ menu: # General Requirements: general-requirements.html # Must Support: must-support.html Guidance: #guidance.html + General Requirements: general-requirements.html + Smart Health Check Integration: smart-health-check-integration.html Reference Implementation: reference-implementation.html - Smart Health Check Application Integration: smart-health-check-application-integration.html + Informative Guidance: informative-guidance.html # General Guidance: general-guidance.html FHIR Artefacts: #artifact.html Artefact Summary: artifacts.html Questionnaires: questionnaires.html - Capability Statements: capability-statements.html Profiles and Extensions: profiles-and-extensions.html -# Search Parameters and Operations: search-parameters-and-operations.html - Terminology: terminology.html + Capability Statements: capability-statements.html + Actor Definitions: actor-definitions.html # Examples: examples.html Downloads: downloads.html # Change Log: changes.html @@ -239,7 +245,10 @@ menu: # * modifierExtension experimental: false # * useContext -copyright: CSIRO © 2022+; Licensed under Apache License, Version 2.0 +copyright: | + Copyright © 2022+ Australian Government Department of Health and Aged Care - All rights reserved. + This content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. + See https://creativecommons.org/licenses/by-sa/4.0/. packageId: csiro.fhir.au.smartforms # #