From 3337e3355cd6ad87c96b72e9896e41963b082f50 Mon Sep 17 00:00:00 2001 From: johnscarter Date: Wed, 27 Nov 2024 17:14:34 +1300 Subject: [PATCH 1/2] Added sex for clinical use extension FHIR-46997 --- input/fsh/au-erequesting-diagnosticrequest.fsh | 14 ++++++++++++++ input/pagecontent/changes.md | 1 + 2 files changed, 15 insertions(+) diff --git a/input/fsh/au-erequesting-diagnosticrequest.fsh b/input/fsh/au-erequesting-diagnosticrequest.fsh index c50ab5b..7d56517 100644 --- a/input/fsh/au-erequesting-diagnosticrequest.fsh +++ b/input/fsh/au-erequesting-diagnosticrequest.fsh @@ -10,6 +10,20 @@ Description: "This profile sets minimum expectations for a ServiceRequest resour * ^extension[http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm].valueInteger = 0 +* extension contains http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse named sexParameterForClinicalUse 0..1 MS +* extension[sexParameterForClinicalUse] ^extension[http://hl7.org/fhir/StructureDefinition/obligation][0].extension[code].valueCode = #SHALL:populate-if-known +* extension[sexParameterForClinicalUse] ^extension[http://hl7.org/fhir/StructureDefinition/obligation][0].extension[actor][0].valueCanonical = "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer" +* extension[sexParameterForClinicalUse] ^extension[http://hl7.org/fhir/StructureDefinition/obligation][1].extension[code].valueCode = #SHALL:handle +* extension[sexParameterForClinicalUse] ^extension[http://hl7.org/fhir/StructureDefinition/obligation][1].extension[actor].valueCanonical = "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler" +* extension[sexParameterForClinicalUse] ^extension[http://hl7.org/fhir/StructureDefinition/obligation][2].extension[code].valueCode = #SHALL:handle +* extension[sexParameterForClinicalUse] ^extension[http://hl7.org/fhir/StructureDefinition/obligation][2].extension[actor].valueCanonical = "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server" +* extension[sexParameterForClinicalUse] ^extension[http://hl7.org/fhir/StructureDefinition/obligation][3].extension[code].valueCode = #SHALL:able-to-populate +* extension[sexParameterForClinicalUse] ^extension[http://hl7.org/fhir/StructureDefinition/obligation][3].extension[actor].valueCanonical = "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server" +* extension[sexParameterForClinicalUse] ^extension[http://hl7.org/fhir/StructureDefinition/obligation][4].extension[code].valueCode = #SHALL:no-error +* extension[sexParameterForClinicalUse] ^extension[http://hl7.org/fhir/StructureDefinition/obligation][4].extension[actor][0].valueCanonical = "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient" +* * extension[sexParameterForClinicalUse] ^comment = "Requesters can reliably provide this as the sex parameter to be used for the requested service and, when present, as the Placer's requested patient sex parameter for clinical use in the diagnostic request." + + * identifier MS * identifier ^extension[http://hl7.org/fhir/StructureDefinition/obligation][0].extension[code].valueCode = #SHALL:populate-if-known * identifier ^extension[http://hl7.org/fhir/StructureDefinition/obligation][0].extension[actor][0].valueCanonical = "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer" diff --git a/input/pagecontent/changes.md b/input/pagecontent/changes.md index 6deeabd..fd2c43c 100644 --- a/input/pagecontent/changes.md +++ b/input/pagecontent/changes.md @@ -14,4 +14,5 @@ This change log documents the significant updates and resolutions implemented fr - made ServiceRequest.encounter mandatory (1..1) [FHIR-47008](https://jira.hl7.org/browse/FHIR-47008) - added Must Support to ServiceRequest.priority [FHIR-46939](https://jira.hl7.org/browse/FHIR-46939) - AU eRequesting ServiceRequest profile renamed to be AU eRequesting Diagnostic Request [FHIR-46842](https://jira.hl7.org/browse/FHIR-46842) + - added [Patient Sex Parameter for Clinical Use extension](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-patient-sexParameterForClinicalUse.html) [FHIR-46997](https://jira.hl7.org/browse/FHIR-46997) - Renamed AU eRequesting Patient Access actor and CapabilityStatement to be AU eRequesting Patient [FHIR-46802](https://jira.hl7.org/browse/FHIR-46802) From 97929e8d3a382a06ebf52ac4bfae2ce0a04ef4fd Mon Sep 17 00:00:00 2001 From: johnscarter Date: Thu, 28 Nov 2024 13:26:04 +1300 Subject: [PATCH 2/2] corrected typo --- input/fsh/au-erequesting-diagnosticrequest.fsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/fsh/au-erequesting-diagnosticrequest.fsh b/input/fsh/au-erequesting-diagnosticrequest.fsh index 7d56517..fad4f09 100644 --- a/input/fsh/au-erequesting-diagnosticrequest.fsh +++ b/input/fsh/au-erequesting-diagnosticrequest.fsh @@ -21,7 +21,7 @@ Description: "This profile sets minimum expectations for a ServiceRequest resour * extension[sexParameterForClinicalUse] ^extension[http://hl7.org/fhir/StructureDefinition/obligation][3].extension[actor].valueCanonical = "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server" * extension[sexParameterForClinicalUse] ^extension[http://hl7.org/fhir/StructureDefinition/obligation][4].extension[code].valueCode = #SHALL:no-error * extension[sexParameterForClinicalUse] ^extension[http://hl7.org/fhir/StructureDefinition/obligation][4].extension[actor][0].valueCanonical = "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient" -* * extension[sexParameterForClinicalUse] ^comment = "Requesters can reliably provide this as the sex parameter to be used for the requested service and, when present, as the Placer's requested patient sex parameter for clinical use in the diagnostic request." +* extension[sexParameterForClinicalUse] ^comment = "Requesters can reliably provide this as the sex parameter to be used for the requested service and, when present, as the Placer's requested patient sex parameter for clinical use in the diagnostic request." * identifier MS