diff --git a/.simplifier/folder.settings.json b/.simplifier/folder.settings.json new file mode 100644 index 00000000..c4f863ab --- /dev/null +++ b/.simplifier/folder.settings.json @@ -0,0 +1,4 @@ +{ + "IncludeSubdirectories": true, + "PreferredFormat": "Json" +} \ No newline at end of file diff --git a/Bundle/Bundle-TransactionResponseError-Example.json b/Bundle/Bundle-TransactionResponseError-Example.json new file mode 100644 index 00000000..3f531b41 --- /dev/null +++ b/Bundle/Bundle-TransactionResponseError-Example.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Bundle", + "id": "Bundle-TransactionResponseError-Example", + "meta": { + "lastUpdated": "2024-01-30T12:01:24Z" + }, + "type": "transaction-response", + "entry": [ + { + "response": { + "status": "422 Unprocessable Entity", + "outcome": { + "resourceType":"OperationOutcome", + "meta":{ + "lastUpdated":"2024-01-30T12:01:24Z" + }, + "issue":[ + { + "severity":"error", + "code":"processing", + "details":{ + "coding":[ + { + "system": "http://terminology.hl7.org/CodeSystem/operation-outcome", + "code": "MSG_LOCAL_FAIL", + "display": "Unable to resolve local reference to resource Patient/Patient-MeirLieberman-Example" + } + ] + }, + "diagnostics": "Validation errors occurred during processing", + "location": [ + "Bundle.entry[1].resource.ofType(ServiceRequest)" + ] + } + ] + } + } + }, + { + "response": { + "status": "200 OK", + "lastModified": "2024-01-30T12:01:24Z", + "outcome": { + "resourceType": "OperationOutcome", + "meta": { + "lastUpdated": "2024-01-30T12:01:24Z" + }, + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation. Resource not created as request transaction contains an error", + "location": [ + "Bundle.entry[1].resource.ofType(Patient)" + ] + } + ] + } + } + } + ] +} \ No newline at end of file diff --git a/Bundle/Bundle-TransactionResponseSuccess-Example.json b/Bundle/Bundle-TransactionResponseSuccess-Example.json new file mode 100644 index 00000000..f26b8fd5 --- /dev/null +++ b/Bundle/Bundle-TransactionResponseSuccess-Example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Bundle", + "id": "Bundle-TransactionResponseSuccess-Example", + "meta": { + "lastUpdated": "2024-01-30T12:01:24Z" + }, + "type": "transaction-response", + "entry": [ + { + "response": { + "status": "201 Created", + "location": "ServiceRequest/4d70678c-81e4-4ff4-8c67-17596fd0aa46/", + "lastModified": "2024-01-30T12:01:24Z", + "outcome": { + "resourceType": "OperationOutcome", + "meta": { + "lastUpdated": "2024-01-30T12:01:24Z" + }, + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation." + } + ] + } + } + }, + { + "response": { + "status": "201 Created", + "location": "Patient/e87361ea-b6fb-482e-a252-af3199792582/", + "lastModified": "2024-01-30T12:01:24Z", + "outcome": { + "resourceType": "OperationOutcome", + "meta": { + "lastUpdated": "2024-01-30T12:01:24Z" + }, + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation." + } + ] + } + } + } + ] +} \ No newline at end of file diff --git a/CapabilityStatement/CapabilityStatement-genomics-application.json b/CapabilityStatement/CapabilityStatement-genomics-application.json index 08d60048..4fcc5d60 100644 --- a/CapabilityStatement/CapabilityStatement-genomics-application.json +++ b/CapabilityStatement/CapabilityStatement-genomics-application.json @@ -694,6 +694,10 @@ ], "searchParam": [ { + "name": "authored", + "type": "date" + }, + { "name": "based-on", "type": "reference" }, @@ -744,6 +748,10 @@ { "name": "status", "type": "token" + }, + { + "name": "supporting-info", + "type": "reference" } ] }, diff --git a/SearchParameter/SearchParameter-Genomics-supporting-info.json b/SearchParameter/SearchParameter-Genomics-supporting-info.json new file mode 100644 index 00000000..f10ce5dd --- /dev/null +++ b/SearchParameter/SearchParameter-Genomics-supporting-info.json @@ -0,0 +1,173 @@ +{ + "resourceType": "SearchParameter", + "id": "SearchParameter-Genomics-supporting-info", + "url": "https://fhir.nhs.uk/SearchParameter/supporting-info", + "version": "0.0.1", + "name": "SupportingInfo", + "status": "draft", + "experimental": false, + "date": "2023-06-27T09:56:00+00:00", + "publisher" : "NHS England", + "description": "Supporting info for a ServiceRequest", + "purpose": "For searching resources referenced from ServiceRequest.supportingInfo", + "code": "supporting-info", + "base": [ + "ServiceRequest" + ], + "type": "reference", + "expression": "ServiceRequest.supportingInfo", + "target": [ + "Account", + "ActivityDefinition", + "AdverseEvent", + "AllergyIntolerance", + "Appointment", + "AppointmentResponse", + "AuditEvent", + "Basic", + "Binary", + "BiologicallyDerivedProduct", + "BodyStructure", + "Bundle", + "CapabilityStatement", + "CarePlan", + "CareTeam", + "CatalogEntry", + "ChargeItem", + "ChargeItemDefinition", + "Claim", + "ClaimResponse", + "ClinicalImpression", + "CodeSystem", + "Communication", + "CommunicationRequest", + "CompartmentDefinition", + "Composition", + "ConceptMap", + "Condition", + "Consent", + "Contract", + "Coverage", + "CoverageEligibilityRequest", + "CoverageEligibilityResponse", + "DetectedIssue", + "Device", + "DeviceDefinition", + "DeviceMetric", + "DeviceRequest", + "DeviceUseStatement", + "DiagnosticReport", + "DocumentManifest", + "DocumentReference", + "EffectEvidenceSynthesis", + "Encounter", + "Endpoint", + "EnrollmentRequest", + "EnrollmentResponse", + "EpisodeOfCare", + "EventDefinition", + "Evidence", + "EvidenceVariable", + "ExampleScenario", + "ExplanationOfBenefit", + "FamilyMemberHistory", + "Flag", + "Goal", + "GraphDefinition", + "Group", + "GuidanceResponse", + "HealthcareService", + "ImagingStudy", + "Immunization", + "ImmunizationEvaluation", + "ImmunizationRecommendation", + "ImplementationGuide", + "InsurancePlan", + "Invoice", + "Library", + "Linkage", + "List", + "Location", + "Measure", + "MeasureReport", + "Media", + "Medication", + "MedicationAdministration", + "MedicationDispense", + "MedicationKnowledge", + "MedicationRequest", + "MedicationStatement", + "MedicinalProduct", + "MedicinalProductAuthorization", + "MedicinalProductContraindication", + "MedicinalProductIndication", + "MedicinalProductIngredient", + "MedicinalProductInteraction", + "MedicinalProductManufactured", + "MedicinalProductPackaged", + "MedicinalProductPharmaceutical", + "MedicinalProductUndesirableEffect", + "MessageDefinition", + "MessageHeader", + "MolecularSequence", + "NamingSystem", + "NutritionOrder", + "Observation", + "ObservationDefinition", + "OperationDefinition", + "OperationOutcome", + "Organization", + "OrganizationAffiliation", + "Patient", + "PaymentNotice", + "PaymentReconciliation", + "Person", + "PlanDefinition", + "Practitioner", + "PractitionerRole", + "Procedure", + "Provenance", + "Questionnaire", + "QuestionnaireResponse", + "RelatedPerson", + "RequestGroup", + "ResearchDefinition", + "ResearchElementDefinition", + "ResearchStudy", + "ResearchSubject", + "RiskAssessment", + "RiskEvidenceSynthesis", + "Schedule", + "SearchParameter", + "ServiceRequest", + "Slot", + "Specimen", + "SpecimenDefinition", + "StructureDefinition", + "StructureMap", + "Subscription", + "Substance", + "SubstanceNucleicAcid", + "SubstancePolymer", + "SubstanceProtein", + "SubstanceReferenceInformation", + "SubstanceSourceMaterial", + "SubstanceSpecification", + "SupplyDelivery", + "SupplyRequest", + "Task", + "TerminologyCapabilities", + "TestReport", + "TestScript", + "ValueSet", + "VerificationResult", + "VisionPrescription" + ], + "multipleOr": true, + "multipleAnd": true, + "modifier": [ + "missing", + "type", + "identifier" + ] +} diff --git a/StructureDefinition/NHSDigital-Provenance-Genomics.StructureDefinition.json b/StructureDefinition/NHSDigital-Provenance-Genomics.StructureDefinition.json index 870517ba..34c69456 100644 --- a/StructureDefinition/NHSDigital-Provenance-Genomics.StructureDefinition.json +++ b/StructureDefinition/NHSDigital-Provenance-Genomics.StructureDefinition.json @@ -7,7 +7,7 @@ "kind": "resource", "abstract": false, "type": "Provenance", - "baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Provenance", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance", "derivation": "constraint", "differential": { "element": [ diff --git a/fhirpkg.lock.json b/fhirpkg.lock.json index 62669c32..829d2cb0 100644 --- a/fhirpkg.lock.json +++ b/fhirpkg.lock.json @@ -1,8 +1,8 @@ { "updated": "2023-09-18T12:13:04.1481382+01:00", "dependencies": { - "fhir.r4.ukcore.stu2": "2.0.1-pre-release", - "hl7.fhir.r4.core": "4.0.1", + "fhir.r4.ukcore.stu2": "2.0.0", + "hl7.fhir.r4.core": "4.0.1" }, "missing": {} } diff --git a/package.json b/package.json index 88eb71a3..a73cebf3 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ ], "jurisdiction": "urn:iso:std:iso:3166:-2:GB-ENG", "dependencies": { - "fhir.r4.ukcore.stu2": "2.0.1-pre-release", + "fhir.r4.ukcore.stu2": "2.0.0", "hl7.fhir.r4.core": "4.0.1" } }